Remove __need macros from errno.h (__need_Emath, __need_error_t).
[glibc.git] / ChangeLog
blob0d63b39b2ee54c8b89fd4cf874af242c90a4303f
1 2017-06-14  Zack Weinberg  <zackw@panix.com>
3         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
4         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
5         defined, don't declare anything other than the E-constants.
7         * include/errno.h: Change conditional for exposing internal
8         declarations to (not _ISOMAC and not __ASSEMBLER__).
9         * bits/errno.h: Remove logic for __need_Emath.  Document
10         requirements for a port-specific bits/errno.h.
12         * sysdeps/unix/sysv/linux/bits/errno.h
13         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
14         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
15         * sysdeps/unix/sysv/linux/mips/bits/errno.h
16         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
17         Add multiple-include guard and check against improper inclusion.
18         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
19         constants are defined as simple integer literals.  Consistent
20         formatting.
21         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
22         enum __error_t_codes if __ASSEMBLER__ is not defined.
23         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25         * argp/argp.h, string/argz.h: Don't define __need_error_t before
26         including errno.h.
27         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
28         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
29         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
30         * sysdeps/x86_64/fpu/s_cosf.S
31         * sysdeps/x86_64/fpu/s_sincosf.S
32         * sysdeps/x86_64/fpu/s_sinf.S:
33         Just include errno.h; don't define __need_Emath or include
34         bits/errno.h directly.
36 2017-06-14  Zack Weinberg  <zackw@panix.com>
38         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
39         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
40         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
42         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
43         for IOV_MAX.
44         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
45         Don't install bits/uio.h.
46         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
47         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
48         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
50         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
51         and __need_IOV_MAX.  Don't define IOV_MAX at all.
52         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
54         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
55         Include bits/types/struct_iovec.h, not bits/uio.h.
56         Use __ssize_t, not ssize_t, in function prototypes.
57         Don't use hard TAB for double space after period in comments.
59 2017-06-14  Alan Modra  <amodra@gmail.com>
61         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
62         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
63         refsym and sym parameters.  Adjust callers.
64         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
65         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
66         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
67         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
68         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
69         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
70         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
71         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
72         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
73         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
74         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
75         Likewise.
76         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
77         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
78         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
79         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
80         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
81         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
82         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
83         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
84         (_dl_reloc_overflow): Increase buffser size.  Formatting.
85         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
86         Delete reloc param, add refsym and sym.  Check optimized plt
87         call stubs for localentry:0 functions.  Adjust callers.
88         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
89         and sym parameters.  Adjust callers.
90         (_dl_reloc_overflow): Move attribute.
91         (_dl_error_localentry): Declare.
92         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
93         refsym and sym to elf_machine_fixup_plt.
94         * elf/testobj6.c (preload): Call printf.
96 2017-06-14  Alan Modra  <amodra@gmail.com>
98         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
99         (NOPS, ENTRY_3): New macros.
100         (ENTRY): Rewrite.
101         (ENTRY_TOCLESS): Define.
102         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
103         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
104         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
105         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
106         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
107         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
108         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
109         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
111         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
112         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
113         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
114         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
115         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
116         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
117         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
118         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
119         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
120         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
121         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
122         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
123         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
124         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
125         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
126         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
127         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
128         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
129         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
130         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
131         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
132         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
133         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
134         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
135         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
136         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
137         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
138         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
139         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
140         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
141         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
142         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
143         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
144         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
145         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
146         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
147         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
148         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
149         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
150         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
151         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
152         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
153         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
154         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
155         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
156         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
157         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
158         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
159         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
160         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
161         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
162         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
163         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
164         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
165         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
166         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
168         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
169         Likewise.
170         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
171         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
172         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
173         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
174         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
175         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
176         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
177         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
178         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
182         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
183         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
184         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
185         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
186         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
187         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
188         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
189         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
190         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
191         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
192         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
193         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
194         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
195         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
196         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
197         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
198         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
199         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
200         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
201         add nop when SHARED.
202         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
203         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
204         define.
205         (ENTRY_TOCLESS): Define.
206         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
207         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
208         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
210 2017-06-14  Alan Modra  <amodra@gmail.com>
212         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
213         MEMSET_is_local.
214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
215         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
216         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
217         Define MEMSET.
218         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
219         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
220         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
221         nop after local calls.
222         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
223         Don't add nop after local call.
224         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
225         CALL_MCOUNT.
227 2017-06-14  Alan Modra  <amodra@gmail.com>
229         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
230         (FUNC_LABEL): Rename from DOT_LABEL.
231         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
232         Use .p2align rather than .align.
233         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
234         (ABORT_TRANSACTION): Likewise.
235         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
236         particularly at end.  Add semicolon at invocation as necessary.
237         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
238         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
239         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
240         END): Adjust to suit.
242 2017-06-14  Alan Modra  <amodra@gmail.com>
244         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
245         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
246         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
247         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
248         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
250         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
252 2017-06-14  Alan Modra  <amodra@gmail.com>
254         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
255         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
257 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
259         [BZ #21548]
260         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
261         8 and use it when copying general purpose registers.
262         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
263         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
264         mips o32.
265         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
266         new test for mips o32.
267         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
268         8 and use it when copying general purpose registers.
269         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
271 2017-06-13  Florian Weimer  <fweimer@redhat.com>
273         * configure.ac (find_cxx_header): Suppress compiler error message.
275 2017-06-13  Florian Weimer  <fweimer@redhat.com>
277         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
278         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
279         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
280         begin/end.
281         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
282         dynarray_int_end.
283         (test_str): Test dynarray_str_begin, dynarray_str_end.
285 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
287         [BZ #21573]
288         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
289         $(common-objpfx)bits/std_abs.h.
290         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
291         New target.
292         * config.make.in (c++-bits-std_abs-h): New.
293         * configure.ac (find_cxx_header): Use "\,$1," with sed.
294         (CXX_BITS_STD_ABS_H): New.
295         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
296         * configure: Regenerated.
298 2017-06-13  Zack Weinberg  <zackw@panix.com>
300         * posix/bits/cpu-set.h: Correct indentation of preprocessor
301         directives.
303 2017-06-12  Zack Weinberg  <zackw@panix.com>
305         * bits/sched.h: Remove __need_schedparam logic and replace with a
306         normal multiple-include guard.  Change field name in struct
307         sched_param from __sched_priority to sched_priority.  Delete
308         everything under #ifndef __cpu_set_t_defined.
309         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
310         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
312         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
313         For compatibility, #define sched_priority to itself, and #define
314         __sched_priority as sched_priority.
315         * posix/bits/cpu-set.h: New file containing, verbatim, the code
316         that was under #ifndef __cpu_set_t_defined in
317         sysdeps/unix/sysv/linux/bits/sched.h.
318         * include/bits/cpu-set.h: New wrapper.
319         * posix/Makefile: Install bits/cpu-set.h.
321 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
322             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
323             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
325         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
326         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
327         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
328         * math/libm-test-isfinite.inc (finite_test): Likewise.
329         * math/libm-test-lgamma.inc (gamma_test): Likewise.
330         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
331         (nexttoward_test_data}: Likewise.
332         * math/libm-test-remainder.inc (drem_test): Likewise.
333         * math/libm-test-scalb.inc (scalb_test): Likewise.
334         (scalb_test_data): Likewise.
335         * math/libm-test-significand.inc (significand_test): Likewise.
336         (significand_test_data): Likewise.
337         * math/libm-test-support.c (check_complex): Replace __complex__
338         FLOAT with CFLOAT to get the support for old compiler.
339         * math/libm-test-support.h (check_complex): Likewise.
340         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
341         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
342         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
343         * math/test-float128.h: New file.
344         * math/test-math-floatn.h: New file.
346 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
348         * include/float.h: Allow the definition of macros prefixed with
349         FLT128 even if _ISOMAC is defined, but provided that
350         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
352 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
354         * manual/math.texi (Mathematics): Add description for _FloatN and
355         _FloatNx types and mentions that they are not support in glibc for
356         any architecture, so far.
357         * manual/arith.texi (wcstof, wcstold): Replace the mention to
358         stdlib.h with wchar.h.
359         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
360         (Printing of Floats): Add description for strfromfN.
362 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
363             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
364             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
366         * include/gmp.h (__mpn_construct_float128): New declaration.
367         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
368         (__strtof128_l): New declaration.
369         (__strtof128_nan): Likewise.
370         (__wcstof128_nan): Likewise.
371         (__strtof128_internal): Likewise.
372         (____strtof128_l_internal): Likewise.
373         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
374         (__wcstof128_l): New declaration.
375         (__wcstof128_internal): Likewise.
377         * stdlib/Makefile (bug-strtod2): Link libm too.
379         * stdlib/stdlib.h (strtof128): New declaration.
380         (strtof128_l): Likewise.
382         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
383         tst-strtod.h macros to ensure float128 gets tested too.
385         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
387         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
388         tests.
389         (IF_FLOAT128): New macro.
390         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
391         the tests.
392         (STRTOD_TEST_FOREACH): Likewise.
394         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
395         wcstof128 functions into libc.
397         * sysdeps/ieee754/float128/Versions: Add exports for the above
398         new functions.
400         * sysdeps/ieee754/float128/mpn2float128.c: New file.
401         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
402         * sysdeps/ieee754/float128/strtof128.c: New file.
403         * sysdeps/ieee754/float128/strtof128_l.c: New file.
404         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
405         * sysdeps/ieee754/float128/wcstof128.c: New file.
406         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
407         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
408         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
409         (CFLAGS-wcstof128_l): Likewise.
411         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
412         (wcstof128): New declaration.
413         (wcstof128_l): Likewise.
415 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
417         [BZ #21552]
418         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
419         not [__USE_XOPEN].
420         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
422         [BZ #21550]
423         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
425 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
428         strcpy-sse2 and stpcpy-sse2.
429         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
430         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
431         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
432         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
433         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
434         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
435         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
436         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
437         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
438         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
439         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
440         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
441         (libc_hidden_def): Always defined as empty.
442         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
443         Always Defined as empty.
445 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
447         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
449 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
451         [BZ #15105]
452         [BZ #19463]
453         * include/string.h: Add internal redirect for __stpcpy.
454         * string/Makefile: Remove bits/string2.h.
455         * string/string.h: Update comment.
456         * string/string-inlines.c: Remove bits/string2.h include and comment.
457         * string/bits/string2.h: Remove file.
459 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
461         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
462         * sunrpc/clnt_gen.c (clnt_create): Likewise.
463         * sunrpc/des_impl.c (_des_crypt): Likewise.
464         * sunrpc/key_call.c (key_gendes): Likewise.
465         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
466         * sunrpc/svc_simple.c (universal): Likewise.
467         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
468         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
469         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
471 2017-06-10  Zack Weinberg  <zackw@panix.com>
473         * stdlib/errno.h: Correct an outdated comment.
475 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
477         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
478         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
479         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
480         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
481         New file.  Invoke newly supported sysconf values for powerpc,
482         and report results.  If none are supported, report so.
483         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
484         tst-sysconf.
486 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
488         * include/sys/auxv.h (__getauxval): Add a prototype and its
489         libc_hidden_proto.
490         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
492 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
494         [BZ #21561]
495         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
496         [__USE_XOPEN_EXTENDED].
497         (id_t): Likewise.
498         (include of <bits/types/siginfo_t.h): Likewise.
499         (waitid): Likewise.
500         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
501         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
502         (WEXITED): Likewise.
503         (WCONTINUED): Likewise.
504         (WNOWAIT): Likewise.
505         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
506         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
507         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
509         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
510         libc.so PLT entry optional.
511         (__gtsf2): Likewise.
512         (__unorddf2): Likewise.
513         (__unordsf2): Likewise.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
515         New optional libc.so PLT entry.
517         [BZ #21554]
518         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
519         not [__USE_XOPEN].
521         [BZ #21560]
522         * posix/sys/wait.h: Condition include of <signal.h> on
523         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
524         unconditionally.
525         [!__pid_t_defined] (pid_t): Define typedef.
527 2017-06-09  Zack Weinberg  <zackw@panix.com>
529         * include/errno.h (__errno_location): Use __attribute_const__
530         instead of bare __attribute__.
532 2017-06-09  Zack Weinberg  <zackw@panix.com>
534         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
535         (common-generated): Add libc-modules.h and libc-modules.stmp in a
536         more appropriate location. Also add dl-tunable-list.h and
537         dl-tunable-list.stmp.
539 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
543 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
546         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
548         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
549         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
550         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
551         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
552         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
553         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
554         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
555         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
557 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
560         memrchr-sse2 and memrchr-avx2.
561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
562         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
563         __memrchr_sse2.
564         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
565         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
566         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
568 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
571         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
572         wcschr-sse2 and wcschr-avx2.
573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
574         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
575         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
576         __wcschr_sse2.
577         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
578         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
579         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
580         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
581         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
582         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
583         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
584         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
585         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
586         * sysdeps/x86_64/multiarch/strchr.S: Removed.
588 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
591         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
592         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
594         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
595         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
596         __wcslen_sse2 and __wcsnlen_avx2.
597         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
598         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
599         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
600         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
601         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
602         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
603         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
604         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
605         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
606         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
607         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
608         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
609         vzeroupper is preferred and AVX unaligned load is fast.
611 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
613         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
614         USE_AS_WMEMCHR is defined.
615         (PCMPEQ): Likewise.
616         (memchr): Renamed to ...
617         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
618         Replace pcmpeqb with PCMPEQ.
619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
620         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
621         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
622         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
623         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
624         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
625         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
626         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
627         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
628         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
629         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
630         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
631         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
633         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
634         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
635         __wmemchr_sse2.
637 2017-06-09  Florian Weimer  <fweimer@redhat.com>
639         * malloc/Makefile (test-srcs): Remove tst-dynarray,
640         tst-dynarray-fail.
642 2017-06-09  Florian Weimer  <fweimer@redhat.com>
644         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
645         * support/support_test_verify_impl.c
646         (support_test_verify_exit_impl): Split from
647         support_test_verify_impl.
648         * support/check.h (TEST_VERIFY): Drop status argument from
649         support_test_verify_impl call.
650         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
651         (support_test_verify_impl): Remove status argument.
652         (support_test_verify_exit_impl): Declare.
654 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
656         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
657         mention of magic numbers in comments.
658         (_dl_procinfo): Fix undefined behavior
660 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
662         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
663         [XPG4].
664         (WEXITED): Likewise.
665         (WSTOPPED): Likewise.
666         (WCONTINUED): Likewise.
667         (WNOHANG): Likewise.
668         (WNOWAIT): Likewise.
669         (idtype_t): Likewise.
670         (P_ALL): Likewise.
671         (P_PID): Likewise.
672         (P_PGID): Likewise.
673         (id_t): Likewise.
674         (siginfo_t): Likewise.
675         (wait3): Likewise.
676         (waitid): Likewise.
677         (signal.h): Do not allow header for [XPG4].
678         (sys/resource.h): Likewise.
679         (si_*): Do not allow for [XPG4].
680         (W*): Likewise.
681         (P_*): Likewise.
682         (BUS_): Likewise.
683         (CLD_): Likewise.
684         (FPE_): Likewise.
685         (ILL_): Likewise.
686         (POLL_): Likewise.
687         (SEGV_): Likewise.
688         (SI_): Likewise.
689         (TRAP_): Likewise.
690         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
691         variable.
693 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
695         [BZ #21528]
696         * elf/dl-minimal.c (__strtoul_internal): Removed.
697         (strtoul): Likewise.
698         * elf/dl-misc.c (_dl_strtoul): New function.
699         * elf/dl-tunables.c (tunables_strtoul): Removed.
700         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
701         * elf/rtld.c (process_envvars): Likewise.
702         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
703         Likewise.
704         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
706 2017-06-08  Zack Weinberg  <zackw@panix.com>
708         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
709         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
710         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
711         * wctype/bits/wctype-wchar.h: New file holding declarations shared
712         between wctype.h and wchar.h.
714         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
715         Install them.
717         * include/bits/types/FILE.h, include/bits/types/__FILE.h
718         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
719         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
720         New wrappers.
721         * include/stdio.h, include/wchar.h, include/wctype.h:
722         No need to handle __need macros.
724         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
725         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
726         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
727         * wcsmbs/wchar.h, wctype/wctype.h
728         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
729         Use the new files instead of __need macros.
731 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
733         * string/test-memrchr.c (test_main): Add tests for len == 0
734         and tests for positions close to the beginning, which are
735         equivalent to positions close to the end for memchr.
737 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
740         comments.
741         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
742         instead of wmemset.h.
743         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
744         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
745         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
747 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
749         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
750         spec->info.is_binary128 to zero.
751         * stdio-common/printf.h (printf_info): Add new member is_binary128
752         to indicate that the number being converted to string is compatible
753         with the IEC 60559 binary128 format.
754         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
755         _Float128 numbers.
756         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
757         ldbl-128/printf_fphex_macros.h
758         (__printf_fphex): Add code to deal with _Float128 numbers.
759         * stdio-common/printf_size.c (__printf_size): Likewise.
760         * stdio-common/vfprintf.c (process_arg): Initialize member
761         info.is_binary128 to zero.
762         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
763         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
764         (strfromf128): New declaration.
765         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
766         to one.
767         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
768         * sysdeps/ieee754/float128/Versions: Likewise.
769         * sysdeps/ieee754/float128/strfromf128.c: New file.
771 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
773         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
774         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
775         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
776         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
777         (PRINT_FPHEX): New function-like macro that can be used for long
778         double, as well as for _Float128
780 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
782         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
783         (__printf_fp_l): Use the new macro to avoid duplicating code.
784         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
785         (__printf_fphex): Use the new macro to avoid duplicating code.
786         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
787         (__printf_size): Use the new macro to avoid duplicating code.
789 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
791         * include/gmp.h: Include bits/floatn.h
792         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
793         * stdlib/gmp-impl.h: Also check if alloca is not defined before
794         including stack-alloc.h.  It could have been defined by other header
795         which not necessarily defines HAVE_ALLOCA.
796         * sysdeps/ieee754/float128/Makefile: New file.
797         * sysdeps/ieee754/float128/float1282mpn.c: New file.
798         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
799         redefining __mpn_extract_long_double to __mpn_extract_float128, then
800         redefine __mpn_extract_long_double to __mpn_extract_float128.
801         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
802         _Float128 to allow float128_private.h overrides.
804 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
806         * stdlib/fpioconst.h: Include bits/floatn.h.
807         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
808         power of ten table should be.
809         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
810         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
811         to include larger tables when _Float128 support is enabled.
812         (_fpioconst_pow10): Likewise.
814 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
816         * include/bits/types/clock_t.h: Use #include <path> instead of
817         #include "../../path".
818         * include/bits/types/clockid_t.h: Likewise.
819         * include/bits/types/struct_iovec.h: Likewise.
820         * include/bits/types/struct_itimerspec.h: Likewise.
821         * include/bits/types/struct_osockaddr.h: Likewise.
822         * include/bits/types/struct_sigstack.h: Likewise.
823         * include/bits/types/struct_timespec.h: Likewise.
824         * include/bits/types/struct_timeval.h: Likewise.
825         * include/bits/types/struct_tm.h: Likewise.
826         * include/bits/types/time_t.h: Likewise.
827         * include/bits/types/timer_t.h: Likewise.
829         [BZ #14096]
830         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
831         America/New_York.
833 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
835         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
836         into ...
837         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
838         ifunc-sse4_1.h.
840 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
842         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
843         Remove check for NULL 'buf'.
844         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
846 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
848         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
849         include test-skeleton.c.
850         Include support/check.h and support/test-driver.c.
852 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
854         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
855         (_dl_aarch64_cap_flags): New array.
856         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
857         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
858         functions.
860         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
861         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
862         Likewise.
863         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
864         up hwcap and hwcap_mask.
866         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
867         (init_cpu_features): Use glibc.tune.hwcap_mask.
868         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
870         * elf/dl-hwcaps.h: New file.
871         * elf/dl-hwcaps.c: Include it.
872         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
873         glibc.tune.hwcap_mask.
874         * elf/dl-cache.c: Include dl-hwcaps.h.
875         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
876         glibc.tune.hwcap_mask.
877         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
878         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
879         _dl_hwcap_mask.
880         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
881         _dl_hwcap_mask.
882         (process_envvars)[HAVE_TUNABLES]: Likewise.
883         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
884         Likewise.
885         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
886         initialize dl_hwcap_mask when tunables are enabled.
888         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
889         guard.
890         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
892         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
893         * scripts/gen-tunables.awk: Include dl-procinfo.h.
894         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
896         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
897         * elf/dl-tunables.c: Likewise.
898         (do_tunable_update_val): New function.
899         (__tunable_set_val): New function.
900         (__tunable_get_val): Call CB only if the tunable was externally
901         initialized.
902         (tunables_strtoul): Replace strval with initialized.
903         * elf/dl-tunables.h (strval): Replace with a bool initialized.
904         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
905         prevent collision.
906         (__tunable_set_val): New function.
907         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
908         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
909         (TUNABLE_SET_VAL): Remove.
910         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
911         * README.tunables: Document the new macros.
912         * malloc/arena.c (ptmalloc_init): Adjust.
914 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
917         wcsnlen-sse4_1 and wcsnlen-c.
918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
919         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
920         __wcsnlen_sse2.
921         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
922         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
923         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
924         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
925         * sysdeps/x86_64/wcsnlen.S: Removed.
927 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
929         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
930         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
931         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
932         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
934 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
936         * NEWS: Mention new spinlock implementation.
937         * include/atomic.h:
938         (__atomic_val_bysize): Cast type to omit volatile qualifier.
939         (atomic_exchange_acq): Likewise.
940         (atomic_load_relaxed): Likewise.
941         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
942         * nptl/pthread_spin_init.c (pthread_spin_init):
943         Use atomic_store_relaxed.
944         * nptl/pthread_spin_lock.c (pthread_spin_lock):
945         Use C11-like atomic macros.
946         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
947         Likewise.
948         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
949         Use atomic_store_release.
950         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
951         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
952         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
953         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
954         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
955         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
956         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
957         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
958         * sysdeps/alpha/atomic-machine.h: Likewise.
959         * sysdeps/arm/atomic-machine.h: Likewise.
960         * sysdeps/i386/atomic-machine.h: Likewise.
961         * sysdeps/ia64/atomic-machine.h: Likewise.
962         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
963         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
964         * sysdeps/microblaze/atomic-machine.h: Likewise.
965         * sysdeps/mips/atomic-machine.h: Likewise.
966         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
967         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
968         * sysdeps/s390/atomic-machine.h: Likewise.
969         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
970         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
971         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
972         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
973         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
974         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
975         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
976         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
977         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
978         * sysdeps/x86_64/atomic-machine.h: Likewise.
980 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
982         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
983         and use it instead of dl_x86_cpu_features.
984         (handle_intel): Replace maxidx with cpu_features.  Pass
985         cpu_features to intel_check_word.
986         (__cache_sysconf): Pass cpu_features to handle_intel.
987         (init_cacheinfo): Likewise.  Use cpu_features instead of
988         dl_x86_cpu_features.
990 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
992         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
994         memcmp-avx2 and wmemcmp-avx2.
995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
996         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
997         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
998         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
999         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1000         2 machines if AVX unaligned load is fast and vzeroupper is
1001         preferred.
1002         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1003         2 machines if AVX unaligned load is fast and vzeroupper is
1004         preferred.
1006 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1008         * include/wchar.h (__wmemset_chk): New.
1009         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1010         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1011         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1012         (WMEMSET_CHK_SYMBOL): Likewise.
1013         (WMEMSET_SYMBOL): Likewise.
1014         (__wmemset): Add hidden definition.
1015         (wmemset): Add weak hidden definition.
1016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1017         wmemset_chk-nonshared.
1018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1019         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1020         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1021         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1022         and __wmemset_chk_avx512_unaligned.
1023         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1024         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1025         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1026         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1027         (WMEMSET_SYMBOL): Likewise.
1028         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1029         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1030         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1031         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1032         (WMEMSET_SYMBOL): Likewise.
1033         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1034         (WMEMSET_CHK_SYMBOL): New.
1035         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1036         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1037         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1038         (libc_hidden_builtin_def): Also define __GI_wmemset and
1039         __GI___wmemset.
1040         (weak_alias): New.
1041         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1042         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1043         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1044         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1045         * sysdeps/x86_64/wmemset.c: Likewise.
1046         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1048 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1049             H.J. Lu  <hongjiu.lu@intel.com>
1051         * sysdeps/x86/init-arch.h (PASTER1): New.
1052         (EVALUATOR1): Likewise.
1053         (PASTER2): Likewise.
1054         (EVALUATOR2): Likewise.
1055         (REDIRECT_NAME): Likewise.
1056         (OPTIMIZE): Likewise.
1057         (IFUNC_SELECTOR): Likewise.
1059 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1061         * sysdeps/x86_64/strlen.S (PMINU): New.
1062         (PCMPEQ): Likewise.
1063         (SHIFT_RETURN): Likewise.
1064         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1065         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
1066         pminub with PCMPEQ and PMINU.
1067         * sysdeps/x86_64/wcsnlen.S: New file.
1069 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1071         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1072         the lower 32 bits.  Remove redundant instructions.
1074 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1077         0 as the high part of offset.
1078         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1080 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
1082         [BZ #21538]
1083         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1084         [__USE_UNIX98].
1085         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1086         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1089         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1090         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1091         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1092         Likewise.
1094         [BZ #21517]
1095         * bits/types/stack_t.h (stack_t): Remove struct tag.
1096         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1097         Likewise.
1098         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1099         Likewise.
1100         * debug/segfault.c (install_handler): Use stack_t instead of
1101         struct sigaltstack.
1102         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1103         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1104         * include/signal.h (__sigaltstack): Likwise.
1105         * signal/sigaltstack.c (__sigaltstack): Likewise.
1106         * signal/signal.h (sigaltstack): Likewise.
1107         * sysdeps/mach/hurd/i386/signal-defines.sym
1108         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1109         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1110         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1111         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1112         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1113         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1114         elf_prstatus): Likewise.
1115         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1116         Likewise.
1117         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1118         Likewise.
1119         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1120         Likewise.
1121         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1122         elf_prstatus): Likewise.
1123         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1124         Likewise.
1125         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1126         Likewise.
1128 2017-06-04  Zack Weinberg  <zackw@panix.com>
1130         * sysdeps/gnu/errlist.c: Regenerate.
1132 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1134         * benchtests/bench-memchr.c (do_test): Print out both length
1135         and position.
1136         (test_main): Also test the position close to the beginning for
1137         memrchr.
1139 2017-06-04  Zack Weinberg  <zackw@panix.com>
1141         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1142         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1143         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1144         * nis/nis_destroygroup.c, nis/nis_domain_of.c
1145         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1146         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1147         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1148         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1149         * nis/nis_print_group_entry.c, nis/nis_remove.c
1150         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1151         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1152         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1153         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1154         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1155         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1156         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1157         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1158         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1159         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1160         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1161         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1162         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1163         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1164         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1165         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1166         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1167         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1168         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1169         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1171         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1172         abi-versions.h as well as shlib-compat.h.
1173         * sunrpc/get_myaddr.c: Remove obsolete comment.
1174         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1175         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1176         * resolv/res_libc.c: Include shlib-compat.h only once.
1178 2017-06-03  Florian Weimer  <fweimer@redhat.com>
1180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1181         of strdup.
1183 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1185         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1186         Set to the 3/4 of the total shared cache size.
1188 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
1190         * manual/errno.texi: Remove redundant error strings.
1191         * manual/macros.texi (@errno): Render the error string in every
1192         description.
1194 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
1196         [BZ #21543]
1197         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1198         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1199         [__USE_XOPEN_EXTENDED].
1201 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1203         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1204         strdupa.
1205         (getcanonname): Use __strdup instead of strdup.
1207 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1209         * misc/Makefile (CFLAGS-preadv2.c): New rule.
1210         (CFLAGS-preadv64v2.c): Likewise.
1211         (CFLAGS-pwritev2.c): Likewise.
1212         (CFLAGS-pwritev64v2.c): Likewise.
1214 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1216         Test res_init with several configuration files.
1217         * resolv/Makefile [build-shared] (tests-internal): Add
1218         tst-resolv-res_init, tst-resolv-res_init-thread.
1219         (tst-resolv-res_init): Link against libdl, libresolv.
1220         (tst-resolv-res_init-thread): Link against libdl, libresolv,
1221         libpthread.
1222         * resolv/tst-resolv-res_init.c: New file.
1223         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1224         * resolv/tst-resolv-res_init-thread.c: Likewise.
1225         * support/Makefile (libsupport-routines): Add support-xstat,
1226         support_can_chroot, support_capture_subprocess_check,
1227         support_isolate_in_subprocess, support_shared_allocate,
1228         support_write_file_string, xchroot, xmkdir, xopen.
1229         * support/capture_subprocess.h (enum support_capture_allow): Define.
1230         (support_capture_subprocess_check): Declare.
1231         * support/namespace.h (support_can_chroot)
1232         (support_isolate_in_subprocess): Declare.
1233         * support/support-xstat.c: New file.
1234         * support/support.h (support_shared_allocate, support_shared_free)
1235         (support_write_file_string): Declare.
1236         * support/support_can_chroot.c: New file.
1237         * support/support_capture_subprocess_check.c: Likewise.
1238         * support/support_isolate_in_subprocess.c: Likewise.
1239         * support/support_shared_allocate.c: Likewise.
1240         * support/support_write_file_string.c: Likewise.
1241         * support/xchroot.c: Likwise.
1242         * support/xmkdir.c: Likwise.
1243         * support/xopen.c: Likwise.
1244         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1246 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1248         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1249         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
1251 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1253         * malloc/Makefile (routines): Add dynarray_at_failure,
1254         dynarray_emplace_enlarge, dynarray_finalize.
1255         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1256         tst-dynarray-at-fail.
1257         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
1258         (tests-special): Add tst-dynarray-mem.out,
1259         tst-dynarray-mem-fail.out.
1260         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
1261         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
1262         mtrace.
1263         * malloc/Versions (__libc_dynarray_at_failure)
1264         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
1265         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
1266         GLIBC_PRIVATE.
1267         * malloc/dynarray.h: New file.
1268         * malloc/dynarray-skeleton.c: Likewise.
1269         * malloc/dynarray_at_failure.c: Likewise.
1270         * malloc/dynarray_emplace_enlarge.c: Likewise.
1271         * malloc/dynarray_finalize.c: Likewise.
1272         * malloc/dynarray_resize.c: Likewise.
1273         * malloc/dynarray_resize_clear.c: Likewise.
1274         * malloc/tst-dynarray.c: Likewise.
1275         * malloc/tst-dynarray-fail.c: Likewise.
1276         * malloc/tst-dynarray-at-fail.c: Likewise.
1277         * malloc/tst-dynarray-shared.h: Likewise.
1278         * support/Makefile (libsupport-routines): Add
1279         support_capture_subprocess, xdup2, xpipe.
1280         (tests): Add tst-support_capture_subprocess.
1281         * support/capture_subprocess.h: New file.
1282         * support/support_capture_subprocess.c: Likewise.
1283         * support/tst-support_capture_subprocess.c: Likewise.
1284         * support/xdup2.c: Likewise.
1285         * support/xpipe.c: Likewise.
1286         * support/xunistd.h (xdup2, xpipe): Declare.
1288 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1290         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1291         macros MAX and MIN.
1293 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1295         * conform/data/signal.h-data (sa_sigaction): Do not expect for
1296         [XPG4].
1297         (SA_SIGINFO): Likewise.
1298         (SA_ONSTACK): Likewise.
1299         (SA_RESETHAND): Likewise.
1300         (SA_RESTART): Likewise.
1301         (SA_NOCLDWAIT): Likewise.
1302         (SA_NODEFER): Likewise.
1303         (SS_ONSTACK): Likewise.
1304         (SS_DISABLE): Likewise.
1305         (MINSIGSTKSZ): Likewise.
1306         (SIGSTKSZ): Likewise.
1307         (ucontext_t): Likewise.
1308         (stack_t): Likewise.
1309         (struct sigstack): Likewise.
1310         (SI_USER): Do not expect for [XPG4 || XPG42].
1311         (SI_QUEUE): Likewise.
1312         (SI_TIMER): Likewise.
1313         (SI_ASYNCIO): Likewise.
1314         (SI_MESGQ): Likewise.
1315         (bsd_signal): Do not expect for [XPG4].
1316         (killpg): Likewise.
1317         (sigaltstack): Likewise.
1318         (sighold): Likewise.
1319         (sigignore): Likewise.
1320         (siginterrupt): Likewise.
1321         (sigpause): Likewise.
1322         (sigrelse): Likewise.
1323         (sigset): Likewise.
1324         (sigwait): Do not expect for [XPG4 || XPG42].
1326 2017-06-01  Zack Weinberg  <zackw@panix.com>
1328         [BZ #21514]
1329         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1330         pointing to the generated file in <builddir>/misc/bits/syscall.h.
1332 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1334         [BZ #21457]
1335         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1336         NGREG to __NGREG if [__USE_MISC].
1337         (gregset_t): Define using __NGREG.
1338         (__ctx): New macro.
1339         (mcontext_t): Use __ctx in defining fields.
1340         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1341         define NGREG to __NGREG if [__USE_MISC].
1342         (gregset_t): Define using __NGREG.
1343         (__ctx): New macro.
1344         (__ctxt): Likewise.
1345         (fpregset_t): Use __ctx and __ctxt in defining fields.
1346         (mcontext_t): Likewise.
1347         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1348         define NGREG to __NGREG if [__USE_MISC].
1349         (gregset_t): Define using __NGREG.
1350         (__ctx): New macro.
1351         (mcontext_t): Use __ctx in defining fields.
1352         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1353         define NGREG to __NGREG if [__USE_MISC].
1354         (gregset_t): Define using __NGREG.
1355         (__ctx): New macro.
1356         (fpregset_t): Use __ctx in defining fields.
1357         (mcontext_t): Likewise.
1358         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1359         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1360         (gregset_t): Define using __NGREG.
1361         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1362         [__USE_MISC].
1363         (fpregset_t): Define using __NFPREG.
1364         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1365         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1366         (gregset_t): Define using __NGREG.
1367         (__ctx): New macro.
1368         (fpregset_t): Use __ctx in defining fields.
1369         (mcontext_t): Likewise.
1370         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1371         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1372         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1373         [__USE_MISC].
1374         (gregset_t): Define using __NGREG.
1375         (__ctx): New macro.
1376         (fpregset_t): Use __ctx in defining fields.
1377         (mcontext_t): Likewise.
1378         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1379         (mcontext_t): Use __ctx in defining fields.
1380         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1381         macro.
1382         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1383         __NGREG if [__USE_MISC].
1384         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1385         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1386         (mcontext_t): Likewise.
1387         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1388         __NGREG if [__USE_MISC].
1389         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1390         to __NFPREG if [__USE_MISC].
1391         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1392         to __NVRREG if [__USE_MISC].
1393         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1394         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1395         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1396         [__WORDSIZE != 32] (vrregset_t): Likewise.
1397         [__WORDSIZE != 32] (mcontext_t): Likewise.
1398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1399         (__psw_t): Use __ctx in defining fields.
1400         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1401         [__USE_MISC].
1402         (gregset_t): Define using __NGREG.
1403         (fpreg_t): Use __ctx in defining fields.
1404         (fpregset_t): Likewise.
1405         (mcontext_t): Likewise.
1406         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1407         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1408         (gregset_t): Define using __NGREG.
1409         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1410         [__USE_MISC].
1411         (fpregset_t): Define using __NFPREG.
1412         (__ctx): New macro.
1413         (mcontext_t): Use __ctx in defining fields.
1414         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1415         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1416         __NGREG if [__USE_MISC].
1417         [__x86_64__] (gregset_t): Define using __NGREG.
1418         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1419         [__x86_64__] (struct _libc_fpstate): Likewise.
1420         [__x86_64__] (mcontext_t): Likewise.
1421         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1422         __NGREG if [__USE_MISC].
1423         [!__x86_64__] (gregset_t): Define using __NGREG.
1424         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1425         [!__x86_64__] (struct _libc_fpstate): Likewise.
1426         [!__x86_64__] (mcontext_t): Likewise.
1428 2017-06-01  Zack Weinberg  <zackw@panix.com>
1430         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1431         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1432         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1433         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1434         libpthread.so no longer references __errno_location.
1436 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1438         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1439         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1440         pwritev64v2.
1441         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1442         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1443         pwritev64v2.
1444         * misc/preadv2.c: New file.
1445         * misc/preadv64v2.c: Likewise.
1446         * misc/pwritev2.c: Likewise.
1447         * misc/pwritev64v2.c: Likewise.
1448         * misc/tst-preadvwritev2.c: Likewise.
1449         * misc/tst-preadvwritev64v2.c: Likewise.
1450         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1451         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1452         prototype.
1453         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1454         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1455         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1456         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1457         (PWRITEV): Likewise.
1458         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1459         ENOSYS.
1460         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1461         (tf_preadv2): Likewise.
1462         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1463         * sysdeps/posix/preadv2.c: Likewise.
1464         * sysdeps/posix/preadv64v2.c: Likewise.
1465         * sysdeps/posix/pwritev2.c: Likewise.
1466         * sysdeps/posix/pwritev64v2.c: Likewise.
1467         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1468         support in kernel.
1469         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1470         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1471         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1472         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1473         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1474         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1475         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1476         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1477         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1478         support flags on Linux.
1479         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1480         preadv2, preadv64v2, pwritev2, pwritev64v2.
1481         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1482         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1483         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1484         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1485         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1489         Likewise.
1490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1491         Likewise.
1492         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1493         Likewise.
1494         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1495         Likewise.
1496         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1497         Likewise.
1498         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1499         Likewise.
1500         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1502         (GLIBC_2.26): Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1504         (GLIBC_2.26): Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1506         Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1508         (GLIBC_2.26): Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1510         Likewise.
1511         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1512         Likewise.
1513         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1517         Likewise.
1518         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1519         Likewise.
1520         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1521         Likewise.
1522         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1523         Likewise.
1524         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1525         Likewise.
1526         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1527         Likewise.
1529 2017-05-31  Andreas Schwab  <schwab@suse.de>
1531         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1532         (main): Rename to do_test and make static.
1534 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1536         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1537         ARCH_INIT_CPU_FEATURES.
1538         (LIBC_START_MAIN): Call it.
1539         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1540         (__libc_start_main): Remove.
1541         (ARCH_INIT_CPU_FEATURES): New macro.
1542         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1543         (ARCH_INIT_CPU_FEATURES): New macro.
1545 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1546             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1548         * include/stdlib.h (__libc_reallocarray): New declaration.
1549         * malloc/Makefile (routines): Add reallocarray.
1550         (tests): Add tst-reallocarray.c.
1551         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1552         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1553         function.
1554         * malloc/malloc.h (reallocarray): New declaration.
1555         * stdlib/stdlib.h (reallocarray): Likewise.
1556         * malloc/reallocarray.c: New file.
1557         * malloc/tst-reallocarray.c: New test file.
1558         * manual/memory.texi: Document reallocarray.
1559         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1560         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1561         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1562         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1563         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1564         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1565         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1566         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1567         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1568         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1569         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1571         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1572         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1574         Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1576         Likewise.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1579         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1580         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1581         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1582         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1583         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1586         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1587         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1588         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1590 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1592         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1593         the lower 32 bits.
1595 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1597         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1598         $(build-pie-default) = yes]: Define.
1600 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1602         * string/test-memchr.c (test_main): Add tests for n == 0.
1604 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1606         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1607         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1608         (tests-internal): ... here.
1610 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1611              H.J. Lu  <hongjiu.lu@intel.com>
1613         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1614         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1615         (__tunable_set_val): Likewise.
1617 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1619         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1620         dl-tunables.list in subdirectories.
1622 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1623             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1624             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1626         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1627         (SNANF128): New macro.
1628         * math/e_sqrtf128.c: New file.
1629         * math/s_fmaxmag_template.c: Include math_private.h in order to
1630         make inline expansion of fabs128().
1631         * math/s_fminmag_template.c: Likewise.
1633         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1634         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1635         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1636         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1637         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1638         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1639         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1640         * sysdeps/ieee754/float128/e_expf128.c: New file.
1641         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1642         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1643         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1644         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1645         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1646         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1647         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1648         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1649         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1650         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1651         * sysdeps/ieee754/float128/e_logf128.c: New file.
1652         * sysdeps/ieee754/float128/e_powf128.c: New file.
1653         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1654         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1655         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1656         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1657         * sysdeps/ieee754/float128/float128_private.h: New file.
1658         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1659         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1660         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1661         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1662         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1663         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1664         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1665         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1666         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1667         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1668         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1669         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1670         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1671         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1672         * sysdeps/ieee754/float128/s_erff128.c: New file.
1673         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1674         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1675         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1676         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1677         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1678         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1679         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1680         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1681         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1682         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1683         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1684         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1685         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1686         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1687         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1688         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1689         * sysdeps/ieee754/float128/s_logbf128.c: New file.
1690         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1691         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1692         * sysdeps/ieee754/float128/s_modff128.c: New file.
1693         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1694         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1695         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1696         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1697         * sysdeps/ieee754/float128/s_remquof128.c: New file.
1698         * sysdeps/ieee754/float128/s_rintf128.c: New file.
1699         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1700         * sysdeps/ieee754/float128/s_roundf128.c: New file.
1701         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1702         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1703         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1704         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1705         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1706         * sysdeps/ieee754/float128/s_significandf128.c: New file.
1707         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1708         * sysdeps/ieee754/float128/s_sinf128.c: New file.
1709         * sysdeps/ieee754/float128/s_tanf128.c: New file.
1710         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1711         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1712         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1713         * sysdeps/ieee754/float128/s_truncf128.c: New file.
1714         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1715         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1716         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1717         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1719         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1720         (__iscanonicalf128): Define as a macro.
1722 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1724         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1725         (memmove): Use MEMMOVE for name.
1726         (memcpy): Use MEMCPY for name.  Change internal labels
1727         to external labels.
1728         * sysdeps/aarch64/multiarch/Makefile: New file.
1729         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1730         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1731         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1732         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1733         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1734         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1736 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1738         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1739         (_dl_arm_cap_flags): Fix array subscript.
1740         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1741         Fix count.
1743 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1745         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1747 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1749         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1750         (is_amd): Likewise.
1751         (max_cpuid): Likewise.
1752         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1753         (init_cacheinfo): Likewise.
1755 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
1757         [BZ #21511]
1758         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1759         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1760         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1761         !__USE_XOPEN2K) || __USE_MISC].
1762         * conform/data/signal.h-data (struct sigstack): Expect type only
1763         if [!XOPEN2K8 && !POSIX2008].
1764         (sigstack): Expect function only if [XPG42 || UNIX98].
1766         [BZ #21457]
1767         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1768         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1769         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1770         <bits/types/__sigset_t.h>.
1771         (ucontext_t): Use sigset_t instead of __sigset_t.
1772         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1773         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1774         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1775         <bits/types/__sigset_t.h>.
1776         (ucontext_t): Use sigset_t instead of __sigset_t.
1777         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1778         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1779         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1780         <bits/types/__sigset_t.h>.
1781         (ucontext_t): Use sigset_t instead of __sigset_t.
1782         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1783         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1784         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1785         <bits/types/__sigset_t.h>.
1786         (ucontext_t): Use sigset_t instead of __sigset_t.
1787         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1788         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1789         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1790         <bits/types/__sigset_t.h>.
1791         (ucontext_t): Use sigset_t instead of __sigset_t.
1792         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1793         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1794         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1795         <bits/types/__sigset_t.h>.
1796         (ucontext_t): Use sigset_t instead of __sigset_t.
1797         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1798         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1799         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1800         <bits/types/__sigset_t.h>.
1801         (ucontext_t): Use sigset_t instead of __sigset_t.
1802         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1803         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1804         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1805         <bits/types/__sigset_t.h>.
1806         (ucontext_t): Use sigset_t instead of __sigset_t.
1807         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1808         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1809         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1810         <bits/types/__sigset_t.h>.
1811         (ucontext_t): Use sigset_t instead of __sigset_t.
1812         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1813         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1814         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1815         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1816         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1817         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1818         <bits/types/__sigset_t.h>.
1819         (ucontext_t): Use sigset_t instead of __sigset_t.
1820         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1821         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1822         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1823         <bits/types/__sigset_t.h>.
1824         (ucontext_t): Use sigset_t instead of __sigset_t.
1825         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1826         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1827         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1828         <bits/types/__sigset_t.h>.
1829         (ucontext_t): Use sigset_t instead of __sigset_t.
1830         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1831         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1832         <bits/ss_flags.h>.
1833         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1834         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1835         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1836         <bits/types/__sigset_t.h>.
1837         (ucontext_t): Use sigset_t instead of __sigset_t.
1838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1839         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1840         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1841         <bits/types/__sigset_t.h>.
1842         (ucontext_t): Use sigset_t instead of __sigset_t.
1843         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1844         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1845         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1846         <bits/types/__sigset_t.h>.
1847         (ucontext_t): Use sigset_t instead of __sigset_t.
1848         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1849         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1850         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1851         <bits/types/__sigset_t.h>.
1852         (ucontext_t): Use sigset_t instead of __sigset_t.
1853         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1854         <bits/types.h>.
1855         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1856         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1857         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1858         <bits/types/__sigset_t.h>.
1859         (ucontext_t): Use sigset_t instead of __sigset_t.
1861 2017-05-22  Zack Weinberg  <zackw@panix.com>
1863         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1864         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1865         bits/siginfo-arch.h, only if not already defined.
1866         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1867         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1868         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1869         Likewise.
1871         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1872         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1874         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1875         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1876         Unconditionally define __SI_* macros.
1878 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1880         [BZ #21393]
1881         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1882         and add a check for dup3 failure.
1883         * libio/freopen64.c (freopen64): Likewise.
1884         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1885         libsupport.
1886         (do_test_bz21398): New test.
1887         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1889 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1891         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1892         Remove invalid comment.
1894 2017-05-21  Zack Weinberg  <zackw@panix.com>
1896         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1898 2017-05-20  Zack Weinberg  <zackw@panix.com>
1900         * bits/sigevent-consts.h
1901         * bits/siginfo-consts.h
1902         * bits/types/__sigset_t.h
1903         * bits/types/sigevent_t.h
1904         * bits/types/siginfo_t.h
1905         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1906         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1907         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1908         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1909         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1910         New system-dependent bits headers.
1912         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1913         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1914         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1915         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1916         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1918         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1919         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1920         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1921         New Linux-only system-dependent bits headers.
1923         * signal/bits/types/sig_atomic_t.h
1924         * signal/bits/types/sigset_t.h
1925         * signal/bits/types/sigval_t.h:
1926         New non-system-dependent bits headers.
1928         * sysdeps/generic/sigsetops.h
1929         * sysdeps/unix/sysv/linux/sigsetops.h:
1930         New internal headers.
1932         * include/bits/types/sig_atomic_t.h
1933         * include/bits/types/sigset_t.h
1934         * include/bits/types/sigval_t.h:
1935         New wrappers.
1937         * signal/sigsetops.h
1938         * bits/siginfo.h
1939         * bits/sigset.h
1940         * sysdeps/unix/sysv/linux/bits/siginfo.h
1941         * sysdeps/unix/sysv/linux/bits/sigset.h
1942         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1943         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1945         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1946         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1947         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1948         Deleted.
1950         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1951         Update lists of installed headers.
1953         * posix/bits/types.h: Define __sig_atomic_t here.
1954         * signal/signal.h: Use the new bits headers; no need to handle
1955         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1956         to define sigmask.
1957         * include/signal.h: No need to handle __need_sig_atomic_t
1958         nor __need_sigset_t.  Don't define __sigemptyset.
1960         * io/sys/poll.h, setjmp/setjmp.h
1961         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1962         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1963         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1964         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1965         * sysdeps/pthread/bits/sigthread.h
1966         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1967         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1968         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1969         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1970         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1971         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1972         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1973         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1974         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1975         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1976         Use bits/types/__sigset_t.h.
1978         * misc/sys/select.h, posix/spawn.h
1979         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1980         * sysdeps/unix/sysv/linux/sys/epoll.h
1981         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1982         Use bits/types/sigset_t.h.
1984         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1985         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1986         * socket/sys/socket.h: Don't include bits/sigset.h.
1988         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1989         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1990         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1991         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1992         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1993         * sysdeps/unix/sysv/linux/nptl-signals.h:
1994         Include sigsetops.h.
1996         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1997         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1998         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1999         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2000         now return no value.
2002         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2003         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2004         "sigsetops.h".
2006         * signal/sigsetops.c: Explicitly define __sigismember,
2007         __sigaddset, and __sigdelset as compatibility symbols.
2009         * signal/Versions: Correct commentary on __sigpause,
2010         __sigaddset, __sigdelset, __sigismember.
2012         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2013         __sigblock/__sigsetmask to use __sigprocmask and friends.
2015         * resolv/resolv.h: Remove __need_res_state logic.
2016         Move definition of res_state and related constants to ...
2017         * resolv/bits/types/res_state.h: ...this new file.
2018         * resolv/Makefile: Install bits/types/res_state.h.
2019         * include/bits/types/res_state.h: New wrapper.
2020         * include/list.h: Remove __need_list_t logic.
2021         Move definition of list_t to ...
2022         * include/list_t.h: ...this new file.
2024         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2025         instead of list.h and resolv.h.
2027         * resolv/resolv.h: Remove __need_res_state logic.
2028         Move definition of res_state and related constants to ...
2029         * resolv/bits/types/res_state.h: ...this new file.
2030         * resolv/Makefile: Install bits/types/res_state.h.
2031         * include/bits/types/res_state.h: New wrapper.
2032         * include/list.h: Remove __need_list_t logic.
2033         Move definition of list_t to ...
2034         * include/list_t.h: ...this new file.
2036         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2037         instead of list.h and resolv.h.
2039 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2041         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2043 2017-05-20  Zack Weinberg  <zackw@panix.com>
2045         * sysdeps/arm/sysdep.h
2046         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2048         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2049         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2050         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2051         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2052         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2053         * sysdeps/arm/armv6t2/strlen.S
2054         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2055         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2056         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2057         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2058         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2059         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2061 2017-05-20  Zack Weinberg  <zackw@panix.com>
2063         Remove the NaCl port.
2064         * sysdeps/arm/nacl: Remove directory and contents.
2065         * sysdeps/nacl: Remove directory and contents.
2066         * abi-tags: Remove .*-.*-nacl.* entry.
2068 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
2070         * manual/errno.texi: Convert @comment-based errno documentation to
2071         @errno.
2072         * manual/macros.texi (@errno): New macro.  Consolidate errors,
2073         their values, and messages, adding the error string to the Concept
2074         Index.  Provide a warning in the comment about external (to the
2075         manual) dependencies.
2076         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2077         * sysdeps/mach/hurd/errnos.awk: Likewise.
2079 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2081         * bits/ss_flags.h: New file.
2082         * bits/types/stack_t.h: Likewise.
2083         * include/bits/types/struct_sigstack.h: Likewise.
2084         * signal/bits/types/struct_sigstack.h: Likewise.
2085         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2086         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2087         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2088         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2089         bits/types/stack_t.h and bits/ss_flags.h.
2090         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2091         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2092         <bits/ss_flags.h>.
2093         * bits/sigstack.h (struct sigstack): Remove.
2094         (stack_t): Likewise.
2095         (SS_ONSTACK): Likewise.
2096         (SS_DISABLE): Likewise.
2097         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2098         (struct sigstack): Likewise.
2099         (stack_t): Likewise.
2100         (SS_ONSTACK): Likewise.
2101         (SS_DISABLE): Likewise.
2102         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2103         Likewise.
2104         (stack_t): Likewise.
2105         (SS_ONSTACK): Likewise.
2106         (SS_DISABLE): Likewise.
2107         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2108         Likewise.
2109         (stack_t): Likewise.
2110         (SS_ONSTACK): Likewise.
2111         (SS_DISABLE): Likewise.
2112         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2113         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2114         Likewise.
2115         (stack_t): Likewise.
2116         (SS_ONSTACK): Likewise.
2117         (SS_DISABLE): Likewise.
2118         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2119         (struct sigstack): Likewise.
2120         (stack_t): Likewise.
2121         (SS_ONSTACK): Likewise.
2122         (SS_DISABLE): Likewise.
2123         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2124         Likewise.
2125         (stack_t): Likewise.
2126         (SS_ONSTACK): Likewise.
2127         (SS_DISABLE): Likewise.
2128         * sysdeps/arm/sys/ucontext.h: Include
2129         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2130         <bits/ss_flags.h>.
2131         * sysdeps/generic/sys/ucontext.h: Likewise.
2132         * sysdeps/i386/sys/ucontext.h: Likewise.
2133         * sysdeps/m68k/sys/ucontext.h: Likewise.
2134         * sysdeps/mips/sys/ucontext.h: Likewise.
2135         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2136         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2137         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2138         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2139         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2140         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2141         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2142         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2143         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2145         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2146         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2147         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2148         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2149         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2151 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2153         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2154         "edx + ecx - 16" to avoid possible addition overflow.
2155         * sysdeps/x86_64/memchr.S (memchr): Likewise.
2157 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2159         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2160         (CFLAGS-splice.c): Likewise.
2161         (CFLAGS-open_by_handle_at.c): Likewise.
2162         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2163         (CFLAGS-splice.c): Likewise.
2164         (CFLAGS-open_by_handle_at.c): Likewise.
2166 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2168         * scripts/versions.awk: Generate ldbl-compat-choose.h.
2169         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2170         <ldbl-compat-choose.h>.
2171         (maybe_long_double_symbol): New macro.
2172         [!declare_mgen_alias] (declare_mgen_alias): Use
2173         maybe_long_double_symbol.
2174         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2175         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2176         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2177         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2178         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2179         * Makerules [$(build-shared) = yes && !avoid-generated]
2180         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2181         [$(build-shared) = yes && !avoid-generated]
2182         ($(common-objpfx)ldbl-compat-choose.h): New target.
2184         * scripts/versions.awk: Generate first-versions.h.
2185         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2186         <first-versions.h>.
2187         (LDOUBLE_cabsl_libm_version): Remove macro.
2188         (LDOUBLE_cargl_libm_version): Likewise.
2189         (LDOUBLE_cimagl_libm_version): Likewise.
2190         (LDOUBLE_conjl_libm_version): Likewise.
2191         (LDOUBLE_creall_libm_version): Likewise.
2192         (LDOUBLE_cacosl_libm_version): Likewise.
2193         (LDOUBLE_cacoshl_libm_version): Likewise.
2194         (LDOUBLE_ccosl_libm_version): Likewise.
2195         (LDOUBLE_ccoshl_libm_version): Likewise.
2196         (LDOUBLE_casinl_libm_version): Likewise.
2197         (LDOUBLE_csinl_libm_version): Likewise.
2198         (LDOUBLE_casinhl_libm_version): Likewise.
2199         (LDOUBLE_csinhl_libm_version): Likewise.
2200         (LDOUBLE_catanl_libm_version): Likewise.
2201         (LDOUBLE_catanhl_libm_version): Likewise.
2202         (LDOUBLE_ctanl_libm_version): Likewise.
2203         (LDOUBLE_ctanhl_libm_version): Likewise.
2204         (LDOUBLE_cexpl_libm_version): Likewise.
2205         (LDOUBLE_clogl_libm_version): Likewise.
2206         (LDOUBLE_cprojl_libm_version): Likewise.
2207         (LDOUBLE_csqrtl_libm_version): Likewise.
2208         (LDOUBLE_cpowl_libm_version): Likewise.
2209         (LDOUBLE_clog10l_libm_version): Likewise.
2210         (LDOUBLE___clog10l_libm_version): Likewise.
2211         (LDOUBLE_fdiml_libm_version): Likewise.
2212         (LDOUBLE_fmaxl_libm_version): Likewise.
2213         (LDOUBLE_fminl_libm_version): Likewise.
2214         (LDOUBLE_ilogbl_libm_version): Likewise.
2215         (LDOUBLE_nanl_libm_version): Likewise.
2216         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2217         FIRST_VERSION_libm_* macros.
2218         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2219         * Makerules [$(build-shared) = yes && !avoid-generated]
2220         (before-compile): Add $(common-objpfx)first-versions.h.
2221         [$(build-shared) = yes && !avoid-generated]
2222         ($(common-objpfx)first-versions.h): New target.
2223         ($(common-objpfx)sysd-versions): Depend on and change to rule for
2224         building $(common-objpfx)versions.stmp.
2226 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2228         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2229         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2230         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2231         auto-generation list.
2233         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2234         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2235         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2236         from auto-generation list.
2238         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2239         open_by_handle_at.
2240         (CFLAGS-open_by_handle_at.c): New flag.
2241         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2242         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2243         file.
2244         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2246         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2247         (CFLAGS-splice.c): New flag.
2248         * sysdeps/unix/sysv/linux/splice.c: New file.
2249         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2250         auto-generation syscall list.
2251         * misc/Makefile (CFLAGS-splice.c): New rule.
2253         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2254         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2255         auto-generation syscall list.
2256         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2257         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
2259         * misc/Makefile (CFLAGS-fsync.c): New flag.
2260         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
2261         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
2262         syscall list.
2263         * sysdeps/unix/sysv/linux/fsync.c: New file.
2264         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
2265         (__errno_location): Remove.
2267         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
2268         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
2269         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
2270         list.
2271         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
2273         * misc/Makefile (CFLAGS-msync.c): New rule.
2274         * nptl/Makefile (CFLAGS-msync.c): Likewise.
2275         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2276         * sysdeps/unix/sysv/linux/msync.c: New file.
2278         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2279         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2280         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2282         (CFLAGS-sigsuspend.c): Remove rule.
2284         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2285         (CFLAGS-tee.c): New rule.
2286         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2287         auto-generated list.
2288         * sysdeps/unix/sysv/linux/tee.c: New file.
2290         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2291         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2292         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2293         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2294         auto-generated list.
2296         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2297         auto-generated list.
2298         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2299         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2300         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2301         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2302         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2304         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2305         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2306         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2307         (__NR_pause): Undefine.
2308         * sysdeps/unix/sysv/linux/pause.c: New file.
2309         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
2310         auto-generation list.
2311         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
2312         Remove rule.
2313         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
2315 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2317         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
2318         comments.
2320 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2322         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2323         LD_HWCAP_MASK.
2325 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2327         * manual/conf.texi: Convert @tables of annotated @items to
2328         @vtables.
2329         * manual/lang.texi: Likewise.
2330         * manual/pattern.texi: Likewise.
2331         * manual/resource.texi: Likewise.
2332         * manual/socket.texi: Likewise.
2334 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2336         * manual/crypt.texi: Move a comment out of an @*x list.
2337         * manual/filesys.texi: Refactor some comments, one of which looks
2338         like a standard.  Fix incorrectly separated standards.
2339         * manual/locale.texi: Invert an annotation.
2340         * manual/resource.texi: Fix incorrectly separated standards.
2341         * manual/time.texi: Refactor a @vtable that obscures an
2342         annotation.
2343         * manual/users.texi: Refactor multiple headers to occupy a single
2344         @comment.
2346 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2348         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2349         (sysdep_routines): Add memcmp-power8.
2350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2351         (memcmp): Add __memcmp_power8 to list of memcmp functions.
2352         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2353         (memcmp): Add __memcmp_power8 to ifunc list.
2354         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2355         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2357 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2358             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2360         * math/math.h (__MATH_TG): Extend the conditions to add
2361         _Float128 support.
2362         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2364 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
2366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2367         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2368         s_cosf-ppc64.
2369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2372         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2374 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2376         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2377         (gen-libm-calls): Add e_exp2F to use the template.
2378         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2379         * math/e_exp2_template.c: New file, renamed from
2380         math/e_exp2l.c, and made into a template.
2381         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2383 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2385         * elf/dl-tunable-types.h (tunable_type_code_t): New type
2386         TUNABLE_TYPE_UINT_64.
2387         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2388         Simplify computation of overflow.
2389         (tunable_set_val_if_valid_range_signed,
2390         tunable_set_val_if_valid_range_unsigned): Remove and replace
2391         with this...
2392         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2393         (tunable_initialize): Adjust.  Add uint64_t support.
2394         (__tunable_set_val): Add uint64_t support.
2395         * README.tunables: Document it.
2397         * scripts/gen-tunables.awk: Recognize 'default' keyword in
2398         dl-tunables.list.
2399         * README.tunables: Document it.
2401 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2403         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2404         * sysdeps/posix/preadv64.c: Likewise.
2405         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2406         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2407         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2408         * sysdeps/posix/pwritev64.c: Likewise.
2409         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2410         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2411         * sysdeps/posix/preadv_common.c: New file.
2412         * sysdeps/posix/pwritev_common.c: Likewise.
2414 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2416         * sysdeps/generic/math-type-macros-float128.h
2417         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2418         wrapper templates.
2420 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2421             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2423         * include/complex.h (__kernel_casinhf128): New declaration.
2424         * include/float.h: New file.
2425         * include/math.h (__finitef128): Add a hidden def.
2426         (__isinff128): Likewise.
2427         (__isnanf128): Likewise.
2428         (__fpclassify): Likewise.
2429         (__issignalling): Likewise.
2430         (__expf128): Likewise.
2431         (__expm1f128): Likewise.
2433         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2434         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2435         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2437         * sysdeps/generic/math-type-macros-float128.h: New file.
2439         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2440         math_private_calls.h for _Float128.
2441         (__isinff128): New inline implementation used when GCC < 7.0,
2442         since in this case __builtin_isinf_sign is broken.
2443         (fabsf128): New inline implementation that calls the builtin.
2444         (__EXPR_FLT128): New macro.
2445         (min_of_type): Optionally include _Float128 types too.
2447         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2448         Declare for _Float128.
2449         (__kernel_rem_pio2): Likewise.
2451         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2452         (__DECL_SIMD_sincos_disablef128): New macro.
2454 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2456         * math/math.h: Include bits/math-finite.h for float128.
2457         (__MATH_DECLARING_FLOATN): Define to control declaration of
2458         float128 functions.
2459         * math/bits/math-finite.h (pow10): Do not declare for float128.
2460         (gamma): Likewise.
2461         (scalb): Likewise.
2463 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2464             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2466         * bits/floatn.h: New file.
2467         * bits/huge_val_flt128.h: Likewise.
2469         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2470         (__DECL_SIMD_sinf128): Likewise.
2471         (__DECL_SIMD_sincosf128): Likewise.
2472         (__DECL_SIMD_logf128): Likewise.
2473         (__DECL_SIMD_expf128): Likewise.
2474         (__DECL_SIMD_powf128): Likewise.
2476         * math/Makefile (headers): Install bits/floatn.h and
2477         bits/huge_val_flt128.h.
2479         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2480         defined.
2482         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2483         (isnan, gamma, nexttoward, scalb): Only define if not
2484         __MATH_DECLARING_FLOATN.
2485         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2486         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2487         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2488         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2490         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2491         Include bits/cmathcalls.h to get the declarations of _Float128
2492         versions of complex functions.
2493         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2494         Define macro.
2496         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2497         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2498         get the declarations of _Float128 versions of math functions.
2499         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2500         _FloatN types.
2501         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2502         is type-generic, so use it without __MATH_TG.
2503         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2504         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2505         _Float128 type and GCC < 7.0, otherwise use the builtin.
2506         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2507         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2508         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2509         New _GNU_SOURCE enabled macros.
2511 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2513         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2514         (signbitf): Likewise.
2515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2516         Likewise.
2517         (signbitl): Likewise.
2518         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2519         Likewise.
2520         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2521         (signbitl): Likewise.
2522         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2524 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2526         [BZ #21386]
2527         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2528         parent PID.  The assertion in the child is incorrect with PID
2529         namespaces.
2531 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2533         * sysdeps/unix/sysv/linux/kernel-features.h
2534         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2535         * sysdeps/unix/sysv/linux/internal_statvfs.c
2536         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2538 2017-05-11  Zack Weinberg  <zackw@panix.com>
2540         * Makerules: New subdir configuration variables 'tests-internal'
2541         and 'test-internal-extras'.  Test files in these categories will
2542         still be compiled with MODULE_NAME=nonlib.  Test files in the
2543         existing categories (tests, xtests, test-srcs, test-extras) are
2544         now compiled with MODULE_NAME=testsuite.
2545         New subdir configuration variable 'modules-names-tests'.  Files
2546         which are in both 'modules-names' and 'modules-names-tests' will
2547         be compiled with MODULE_NAME=testsuite instead of
2548         MODULE_NAME=extramodules.
2549         (gen-as-const-headers): Move to tests-internal.
2550         (do-tests-clean, common-mostlyclean): Support tests-internal.
2551         * Makeconfig (built-modules): Add testsuite.
2552         * Makefile: Change libof-check-installed-headers-c and
2553         libof-check-installed-headers-cxx to 'testsuite'.
2554         * Rules: Likewise.  Support tests-internal.
2555         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2556         Remove extra-modules.mk.
2558         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2559         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2560         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2561         very top of the file and rationalize their order.
2562         If MODULE_NAME is not defined at all, define IS_IN to always be
2563         false, and don't define _ISOMAC.
2564         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2565         true, define _ISOMAC and suppress everything else in this file,
2566         starting with the inclusion of config.h.
2567         Do check for inappropriate definitions of __OPTIMIZE__ and
2568         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2569         Correct some out-of-date commentary.
2571         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2572         and _Mlong_double_ before including math.h.
2573         * include/string.h: If _ISOMAC is defined, don't expose
2574         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2575         location.
2577         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2578         * include/time.h, include/unistd.h, include/wchar.h: No need to
2579         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2581         * misc/sys/cdefs.h (__NTHNL): New macro.
2582         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2583         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2585         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2586         defined, for HAVE_TUNABLES.
2587         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2588         * intl/tst-gettext2.c: Provide own definition of N_.
2589         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2590         * math/test-signgam-main.c: No need to define _ISOMAC.
2591         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2592         * stdlib/tst-strtod1i.c: ...this new file.
2593         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2594         Split tests of __strtod_internal to...
2595         * stdlib/tst-strtod5i.c: ...this new file.
2596         * string/test-string.h: Include stdint.h. Duplicate definition of
2597         inhibit_loop_to_libcall here (from libc-symbols.h).
2598         * string/test-strstr.c: Provide dummy definition of
2599         libc_hidden_builtin_def when including strstr.c.
2600         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2601         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2602         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2603         Don't include init-arch.h.
2604         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2605         Don't include init-arch.h.
2607         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2608         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2609         unload, unload2, circleload1, neededtest, neededtest2,
2610         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2611         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2612         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2613         ifunc tests to tests-internal.
2614         Don't add $(modules-names) to test-extras.
2615         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2616         Add tst-deadline to tests-static-internal.
2617         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2618         tests-internal.
2619         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2620         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2621         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2622         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2623         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2624         Link tests-internal with libpthread also.
2625         Don't add $(modules-names) to test-extras.
2626         * nss/Makefile: Move tst-field to tests-internal.
2627         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2628         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2629         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2630         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2631         tests-internal.
2632         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2633         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2634         test-get_hwcap-static to tests-internal.
2635         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2636         tests-internal.
2637         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2638         modules-names-tests.
2640 2017-05-11  Zack Weinberg  <zackw@panix.com>
2642         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2643         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2644         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2645         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2646         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2647         already defined.
2648         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2649         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2650         appropriately.
2651         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2652         Define _IO_lock_t_defined after defining _IO_lock_t.
2654 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2656         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2657         void* for argument type and use VDSO_SYMBOL macro.
2658         (is_sigtramp_address_rt): Likewise.
2659         (__backtrace): Setup expected frame pointer address for signal
2660         handling.
2661         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2662         void* for argumetn type and use VSDO_SYMBOL macro.
2663         (__backtrace): Setup expected frame pointer address for signal
2664         handling.
2666         * sysdeps/unix/sysv/linux/writev.c: New file.
2668         * sysdeps/unix/sysv/linux/readv.c: New file.
2670         * include/unistd.h (write): Add hidden proto.
2671         * io/Makefile (CFLAGS-write.c): New define.
2672         * nptl/Makefile (CFLAGS-write.c): Likewise.
2673         * sysdeps/unix/sysv/linux/write.c: New file.
2675         [BZ #21428]
2676         * include/unistd.h (read): Add hidden proto.
2677         * io/Makefile (CFLAGS-read.c): New define.
2678         * nptl/Makefile (CFLAGS-read.c): Likewise.
2679         * sysdeps/unix/sysv/linux/read.c: New file.
2681         * io/Makefile (CFLAGS-creat.c): New rule.
2682         (CFLAGS-creat64.c): Likewise.
2683         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2684         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2685         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2686         * sysdeps/unix/sysv/linux/creat.c: New file.
2687         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2688         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2689         auto-generated list.
2690         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2692         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2693         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2694         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2695         * sysdeps/unix/sysv/linux/open.c: New file.
2696         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2697         iff __WORDSIZE != 64 and use __NR_openat when available.
2698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2699         from auto-generated list.
2701         * nptl/Makefile (CFLAGS-close.c): New flag.
2702         * sysdeps/unix/sysv/linux/close.c: New file.
2704 2017-05-11  DJ Delorie  <dj@redhat.com>
2706         * MAINTAINERS: New.  Points to wiki.
2708 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2710         * scripts/gen-tunables.awk: Add attribute_relro to
2711         tunable_list.
2713 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
2715         [BZ #21457]
2716         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2717         (R1): Likewise.
2718         (R2): Likewise.
2719         (R3): Likewise.
2720         (R4): Likewise.
2721         (R5): Likewise.
2722         (R6): Likewise.
2723         (R7): Likewise.
2724         (R8): Likewise.
2725         (R9): Likewise.
2726         (R10): Likewise.
2727         (R11): Likewise.
2728         (R12): Likewise.
2729         (R13): Likewise.
2730         (R14): Likewise.
2731         (R15): Likewise.
2732         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2733         (REG_FS): Likewise.
2734         (REG_ES): Likewise.
2735         (REG_DS): Likewise.
2736         (REG_EDI): Likewise.
2737         (REG_ESI): Likewise.
2738         (REG_EBP): Likewise.
2739         (REG_ESP): Likewise.
2740         (REG_EBX): Likewise.
2741         (REG_EDX): Likewise.
2742         (REG_ECX): Likewise.
2743         (REG_EAX): Likewise.
2744         (REG_TRAPNO): Likewise.
2745         (REG_ERR): Likewise.
2746         (REG_EIP): Likewise.
2747         (REG_CS): Likewise.
2748         (REG_EFL): Likewise.
2749         (REG_UESP): Likewise.
2750         (REG_SS): Likewise.
2751         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2752         (R_D1): Likewise.
2753         (R_D2): Likewise.
2754         (R_D3): Likewise.
2755         (R_D4): Likewise.
2756         (R_D5): Likewise.
2757         (R_D6): Likewise.
2758         (R_D7): Likewise.
2759         (R_A0): Likewise.
2760         (R_A1): Likewise.
2761         (R_A2): Likewise.
2762         (R_A3): Likewise.
2763         (R_A4): Likewise.
2764         (R_A5): Likewise.
2765         (R_A6): Likewise.
2766         (R_A7): Likewise.
2767         (R_SP): Likewise.
2768         (R_PC): Likewise.
2769         (R_PS): Likewise.
2770         (fpregset_t): Likewise.
2771         (MCONTEXT_VERSION): Likewise.
2772         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2773         (CTX_AT): Likewise.
2774         (CTX_V0): Likewise.
2775         (CTX_V1): Likewise.
2776         (CTX_A0): Likewise.
2777         (CTX_A1): Likewise.
2778         (CTX_A2): Likewise.
2779         (CTX_A3): Likewise.
2780         (CTX_T0): Likewise.
2781         (CTX_T1): Likewise.
2782         (CTX_T2): Likewise.
2783         (CTX_T3): Likewise.
2784         (CTX_T4): Likewise.
2785         (CTX_T5): Likewise.
2786         (CTX_T6): Likewise.
2787         (CTX_T7): Likewise.
2788         (CTX_S0): Likewise.
2789         (CTX_S1): Likewise.
2790         (CTX_S2): Likewise.
2791         (CTX_S3): Likewise.
2792         (CTX_S4): Likewise.
2793         (CTX_S5): Likewise.
2794         (CTX_S6): Likewise.
2795         (CTX_S7): Likewise.
2796         (CTX_T8): Likewise.
2797         (CTX_T9): Likewise.
2798         (CTX_K0): Likewise.
2799         (CTX_K1): Likewise.
2800         (CTX_GP): Likewise.
2801         (CTX_SP): Likewise.
2802         (CTX_S8): Likewise.
2803         (CTX_RA): Likewise.
2804         (CTX_MDLO): Likewise.
2805         (CTX_MDHI): Likewise.
2806         (CTX_CAUSE): Likewise.
2807         (CTX_EPC): Likewise.
2808         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2809         inclusion of <sys/procfs.h> on [__USE_MISC].
2810         (greg_t): Condition on [__USE_MISC].
2811         (gregset_t): Likewise.
2812         (fpregset_t): Likewise.
2813         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2814         (NGREG): Likewise.
2815         (gregset_t): Likewise.
2816         (REG_R0): Likewise.
2817         (REG_R1): Likewise.
2818         (REG_R2): Likewise.
2819         (REG_R3): Likewise.
2820         (REG_R4): Likewise.
2821         (REG_R5): Likewise.
2822         (REG_R6): Likewise.
2823         (REG_R7): Likewise.
2824         (REG_R8): Likewise.
2825         (REG_R9): Likewise.
2826         (REG_R10): Likewise.
2827         (REG_R11): Likewise.
2828         (REG_R12): Likewise.
2829         (REG_R13): Likewise.
2830         (REG_R14): Likewise.
2831         (REG_R15): Likewise.
2832         (struct _libc_fpstate): Likewise.
2833         (fpregset_t): Likewise.
2834         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2835         (NFPREG): Likewise.
2836         (gregset_t): Likewise.
2837         (fpregset_t): Likewise.
2838         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2839         (R_D1): Likewise.
2840         (R_D2): Likewise.
2841         (R_D3): Likewise.
2842         (R_D4): Likewise.
2843         (R_D5): Likewise.
2844         (R_D6): Likewise.
2845         (R_D7): Likewise.
2846         (R_A0): Likewise.
2847         (R_A1): Likewise.
2848         (R_A2): Likewise.
2849         (R_A3): Likewise.
2850         (R_A4): Likewise.
2851         (R_A5): Likewise.
2852         (R_A6): Likewise.
2853         (R_A7): Likewise.
2854         (R_SP): Likewise.
2855         (R_PC): Likewise.
2856         (R_PS): Likewise.
2857         (fpregset_t): Likewise.
2858         (MCONTEXT_VERSION): Likewise.
2859         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2860         Likewise.
2861         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2862         (REG_R1): Likewise.
2863         (REG_R2): Likewise.
2864         (REG_R3): Likewise.
2865         (REG_R4): Likewise.
2866         (REG_R5): Likewise.
2867         (REG_R6): Likewise.
2868         (REG_R7): Likewise.
2869         (REG_R8): Likewise.
2870         (REG_R9): Likewise.
2871         (REG_R10): Likewise.
2872         (REG_R11): Likewise.
2873         (REG_R12): Likewise.
2874         (REG_R13): Likewise.
2875         (REG_R14): Likewise.
2876         (REG_R15): Likewise.
2877         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2878         of <arch/abi.h> on [__USE_MISC].
2879         (greg_t): Condition on [__USE_MISC].
2880         (NGREG): Likewise.
2881         (gregset_t): Likewise.
2883 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2885         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2886         (__pthread_rwlock_arch_t): Remove __data definition.
2887         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2888         (__pthread_rwlock_arch_t): Likewise.
2890 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2892         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2893         internal_function on static functions.
2895 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2897         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2898         from format_ai_flags.
2899         (format_ai_flags): New function.  Incorporate flag formatting code
2900         from format_ai_one.
2901         (format_ai_canonname): New function.
2902         (format_ai_one): Remove flags parameter.
2903         (format_ai_family): Likewise.
2904         (support_format_addrinfo): Call format_ai_flags,
2905         format_ai_canonname.
2906         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2907         check_ai.
2908         (check_ai): Call check_ai_hints.
2909         (do_test): Add AI_CANONNAME tests.
2911 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2913         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2914         (gaih_inet): Likewise.
2916 2017-05-10  Andreas Schwab  <schwab@suse.de>
2918         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2919         (main): Rename to do_test and make static.
2921 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2923         * string/rawmemchr.c: Include <libc-diag.h>.
2924         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2925         with size (size_t)-1.
2927 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2929         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2930         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2931         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2933         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2934         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2935         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2936         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2937         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2938         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2939         * sysdeps/unix/sysv/linux/kernel-features.h
2940         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2941         socket syscalls.
2942         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2944         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2945         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2946         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2948         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2949         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2950         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2952         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2953         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2954         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2955         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2956         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2958 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2960         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2961         thread-shared-types.h.
2962         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2963         specific thread definition.
2964         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2965         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2966         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2967         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2968         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2969         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2970         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2971         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2972         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2973         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2974         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2975         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2976         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2977         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2978         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2979         thread definition between POSIX and C11.
2980         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2981         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2982         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2983         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2984         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2985         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2986         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2987         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2988         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2989         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2990         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2991         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2992         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2993         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2994         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2995         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2996         definitions shared across all architectures.
2998 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3000         * sysdeps/unix/sysv/linux/kernel-features.h
3001         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3002         (__ASSUME_SENDMMSG): Likewise.
3003         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3004         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3005         sendmmsg syscall if that can be assumed to be present, socketcall
3006         otherwise, with no fallback for runtime failure.
3008         * sysdeps/unix/sysv/linux/kernel-features.h
3009         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3010         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3011         (__ASSUME_RECVMMSG): Likewise.
3012         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3013         recvmmsg syscall if it can be assumed to be present, socketcall
3014         otherwise, with no fallback for runtime failure.
3016 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3017             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3019         * bits/libc-header-start.h:
3020         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3021         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3022         * manual/creature.texi: Likewise.
3024 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3025             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3027         * math/Makefile:
3028         (type-float128-suffix): New variable
3029         (type-float128-routines): Likewise
3030         (type-float128-yes): Likewise
3031         (types): Append float128 if supported
3032         (types-basic): New variable to control the use of templates for
3033         float, double, and long double, but not for float128 or newer types.
3034         (type-basic-foreach): Likewise.
3036         * sysdeps/ieee754/float128/Makeconfig: New file.
3037         * sysdeps/ieee754/float128/Versions: New file.
3039 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3041         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3042         Remove macro.
3043         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3044         prlimit64 is always available and does not give an ENOSYS error.
3045         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3046         unconditional.
3047         [!__NR_prlimit64]: Remove conditional code.
3048         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3049         prlimit64 is always available and does not give an ENOSYS error.
3050         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3052 2017-05-09  Zack Weinberg  <zackw@panix.com>
3054         * sunrpc/tst-xdrmem2.c: Include stdint.h.
3056 2017-05-09  Florian Weimer  <fweimer@redhat.com>
3058         [BZ #21474]
3059         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3060         (__res_maybe_init): Likewise.
3062 2017-05-09  Zack Weinberg  <zackw@panix.com>
3064         * extra-modules.mk: Delete file.
3065         * cppflags-iterator.mk: Rename to ...
3066         * libof-iterator.mk: ...this.  Adjust comments.
3068         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3069         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3070         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3071         Use libof-iterator.mk instead of cppflags-iterator.mk or
3072         extra-modules.mk.
3074         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3075         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3077 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3079         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3081 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
3083         * stdio-common/vfprintf.c (EXTSIZ): Define.
3084         (vfprintf): Use EXTSIZ.
3085         (printf_positional): Likewise.
3087 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3089         * sysdeps/unix/sysv/linux/kernel-features.h
3090         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3091         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3092         <kernel-features.h>.
3093         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3095         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3096         (__ASSUME_GETCPU_SYSCALL): Remove macro.
3098 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3100         Prevent multiple deletion of temporary files.
3101         * support/temp_file.c (struct temp_name_list): Add owner member.
3102         (add_temp_file): Record owner.
3103         (support_delete_temp_files): Delete file only if owner matches.
3104         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3105         (do_prepare): Use create_temp_file instead of add_temp_file.
3106         Initialize temp_fd1, temp_fd2.
3107         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
3108         framework remove the temporary files.
3109         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3110         (do_prepare): Use create_temp_file instead of add_temp_file.
3111         Initialize temp_fd1, temp_fd2, temp_fd3.
3112         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
3113         the test framework remove the temporary files.
3114         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3115         deletion.
3116         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3117         temporary directory.  It is removed by the test framework.
3118         * dirent/tst-scandir.c (do_test): Likewise.
3120 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3122         Delete temporary files in LIFO order.
3123         * support/temp_file.c (struct temp_name_list): Replace q member
3124         with next.
3125         (add_temp_file): Add new file to front of linked list.
3126         (support_delete_temp_files): Use next member.
3127         (support_print_temp_files): Likewise.
3129 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3132         sys/ultrasound.h.
3133         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3135 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3137         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3138         Remove.
3139         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3140         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3141         (arch_minimum_kernel): Remove.
3142         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3143         * README: Update statement about Linux kernel requirements.
3145 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3147         * manual/llio.texi: Add preadv and pwritev documentation.
3149 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3151         [BZ #21455]
3152         * bits/stdint-intn.h: New file.
3153         * bits/stdint-uintn.h: Likewise.
3154         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3155         bits/stdint-uintn.h.
3156         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3157         <stdint.h>.
3158         * posix/sys/types.h: Include <bits/stdint-intn.h>.
3159         (__int8_t_defined): Do not define here.
3160         (int8_t): Likewise.
3161         (int16_t): Likewise.
3162         (int32_t): Likewise.
3163         (int64_t): Likewise.
3164         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3165         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3166         <stdint.h>.
3167         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3168         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3169         <bits/stdint-uintn.h>.
3170         (int8_t): Do not define here.
3171         (int16_t): Likewise.
3172         (int32_t): Likewise.
3173         (int64_t): Likewise.
3174         (uint8_t): Likewise.
3175         (uint16_t): Likewise.
3176         (uint32_t): Likewise.
3177         (uint64_t): Likewise.
3178         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3179         variable.
3180         (test-xfail-XPG42/netdb.h/conform): Likewise.
3181         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3182         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3183         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3184         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3186 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3188         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3189         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3190         the above.
3191         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3194 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3196         [BZ #21445]
3197         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3199         [BZ #21457]
3200         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3201         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3202         __glibc_reserved1.
3203         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3204         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3205         (struct _fpxreg): Likewise.
3206         [!__x86_64__] (struct _fpstate): Rename field reserved to
3207         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
3208         [__x86_64__] (struct _fpstate): Rename field padding to
3209         __glibc_reserved1.
3210         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3211         Rename field reserved2 to __glibc_reserved2.
3212         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3213         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3214         __glibc_reserved1.
3215         [__x86_64__] (struct _libc_fpstate): Rename field padding to
3216         __glibc_reserved1.
3218 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3220         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3221         variable name.
3223 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
3225         [BZ #21391]
3226         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3227         Only call init_cpu_features.
3228         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3229         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3230         * sysdeps/i386/dl-procinfo.h: Removed.
3231         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3232         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
3233         <sysdeps/x86/dl-procinfo.h>.
3234         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3235         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3236         Include <sysdeps/x86/dl-procinfo.h> instead of
3237          <sysdeps/generic/dl-procinfo.h>.
3238         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3239         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3240         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3241         (bit_cpu_MOVBE): Likewise.
3242         (bit_cpu_BMI1): Likewise.
3243         (bit_cpu_BMI2): Likewise.
3244         (index_cpu_BMI1): Likewise.
3245         (index_cpu_BMI2): Likewise.
3246         (index_cpu_LZCNT): Likewise.
3247         (index_cpu_MOVBE): Likewise.
3248         (index_cpu_POPCNT): Likewise.
3249         (reg_BMI1): Likewise.
3250         (reg_BMI2): Likewise.
3251         (reg_LZCNT): Likewise.
3252         (reg_MOVBE): Likewise.
3253         (reg_POPCNT): Likewise.
3254         * sysdeps/x86/dl-hwcap.h: New file.
3255         * sysdeps/x86/dl-procinfo.h: Likewise.
3256         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3257         (_dl_x86_platforms): Likewise.
3259 2017-05-03  DJ Delorie  <dj@redhat.com>
3261         [BZ #21411]
3262         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
3264 2017-05-03  Phil Blundell  <pb@pbcl.net>
3266         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
3267         comments.
3269 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
3271         [BZ #20116]
3272         * nptl/pthread_create.c: Expand comments to describe
3273         semaphore-like and mutex-like uses of PD->lock.
3275 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3277         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3278         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3279         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3280         auto-generation list.
3281         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3282         epoll_wait.
3283         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3284         Remove epoll_wait.
3286         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3287         osf_select.
3288         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3289         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3290         osf_select from auto-generation list.
3291         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3292         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3293         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3294         * sysdeps/unix/sysv/linux/select.c: New file.
3296         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3297         * sysdeps/unix/sysv/linux/poll.c: New file.
3298         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3299         auto-generation list.
3301 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
3303         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3304         New macro.
3306 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3308         [BZ #21179]
3309         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
3310         R_SPARC_REGISTER relocations.
3312 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3314         * include/unistd.h (__pread): Add libc_hidden_proto.
3315         (__pread64): Likewise.
3316         (__pwrite): Likewise.
3317         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
3318         (__pread64): Remove.
3319         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3320         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3321         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3323 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3327 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3329         * nptl/tst-cancel4-common.c: Use libsupport.
3330         * nptl/tst-cancel4-common.h: Likewise.
3331         * nptl/tst-cancel4.c (tf_read): Likewise.
3332         (tf_readv): Likewise.
3333         (tf_write): Likewise.
3334         (tf_writev): Likewise.
3335         (tf_sleep): Likewise.
3336         (tf_usleep): Likewise.
3337         (tf_nanosleep): Likewise.
3338         (tf_select): Likewise.
3339         (tf_pselect): Likewise.
3340         (tf_poll): Likewise.
3341         (tf_ppoll): Likewise.
3342         (tf_wait): Likewise.
3343         (tf_waitpid): Likewise.
3344         (tf_waitid): Likewise.
3345         (tf_sigpause): Likewise.
3346         (tf_sigsuspend): Likewise.
3347         (tf_sigwait): Likewise.
3348         (tf_sigwaitinfo): Likewise.
3349         (tf_sigtimedwait): Likewise.
3350         (tf_pause): Likewise.
3351         (tf_accept): Likewise.
3352         (tf_send): Likewise.
3353         (tf_recv): Likewise.
3354         (tf_recvfrom): Likewise.
3355         (tf_recvmsg): Likewise.
3356         (tf_open): Likewise.
3357         (tf_close): Likewise.
3358         (tf_pread): Likewise.
3359         (tf_pwrite): Likewise.
3360         (tf_preadv): Likewise.
3361         (tf_pwritev): Likewise.
3362         (tf_fsync): Likewise.
3363         (tf_fdatasync): Likewise.
3364         (tf_msync): Likewise.
3365         (tf_sendto): Likewise.
3366         (tf_sendmsg): Likewise.
3367         (tf_creat): Likewise.
3368         (tf_connect): Likewise.
3369         (tf_tcdrain): Likewise.
3370         (tf_msgrcv): Likewise.
3371         (tf_msgsnd): Likewise.
3372         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3373         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3375         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3376         expected arguments.
3377         (do_test): Adapt to use libsupport.
3379 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
3381         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3383         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3384         (PF_MAX): Set to 44.
3385         (AF_SMC): New macro.
3387         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3388         kernel version to 4.11.
3390 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3392         [BZ #21280]
3393         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3394         signal of subnormals and adjust the exponent of power of 2 down
3395         when low part has opposite sign.
3397 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3399         * sysdeps/powerpc/powerpc64le/Implies: New file.
3400         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3401         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3402         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3403         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3404         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3405         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3406         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3407         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3408         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3409         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3410         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3411         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3412         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3413         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3414         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3415         * sysdeps/powerpc/preconfigure: New file.
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3419 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
3421         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3422         inclusion.
3423         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3424         Remove.
3426 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3428         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3429         (XPG3): Rename standard to XPG4.
3430         * conform/Makefile: Likewise.
3431         * conform/list-header-symbols.pl: Likewise.
3432         * conform/data/aio.h-data: Likewise.
3433         * conform/data/arpa/inet.h-data: Likewise.
3434         * conform/data/complex.h-data: Likewise.
3435         * conform/data/ctype.h-data: Likewise.
3436         * conform/data/dlfcn.h-data: Likewise.
3437         * conform/data/fcntl.h-data: Likewise.
3438         * conform/data/fenv.h-data: Likewise.
3439         * conform/data/float.h-data: Likewise.
3440         * conform/data/fmtmsg.h-data: Likewise.
3441         * conform/data/ftw.h-data: Likewise.
3442         * conform/data/grp.h-data: Likewise.
3443         * conform/data/inttypes.h-data: Likewise.
3444         * conform/data/iso646.h-data: Likewise.
3445         * conform/data/langinfo.h-data: Likewise.
3446         * conform/data/libgen.h-data: Likewise.
3447         * conform/data/limits.h-data: Likewise.
3448         * conform/data/locale.h-data: Likewise.
3449         * conform/data/math.h-data: Likewise.
3450         * conform/data/mqueue.h-data: Likewise.
3451         * conform/data/ndbm.h-data: Likewise.
3452         * conform/data/net/if.h-data: Likewise.
3453         * conform/data/netdb.h-data: Likewise.
3454         * conform/data/netinet/in.h-data: Likewise.
3455         * conform/data/poll.h-data: Likewise.
3456         * conform/data/pthread.h-data: Likewise.
3457         * conform/data/pwd.h-data: Likewise.
3458         * conform/data/sched.h-data: Likewise.
3459         * conform/data/search.h-data: Likewise.
3460         * conform/data/semaphore.h-data: Likewise.
3461         * conform/data/signal.h-data: Likewise.
3462         * conform/data/spawn.h-data: Likewise.
3463         * conform/data/stdbool.h-data: Likewise.
3464         * conform/data/stdint.h-data: Likewise.
3465         * conform/data/stdio.h-data: Likewise.
3466         * conform/data/stdlib.h-data: Likewise.
3467         * conform/data/string.h-data: Likewise.
3468         * conform/data/strings.h-data: Likewise.
3469         * conform/data/stropts.h-data: Likewise.
3470         * conform/data/sys/mman.h-data: Likewise.
3471         * conform/data/sys/resource.h-data: Likewise.
3472         * conform/data/sys/select.h-data: Likewise.
3473         * conform/data/sys/socket.h-data: Likewise.
3474         * conform/data/sys/stat.h-data: Likewise.
3475         * conform/data/sys/statvfs.h-data: Likewise.
3476         * conform/data/sys/time.h-data: Likewise.
3477         * conform/data/sys/timeb.h-data: Likewise.
3478         * conform/data/sys/types.h-data: Likewise.
3479         * conform/data/sys/uio.h-data: Likewise.
3480         * conform/data/sys/un.h-data: Likewise.
3481         * conform/data/sys/wait.h-data: Likewise.
3482         * conform/data/syslog.h-data: Likewise.
3483         * conform/data/termios.h-data: Likewise.
3484         * conform/data/tgmath.h-data: Likewise.
3485         * conform/data/time.h-data: Likewise.
3486         * conform/data/ucontext.h-data: Likewise.
3487         * conform/data/unistd.h-data: Likewise.
3488         * conform/data/utmpx.h-data: Likewise.
3489         * conform/data/varargs.h-data: Likewise.
3490         * conform/data/wchar.h-data: Likewise.
3491         * conform/data/wctype.h-data: Likewise.
3493 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3495         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3496         version to 7 branch.
3498 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3500         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3501         earlyclobber to output operand of sqrt insn.
3502         (__ieee754_sqrtf): Ditto.
3504 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3506         [BZ #21426]
3507         * misc/bits/types/struct_iovec.h: New file.
3508         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3509         * include/bits/types/struct_iovec.h: New file.
3510         * bits/uio.h (struct iovec): Replace by inclusion of
3511         <bits/types/struct_iovec.h>.
3512         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3513         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3514         of <sys/uio.h>.
3515         * nptl/tst-cancel4.c: Include <sys/uio.h>
3516         * posix/test-errno.c: Likewise.
3517         * support/resolv_test.c: Likewise.
3518         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3519         Remove.
3520         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3521         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3522         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3524         * conform/data/sys/socket.h-data (*_t): Allow.
3526 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3528         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3529         assignment.
3531 2017-04-24  Daurnimator  <quae@daurnimator.com>
3532             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3534         [BZ #21340]
3535         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3536         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3537         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3538         valid flags.
3539         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3540         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3541         POSIX_SPAWN_SETSID.
3542         * sysdeps/posix/spawni.c (__spawni): Likewise.
3543         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3544         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3546 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3548         * sysdeps/generic/math_private.h: Move the declaration of many
3549         functions to sysdeps/generic/math_private_calls.h.
3550         * sysdeps/generic/math_private_calls.h: New file with the
3551         declarations of the functions removed from math_private.h
3552         macroized by floating-point type.
3554 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3556         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3557         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3558         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3559         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3560         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3561         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3563 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3565         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3566         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3567         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3568         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3569         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3570         New Define.
3572 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3574         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3575         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3576         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3577         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3578         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3579         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3581 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3583         * sysdeps/s390/multiarch/ifunc-resolve.h
3584         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3585         * sysdeps/s390/multiarch/8bit-generic.c
3586         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3587         define ifunc resolvers.
3589 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3591         [BZ #20424]
3592         * manual/memory.texi (Replacing malloc): New section.
3593         (Allocating Storage For Program Data): Reference it.
3594         (The GNU Allocator): Likewise.
3596 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3598         * stdlib/Versions (__strtod_internal): List explicitly, not as
3599         wildcard.
3600         (__strtof_internal): Likewise.
3601         (__strtold_internal): Likewise.
3602         (__strtol_internal): Likewise.
3603         (__strtoll_internal): Likewise.
3604         (__strtoul_internal): Likewise.
3605         (__strtoull_internal): Likewise.
3606         (__strtoq_internal): Likewise.
3607         (__strtouq_internal): Likewise.
3608         * wcsmbs/Versions (__wcstod_internal): Likewise.
3609         (__wcstof_internal): Likewise.
3610         (__wcstold_internal): Likewise.
3611         (__wcstol_internal): Likewise.
3612         (__wcstoll_internal): Likewise.
3613         (__wcstoul_internal): Likewise.
3614         (__wcstoull_internal): Likewise.
3616 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3618         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3619         struct timespec definition.
3621 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3623         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3625 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3627         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3628         * inet/rexec.c (rexec_af): Likewise.
3630 2017-04-19  Zack Weinberg  <zackw@panix.com>
3632         * posix/tst-mmap-offset.c: Include stdint.h.
3633         * resolv/tst-ns_name_compress.c: Include string.h.
3634         * resolv/tst-resolv-edns.c: Include resolv.h.
3636 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3638         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3639         with __glibc_likely.
3640         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3641         Replace __builtin_expect with __glibc_unlikely.
3642         * resolv/res_init.c (__res_vinit): Likewise.
3643         * resolv/res_query.c (__libc_res_nquery): Likewise.
3644         * resolv/res_send.c (__libc_res_nsend): Likewise.
3646 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3648         [BZ #15722]
3649         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3650         with SOCK_CLOEXEC.
3651         * resolv/res_send.c (send_vc, reopen): Likewise.
3652         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3653         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3654         Likewise.
3655         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3656         * inet/rexec.c (rexec_af): Add comment.
3657         * inet/rcmd.c (rresvport_af): Likewise.
3659 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3661         * nscd/connections.c (have_accept4): Removed definition.
3662         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3663         accept4 works.
3664         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3665         ia64 because that was the first version with accept4 support.
3666         * support/Makefile (libsupport-routines): Add xaccept4.
3667         * support/xsocket.h (xaccept4): Declare.
3668         * support/xaccept4.c: New file.
3669         * socket/tst-accept4.c: New file.
3670         * socket/Makefile (tests): Add tst-accept4.
3671         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3672         definition.
3673         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3674         comment.
3675         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3676         implementation is available.
3677         (accept4): Use the system call if available, otherwise use the
3678         socket call.
3679         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3680         Set to 3.2.18.
3681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3682         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3683         accept4 is unconditionally available in later 3.2 stable kernels.
3684         (__ASSUME_ACCEPT4_SYSCALL): Define.
3685         * sysdeps/unix/sysv/linux/kernel-features.h
3686         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3687         definitions.
3688         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3689         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3691 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
3693         * conform/Makefile (tests-special): Do not make addition of
3694         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3695         (generated): Do not make addition of $(conformtest-header-base)
3696         conditional on [$(cross-compiling) = no].
3698         [BZ #21267]
3699         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3700         if defined by <asm/socket.h> and not previously defined.
3701         (IOCSIZE_SHIFT): Likewise.
3702         (IOC_IN): Likewise.
3703         (IOC_INOUT): Likewise.
3704         (IOC_OUT): Likewise.
3706 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3708         [BZ #21396]
3709         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3710         Prefer_No_AVX512 if AVX512ER isn't available.
3711         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3712         (index_arch_Prefer_No_AVX512): Likewise.
3713         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3714         AVX512 version if Prefer_No_AVX512 is set.
3715         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3716         Likewise.
3717         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3718         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3719         Likewise.
3720         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3721         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3722         Likewise.
3723         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3724         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3725         Likewise.
3727 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3729         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3730         Prefer_No_VZEROUPPER if AVX512ER is available.
3731         * sysdeps/x86/cpu-features.h
3732         (bit_cpu_AVX512PF): New.
3733         (bit_cpu_AVX512ER): Likewise.
3734         (bit_cpu_AVX512CD): Likewise.
3735         (bit_cpu_AVX512BW): Likewise.
3736         (bit_cpu_AVX512VL): Likewise.
3737         (index_cpu_AVX512PF): Likewise.
3738         (index_cpu_AVX512ER): Likewise.
3739         (index_cpu_AVX512CD): Likewise.
3740         (index_cpu_AVX512BW): Likewise.
3741         (index_cpu_AVX512VL): Likewise.
3742         (reg_AVX512PF): Likewise.
3743         (reg_AVX512ER): Likewise.
3744         (reg_AVX512CD): Likewise.
3745         (reg_AVX512BW): Likewise.
3746         (reg_AVX512VL): Likewise.
3748 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3750         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3751         O_CLOEXEC is defined.
3752         * include/fcntl.h (__have_o_cloexec): Remove declaration.
3753         * io/Makefile (aux): Remove.
3754         * io/have_o_cloexec.c: Remove file.
3755         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3756         defined and works.
3757         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3758         defined.
3759         * login/utmp_file.c (O_flags): Remove definition.
3760         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
3761         O_CLOEXEC works.
3762         (pututline_file): Likewise.
3763         * malloc/mtrace.c: Assume that O_CLOEXEC works.
3764         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3765         definition.
3766         (internal_setgrent): Assume that O_CLOEXEC works.
3767         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3768         Remove definition.
3769         (internal_setgrent): Assume that O_CLOEXEC works.
3770         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3771         definition.
3772         (internal_setpwent): Assume that O_CLOEXEC works.
3773         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3774         definition.
3775         (internal_setspent): Assume that O_CLOEXEC works.
3776         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3777         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
3778         O_CLOEXEC is defined and works.
3779         * nss/Makefile (libnss_files-routines): Remove
3780         files-have_o_cloexec.
3781         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3782         defined.
3783         * nss/nss_files/files-XXX.c (internal_setent): Assume that
3784         O_CLOEXEC is defined and works.
3785         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3786         * nss/nss_files/files-have_o_cloexec.c: Remove.
3787         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3788         defined.
3789         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3790         and works.
3791         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3792         definition.
3793         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3794         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3795         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3796         (__opendirat, __opendir): Adjust opendir_oflags call.
3797         (check_have_o_cloexec): Remove.
3798         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3799         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3800         defined.
3801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3802         Remove definition.
3804 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3806         * include/unistd.h (__have_dup3): Remove declaration.
3807         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3808         dup3 is available.
3809         * libio/freopen64.c (freopen64): Likewise.
3810         * socket/Makefile (aux): Remove have_sock_cloexec.
3811         * socket/have_sock_cloexec.c: Remove file.
3812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3813         definition.
3814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3815         Likewise.
3816         * sysdeps/nacl/kernel-features.h: Update comment.
3818 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3820         * include/unistd.h (__have_pipe2): Remove declaration.
3821         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3822         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3823         available.
3824         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3825         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3826         Remove definition.
3828 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3830         * malloc/malloc.c (cfree): Turn into compat symbol.
3831         (__cfree): Remove alias.
3832         * stdlib/stdlib.h (cfree): Remove declaration.
3833         * malloc/malloc.h (cfree): Likewise.
3834         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3835         * malloc/Versions (GLIBC_2.26): Add.
3837 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3839         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3840         (sysdep_routines): Add strrchr-power8.
3841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3842         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3843         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3844         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3845         (strrchr): Add __strrchr_power8 to ifunc list.
3846         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3848 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3850         [BZ #21357]
3851         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3852         Call free() outside of mutex.
3854 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3856         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3857         is defined.
3858         * elf/rtld.c (process_envvars): Likewise.
3859         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3860         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3861         O_NOFOLLOW directly.
3862         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3864 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3866         [BZ #21369]
3867         Remove EDNS fallback.
3868         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3869         handling.
3870         * resolv/res_send.c (send_dg): Likewise.
3871         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3872         "tcp." prefixes.
3873         (do_test): Send a "formerr."-prefixed query in an attempt to
3874         trigger EDNS fallback.
3876 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3878         [BZ #21361]
3879         Limit EDNS buffer size to 1200 bytes.
3880         * include/resolv.h (__res_nopt): Remove declaration.
3881         * resolv/Makefile (tests): tst-resolv-edns.
3882         (tst-resolv-edns): Link with -lresolv, -lpthread.
3883         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3884         interval [512, 1200].
3885         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3886         we can resize the buffer.
3887         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3888         (__res_nopt): Declare.
3889         * resolv/tst-resolv-edns.c: New file.
3890         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3891         (struct resolv_response_context): Add edns member.
3892         * resolv/resolv_test.c (struct query_info): Add edns member.
3893         (parse_query): Extract EDNS information from the query.
3894         (server_thread_udp_process_one): Propagate EDNS data.
3895         (server_thread_tcp_client): Likewise.
3897 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3899         [BZ #21359]
3900         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3901         byte in the destination buffer.  Avoid out-of-bounds pointer
3902         arithmetic.
3903         * resolv/Makefile (tests): Add tst-ns_name_compress.
3904         (tst-ns_name_compress): Link with -lresolv.
3905         * resolv/tst-ns_name_compress.c: New file.
3906         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3907         (response): Recognize LONG_NAME.
3908         (do_test): Add LONG_NAME tests.
3909         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3910         for ns_name_unpack.  Add tests for ns_name_pton and
3911         ns_name_compress.
3913 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3915         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3916         (res_nisourserver): Remove definition.
3917         (p_section, res_npquery, res_nisourserver): Remove declaration.
3918         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3919         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3920         ... here.
3921         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3922         <resolv.h>.
3923         * resolv/res_query.c: Likewise.
3924         * resolv/res_debug.c (p_section): Define as static.
3926 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3928         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3929         strncat-power8.
3930         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3931         __strncat_power8 to ifunc list.
3932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3933         (strncat): Add __strncat_power8 to list of strncat functions.
3934         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3936 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3938         [BZ #21270]
3939         * posix/tst-mmap-offset.c (do_prepare): New function.
3940         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3941         (do_test_bz21270): New function.
3942         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3943         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3944         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3945         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3946         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3947         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3948         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3949         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3950         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3951         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3952         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3953         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3954         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3955         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3956         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3957         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3958         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3959         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3960         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3961         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3962         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3963         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3964         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3965         from auto-generation list.
3966         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3968         * sysdeps/unix/sysv/linux/mmap.c: New file.
3969         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3970         offsets and support for mmap2 syscall.
3972         * posix/globtest.sh: Add cleanup routine on trap 0.
3974 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3976         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3977         implementation-specific function name and remove unneeded
3978         macros definition.
3979         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3980         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3982         name if not defined and pass as parameter to macros accordingly.
3983         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3984         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3987         implementation-specific function name and remove unneeded
3988         macros definition.
3989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3990         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3991         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3994         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3995         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3996         name if not defined and pass as parameter to macros accordingly.
3997         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3998         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3999         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4001         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4002         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4004         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4005         implementation-specific function name and remove unneeded macros
4006         definition.
4007         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4008         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4010         function name if not defined and pass as parameter to macros
4011         accordingly.
4012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4013         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4015         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4016         implementation-specific function name and remove unneeded macros
4017         definition.
4018         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4019         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4020         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4021         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4022         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4023         not defined and pass as parameter to macros accordingly.
4024         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4025         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4026         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4027         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4029         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4030         strcasestr implementation name and remove unneeded macros definition.
4031         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4032         strstr implementation name and remove unneeded macros definition.
4033         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4034         name if not defined and pass as parameter to macros accordingly.
4035         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4037         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4038         implementation-specific function name and remove unneeded macros
4039         definition.
4040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4041         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4042         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4043         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4044         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4045         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4046         function name if not defined and pass as parameter to macros
4047         accordingly.
4048         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4049         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4050         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4051         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4053         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4054         the strlen implementation name and remove unneeded macros definition.
4055         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4057         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4058         the strnlen implementation name and remove unneeded macros definition.
4059         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4060         name if not defined and pass as parameter to macros accordingly.
4061         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4062         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4063         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4065         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4066         the implementation-specific function name and remove unneeded
4067         macros definition.
4068         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4069         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4070         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4071         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4072         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4073         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4074         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4075         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4076         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4077         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4078         name if not defined and pass as parameter to macros accordingly.
4079         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4080         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4081         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4082         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4083         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4084         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4085         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4086         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4089         implementation-specific function name and remove unneeded macros
4090         definition.
4091         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4092         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4093         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4094         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4095         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4096         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4097         function name if not defined.
4098         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4099         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4101 2017-04-11  Paul Clarke  <pc@us.ibm.com>
4103         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4104         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4105         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
4106         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4108 2017-04-11  Florian Weimer  <fweimer@redhat.com>
4109             Zack Weinberg  <zackw@panix.com>
4111         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4112         readdir64 as thread-safe.  Update warning about readdir_r.
4114 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4116         * sysdeps/unix/sysv/linux/x86/Implies: New file.
4117         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4118         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4119         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4120         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4121         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4122         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4124 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4126         * sysdeps/i386/dl-procinfo.c: Include
4127         <sysdeps/x86/dl-procinfo.c>.
4128         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4129         * sysdeps/x86/dl-procinfo.c: New file.
4131 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4133         * sysdeps/generic/math_private.h: Remove declarations of
4134         many functions that are already declared in math.h.
4135         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4136         declaration for __frexpl.
4137         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4138         the declarations for __scalbnl and fabsl.
4140 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
4142         [BZ #20831]
4143         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4144         of __mprotect to change protection on the excess portion
4145         to disallow all access.
4147 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
4149         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4150         HAS_CPU_FEATURE to check for SSE.
4151         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4152         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4153         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4154         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4155         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4156         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4157         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4158         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4159         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4160         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4161         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4162         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4163         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4164         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4165         (index_cpu_SSE): Likewise.
4166         (reg_SSE): Likewise.
4168 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4170         * posix/getopt1.c: Include <config.h>, not "config.h".
4172 2017-04-07  Zack Weinberg  <zackw@panix.com>
4174         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4175         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4176         Mention in top-of-file boilerplate that these files are shared
4177         with gnulib.
4178         * posix/getopt.h, posix/bits/getopt_posix.h:
4179         Mention in top-of-file boilerplate that these files are NOT shared
4180         with gnulib, unlike the rest of the getopt implementation.
4182         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4183         New files, intended to be shared with gnulib.
4184         * posix/bits/getopt_posix.h:
4185         New file, not intended to be shared with gnulib.
4186         * posix/getopt.h: Now just includes features.h,
4187         bits/getopt_core.h, and bits/getopt_ext.h.  Will
4188         no longer be shared with gnulib.
4189         * include/bits/getopt_core.h, include/bits/getopt_ext.h
4190         * include/bits/getopt_posix.h: New wrappers.
4191         * posix/Makefile: Install new headers.
4192         * posix/unistd.h, libio/stdio.h:
4193         Include bits/getopt_posix.h instead of getopt.h.
4195         * include/libc-symbols.h: For gnulib compatibility, define
4196         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4197         _GL_ATTRIBUTE_CONST.
4198         * posix/getopt.c (_getopt_initialize): Mark argc and argv
4199         parameters with _GL_UNUSED.
4201         * posix/getopt.c: When used standalone, define __libc_use_alloca
4202         as always false and alloca to abort if called.
4203         (process_long_option): Rewrite handling of ambiguous long options
4204         to use a single boolean vector, not a linked list; use
4205         __libc_use_alloca to decide whether to allocate this using alloca.
4206         * posix/tst-getopt_long1.c: Adjust text of expected error message.
4208         * posix/getopt.c (process_long_option): New function split out
4209         from _getopt_internal_r.
4210         (_getopt_internal_r): Replace both copies of the long-option
4211         processing code with calls to process_long_option.
4212         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4213         (do_test): Differentiate argv[0] in the two subtests.
4215         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4216         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4217         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4219         * posix/getopt.h: Add backup definition of __nonnull for
4220         consistency with gnulib.  Define __getopt_argv_const to const
4221         if not already defined.
4222         (getopt): Update doc comment from gnulib.  Prototype
4223         unconditionally.  Add __nonnull annotation.
4224         (__posix_getopt): Add __nonnull annotation.
4225         (getopt_long, getopt_long_only): Use __getopt_argv_const in
4226         prototypes for consistency with gnulib.  Add __nonnull
4227         annotations.
4228         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4229         (getopt_internal): Change 'argv' argument to type 'char **'.
4230         Remove now-unnecessary casts.
4231         (getopt, __posix_getopt): Eliminate repetition with a macro.
4232         Cast 'argv' to 'char **' when calling _getopt_internal.
4233         * posix/getopt1.c (getopt_long, getopt_long_only):
4234         Use __getopt_argv_const for consistency with gnulib.
4235         Cast 'argv' to 'char **' when calling _getopt_internal.
4236         (_getopt_long_r, _getopt_long_only_r):
4237         Change 'argv' argument to type 'char **'.
4238         (main): Constify 'long_options'.
4239         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4240         (_getopt_long_r, _getopt_long_only_r):
4241         Change 'argv' argument to type 'char **'.
4243         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4244         (locked_vfxprintf): New helper function. Handle arbitrary
4245         multibyte strings, not just ASCII.
4246         * include/stdio.h: Declare __fxprintf_nocancel.
4247         * posix/getopt.c: When _LIBC is defined, define fprintf to
4248         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4249         to _IO_funlockfile.  When neither _LIBC nor
4250         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4251         funlockfile as no-ops.
4252         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4253         the standalone error-printing code can now be used for libc as
4254         well.  Add an flockfile/funlockfile pair around one case where
4255         the error message is printed in several chunks.  Don't use fputc.
4256         * posix/tst-getopt-cancel.c: New test.
4257         * posix/Makefile: Run it.
4259         * posix/getopt.c (_getopt_internal_r): Don't increment
4260         d->optind a second time when reporting ambiguous -W options.
4262         * posix/getopt_int.h: Include getopt.h.
4263         Use impl-namespace names for all arguments to _getopt_internal and
4264         _getopt_internal_r.
4265         Declare __ordering enum outside the struct.
4266         Harmonize comments with gnulib.
4267         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
4268         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
4269         #ifdef TEST block and make unconditional.  Do not define NULL.
4270         * posix/getopt.c: Partial merge from gnulib, covering the
4271         initial includes and global declarations, commentary, and
4272         a couple of semantically-neutral code changes.
4274         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4275         Use '...' instead of `...' for quotation marks inside
4276         comments and strings.
4278         * config.h.in (USE_NONOPTION_FLAGS): Remove.
4279         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4280         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4281         * posix/getopt_int.h: Likewise.
4282         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4283         __libc_argc and __libc_argv externs, which were only used by
4284         #ifdef USE_NONOPTION_FLAGS blocks.
4285         * posix/getopt_init.c: Remove file.
4286         * posix/Makefile (routines): Remove getopt_init.
4287         * include/getopt.h: Don't declare __getopt_initialize_environment.
4288         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4289         a comment.
4291 2017-04-07  Florian Weimer  <fweimer@redhat.com>
4293         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4295 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4297         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4298         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4299         to __wrap_.udiv.
4300         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4301         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4303         * sysdeps/i386/symbol-hacks.h: New file.
4304         * sysdeps/m68k/symbol-hacks.h: New file.
4305         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4306         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4307         * sysdeps/unix/sysv/linux/i386/Makefile
4308         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4309         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4310         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4311         * sysdeps/unix/sysv/linux/m68k/Makefile
4312         [$(subdir) = csu] (sysdep_routines): Likewise.
4313         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4314         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4316         [$(subdir) = csu] (sysdep_routines): Likewise.
4317         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4318         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4319         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4320         [$(subdir) = csu] (sysdep_routines): Likewise.
4321         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4322         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4323         * sysdeps/wordsize-32/Makefile: Remove file.
4324         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4325         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4327 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
4329         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4330         (TEST_FUNCTION_ARGV): New.
4332 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4334         * elf/next.c: Import support/test-driver.c instead of
4335         test-skeleton.c and delete TEST_FUNCTION macro definition.
4336         * elf/nodelete.c: Likewise.
4337         * elf/order2.c: Likewise.
4338         * elf/tst-_dl_addr_inside_object.c: Likewise.
4339         * elf/tst-addr1.c: Likewise.
4340         * elf/tst-align.c: Likewise.
4341         * elf/tst-align2.c: Likewise.
4342         * elf/tst-audit11.c: Likewise.
4343         * elf/tst-audit12.c: Likewise.
4344         * elf/tst-audit2.c: Likewise.
4345         * elf/tst-audit9.c: Likewise.
4346         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4347         * elf/tst-deep1.c: Likewise.
4348         * elf/tst-dl-iter-static.c: Likewise.
4349         * elf/tst-dlmodcount.c: Likewise.
4350         * elf/tst-dlmopen1.c: Likewise.
4351         * elf/tst-dlmopen2.c: Likewise.
4352         * elf/tst-dlmopen3.c: Likewise.
4353         * elf/tst-dlopen-aout.c: Likewise.
4354         * elf/tst-dlopenrpath.c: Likewise.
4355         * elf/tst-dlsym-error.c: Likewise.
4356         * elf/tst-execstack-needed.c: Likewise.
4357         * elf/tst-execstack-prog.c: Likewise.
4358         * elf/tst-execstack.c: Likewise.
4359         * elf/tst-global1.c: Likewise.
4360         * elf/tst-gnu2-tls1.c: Likewise.
4361         * elf/tst-latepthread.c: Likewise.
4362         * elf/tst-leaks1.c: Likewise.
4363         * elf/tst-linkall-static.c: Likewise.
4364         (do_test): New function.
4365         * elf/tst-nodelete-opened.c: Likewise.
4366         * elf/tst-nodelete.cc: Likewise.
4367         * elf/tst-nodelete2.c: Likewise.
4368         * elf/tst-noload.c: Likewise.
4369         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4370         * elf/tst-order-main.c: Likewise.
4371         * elf/tst-pathopt.c: Likewise.
4372         * elf/tst-pie2.c: Likewise.
4373         * elf/tst-piemod1.c: Likewise.
4374         * elf/tst-prelink.c: Likewise.
4375         * elf/tst-protected1a.c: Likewise.
4376         * elf/tst-protected1b.c: Likewise.
4377         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4378         and define _GNU_SOURCE macro.
4379         (cmdline_process_function): New function.
4380         * elf/tst-relsort1.c: Likewise.
4381         * elf/tst-stackguard1.c: Likewise, import getopt.h,
4382         and define _GNU_SOURCE macro.
4383         (cmdline_process_function): New function.
4384         * elf/tst-thrlock.c: Likewise.
4385         * elf/tst-tls-dlinfo.c: Likewise.
4386         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4387         * elf/tst-tls1.c: Likewise.
4388         * elf/tst-tls10.c: Likewise.
4389         * elf/tst-tls11.c: Likewise.
4390         * elf/tst-tls12.c: Likewise.
4391         * elf/tst-tls13.c: Likewise.
4392         * elf/tst-tls14.c: Likewise.
4393         * elf/tst-tls15.c: Likewise.
4394         * elf/tst-tls16.c: Likewise.
4395         * elf/tst-tls17.c: Likewise.
4396         * elf/tst-tls18.c: Likewise.
4397         * elf/tst-tls19.c: Likewise.
4398         * elf/tst-tls2.c: Likewise.
4399         * elf/tst-tls3.c: Likewise.
4400         * elf/tst-tls4.c: Likewise.
4401         * elf/tst-tls5.c: Likewise.
4402         * elf/tst-tls6.c: Likewise.
4403         * elf/tst-tls7.c: Likewise.
4404         * elf/tst-tls8.c: Likewise.
4405         * elf/tst-tls9.c: Likewise.
4406         * elf/tst-tlsalign-extern.c: Likewise.
4407         * elf/tst-tlsalign.c: Likewise.
4408         * elf/tst-unique1.c: Likewise.
4409         * elf/tst-unique2.c: Likewise.
4410         * elf/vismain.c: Likewise.
4412 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4414         * string/test-strnlen.c (do_page_tests): New function
4415         to check length of strings ending at the page boundary.
4416         (test_main): Added call to the do_page_tests function.
4418 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4419             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4421         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4422         (sysdep_routines): Add strnlen-power8.
4423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4424         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4425         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4426         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4427         (__strnlen): Add __strnlen_power8 to ifunc list.
4428         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4430 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4432         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4433         the TEST_FUNCTION macro definition.
4434         * wcsmbs/tst-mbrtowc2.c: Likewise.
4435         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4436         * wcsmbs/tst-wchar-h.c: Likewise.
4437         * wcsmbs/tst-wcpncpy.c: Likewise.
4438         * wcsmbs/tst-wcrtomb.c: Likewise.
4439         * wcsmbs/tst-wcsnlen.c: Likewise.
4440         * wcsmbs/tst-wcstof.c: Likewise.
4442 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4444         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4445         CALL_THREAD_FCT macro usage.
4446         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4447         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4448         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4450         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4452         (__ASSUME_REQUEUE_PI): Likewise.
4453         * sysdeps/unix/sysv/linux/kernel-features.h
4454         (__ASSUME_REQUEUE_PI): Likewise.
4455         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4456         (__ASSUME_REQUEUE_PI): Likewise.
4457         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4458         (__ASSUME_REQUEUE_PI): Likewise.
4459         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4460         (__ASSUME_REQUEUE_PI): Likewise.
4462 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4464         * resolv/tst-resolv-canonname.c: New file.
4465         * resolv/Makefile (tests): Add tst-resolv-canonname.
4466         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4468 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4470         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4471         Declare.
4472         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4473         (NS_MAXCDNAME): Remove definition.
4474         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4475         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4476         (NS_MAXCDNAME): Remove definition.
4477         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4479 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4481         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4482         call whose result is not used.
4484 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4486         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4487         * resolv/Makefile (tests): Add tst-ns_name.
4488         (tst-ns_name): Link with -lresolv.
4489         (tst-ns_name.out): Depend on the input data file.
4491 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4493         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4494         Clobber also r14.
4496 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4498         [BZ #21253]
4499         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4500         slack space by 32KiB.
4502 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4504         [BZ #21338]
4505         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4506         instead of incorrect do_set_arena_test
4508 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4510         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4511         * math/bits/math-finite.h: Likewise.
4513 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4515         [BZ #21289]
4516         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4518 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4520         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4521         non expected inotify_add_watch and quotactl return.
4523 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4525         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4526         to int32_t.
4527         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4528         as returning int32_t.
4530 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4532         * math/math.h: Include bits/math-finite.h once per
4533         floating-point type.
4534         * math/bits/math-finite.h: Macroize all declarations by
4535         floating-point type.
4537 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4539         [BZ #21182]
4540         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4541         near end of a page.
4542         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4543         overflow calculation.
4545 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4547         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4548         (IMPL) Call with 1 instead of 0 as argument.
4550 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4552         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4553         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4554         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4555         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4556         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4557         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4558         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4559         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4560         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4561         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4562         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4563         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4564         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4565         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4566         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4567         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4568         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4569         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4570         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4571         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4572         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4573         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4574         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4575         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4576         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4577         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4578         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4579         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4580         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4581         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4582         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4583         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4584         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4585         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4586         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4587         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4588         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4589         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4590         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4591         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4592         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4593         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4594         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4595         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4596         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4597         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4599         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4600         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4601         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4602         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4603         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4604         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4605         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4606         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4607         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4608         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4609         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4610         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4611         defined.
4612         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4613         __NR_setgroups32 if defined.
4614         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4615         if defined.
4616         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4617         __NR_setresgid32 is defined.
4618         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4619         __NR_setresuid32 if defined.
4620         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4621         __NR_setreuid32 if defined.
4622         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4623         defined.
4624         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4625         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4626         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4627         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4628         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4629         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4630         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4631         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4632         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4633         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4634         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4635         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4636         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4637         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4638         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4639         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4640         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4641         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4642         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4643         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4644         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4645         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4646         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4647         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4648         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4649         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4650         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4651         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4652         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4653         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4654         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4655         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4656         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4657         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4658         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4659         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4660         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4661         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4662         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4663         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4664         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4665         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4666         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4667         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4668         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4669         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4670         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4671         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4672         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4673         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4674         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4675         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4676         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4677         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4678         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4679         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4680         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4681         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4682         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4683         defined.
4684         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4685         __NR_setgroups32 if defined.
4686         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4687         if defined.
4688         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4689         __NR_setresgid32 is defined.
4690         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4691         __NR_setresuid32 if defined.
4692         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4693         __NR_setreuid32 if defined.
4694         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4695         defined.
4697 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
4699         [BZ #21277]
4700         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4701         unconditionally.
4702         (IMAXBEL): Likewise.
4703         (IUTF8): Likewise.
4705 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4707         * sysdeps/aarch64/libm-test-ulps: Update.
4709 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
4711         * README.tunables: Updated descriptions.
4712         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4713         * scripts/gen-tunables.awk: Updated the code related to the
4714         commit.
4716 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
4718         * benchtests/Makefile (string-benchset): Add memcpy-random.
4719         * benchtests/bench-memcpy-random.c: New file.
4721 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4723         * stdio-common/printf.h (register_printf_modifier): Change the
4724         order of __wur and __THROW.
4725         (register_printf_type): Likewise.
4727 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4729         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4730         test_main ().
4731         (CMDLINE_PROCESS): Use function instead of defined macro.
4732         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4733         <suppport/support.h> to use set_fortify_handler().
4734         * string/bug-envz1.c: Import support/test-driver.c instead of
4735         test-skeleton.c.
4736         * string/bug-strcoll2.c: Likewise.
4737         * string/bug-strtok1.c: Likewise.
4738         * string/stratcliff.c: Likewise.
4739         * string/test-ffs.c: Likewise.
4740         * string/test-memccpy.c: Likewise.
4741         * string/test-memchr.c: Likewise.
4742         * string/test-memcmp.c: Likewise.
4743         * string/test-memcpy.c: Likewise.
4744         * string/test-memmem.c: Likewise.
4745         * string/test-memmove.c: Likewise.
4746         * string/test-memrchr.c: Likewise.
4747         * string/test-memset.c: Likewise.
4748         * string/test-rawmemchr.c: Likewise.
4749         * string/test-strcasecmp.c: Likewise.
4750         * string/test-strcasestr.c: Likewise.
4751         * string/test-strcat.c: Likewise.
4752         * string/test-strchr.c: Likewise.
4753         * string/test-strcmp.c: Likewise.
4754         * string/test-strcpy.c: Likewise.
4755         * string/test-string.h: Likewise.
4756         * string/test-strlen.c: Likewise.
4757         * string/test-strncasecmp.c: Likewise.
4758         * string/test-strncat.c: Likewise.
4759         * string/test-strncmp.c: Likewise.
4760         * string/test-strncpy.c: Likewise.
4761         * string/test-strnlen.c: Likewise.
4762         * string/test-strpbrk.c: Likewise.
4763         * string/test-strrchr.c: Likewise.
4764         * string/test-strspn.c: Likewise.
4765         * string/test-strstr.c: Likewise.
4766         * string/tst-bswap.c: Likewise.
4767         * string/tst-cmp.c: Likewise.
4768         * string/tst-endian.c: Likewise.
4769         * string/tst-inlcall.c: Likewise.
4770         * string/tst-strcoll-overflow.c: Likewise.
4771         * string/tst-strfry.c: Likewise.
4772         * string/tst-strlen.c: Likewise.
4773         * string/tst-strtok.c: Likewise.
4774         * string/tst-strtok_r.c: Likewise.
4775         * string/tst-strxfrm.c: Likewise.
4776         * string/tst-strxfrm2.c: Likewise.
4777         * string/tst-svc.c: Likewise.
4778         * string/tst-svc2.c: Likewise.
4780 2017-03-22  Zack Weinberg  <zackw@panix.com>
4782         * stdio-common/bug25.c: Include stdlib.h.
4783         * support/tst-support_format_dns_packet.c: Include stdio.h,
4784         stdlib.h, and string.h.
4785         * support/tst-support_record_failure.c: Include string.h.
4786         * support/tst-support_record_failure-2.sh: Adjust line number
4787         expectations and correct a typo in an error message.
4789 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4791         [BZ #21258]
4792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4793         Define only if _dl_runtime_resolve is defined to
4794         _dl_runtime_resolve_sse_vex.
4795         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4796         Fallthrough to _dl_runtime_resolve_sse_vex.
4798 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
4800         * INSTALL: Regenerated.
4802 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4804         * config.h.in: Add LINK_OBSOLETE_NSL.
4805         * config.make.in: Add build-obsolete-nsl.
4806         * configure.ac: Add obsolete-nsl option.
4807         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4808         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4809         * include/rpcsvc/nislib.h: Likewise.
4810         * include/rpcsvc/ypclnt.h: Likewise.
4811         * manual/install.texi: Document --enable-obsolete-nsl.
4812         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4813         * nis/nis_add.c: Replace libnsl_hidden_def with
4814         libnsl_hidden_nolink_def.
4815         * nis/nis_addmember.c: Likewise.
4816         * nis/nis_call.c: Likewise.
4817         * nis/nis_clone_obj.c: Likewise.
4818         * nis/nis_defaults.c: Likeise.
4819         * nis/nis_domain_of_r.c: Likewise.
4820         * nis/nis_error.c: Likewise.
4821         * nis/nis_file.c: Likewise.
4822         * nis/nis_free.c: Likewise.
4823         * nis_local_names.c: Likewise.
4824         * nis/nis_lookup.c: Likewise.
4825         * nis/nis_modify.c: Likewise.
4826         * nis/nis_print.c: Likewise.
4827         * nis/nis_remove.c: Likewise.
4828         * nis/nis_table.c: Likewise.
4829         * nis/nis_util.c: Likewise.
4830         * nis/nis_xdr.c: Likewise.
4831         * nis/yp_xdr.c: Likewise.
4832         * nis/ypclnt.c: Likewise.
4833         * nis/ypupdate_xdr.c: Likewise.
4834         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4835         * nis/nis_clone_dir.c: Likewise.
4836         * nis/nis_clone_res.c: Likewise.
4837         * nis/nis_creategroup.c: Likewise.
4838         * nis/nis_destroygroup.c: Likewise.
4839         * nis/nis_domain_of.c: Likewise.
4840         * nis/nis_getservlist.c: Likewise.
4841         * nis/nis_ismember.c: Likewise.
4842         * nis/nis_mkdir.c: Likewise.
4843         * nis/nis_ping.c: Likewise.
4844         * nis/nis_print_group_entry.c: Likewise.
4845         * nis/nis_removemember.c: Likewise.
4846         * nis/nis_rmdir.c: Likewise.
4847         * nis/nis_server.c: Likewise.
4848         * nis/nis_subr.c: Likewise.
4849         * nis/nis_verifygroup.c: Likewise.
4851 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4853         * malloc/tst-interpose-aux.c (check_for_allocations):
4854         Move compiler barrier before free.
4856 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4858         [BZ #21279]
4859         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4860         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4861         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4862         x86_64-x32-linux.
4863         (mq_attr.mq_maxmsg): Likewise.
4864         (mq_attr.mq_msgsize): Likewise.
4865         (mq_attr.mq_curmsgs): Likewise.
4867         [BZ #21278]
4868         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4869         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4870         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4871         mips-o32-linux.
4873         [BZ #21268]
4874         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4875         if [__USE_MISC]
4876         (NL3): Likewise.
4878 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4880         [BZ #21275]
4881         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4882         __stack to __stackbase.
4883         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4884         checks so we can include defined(__ia64__) first.
4886 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4888         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4889         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4890         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4891         Call is_pty when the link does not exist or does not match, fail
4892         with ENODEV when it returns true.
4893         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4894         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4895         Call is_pty when the link does not exist or does not match, fail
4896         with ENODEV when it returns true.
4898 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4900         [BZ #16437]
4901         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4902         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4903         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4904         x86_64-x32-linux.
4905         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4906         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4907         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4909         [BZ #21261]
4910         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4911         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4912         names for all fields.
4913         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4914         for jmp_buf field renaming.
4915         (_JMPBUF_UNWINDS_ADJ): Likewise.
4917         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4918         with allow-header.
4920 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4922         * malloc/malloc.c (unlink): Add consistency check between size and
4923         next->prev->size, to further harden against 1-byte overflows.
4925 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4927         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4928         CPU_FEATURES_CPU_P.
4930 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4932         [BZ #21259]
4933         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4934         unconditionally, not just for [__USE_MISC].
4936         [BZ #17786]
4937         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4938         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4939         mips-o32-linux.
4941         [BZ #21260]
4942         * sysdeps/unix/sysv/linux/alpha/Makefile
4943         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4944         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4946         * conform/conformtest.pl ($cross): New variable.
4947         (--cross): New command-line option.
4948         (runtest): Skip test execution when cross-compiling.
4949         * conform/Makefile (conformtest-cross): New variable.
4950         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4951         conformtest.pl.
4953         * conform/conformtest.pl ($xfail_str): New variable.
4954         (--xfail=): New command-line option.
4955         (top level): Handle expectations starting xfail[cond]-.
4956         * conform/Makefile (conformtest-xfail): New variable.
4957         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4958         conformtest.pl.
4960 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4962         * conform/conformtest.pl: Use compilation instead of execution
4963         tests for testing values of constants and usability in #if.
4965 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4967         * math/auto-libm-test-in: Mark some catan and catanh as
4968         xfail-rounding:ibm128-libgcc.
4969         * math/auto-libm-test-out-catan: Regenerate.
4970         * math/auto-libm-test-out-catanh: Likewise.
4972 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4974         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4975         (__END_NAMESPACE_STD): Likewise.
4976         (__USING_NAMESPACE_STD): Likewise.
4977         (__BEGIN_NAMESPACE_C99): Likewise.
4978         (__END_NAMESPACE_C99): Likewise.
4979         (__USING_NAMESPACE_C99): Likewise.
4980         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4981         undefine macro.
4982         (_Mdouble_END_NAMESPACE): Likewise.
4983         * ctype/ctype.h: Do not handle C++ namespaces.
4984         * libio/bits/stdio-ldbl.h: Likewise.
4985         * libio/stdio.h: Likewise.
4986         * locale/locale.h: Likewise.
4987         * math/bits/mathcalls.h: Likewise.
4988         * setjmp/setjmp.h: Likewise.
4989         * signal/signal.h: Likewise.
4990         * stdlib/bits/stdlib-float.h: Likewise.
4991         * stdlib/bits/stdlib-ldbl.h: Likewise.
4992         * stdlib/stdlib.h: Likewise.
4993         * string/string.h: Likewise.
4994         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4995         * time/bits/types/clock_t.h: Likewise.
4996         * time/bits/types/struct_tm.h: Likewise.
4997         * time/bits/types/time_t.h: Likewise.
4998         * time/time.h: Likewise.
4999         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5000         * wcsmbs/uchar.h: Likewise.
5001         * wcsmbs/wchar.h: Likewise.
5002         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5003         * wctype/wctype.h: Do not handle C++ namespaces.
5004         * scripts/begin-end-check.pl: Remove.
5005         * Makefile (installed-headers): Likewise.
5006         (tests-special): Do not add $(objpfx)begin-end-check.out.
5007         ($(objpfx)begin-end-check.out): Remove.
5009 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5010             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5012         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5013         (DL_PLATFORM_INIT): New define.
5014         (dl_platform_init): New function.
5015         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5016         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5017         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5018         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5019         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5021 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5023         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5024         instead of PIC.
5026 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #21094]
5029         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5030         24+24+24-bit pi for wider range of values around pi/2.
5031         * math/auto-libm-test-in: Add more tests of cos and tan.
5032         * math/auto-libm-test-out-cos: Regenerated.
5033         * math/auto-libm-test-out-tan: Likewise.
5035 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5037         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5038         (RTLD_START): Don't record stack end address in _dl_start_user.
5040 2017-03-15  Alexey Neyman  <stilor@att.net>
5042         [BZ #21088]
5043         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5044         around definitions match those around use.
5046 2017-03-15  Alexey Neyman  <stilor@att.net>
5048         * configure.ac: Avoid empty subexpression in grep.
5049         * configure: Regenerate.
5051 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5053         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5054         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5055         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5056         (test_wrp_rv): Fix format.
5057         (test_wrp_rv2): New macro.
5058         (do_test): Handle mlock return on 64 bits kernels with 32 bits
5059         binaries.
5061 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5063         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5064         Use a union when storing pointers.
5065         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5066         cast result when passing to INIT_VEC_PTRS_LOOP.
5067         (VECTOR_WRAPPER_fFF_3): Likewise.
5068         (VECTOR_WRAPPER_fFF_4): Likewise.
5070 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5072         * include/bits/mathcalls-helper-functions.h: New file.
5073         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5074         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5075         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5076         math/bits/mathcalls-helper-functions.h.
5077         * math/bits/mathcalls-helper-functions.h: New file.
5078         * math/math.h: Include bits/mathcalls-helper-functions.h for
5079         float, double, and long double.
5081 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5083         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5084         instead of feraiseexcept.
5086 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5088         [BZ #21243]
5089         * support/temp_file.c (support_delete_temp_files): Add comment
5090         about ignored errors.
5092 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5094         [BZ #21244]
5095         * support/xclose.c: New file.
5096         * support/Makefile (libsupport-routines): Add xclose.
5097         * support/xunistd.h (xclose): Declare.
5098         * support/resolv_test.c (server_thread_tcp_client)
5099         (server_thread_tcp, make_server_sockets, resolv_test_start)
5100         (resolv_test_end): Call xclose instead of close.
5101         * support/support_enter_network_namespace.c
5102         (support_enter_network_namespace): Likewise.
5103         * support/support_run_diff.c (write_to_temp_file): Likewise.
5105 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5107         * support/support_format_dns_packet.c (support_format_dns_packet):
5108         Handle CNAME records in the response.  Extract RDATA names from
5109         rdata, not the whole packet.  Check AAAA record length.
5110         * support/tst-support_format_dns_packet.c: New file.
5111         * support/Makefile (tests): Add tst-support_format_dns_packet.
5112         (tst-support_format_dns_packet): Link against libresolv.
5114 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5116         [BZ #21232]
5117         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5118         posix_fadvise64 weak_alias for static build.
5120 2017-03-14  Andreas Schwab  <schwab@suse.de>
5122         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5123         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5124         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5125         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5126         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5127         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5128         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5129         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5131 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5133         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5134         posix error code.
5135         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5137 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5139         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5140         no_isolate usage for SH.
5142 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
5144         [BZ #15105]
5145         [BZ #19463]
5146         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5147         * inet/rcmd.c (rcmd_af): Likewise.
5148         * inet/rexec.c   (rexec_af): Likewise.
5149         * intl/dcigettext.c (_LIBC): Likewise.
5150         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5151         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5152         * locale/setlocale.c (setlocale): Likewise.
5153         * posix/spawn_faction_addopen.c
5154         (posix_spawn_file_actions_addopen): Likewise.
5155         * stdlib/putenv.c (putenv): Use __strndup.
5156         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5158         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5159         (__Need_M_And_C) Remove define/undef.
5160         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5161         (__malloc_and_calloc_defined): Remove define.
5162         * string/bits/string2.h (__strdup): Remove define.
5163         (strdup): Likewise.
5164         (__strndup): Likewise.
5165         (strndup): Likewise.
5167 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
5169         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5170         macro.
5171         (IPV6_ADDR_PREFERENCES): Likewise.
5172         (IPV6_MINHOPCOUNT): Likewise.
5173         (IPV6_ORIGDSTADDR): Likewise.
5174         (IPV6_RECVORIGDSTADDR): Likewise.
5175         (IPV6_TRANSPARENT): Likewise.
5176         (IPV6_UNICAST_IF): Likewise.
5177         (IPV6_RECVFRAGSIZE): Likewise.
5179 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
5181         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5183 2017-03-12  Alexey Neyman <stilor@att.net>
5185         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5186         in R_SH_DIR32 case is always false when inlined from
5187         dl-conflict.c. Ifdef out to prevent GCC from insertin an
5189 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
5191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5192         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5193         __ASSUME_SEND_SYSCALL.
5195 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
5197         * sunrpc/Makefile: don't build and install rpcsvc header
5198         files, rpcgen and librpcsvc.a by default.
5200 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
5202         * math/auto-libm-test-out-catan: Regenerated.
5203         * math/auto-libm-test-out-catanh: Likewise.
5204         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5206 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
5208         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5209         for long double with corrected test expectations.
5211 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5213         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5214         Define.
5215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5216         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5217         * sysdeps/unix/sysv/linux/nios2/sysdep.h
5218         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5219         * sysdeps/unix/sysv/linux/tile/sysdep.h
5220         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5222         (__ASSUME_RECV_SYSCALL): Define.
5223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5224         (__ASSUME_RECV_SYSCALL): Likewise.
5225         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5226         (__ASSUME_RECV_SYSCALL): Likewise.
5227         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5228         (__ASSUME_RECV_SYSCALL): Likewise.
5229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5230         (__ASSUME_RECV_SYSCALL): Likewise.
5231         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5232         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5233         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5234         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5235         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5236         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5237         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5238         auto-generation list.
5239         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5240         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5241         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5242         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5243         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5244         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5245         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5246         __ASSUME_SENDTO_SYSCALL.
5247         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5248         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5249         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5251         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5252         auto-generation list.
5253         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5254         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5255         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5256         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5257         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5258         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5259         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5260         * sysdeps/unix/sysv/linux/kernel-features.h
5261         (__ASSUME_SENDTO_SYSCALL): Define by default.
5262         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5263         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
5264         __NR_sendto.
5265         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5266         (__ASSUME_SENDTO_SYSCALL): Likewise.
5267         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5268         (__ASSUME_SENDTO_SYSCALL): Likewise.
5269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5270         (__ASSUME_SENDTO_SYSCALL): Remove definition.
5271         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5272         (__ASSUME_SENDTO_SYSCALL): Likewise.
5273         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5274         (__ASSUME_SENDTO_SYSCALL): Likewise.
5275         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5277         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5278         auto-generation list.
5279         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5280         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5281         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5282         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5283         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5284         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5285         (__ASSUME_RECV_SYSCALL): New define.
5286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5287         (__ASSUME_RECV_SYSCALL): Likewise.
5288         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5289         (__ASSUME_RECV_SYSCALL): Likewise.
5290         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5291         (__ASSUME_RECV_SYSCALL): Likewise.
5292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5293         (__ASSUME_RECV_SYSCALL): Likewise.
5294         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5295         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5296         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5297         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5298         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5299         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5300         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5301         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5302         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5303         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5304         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5305         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5307         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5308         auto-generation list.
5309         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5310         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5311         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5312         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5313         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5314         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5315         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5316         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5317         (__ASSUME_RECVFROM_SYSCALL): Define by default.
5318         * sysdeps/unix/sysv/linux/kernel-features.h
5319         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5320         __NR_recvfrom.
5321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5322         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5323         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5324         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5325         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5326         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5327         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5328         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5329         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5330         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5331         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5332         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5333         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5335         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5336         auto-generation list.
5337         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5338         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5341         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5342         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5343         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5344         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5345         * sysdeps/unix/sysv/linux/kernel-features.h
5346         (__ASSUME_CONNECT_SYSCALL): Define.
5347         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5348         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5350         (__ASSUME_CONNECT_SYSCALL): Likewise.
5351         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5352         (__ASSUME_CONNECT_SYSCALL): Likewise.
5353         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5354         (__ASSUME_CONNECT_SYSCALL): Likewise.
5356         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5357         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5358         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5359         auto-generation list.
5360         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5361         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5362         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5363         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5364         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5365         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5367         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5368         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5369         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5370         * sysdeps/unix/sysv/linux/kernel-features.h
5371         (__ASSUME_ACCEPT_SYSCALL): New define.
5372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5373         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5374         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5376         (__ASSUME_ACCEPT_SYSCALL): Define.
5377         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5378         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5379         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5380         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5381         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5382         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5383         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5384         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5385         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5387 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
5388             Zack Weinberg  <zackw@panix.com>
5390         * posix/test-errno.c: New file.
5391         * posix/Makefile (tests): Add test-errno.
5392         * sysdeps/unix/sysv/linux/test-errno.c: New file.
5393         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5395 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
5397         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5399 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5401         * time/tzset.c (compute_offset): Open-code min macro.
5402         (min, max, sign): Remove.
5404 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5406         [BZ #15576]
5407         Remove TZNAME_MAX limit from sysconf.
5408         * include/time.h (__tzname_cur_max, __tzname_max): Remove
5409         declaration.
5410         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5411         compute_tzname_max.
5412         (compute_tzname_max): Remove.
5413         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5414         (update_vars): Do not update __tzname_cur_max.
5415         (tzset_internal): Remove argument.
5416         (__tzset): Adjust call to tzset_internal.
5417         (__tz_convert): Likewise.
5419         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5420         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5421         * manual/conf.texi (Sysconf Definition): Update comment.
5423 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5425         [BZ #21209]
5426         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5427         AT_SECURE processes.
5428         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5429         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5430         (test_child): Likewise.
5431         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5433 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5435         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5437 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5439         * sysdeps/s390/atomic-machine.h
5440         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5441         (__arch_compare_and_exchange_val_8_acq,
5442         __arch_compare_and_exchange_val_16_acq,
5443         __arch_compare_and_exchange_val_32_acq,
5444         __arch_compare_and_exchange_val_64_acq):
5445         Delete macro.
5446         (atomic_compare_and_exchange_val_acq,
5447         atomic_compare_and_exchange_val_rel,
5448         atomic_compare_and_exchange_bool_acq,
5449         catomic_compare_and_exchange_bool_acq,
5450         atomic_exchange_acq, atomic_exchange_rel,
5451         atomic_exchange_and_add_acq,
5452         atomic_exchange_and_add_rel,
5453         catomic_exchange_and_add, atomic_or_val,
5454         atomic_or, catomic_or, atomic_bit_test_set,
5455         atomic_and_val, atomic_and, catomic_and):
5456         Define macros with help of C11 atomic builtins.
5458 2017-03-03  Justus Winter <justus@gnupg.org>
5460         * sysdeps/mach/hurd/ftruncate64.c: New file.
5461         * sysdeps/mach/hurd/truncate64.c: Likewise.
5463 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5465         * time/tzfile.c (NOID): Do not define.
5466         * time/tzset.c (NOID): Likewise.
5468 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5470         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5472 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5474         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5476 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5478         [BZ #21015]
5479         * manual/install.texi (Configuring and compiling): Document
5480         --enable-bind-now.
5481         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5482         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5483         (format.lds): Likewise.
5484         [bind-now] (LDFLAGS-c.so): Remove.
5485         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5486         be R_X86_64_GLOB_DAT.
5487         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5488         relocation can be R_386_GLOB_DAT.
5489         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5490         relocaiton can be R_ALPHA_GLOB_DAT.
5491         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5493 2017-03-01  Zack Weinberg  <zackw@panix.com>
5495         * include/libc-pointer-arith.h: New file.  Define
5496         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5497         PTR_ALIGN_DOWN here.
5498         * include/libc-internal.h: Definitions of above macros
5499         moved from here.  Don't include libc-diag.h anymore either.
5500         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5501         Don't include libc-internal.h.
5503         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5504         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5505         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5506         * string/strcoll_l.c, sysdeps/nacl/brk.c
5507         * sysdeps/unix/clock_settime.c
5508         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5509         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5510         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5512         Don't include libc-internal.h.
5514         * elf/get-dynamic-info.h, iconv/loop.c
5515         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5516         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5517         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5518         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5519         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5521         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5523         * sysdeps/ieee754/ldbl-128/k_tanl.c
5524         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5525         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5526         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5527         Include libc-diag.h instead of libc-internal.h.
5529         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5530         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5531         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5532         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5533         * sysdeps/unix/sysv/linux/spawni.c
5534         * sysdeps/x86_64/nptl/tls.h:
5535         Include libc-pointer-arith.h instead of libc-internal.h.
5537         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5538         * sysdeps/x86_64/atomic-machine.h:
5539         Add multiple include guard.
5541         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5542         * string/strcasestr.c: No need to include config.h.
5543         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5544         sys/auxv.h. Don't include sysdep.h.
5545         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5547         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5548         DL_LOOKUP_ADDRESS.
5549         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5550         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5552         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5553         of ARTIFICIAL_LIMIT.
5554         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5555         declaration of __clone2.
5557 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5559         * scripts/backport-support.sh (latest_commit): New file.
5561 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5563         [BZ #20257]
5564         * inet/Makefile (routines): Add deadline.
5565         (tests-static): Add tst-deadline.
5566         * inet/net-internal.h (struct deadline_current_time)
5567         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5568         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5569         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5570         * inet/deadline.c: New file.
5571         * inet/tst-deadline.c: Likewise.
5572         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5573         tst-udp-timeout, tst-udp-garbage.
5574         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5575         explicitly.
5576         (tst-udp-garbage): Likewise.  Also link against thread library.
5577         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5578         struct layout is part of the ABI.
5579         (clntudp_call): Rework timeout handling.
5580         * sunrpc/tst-udp-garbage.c: New file.
5581         * sunrpc/tst-udp-nonblocking.c: Likewise.
5582         * sunrpc/tst-udp-timeout.c: Likewise.
5584 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5586         [BZ #5010]
5587         * sunrpc/svc.c (svc_is_mapped): Remove.
5588         (svc_unregister): Obtain mapped status while the service is still
5589         registered.
5590         * sunrpc/Makefile [have-thread-library] (tests): Add
5591         tst-svc_register.
5592         (tst-svc_register): Link against libc.so explicitly and the thread
5593         library.
5594         * sunrpc/tst-svc_register.c: New file.
5596 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5598         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5599         * sysdeps/pthread/bits/sigthread.h: Likewise.
5601 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5603         [BZ #21115]
5604         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5605         * sunrpc/Makefile (tests): Add tst-udp-error.
5606         (tst-udp-error): Link against libc.so explicitly.
5607         * sunrpc/tst-udp-error: New file.
5609 2017-02-25  Zack Weinberg  <zackw@panix.com>
5611         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5612         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5614         * sysdeps/generic/math_ldbl.h
5615         * sysdeps/ia64/fpu/math_ldbl.h
5616         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5618         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5619         * sysdeps/powerpc/fpu/math_ldbl.h
5620         * sysdeps/x86_64/fpu/math_ldbl.h:
5621         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5622         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5623         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5624         Add copyright notices.
5626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5627         Don't use EXTRACT_WORDS64.
5629         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5630         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5631         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5632         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5633         Include math_ldbl.h, not math_private.h.
5635 2017-02-25  Zack Weinberg  <zackw@panix.com>
5637         * include/libc-diag.h: New file.  Define ignore_value,
5638         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5639         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5641         * include/libc-internal.h: Definitions of above macros moved from
5642         here.  Include libc-diag.h.  Add copyright notice.
5644         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5645         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5646         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5647         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5648         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5649         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5650         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5651         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5652         Include libc-diag.h instead of libc-internal.h.
5654         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5655         call to unsetenv (NULL).
5656         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5657         call to pthread_mutexattr_destroy (NULL).
5659 2017-02-25  Zack Weinberg  <zackw@panix.com>
5661         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5662         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5663         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5664         gets was removed from C++ in C++14.
5665         * include/stdio.h: Remove redundant declaration of gets.
5666         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5667         be declared, since we are testing it.
5668         * stdio-common/Makefile (tst-gets.c): Compile with
5669         -Wno-deprecated-declarations.
5670         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5671         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5672         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5673         Compile with -Wno-deprecated-declarations.
5675 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5677         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5678         numbers.
5680 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5682         * resolv/tst-resolv-qtypes.c (domain):
5683         Change type to const pointer to const char.
5685 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5687         * math/Makefile (libm-tests-generated): Remove variable.
5688         (libm-tests-base-normal): New variable.
5689         (libm-tests-base-finite): Likewise.
5690         (libm-tests-base-inline): Likewise.
5691         (libm-tests-base): Likewise.
5692         (libm-tests-normal): Likewise.
5693         (libm-tests-finite): Likewise.
5694         (libm-tests-inline): Likewise.
5695         (libm-tests-vector): Likewise.
5696         (libm-tests): Define in terms of these new variables.
5697         (libm-tests-for-type): New variable.
5698         (libm-tests.o): Move definition.
5699         (tests): Move addition of $(libm-tests).
5700         (generated): Update for new and removed libm test files.
5701         ($(objpfx)libm-test.c): Remove target.
5702         ($(objpfx)libm-have-vector-test.h): Likewise.
5703         (CFLAGS-test-double-vlen2.c): Remove variable.
5704         (CFLAGS-test-double-vlen4.c): Likewise.
5705         (CFLAGS-test-double-vlen8.c): Likewise.
5706         (CFLAGS-test-float-vlen4.c): Likewise.
5707         (CFLAGS-test-float-vlen8.c): Likewise.
5708         (CFLAGS-test-float-vlen16.c): Likewise.
5709         (CFLAGS-test-float.c): Likewise.
5710         (CFLAGS-test-float-finite.c): Likewise.
5711         (CFLAGS-libm-test-support-float.c): Likewise.
5712         (CFLAGS-test-double.c): Likewise.
5713         (CFLAGS-test-double-finite.c): Likewise.
5714         (CFLAGS-libm-test-support-double.c): Likewise.
5715         (CFLAGS-test-ldouble.c): Likewise.
5716         (CFLAGS-test-ldouble-finite.c): Likewise.
5717         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5718         (libm-test-inline-cflags): New variable.
5719         (CFLAGS-test-ifloat.c): Remove variable.
5720         (CFLAGS-test-idouble.c): Likewise.
5721         (CFLAGS-test-ildouble.c): Likewise.
5722         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5723         dependencies.
5724         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5725         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5726         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5727         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5728         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5729         Likewise.
5730         (dependencies on libm-test-support-*.o): Remove.
5731         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5732         rules using iterators.
5733         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5734         Likewise.
5735         ($(objpfx)libm-test-support-$(o).o): Likewise.
5736         ($(addprefix $(objpfx),$(filter-out $(tests-static)
5737         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5738         instead.
5739         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5740         define rule instead.
5741         * math/README.libm-test: Update.
5742         * math/libm-test-acos.inc: Include libm-test-driver.c.
5743         (do_test): New function.
5744         * math/libm-test-acosh.inc: Include libm-test-driver.c.
5745         (do_test): New function.
5746         * math/libm-test-asin.inc: Include libm-test-driver.c.
5747         (do_test): New function.
5748         * math/libm-test-asinh.inc: Include libm-test-driver.c.
5749         (do_test): New function.
5750         * math/libm-test-atan.inc: Include libm-test-driver.c.
5751         (do_test): New function.
5752         * math/libm-test-atan2.inc: Include libm-test-driver.c.
5753         (do_test): New function.
5754         * math/libm-test-atanh.inc: Include libm-test-driver.c.
5755         (do_test): New function.
5756         * math/libm-test-cabs.inc: Include libm-test-driver.c.
5757         (do_test): New function.
5758         * math/libm-test-cacos.inc: Include libm-test-driver.c.
5759         (do_test): New function.
5760         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5761         (do_test): New function.
5762         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5763         (do_test): New function.
5764         * math/libm-test-carg.inc: Include libm-test-driver.c.
5765         (do_test): New function.
5766         * math/libm-test-casin.inc: Include libm-test-driver.c.
5767         (do_test): New function.
5768         * math/libm-test-casinh.inc: Include libm-test-driver.c.
5769         (do_test): New function.
5770         * math/libm-test-catan.inc: Include libm-test-driver.c.
5771         (do_test): New function.
5772         * math/libm-test-catanh.inc: Include libm-test-driver.c.
5773         (do_test): New function.
5774         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5775         (do_test): New function.
5776         * math/libm-test-ccos.inc: Include libm-test-driver.c.
5777         (do_test): New function.
5778         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5779         (do_test): New function.
5780         * math/libm-test-ceil.inc: Include libm-test-driver.c.
5781         (do_test): New function.
5782         * math/libm-test-cexp.inc: Include libm-test-driver.c.
5783         (do_test): New function.
5784         * math/libm-test-cimag.inc: Include libm-test-driver.c.
5785         (do_test): New function.
5786         * math/libm-test-clog.inc: Include libm-test-driver.c.
5787         (do_test): New function.
5788         * math/libm-test-clog10.inc: Include libm-test-driver.c.
5789         (do_test): New function.
5790         * math/libm-test-conj.inc: Include libm-test-driver.c.
5791         (do_test): New function.
5792         * math/libm-test-copysign.inc: Include libm-test-driver.c.
5793         (do_test): New function.
5794         * math/libm-test-cos.inc: Include libm-test-driver.c.
5795         (do_test): New function.
5796         * math/libm-test-cosh.inc: Include libm-test-driver.c.
5797         (do_test): New function.
5798         * math/libm-test-cpow.inc: Include libm-test-driver.c.
5799         (do_test): New function.
5800         * math/libm-test-cproj.inc: Include libm-test-driver.c.
5801         (do_test): New function.
5802         * math/libm-test-creal.inc: Include libm-test-driver.c.
5803         (do_test): New function.
5804         * math/libm-test-csin.inc: Include libm-test-driver.c.
5805         (do_test): New function.
5806         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5807         (do_test): New function.
5808         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5809         (do_test): New function.
5810         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5811         (do_test): New function.
5812         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5813         (do_test): New function.
5814         * math/libm-test-erf.inc: Include libm-test-driver.c.
5815         (do_test): New function.
5816         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5817         (do_test): New function.
5818         * math/libm-test-exp.inc: Include libm-test-driver.c.
5819         (do_test): New function.
5820         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5821         (do_test): New function.
5822         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5823         (do_test): New function.
5824         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5825         (do_test): New function.
5826         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5827         (do_test): New function.
5828         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5829         (do_test): New function.
5830         * math/libm-test-floor.inc: Include libm-test-driver.c.
5831         (do_test): New function.
5832         * math/libm-test-fma.inc: Include libm-test-driver.c.
5833         (do_test): New function.
5834         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5835         (do_test): New function.
5836         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5837         (do_test): New function.
5838         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5839         (do_test): New function.
5840         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5841         (do_test): New function.
5842         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5843         (do_test): New function.
5844         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5845         (do_test): New function.
5846         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5847         (do_test): New function.
5848         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5849         (do_test): New function.
5850         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5851         (do_test): New function.
5852         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5853         (do_test): New function.
5854         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5855         (do_test): New function.
5856         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5857         (do_test): New function.
5858         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5859         (do_test): New function.
5860         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5861         (do_test): New function.
5862         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5863         (do_test): New function.
5864         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5865         (do_test): New function.
5866         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5867         (do_test): New function.
5868         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5869         (do_test): New function.
5870         * math/libm-test-isless.inc: Include libm-test-driver.c.
5871         (do_test): New function.
5872         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5873         (do_test): New function.
5874         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5875         (do_test): New function.
5876         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5877         (do_test): New function.
5878         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5879         (do_test): New function.
5880         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5881         (do_test): New function.
5882         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5883         (do_test): New function.
5884         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5885         (do_test): New function.
5886         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5887         (do_test): New function.
5888         * math/libm-test-j0.inc: Include libm-test-driver.c.
5889         (do_test): New function.
5890         * math/libm-test-j1.inc: Include libm-test-driver.c.
5891         (do_test): New function.
5892         * math/libm-test-jn.inc: Include libm-test-driver.c.
5893         (do_test): New function.
5894         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5895         (do_test): New function.
5896         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5897         (do_test): New function.
5898         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5899         (do_test): New function.
5900         * math/libm-test-llround.inc: Include libm-test-driver.c.
5901         (do_test): New function.
5902         * math/libm-test-log.inc: Include libm-test-driver.c.
5903         (do_test): New function.
5904         * math/libm-test-log10.inc: Include libm-test-driver.c.
5905         (do_test): New function.
5906         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5907         (do_test): New function.
5908         * math/libm-test-log2.inc: Include libm-test-driver.c.
5909         (do_test): New function.
5910         * math/libm-test-logb.inc: Include libm-test-driver.c.
5911         (do_test): New function.
5912         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5913         (do_test): New function.
5914         * math/libm-test-lround.inc: Include libm-test-driver.c.
5915         (do_test): New function.
5916         * math/libm-test-modf.inc: Include libm-test-driver.c.
5917         (do_test): New function.
5918         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5919         (do_test): New function.
5920         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5921         (do_test): New function.
5922         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5923         (do_test): New function.
5924         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5925         (do_test): New function.
5926         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5927         (do_test): New function.
5928         * math/libm-test-pow.inc: Include libm-test-driver.c.
5929         (do_test): New function.
5930         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5931         (do_test): New function.
5932         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5933         (do_test): New function.
5934         * math/libm-test-rint.inc: Include libm-test-driver.c.
5935         (do_test): New function.
5936         * math/libm-test-round.inc: Include libm-test-driver.c.
5937         (do_test): New function.
5938         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5939         (do_test): New function.
5940         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5941         (do_test): New function.
5942         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5943         (do_test): New function.
5944         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5945         (do_test): New function.
5946         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5947         (do_test): New function.
5948         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5949         (do_test): New function.
5950         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5951         (do_test): New function.
5952         * math/libm-test-significand.inc: Include libm-test-driver.c.
5953         (do_test): New function.
5954         * math/libm-test-sin.inc: Include libm-test-driver.c.
5955         (do_test): New function.
5956         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5957         (do_test): New function.
5958         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5959         (do_test): New function.
5960         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5961         (do_test): New function.
5962         * math/libm-test-tan.inc: Include libm-test-driver.c.
5963         (do_test): New function.
5964         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5965         (do_test): New function.
5966         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5967         (do_test): New function.
5968         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5969         (do_test): New function.
5970         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5971         (do_test): New function.
5972         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5973         (do_test): New function.
5974         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5975         (do_test): New function.
5976         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5977         (do_test): New function.
5978         * math/libm-test-y0.inc: Include libm-test-driver.c.
5979         (do_test): New function.
5980         * math/libm-test-y1.inc: Include libm-test-driver.c.
5981         (do_test): New function.
5982         * math/libm-test-yn.inc: Include libm-test-driver.c.
5983         (do_test): New function.
5984         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5985         (HAVE_VECTOR): Remove macro.
5986         (START): Do not call HAVE_VECTOR.
5987         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5988         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5989         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5990         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5991         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5992         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5993         * math/test-math-vector.h (FUNC_TEST): New macro.
5994         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5995         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5996         (double-vlen4-funcs): Likewise.
5997         (double-vlen4-avx2-funcs): Likewise.
5998         (double-vlen8-funcs): Likewise.
5999         (float-vlen4-funcs): Likewise.
6000         (float-vlen8-funcs): Likewise.
6001         (float-vlen8-avx2-funcs): Likewise.
6002         (float-vlen16-funcs): Likewise.
6003         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6004         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6005         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6006         macro.
6007         (TEST_VECTOR_sin): Likewise.
6008         (TEST_VECTOR_sincos): Likewise.
6009         (TEST_VECTOR_log): Likewise.
6010         (TEST_VECTOR_exp): Likewise.
6011         (TEST_VECTOR_pow): Likewise.
6012         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6013         Likewise.
6014         (TEST_VECTOR_sin): Likewise.
6015         (TEST_VECTOR_sincos): Likewise.
6016         (TEST_VECTOR_log): Likewise.
6017         (TEST_VECTOR_exp): Likewise.
6018         (TEST_VECTOR_pow): Likewise.
6019         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6020         Likewise.
6021         (TEST_VECTOR_sinf): Likewise.
6022         (TEST_VECTOR_sincosf): Likewise.
6023         (TEST_VECTOR_logf): Likewise.
6024         (TEST_VECTOR_expf): Likewise.
6025         (TEST_VECTOR_powf): Likewise.
6026         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6027         Likewise.
6028         (TEST_VECTOR_sinf): Likewise.
6029         (TEST_VECTOR_sincosf): Likewise.
6030         (TEST_VECTOR_logf): Likewise.
6031         (TEST_VECTOR_expf): Likewise.
6032         (TEST_VECTOR_powf): Likewise.
6033         * math/gen-libm-have-vector-test.sh: Remove file.
6034         * math/libm-test.inc: Likewise.
6035         * math/libm-test-support-double.c: Likewise.
6036         * math/libm-test-support-float.c: Likewise.
6037         * math/libm-test-support-ldouble.c: Likewise.
6038         * math/test-double-finite.c: Likewise.: Likewise.
6039         * math/test-double.c: Likewise.
6040         * math/test-float-finite.c: Likewise.
6041         * math/test-float.c: Likewise.
6042         * math/test-idouble.c: Likewise.
6043         * math/test-ifloat.c: Likewise.
6044         * math/test-ildouble.c: Likewise.
6045         * math/test-ldouble-finite.c: Likewise.
6046         * math/test-ldouble.c: Likewise.
6047         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6048         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6049         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6050         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6051         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6052         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6053         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6054         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6055         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6056         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6058 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6059            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6061         * math/Makefile: Add wrappers to gen-libm-calls.
6062         * math/w_acos_template.c: New file.
6063         * math/w_acosh_template.c: Likewise.
6064         * math/w_asin_template.c: Likewise.
6065         * math/w_atan2_template.c: Likewise.
6066         * math/w_atanh_template.c: Likewise.
6067         * math/w_cosh_template.c: Likewise.
6068         * math/w_exp10_template.c: Likewise.
6069         * math/w_exp2_template.c: Likewise.
6070         * math/w_exp_template.c: Likewise.
6071         * math/w_fmod_template.c: Likewise.
6072         * math/w_hypot_template.c: Likewise.
6073         * math/w_j0_template.c: Likewise.
6074         * math/w_j1_template.c: Likewise.
6075         * math/w_jn_template.c: Likewise.
6076         * math/w_lgamma_r_template.c: Likewise.
6077         * math/w_lgamma_template.c: Likewise.
6078         * math/w_log10_template.c: Likewise.
6079         * math/w_log2_template.c: Likewise.
6080         * math/w_log_template.c: Likewise.
6081         * math/w_pow_template.c: Likewise.
6082         * math/w_remainder_template.c: Likewise.
6083         * math/w_sinh_template.c: Likewise.
6084         * math/w_sqrt_template.c: Likewise.
6085         * math/w_tgamma_template.c: Likewise.: Likewise.
6086         * sysdeps/generic/math-type-macros-double.h
6087         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6088         the new wrappers.
6089         * sysdeps/generic/math-type-macros-float.h: Likewise.
6090         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6092 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
6094         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6095         New enum constant and macro.
6097         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6098         kernel version to 4.10.
6100 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
6102         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6104 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6108 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6110         * sysdeps/powerpc/tst-set_ppr.c: New file.
6111         Implement test cases for __ppc_set_ppr_* functions.
6112         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6113         in the list of tests.
6115 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6117         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6118         instead of test-skeleton.c.
6119         (do_test): Replaced pthread_create and pthread_join with
6120         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
6121         Removed unneeded status variable.
6122         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6123         instead of test-skeleton.c.
6124         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6126 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
6128         [BZ #20313]
6129         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6130         201605L, for Unicode 9.
6132 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
6134         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6135         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6136         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6137         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6138         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6139         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6141 2017-02-19  Zack Weinberg  <zackw@panix.com>
6143         * rt/tst-mqueue4.c: Include stdint.h.
6145 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6147         * sysdeps/arm/libm-test-ulps: Update.
6148         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6149         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6150         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6152 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6154         [BZ #21029]
6155         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6156         * sysdeps/unix/sysv/linux/i386/Makefile
6157         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6158         (uses-6-syscall-arguments): Remove.
6159         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6160         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6161         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6162         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6163         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6164         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6165         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6166         [$(subdir) = misc] (cflags-pselect.o): Likewise.
6167         [$(subdir) = misc] (cflags-pselect.os): Likewise.
6168         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6169         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6170         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6171         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6172         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6173         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6174         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6175         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6176         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6177         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6178         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6179         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6180         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6181         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6182         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6183         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6184         Likewise.
6185         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6186         Likewise.
6187         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6188         Likewise.
6189         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6190         Likewise.
6191         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6192         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6193         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6194         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6195         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6196         ebp on inline assembly.
6197         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6198         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6199         Set if CAN_USE_REGISTER_ASM_EBP is set.
6201 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
6203         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6204         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6206 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6208         * math/auto-libm-test-in: Add tests of catan and catanh.
6209         * math/auto-libm-test-out-catan: New generated file.
6210         * math/auto-libm-test-out-catanh: Likewise.
6211         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6212         Move tests with finite inputs, except divide-by-zero cases, to
6213         auto-libm-test-in.
6214         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6215         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6216         (libm-test-funcs-noauto): Remove catan and catanh.
6217         * sysdeps/i386/fpu/libm-test-ulps: Update.
6218         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221         * math/auto-libm-test-in: Add tests of casin and casinh.
6222         * math/auto-libm-test-out-casin: New generated file.
6223         * math/auto-libm-test-out-casinh: Likewise.
6224         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6225         Move tests with finite inputs to auto-libm-test-in.
6226         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6227         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6228         (libm-test-funcs-noauto): Remove casin and casinh.
6229         * sysdeps/i386/fpu/libm-test-ulps: Update.
6230         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6233         * math/auto-libm-test-in: Add tests of cacos and cacosh.
6234         * math/auto-libm-test-out-cacos: New generated file.
6235         * math/auto-libm-test-out-cacosh: Likewise.
6236         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6237         Move tests with finite inputs to auto-libm-test-in.
6238         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6239         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6240         (libm-test-funcs-noauto): Remove cacos and cacosh.
6241         * sysdeps/i386/fpu/libm-test-ulps: Update.
6242         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6245         Revert:
6246         2017-02-16  Zack Weinberg  <zackw@panix.com>
6248         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6249         Don't include init-arch.h.
6250         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6251         Don't include init-arch.h.
6253 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6255         [BZ #21171]
6256         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6257         +Inf and raise divide-by-zero when x is negative.
6258         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
6259         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
6260         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
6261         -Inf and raise divide-by-zero when x = +-0.
6262         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6263         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6264         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
6265         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
6266         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6267         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6268         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6270 2017-02-16  Zack Weinberg  <zackw@panix.com>
6272         * scripts/build-many-glibcs.py (bot_build_mail): If the
6273         bot_config does not contain all of the necessary email-
6274         related settings, just print a warning and continue.
6276 2017-02-16  Zack Weinberg  <zackw@panix.com>
6278         * crypt/md5.h: Test _LIBC with #if defined, not #if.
6279         * dirent/opendir-tst1.c: Include sys/stat.h.
6280         * dirent/tst-fdopendir.c: Include sys/stat.h.
6281         * dirent/tst-fdopendir2.c: Include stdlib.h.
6282         * dirent/tst-scandir.c: Include stdbool.h.
6283         * elf/tst-auditmod1.c: Include link.h and stddef.h.
6284         * elf/tst-tls15.c: Include stdlib.h.
6285         * elf/tst-tls16.c: Include stdlib.h.
6286         * elf/tst-tls17.c: Include stdlib.h.
6287         * elf/tst-tls18.c: Include stdlib.h.
6288         * iconv/tst-iconv6.c: Include endian.h.
6289         * iconvdata/bug-iconv11.c: Include limits.h.
6290         * io/test-utime.c: Include stdint.h.
6291         * io/tst-faccessat.c: Include sys/stat.h.
6292         * io/tst-fchmodat.c: Include sys/stat.h.
6293         * io/tst-fchownat.c: Include sys/stat.h.
6294         * io/tst-fstatat.c: Include sys/stat.h.
6295         * io/tst-futimesat.c: Include sys/stat.h.
6296         * io/tst-linkat.c: Include sys/stat.h.
6297         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6298         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6299         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6300         * io/tst-openat.c: Include stdbool.h.
6301         * io/tst-readlinkat.c: Include sys/stat.h.
6302         * io/tst-renameat.c: Include sys/stat.h.
6303         * io/tst-symlinkat.c: Include sys/stat.h.
6304         * io/tst-unlinkat.c: Include stdbool.h.
6305         * libio/bug-memstream1.c: Include stdlib.h.
6306         * libio/bug-wmemstream1.c: Include stdlib.h.
6307         * libio/tst-fwrite-error.c: Include stdlib.h.
6308         * libio/tst-memstream1.c: Include stdlib.h.
6309         * libio/tst-memstream2.c: Include stdlib.h.
6310         * libio/tst-memstream3.c: Include stdlib.h.
6311         * malloc/tst-interpose-aux.c: Include stdint.h.
6312         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
6313         * nptl/tst-basic7.c: Include limits.h.
6314         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
6315         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
6316         * nptl/tst-cancel4_1.c: Include stddef.h.
6317         * nptl/tst-cancel4_2.c: Include stddef.h.
6318         * nptl/tst-cond16.c: Include limits.h.
6319         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6320         * nptl/tst-cond18.c: Include limits.h.
6321         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6322         * nptl/tst-cond4.c: Include stdint.h.
6323         * nptl/tst-cond6.c: Include stdint.h.
6324         * nptl/tst-stack2.c: Include limits.h.
6325         * nptl/tst-stackguard1.c: Include stddef.h.
6326         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6327         * nptl/tst-tls4moda.c: Include stddef.h.
6328         Don't include stdio.h, unistd.h, or tls.h.
6329         * nptl/tst-tls4modb.c: Include stddef.h.
6330         Don't include stdio.h, unistd.h, or tls.h.
6331         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6332         * posix/tst-getaddrinfo2.c: Include stdio.h.
6333         * posix/tst-getaddrinfo5.c: Include stdio.h.
6334         * posix/tst-pathconf.c: Include sys/stat.h.
6335         * posix/tst-posix_fadvise-common.c: Include stdint.h.
6336         * posix/tst-preadwrite-common.c: Include sys/stat.h.
6337         * posix/tst-regex.c: Include stdint.h.
6338         Don't include spawn.h or spawn_int.h.
6339         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6340         * posix/tst-vfork3.c: Include sys/stat.h.
6341         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6342         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6343         * resolv/tst-resolv-search.c: Include stdlib.h.
6344         * stdio-common/tst-fmemopen2.c: Include stdint.h.
6345         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6346         * stdlib/test-canon.c: Include sys/stat.h.
6347         * stdlib/tst-tls-atexit.c: Include stdbool.h.
6348         * string/test-memchr.c: Include stdint.h.
6349         * string/tst-cmp.c: Include stdint.h.
6350         * sysdeps/pthread/tst-timer.c: Include stdint.h.
6351         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6352         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6353         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6354         Don't include init-arch.h.
6355         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6356         Don't include init-arch.h.
6357         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6358         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6359         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6360         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6361         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6362         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6363         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6364         * time/clocktest.c: Include stdint.h.
6365         * time/tst-posixtz.c: Include stdint.h.
6366         * timezone/tst-timezone.c: Include stdint.h.
6368 2017-02-16  Zack Weinberg  <zackw@panix.com>
6370         * string/string.h [__USE_MISC]: Include strings.h.
6371         (__bzero, bcmp, bcopy, bzero, index, rindex)
6372         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6373         (ffs, ffsl, ffsll): Don't declare.
6374         * string/strings.h: Do not suppress the file if string.h has
6375         already been included.
6376         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6377         annotations.
6378         (index, rindex): Define inline forwarders even if
6379         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6380         (ffs): Use __attribute_const__.
6381         (ffsl, ffsll): Declare here.
6382         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6383         have now been standardized.
6384         * include/string.h (__bzero): Declare here.
6386         * bits/types.h: Move to posix/bits.
6387         * include/bits/types.h: New wrapper.
6389 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6391         * string/bits/string2.h (strcmp): Remove define.
6392         (__strcmp_cg): Likewise.
6393         (strncmp): Likewise.
6395 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6397         * include/string.h: Add __cplusplus check.
6399 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6401         [BZ #21134]
6402         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6403         "divide by zero" exception when the input is zero.
6404         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6405         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6406         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6407         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6408         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6410 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
6412         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6413         and include ...
6414         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
6415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6416         to, and include ...
6417         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
6418         file.
6419         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6420         and include ...
6421         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
6422         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6423         and include ...
6424         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6425         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6426         and include ...
6427         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6428         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6429         and include ...
6430         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6432         to, and include ...
6433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6434         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6435         and include ...
6436         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6438 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6440         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6441         here.
6442         * math/libm-test-support.c (libm_test_init): Do not call
6443         INIT_ARCH_EXT here.
6444         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6445         (main): Call INIT_ARCH_EXT.
6447 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6449         [BZ #21130]
6450         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6451         with the "invalid" exception raised when x is -Inf.
6452         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6454 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6456         * string/bits/string2.h (strchr): Remove define.
6458 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6460         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6461         tst-avx512.
6462         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6463         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6464         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6465         ($(objpfx)tst-sse): New rule.
6466         ($(objpfx)tst-avx): Likewise.
6467         ($(objpfx)tst-avx512): Likewise.
6468         (CFLAGS-tst-avx-aux.c): New.
6469         (CFLAGS-tst-avxmod.c): Likewise.
6470         (CFLAGS-tst-avx512-aux.c): Likewise.
6471         (CFLAGS-tst-avx512mod.c): Likewise.
6472         * sysdeps/x86_64/tst-avx-aux.c: New file.
6473         * sysdeps/x86_64/tst-avx.c: Likewise.
6474         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6475         * sysdeps/x86_64/tst-avx512.c: Likewise.
6476         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6477         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6478         * sysdeps/x86_64/tst-sse.c: Likewise.
6479         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6481 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6483         * math/auto-libm-test-in: Add more tests of csin and csinh.
6484         * math/auto-libm-test-out-csin: Regenerated.
6485         * math/auto-libm-test-out-csinh: Likewise.
6486         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6487         auto-libm-test-in.
6488         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6490 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6492         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6493         libm-compat-calls-auto.
6494         (libm-compat-calls): Likewise.
6495         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6496         w_lgamma_compatF and k_standardF (merged from the items above).
6497         (libm-routines): Use libm-compat-calls, instead of
6498         libm-compat-calls-auto, with type-foreach.
6500 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6502         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6503         macro.
6504         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6505         (CFLAGS-test-ifloat.c): ... this.  Remove
6506         -U__LIBC_INTERNAL_MATH_INLINES.
6507         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6508         (CFLAGS-test-idouble.c): ... this.  Remove
6509         -U__LIBC_INTERNAL_MATH_INLINES.
6510         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6511         (CFLAGS-test-ildouble.c): ... this.  Remove
6512         -U__LIBC_INTERNAL_MATH_INLINES.
6514 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6516         * math/libm-test-support.c: New file.  Content from
6517         math/libm-test-driver.c.
6518         * math/libm-test-support.h: Likewise.
6519         * math/libm-test-support-double.c: New file.
6520         * math/libm-test-support-float.c: Likewise.
6521         * math/libm-test-support-ldouble.c: Likewise.
6522         * math/libm-test-driver.c: Remove main comment and header
6523         includes.  Include libm-test-support.h.
6524         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6525         (flag_test_errno): Remove static.
6526         (flag_test_exceptions): Likewise.
6527         (flag_test_finite): Likewise.
6528         (flag_test_inline): Likewise.
6529         (flag_test_mathvec): Likewise.
6530         (test_msg): Likewise.
6531         (NO_EXCEPTION): Remove.
6532         (INVALID_EXCEPTION): Likewise.
6533         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6534         (OVERFLOW_EXCEPTION): Likewise.
6535         (UNDERFLOW_EXCEPTION): Likewise.
6536         (INEXACT_EXCEPTION): Likewise.
6537         (INVALID_EXCEPTION_OK): Likewise.
6538         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6539         (OVERFLOW_EXCEPTION_OK): Likewise.
6540         (UNDERFLOW_EXCEPTION_OK): Likewise.
6541         (NO_INEXACT_EXCEPTION): Likewise.
6542         (EXCEPTIONS_OK): Likewise.
6543         (IGNORE_ZERO_INF_SIGN): Likewise.
6544         (TEST_NAN_SIGN): Likewise.
6545         (TEST_NAN_PAYLOAD): Likewise.
6546         (NO_TEST_INLINE): Likewise.
6547         (XFAIL_TEST): Likewise.
6548         (ERRNO_UNCHANGED): Likewise.
6549         (ERRNO_EDOM): Likewise.
6550         (ERRNO_ERANGE): Likewise.
6551         (IGNORE_RESULT): Likewise.
6552         (NON_FINITE): Likewise.
6553         (TEST_SNAN): Likewise.
6554         (NO_TEST_MATHVEC): Likewise.
6555         (__CONCATX): Likewise.
6556         (TYPE_MIN): Likewise.
6557         (TYPE_TRUE_MIN): Likewise.
6558         (TYPE_MAX): Likewise.
6559         (MIN_EXP): Likewise.
6560         (MAX_EXP): Likewise.
6561         (MANT_DIG): Likewise.
6562         (FSTR_MAX): Likewise.
6563         (ulp_idx): Likewise.
6564         (qtype_str): Remove static.
6565         (TEST_COND_binary32): Remove.
6566         (TEST_COND_binary64): Likewise.
6567         (TEST_COND_binary128): Likewise.
6568         (TEST_COND_ibm128): Likewise.
6569         (TEST_COND_intel96): Likewise.
6570         (TEST_COND_m68k96): Likewise.
6571         (TEST_COND_ibm128_libgcc): Likewise.
6572         (XFAIL_IBM128_LIBGCC): Likewise.
6573         (PAYLOAD_DIG): Likewise.
6574         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6575         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6576         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6577         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6578         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6579         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6580         (TEST_COND_long32): Likewise.
6581         (TEST_COND_long64): Likewise.
6582         (TEST_COND_before_rounding): Likewise.
6583         (TEST_COND_after_rounding): Likewise.
6584         (ulps_file_name): Likewise.
6585         (ulps_file): Likewise.
6586         (output_ulps): Likewise.
6587         (output_dir): Likewise.
6588         (noErrors): Likewise.
6589         (noTests): Likewise.
6590         (noExcTests): Likewise.
6591         (noErrnoTests): Likewise.
6592         (verbose): Likewise.
6593         (output_max_error): Likewise.
6594         (output_points): Likewise.
6595         (ignore_max_ulp): Likewise.
6596         (max_error): Likewise.
6597         (real_max_error): Likewise.
6598         (imag_max_error): Likewise.
6599         (prev_max_error): Likewise.
6600         (prev_real_max_error): Likewise.
6601         (prev_imag_max_error): Likewise.
6602         (max_valid_error): Likewise.
6603         (TYPE_DECIMAL_DIG): Likewise.
6604         (TYPE_HEX_DIG): Likewise.
6605         (fmt_ftostr): Likewise.
6606         (compare_ulp_data): Likewise.
6607         (find_ulps): Likewise.
6608         (init_max_error): Likewise.
6609         (set_max_error): Likewise.
6610         (print_float): Likewise.
6611         (print_screen): Likewise.
6612         (print_screen_max_error): Likewise.
6613         (update_stats): Likewise.
6614         (print_function_ulps): Likewise.
6615         (print_complex_function_ulps): Likewise.
6616         (fpstack_test): Likewise.
6617         (print_max_error): Likewise.
6618         (print_complex_max_error): Likewise.
6619         (test_single_exception): Likewise.
6620         (test_exceptions): Likewise.
6621         (test_single_errno): Likewise.
6622         (test_errno): Likewise.
6623         (ULPDIFF): Likewise.
6624         (ulp): Likewise.
6625         (check_float_internal): Likewise.
6626         (check_float): Likewise.
6627         (check_complex): Likewise.
6628         (check_int): Likewise.
6629         (check_long): Likewise.
6630         (check_bool): Likewise.
6631         (check_longlong): Likewise.
6632         (check_intmax_t): Likewise.
6633         (check_uintmax_t): Likewise.
6634         (enable_test): Likewise.
6635         (matherr): Likewise.
6636         (initialize): Likewise.
6637         (options): Likewise.
6638         (doc): Remove static.
6639         (argp): Likewise.
6640         (parse_opt): Remove.
6641         (check_ulp): Likewise.
6642         (libm_test_init): Likewise.
6643         (libm_test_finish): Likewise.
6644         * math/Makefile (libm-test-support): New variable.
6645         (test-extras): Add libm-test-support files.
6646         (extra-test-objs): Likewise.
6647         (CFLAGS-libm-test-support-float.c): New variable.
6648         (CFLAGS-libm-test-support-double.c): Likewise.
6649         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6650         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6651         libm-test-support objects.
6653 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6655         * math/Makefile (libm-calls): Move w_exp...
6656         (libm-compat-calls-auto): Here.
6658         * math/w_expl.c: Add suffix "_compat" to filename.
6659         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6660         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6661         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6662         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6663         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6664         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6665         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6666         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6668         * math/w_expl_compat.c: New file, copied from above.
6669         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6670         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6671         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6672         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6673         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6674         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6676         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6678         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6679         to filename.
6680         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6682         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6683         copied from above and adjusted for the new filenames.
6684         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6686 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6688         * math/Makefile (libm-calls): Move w_lgammaF...
6689         (libm-compat-calls-auto): Here.
6691         * math/w_lgamma.c: Add suffix "_compat2" to filename.
6692         * math/w_lgammaf.c: Likewise.
6693         * math/w_lgammal.c: Likewise.
6695         * math/w_lgamma_compat2.c: New file, copied from above.
6696         * math/w_lgammaf_compat2.c: Likewise.
6697         * math/w_lgammal_compat2.c: Likewise.
6699 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6701         * math/Makefile (libm-calls): Move w_lgammaF_r...
6702         (libm-compat-calls-auto): Here.
6704         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6705         * math/w_lgammaf_r.c: Likewise.
6706         * math/w_lgammal_r.c: Likewise.
6707         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6708         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6709         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6711         * math/w_lgamma_r_compat.c: New file, copied from above.
6712         * math/w_lgammaf_r_compat.c: Likewise.
6713         * math/w_lgammal_r_compat.c: Likewise.
6714         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6715         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6716         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6718         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6719         to filename.
6720         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6722         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6723         copied from above and adjusted for the new filenames.
6724         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6726 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
6728         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6729         calculation in SYSCALL_ERROR_HANDLER().
6731 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
6733         * manual/contrib.texi: Fix typo.
6735 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6737         [BZ #21109]
6738         * elf/dl-tunable-types.h (tunable_callback_t): Accept
6739         tunable_val_t as argument.
6740         * elf/dl-tunables.c (__tunable_set_val): Add comment.
6741         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6742         argument.
6743         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6745 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
6747         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6748         Add PTRACE_EVENT_STOP.
6749         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6753         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6754         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6756 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
6758         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6759         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6760         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6761         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6762         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6763         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6764         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6765         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6766         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6767         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6769         [BZ #21112]
6770         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6771         12 bits zero.
6772         (cp_l): Update for new value of cp_h.
6773         * math/auto-libm-test-in: Add another test of pow.
6774         * math/auto-libm-test-out-pow: Regenerated.
6776 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6778         * manual/contrib.texi: Fix typo.
6780 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6782         [BZ #15998]
6783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6784         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6787 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6789         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6790         STRCHR as __strchr_power8.
6791         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6792         strlen as __strlen_power8.
6794 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6796         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6797         unaligned load for shorter strings.
6798         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6800 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6802         * math/libm-test-driver.c (flag_test_errno): New variable.
6803         (flag_test_exceptions): Likewise.
6804         (flag_test_finite): Likewise.
6805         (flag_test_inline): Likewise.
6806         (flag_test_mathvec): Likewise.
6807         (test_msg): Likewise.
6808         (ulp_idx): Likewise.
6809         (qtype_str): Likewise.
6810         (ULP_IDX): Remove macro.
6811         (QTYPE_STR): Likewise.
6812         (find_ulps): Use ulp_idx not ULP_IDX.
6813         (print_function_ulps): Use qtype_str, printed with %s, not
6814         QTYPE_STR, printed with concatentation to format string.
6815         (print_complex_function_ulps): Likewise.
6816         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6817         (test_errno): Use flag_test_errno not TEST_ERRNO.
6818         (enable_test): Use flag_test_inline, flag_test_finite and
6819         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6820         TEST_MATHVEC.
6821         (libm_test_init): New function.  Factored out of main.
6822         (libm_test_finish): Likewise.
6823         (main): Call libm_test_init and libm_test_finish and move most
6824         code to those functions.
6826         * math/libm-test-driver.c (STRX): New macro.
6827         (STR): Likewise.
6828         (STR_FLOAT): Likewise.
6829         (STR_VEC_LEN): Likewise.
6830         (TEST_MSG): Likewise.  Define here instead of expecting to be
6831         defined by including file.
6832         * math/test-double-finite.c (TEST_MSG): Remove macro.
6833         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6834         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6835         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6836         * math/test-double.c (TEST_MSG): Likewise.
6837         * math/test-float-finite.c (TEST_MSG): Likewise.
6838         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6839         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6840         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6841         * math/test-float.c (TEST_MSG): Likewise.
6842         * math/test-idouble.c (TEST_MSG): Likewise.
6843         * math/test-ifloat.c (TEST_MSG): Likewise.
6844         * math/test-ildouble.c (TEST_MSG): Likewise.
6845         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6846         * math/test-ldouble.c (TEST_MSG): Likewise.
6848         * math/libm-test.inc: Move all tests of individual functions to
6849         libm-test-*.inc and #include libm-test-*.c files.
6850         (acos_test_data): Remove.
6851         (acos_test): Likewise.
6852         (acosh_test_data): Likewise.
6853         (acosh_test): Likewise.
6854         (asin_test_data): Likewise.
6855         (asin_test): Likewise.
6856         (asinh_test_data): Likewise.
6857         (asinh_test): Likewise.
6858         (atan_test_data): Likewise.
6859         (atan_test): Likewise.
6860         (atanh_test_data): Likewise.
6861         (atanh_test): Likewise.
6862         (atan2_test_data): Likewise.
6863         (atan2_test): Likewise.
6864         (cabs_test_data): Likewise.
6865         (cabs_test): Likewise.
6866         (cacos_test_data): Likewise.
6867         (cacos_test): Likewise.
6868         (cacosh_test_data): Likewise.
6869         (cacosh_test): Likewise.
6870         (canonicalize_test_data): Likewise.
6871         (canonicalize_test): Likewise.
6872         (carg_test_data): Likewise.
6873         (carg_test): Likewise.
6874         (casin_test_data): Likewise.
6875         (casin_test): Likewise.
6876         (casinh_test_data): Likewise.
6877         (casinh_test): Likewise.
6878         (catan_test_data): Likewise.
6879         (catan_test): Likewise.
6880         (catanh_test_data): Likewise.
6881         (catanh_test): Likewise.
6882         (cbrt_test_data): Likewise.
6883         (cbrt_test): Likewise.
6884         (ccos_test_data): Likewise.
6885         (ccos_test): Likewise.
6886         (ccosh_test_data): Likewise.
6887         (ccosh_test): Likewise.
6888         (ceil_test_data): Likewise.
6889         (ceil_test): Likewise.
6890         (cexp_test_data): Likewise.
6891         (cexp_test): Likewise.
6892         (cimag_test_data): Likewise.
6893         (cimag_test): Likewise.
6894         (clog_test_data): Likewise.
6895         (clog_test): Likewise.
6896         (clog10_test_data): Likewise.
6897         (clog10_test): Likewise.
6898         (conj_test_data): Likewise.
6899         (conj_test): Likewise.
6900         (copysign_test_data): Likewise.
6901         (copysign_test): Likewise.
6902         (cos_test_data): Likewise.
6903         (cos_test): Likewise.
6904         (cosh_test_data): Likewise.
6905         (cosh_test): Likewise.
6906         (cpow_test_data): Likewise.
6907         (cpow_test): Likewise.
6908         (cproj_test_data): Likewise.
6909         (cproj_test): Likewise.
6910         (creal_test_data): Likewise.
6911         (creal_test): Likewise.
6912         (csin_test_data): Likewise.
6913         (csin_test): Likewise.
6914         (csinh_test_data): Likewise.
6915         (csinh_test): Likewise.
6916         (csqrt_test_data): Likewise.
6917         (csqrt_test): Likewise.
6918         (ctan_test_data): Likewise.
6919         (ctan_test): Likewise.
6920         (ctanh_test_data): Likewise.
6921         (ctanh_test): Likewise.
6922         (erf_test_data): Likewise.
6923         (erf_test): Likewise.
6924         (erfc_test_data): Likewise.
6925         (erfc_test): Likewise.
6926         (exp_test_data): Likewise.
6927         (exp_test): Likewise.
6928         (exp10_test_data): Likewise.
6929         (exp10_test): Likewise.
6930         (pow10_test): Likewise.
6931         (exp2_test_data): Likewise.
6932         (exp2_test): Likewise.
6933         (expm1_test_data): Likewise.
6934         (expm1_test): Likewise.
6935         (fabs_test_data): Likewise.
6936         (fabs_test): Likewise.
6937         (fdim_test_data): Likewise.
6938         (fdim_test): Likewise.
6939         (floor_test_data): Likewise.
6940         (floor_test): Likewise.
6941         (fma_test_data): Likewise.
6942         (fma_test): Likewise.
6943         (fmax_test_data): Likewise.
6944         (fmax_test): Likewise.
6945         (fmaxmag_test_data): Likewise.
6946         (fmaxmag_test): Likewise.
6947         (fmin_test_data): Likewise.
6948         (fmin_test): Likewise.
6949         (fminmag_test_data): Likewise.
6950         (fminmag_test): Likewise.
6951         (fmod_test_data): Likewise.
6952         (fmod_test): Likewise.
6953         (fpclassify_test_data): Likewise.
6954         (fpclassify_test): Likewise.
6955         (frexp_test_data): Likewise.
6956         (frexp_test): Likewise.
6957         (fromfp_test_data): Likewise.
6958         (fromfp_test): Likewise.
6959         (fromfpx_test_data): Likewise.
6960         (fromfpx_test): Likewise.
6961         (getpayload_test_data): Likewise.
6962         (getpayload_test): Likewise.
6963         (hypot_test_data): Likewise.
6964         (hypot_test): Likewise.
6965         (ilogb_test_data): Likewise.
6966         (ilogb_test): Likewise.
6967         (iscanonical_test_data): Likewise.
6968         (iscanonical_test): Likewise.
6969         (iseqsig_test_data): Likewise.
6970         (iseqsig_test): Likewise.
6971         (isfinite_test_data): Likewise.
6972         (isfinite_test): Likewise.
6973         (finite_test): Likewise.
6974         (isgreater_test_data): Likewise.
6975         (isgreater_test): Likewise.
6976         (isgreaterequal_test_data): Likewise.
6977         (isgreaterequal_test): Likewise.
6978         (isinf_test_data): Likewise.
6979         (isinf_test): Likewise.
6980         (isless_test_data): Likewise.
6981         (isless_test): Likewise.
6982         (islessequal_test_data): Likewise.
6983         (islessequal_test): Likewise.
6984         (islessgreater_test_data): Likewise.
6985         (islessgreater_test): Likewise.
6986         (isnan_test_data): Likewise.
6987         (isnan_test): Likewise.
6988         (isnormal_test_data): Likewise.
6989         (isnormal_test): Likewise.
6990         (issignaling_test_data): Likewise.
6991         (issignaling_test): Likewise.
6992         (issubnormal_test_data): Likewise.
6993         (issubnormal_test): Likewise.
6994         (isunordered_test_data): Likewise.
6995         (isunordered_test): Likewise.
6996         (iszero_test_data): Likewise.
6997         (iszero_test): Likewise.
6998         (j0_test_data): Likewise.
6999         (j0_test): Likewise.
7000         (j1_test_data): Likewise.
7001         (j1_test): Likewise.
7002         (jn_test_data): Likewise.
7003         (jn_test): Likewise.
7004         (lgamma_test_data): Likewise.
7005         (lgamma_test): Likewise.
7006         (gamma_test): Likewise.
7007         (llogb_test_data): Likewise.
7008         (llogb_test): Likewise.
7009         (lrint_test_data): Likewise.
7010         (lrint_test): Likewise.
7011         (llrint_test_data): Likewise.
7012         (llrint_test): Likewise.
7013         (log_test_data): Likewise.
7014         (log_test): Likewise.
7015         (log10_test_data): Likewise.
7016         (log10_test): Likewise.
7017         (log1p_test_data): Likewise.
7018         (log1p_test): Likewise.
7019         (log2_test_data): Likewise.
7020         (log2_test): Likewise.
7021         (logb_test_data): Likewise.
7022         (logb_test): Likewise.
7023         (lround_test_data): Likewise.
7024         (lround_test): Likewise.
7025         (llround_test_data): Likewise.
7026         (llround_test): Likewise.
7027         (modf_test_data): Likewise.
7028         (modf_test): Likewise.
7029         (nearbyint_test_data): Likewise.
7030         (nearbyint_test): Likewise.
7031         (nextafter_test_data): Likewise.
7032         (nextafter_test): Likewise.
7033         (nextup_test_data): Likewise.
7034         (nextup_test): Likewise.
7035         (nextdown_test_data): Likewise.
7036         (nextdown_test): Likewise.
7037         (nexttoward_test_data): Likewise.
7038         (nexttoward_test): Likewise.
7039         (pow_test_data): Likewise.
7040         (pow_test): Likewise.
7041         (remainder_test_data): Likewise.
7042         (remainder_test): Likewise.
7043         (drem_test): Likewise.
7044         (remquo_test_data): Likewise.
7045         (remquo_test): Likewise.
7046         (rint_test_data): Likewise.
7047         (rint_test): Likewise.
7048         (round_test_data): Likewise.
7049         (round_test): Likewise.
7050         (roundeven_test_data): Likewise.
7051         (roundeven_test): Likewise.
7052         (scalb_test_data): Likewise.
7053         (scalb_test): Likewise.
7054         (scalbn_test_data): Likewise.
7055         (scalbn_test): Likewise.
7056         (ldexp_test): Likewise.
7057         (scalbln_test_data): Likewise.
7058         (scalbln_test): Likewise.
7059         (setpayload_test_data): Likewise.
7060         (setpayload_test): Likewise.
7061         (setpayloadsig_test_data): Likewise.
7062         (setpayloadsig_test): Likewise.
7063         (signbit_test_data): Likewise.
7064         (signbit_test): Likewise.
7065         (sin_test_data): Likewise.
7066         (sin_test): Likewise.
7067         (sincos_test_data): Likewise.
7068         (sincos_test): Likewise.
7069         (sinh_test_data): Likewise.
7070         (sinh_test): Likewise.
7071         (sqrt_test_data): Likewise.
7072         (sqrt_test): Likewise.
7073         (tan_test_data): Likewise.
7074         (tan_test): Likewise.
7075         (tanh_test_data): Likewise.
7076         (tanh_test): Likewise.
7077         (tgamma_test_data): Likewise.
7078         (tgamma_test): Likewise.
7079         (totalorder_test_data): Likewise.
7080         (totalorder_test): Likewise.
7081         (totalordermag_test_data): Likewise.
7082         (totalordermag_test): Likewise.
7083         (trunc_test_data): Likewise.
7084         (trunc_test): Likewise.
7085         (ufromfp_test_data): Likewise.
7086         (ufromfp_test): Likewise.
7087         (ufromfpx_test_data): Likewise.
7088         (ufromfpx_test): Likewise.
7089         (y0_test_data): Likewise.
7090         (y0_test): Likewise.
7091         (y1_test_data): Likewise.
7092         (y1_test): Likewise.
7093         (yn_test_data): Likewise.
7094         (yn_test): Likewise.
7095         (significand_test_data): Likewise.
7096         (significand_test): Likewise.
7097         * math/Makefile (auto-libm-test-out-files): Remove variable.
7098         (libm-test-funcs-noauto): New variable.
7099         (libm-test-funcs-all): Likewise.
7100         (libm-test-c-auto): Likewise.
7101         (libm-test-c-noauto): Likewise.
7102         (libm-tests-generated): Add $(libm-test-c-auto) and
7103         $(libm-test-c-noauto).
7104         (generated): Do not add auto-libm-test-out.
7105         (libm-test-c-auto-obj): New variable.
7106         (libm-test-c-noauto-obj): Likewise.
7107         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7108         ($(libm-test-c-noauto-obj)): New static pattern rule.
7109         ($(libm-test-c-auto-obj)): Likewise.
7110         (libm-test-incs): New variable.
7111         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7112         and pass it to gen-libm-have-vector-test.sh.
7113         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7114         be passed on command line.
7115         * math/libm-test-acos.inc: New file.  Content from
7116         math/libm-test.inc.
7117         * math/libm-test-acosh.inc: Likewise.
7118         * math/libm-test-asin.inc: Likewise.
7119         * math/libm-test-asinh.inc: Likewise.
7120         * math/libm-test-atan.inc: Likewise.
7121         * math/libm-test-atan2.inc: Likewise.
7122         * math/libm-test-atanh.inc: Likewise.
7123         * math/libm-test-cabs.inc: Likewise.
7124         * math/libm-test-cacos.inc: Likewise.
7125         * math/libm-test-cacosh.inc: Likewise.
7126         * math/libm-test-canonicalize.inc: Likewise.
7127         * math/libm-test-carg.inc: Likewise.
7128         * math/libm-test-casin.inc: Likewise.
7129         * math/libm-test-casinh.inc: Likewise.
7130         * math/libm-test-catan.inc: Likewise.
7131         * math/libm-test-catanh.inc: Likewise.
7132         * math/libm-test-cbrt.inc: Likewise.
7133         * math/libm-test-ccos.inc: Likewise.
7134         * math/libm-test-ccosh.inc: Likewise.
7135         * math/libm-test-ceil.inc: Likewise.
7136         * math/libm-test-cexp.inc: Likewise.
7137         * math/libm-test-cimag.inc: Likewise.
7138         * math/libm-test-clog.inc: Likewise.
7139         * math/libm-test-clog10.inc: Likewise.
7140         * math/libm-test-conj.inc: Likewise.
7141         * math/libm-test-copysign.inc: Likewise.
7142         * math/libm-test-cos.inc: Likewise.
7143         * math/libm-test-cosh.inc: Likewise.
7144         * math/libm-test-cpow.inc: Likewise.
7145         * math/libm-test-cproj.inc: Likewise.
7146         * math/libm-test-creal.inc: Likewise.
7147         * math/libm-test-csin.inc: Likewise.
7148         * math/libm-test-csinh.inc: Likewise.
7149         * math/libm-test-csqrt.inc: Likewise.
7150         * math/libm-test-ctan.inc: Likewise.
7151         * math/libm-test-ctanh.inc: Likewise.
7152         * math/libm-test-erf.inc: Likewise.
7153         * math/libm-test-erfc.inc: Likewise.
7154         * math/libm-test-exp.inc: Likewise.
7155         * math/libm-test-exp10.inc: Likewise.
7156         * math/libm-test-exp2.inc: Likewise.
7157         * math/libm-test-expm1.inc: Likewise.
7158         * math/libm-test-fabs.inc: Likewise.
7159         * math/libm-test-fdim.inc: Likewise.
7160         * math/libm-test-floor.inc: Likewise.
7161         * math/libm-test-fma.inc: Likewise.
7162         * math/libm-test-fmax.inc: Likewise.
7163         * math/libm-test-fmaxmag.inc: Likewise.
7164         * math/libm-test-fmin.inc: Likewise.
7165         * math/libm-test-fminmag.inc: Likewise.
7166         * math/libm-test-fmod.inc: Likewise.
7167         * math/libm-test-fpclassify.inc: Likewise.
7168         * math/libm-test-frexp.inc: Likewise.
7169         * math/libm-test-fromfp.inc: Likewise.
7170         * math/libm-test-fromfpx.inc: Likewise.
7171         * math/libm-test-getpayload.inc: Likewise.
7172         * math/libm-test-hypot.inc: Likewise.
7173         * math/libm-test-ilogb.inc: Likewise.
7174         * math/libm-test-iscanonical.inc: Likewise.
7175         * math/libm-test-iseqsig.inc: Likewise.
7176         * math/libm-test-isfinite.inc: Likewise.
7177         * math/libm-test-isgreater.inc: Likewise.
7178         * math/libm-test-isgreaterequal.inc: Likewise.
7179         * math/libm-test-isinf.inc: Likewise.
7180         * math/libm-test-isless.inc: Likewise.
7181         * math/libm-test-islessequal.inc: Likewise.
7182         * math/libm-test-islessgreater.inc: Likewise.
7183         * math/libm-test-isnan.inc: Likewise.
7184         * math/libm-test-isnormal.inc: Likewise.
7185         * math/libm-test-issignaling.inc: Likewise.
7186         * math/libm-test-issubnormal.inc: Likewise.
7187         * math/libm-test-isunordered.inc: Likewise.
7188         * math/libm-test-iszero.inc: Likewise.
7189         * math/libm-test-j0.inc: Likewise.
7190         * math/libm-test-j1.inc: Likewise.
7191         * math/libm-test-jn.inc: Likewise.
7192         * math/libm-test-lgamma.inc: Likewise.
7193         * math/libm-test-llogb.inc: Likewise.
7194         * math/libm-test-llrint.inc: Likewise.
7195         * math/libm-test-llround.inc: Likewise.
7196         * math/libm-test-log.inc: Likewise.
7197         * math/libm-test-log10.inc: Likewise.
7198         * math/libm-test-log1p.inc: Likewise.
7199         * math/libm-test-log2.inc: Likewise.
7200         * math/libm-test-logb.inc: Likewise.
7201         * math/libm-test-lrint.inc: Likewise.
7202         * math/libm-test-lround.inc: Likewise.
7203         * math/libm-test-modf.inc: Likewise.
7204         * math/libm-test-nearbyint.inc: Likewise.
7205         * math/libm-test-nextafter.inc: Likewise.
7206         * math/libm-test-nextdown.inc: Likewise.
7207         * math/libm-test-nexttoward.inc: Likewise.
7208         * math/libm-test-nextup.inc: Likewise.
7209         * math/libm-test-pow.inc: Likewise.
7210         * math/libm-test-remainder.inc: Likewise.
7211         * math/libm-test-remquo.inc: Likewise.
7212         * math/libm-test-rint.inc: Likewise.
7213         * math/libm-test-round.inc: Likewise.
7214         * math/libm-test-roundeven.inc: Likewise.
7215         * math/libm-test-scalb.inc: Likewise.
7216         * math/libm-test-scalbln.inc: Likewise.
7217         * math/libm-test-scalbn.inc: Likewise.
7218         * math/libm-test-setpayload.inc: Likewise.
7219         * math/libm-test-setpayloadsig.inc: Likewise.
7220         * math/libm-test-signbit.inc: Likewise.
7221         * math/libm-test-significand.inc: Likewise.
7222         * math/libm-test-sin.inc: Likewise.
7223         * math/libm-test-sincos.inc: Likewise.
7224         * math/libm-test-sinh.inc: Likewise.
7225         * math/libm-test-sqrt.inc: Likewise.
7226         * math/libm-test-tan.inc: Likewise.
7227         * math/libm-test-tanh.inc: Likewise.
7228         * math/libm-test-tgamma.inc: Likewise.
7229         * math/libm-test-totalorder.inc: Likewise.
7230         * math/libm-test-totalordermag.inc: Likewise.
7231         * math/libm-test-trunc.inc: Likewise.
7232         * math/libm-test-ufromfp.inc: Likewise.
7233         * math/libm-test-ufromfpx.inc: Likewise.
7234         * math/libm-test-y0.inc: Likewise.
7235         * math/libm-test-y1.inc: Likewise.
7236         * math/libm-test-yn.inc: Likewise.
7237         * math/README.libm-test: Update.
7239         * math/gen-auto-libm-tests.c: Update comment about use of program.
7240         (generate_output): Add argument FUNCTION.
7241         (main): Require extra argument.  Pass function name to
7242         generate_output.
7243         * math/Makefile (generated): Add auto-libm-test-out.
7244         (libm-test-funcs-auto): New variable.
7245         (auto-libm-test-out-files): New variable.
7246         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7247         Concatenate those files to form $(objpfx)auto-libm-test-out and
7248         use it as input to gen-libm-test.pl.
7249         * math/README.libm-test: Update.
7250         * math/auto-libm-test-out: Remove.
7251         * math/auto-libm-test-out-acos: New generated file.
7252         * math/auto-libm-test-out-acosh: Likewise.
7253         * math/auto-libm-test-out-asin: Likewise.
7254         * math/auto-libm-test-out-asinh: Likewise.
7255         * math/auto-libm-test-out-atan: Likewise.
7256         * math/auto-libm-test-out-atan2: Likewise.
7257         * math/auto-libm-test-out-atanh: Likewise.
7258         * math/auto-libm-test-out-cabs: Likewise.
7259         * math/auto-libm-test-out-carg: Likewise.
7260         * math/auto-libm-test-out-cbrt: Likewise.
7261         * math/auto-libm-test-out-ccos: Likewise.
7262         * math/auto-libm-test-out-ccosh: Likewise.
7263         * math/auto-libm-test-out-cexp: Likewise.
7264         * math/auto-libm-test-out-clog: Likewise.
7265         * math/auto-libm-test-out-clog10: Likewise.
7266         * math/auto-libm-test-out-cos: Likewise.
7267         * math/auto-libm-test-out-cosh: Likewise.
7268         * math/auto-libm-test-out-cpow: Likewise.
7269         * math/auto-libm-test-out-csin: Likewise.
7270         * math/auto-libm-test-out-csinh: Likewise.
7271         * math/auto-libm-test-out-csqrt: Likewise.
7272         * math/auto-libm-test-out-ctan: Likewise.
7273         * math/auto-libm-test-out-ctanh: Likewise.
7274         * math/auto-libm-test-out-erf: Likewise.
7275         * math/auto-libm-test-out-erfc: Likewise.
7276         * math/auto-libm-test-out-exp: Likewise.
7277         * math/auto-libm-test-out-exp10: Likewise.
7278         * math/auto-libm-test-out-exp2: Likewise.
7279         * math/auto-libm-test-out-expm1: Likewise.
7280         * math/auto-libm-test-out-fma: Likewise.
7281         * math/auto-libm-test-out-hypot: Likewise.
7282         * math/auto-libm-test-out-j0: Likewise.
7283         * math/auto-libm-test-out-j1: Likewise.
7284         * math/auto-libm-test-out-jn: Likewise.
7285         * math/auto-libm-test-out-lgamma: Likewise.
7286         * math/auto-libm-test-out-log: Likewise.
7287         * math/auto-libm-test-out-log10: Likewise.
7288         * math/auto-libm-test-out-log1p: Likewise.
7289         * math/auto-libm-test-out-log2: Likewise.
7290         * math/auto-libm-test-out-pow: Likewise.
7291         * math/auto-libm-test-out-sin: Likewise.
7292         * math/auto-libm-test-out-sincos: Likewise.
7293         * math/auto-libm-test-out-sinh: Likewise.
7294         * math/auto-libm-test-out-sqrt: Likewise.
7295         * math/auto-libm-test-out-tan: Likewise.
7296         * math/auto-libm-test-out-tanh: Likewise.
7297         * math/auto-libm-test-out-tgamma: Likewise.
7298         * math/auto-libm-test-out-y0: Likewise.
7299         * math/auto-libm-test-out-y1: Likewise.
7300         * math/auto-libm-test-out-yn: Likewise.
7302         * math/Makefile (generated): Do not include libm-test.stmp.
7303         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7304         on $(objpfx)libm-test.stmp.
7305         ($(objpfx)libm-test.stmp): Remove rule.
7306         ($(objpfx)libm-test-ulps.h): New rule.
7307         ($(objpfx)libm-test.c): Likewise.
7308         ($(objpfx)libm-have-vector-test.h): Likewise.
7309         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
7310         individual generated files, not libm-test.stmp.
7312         * math/gen-libm-test.pl ($output_dir): Remove variable.
7313         ($srcdir): Likewise.
7314         ($opt_a): New variable.
7315         ($opt_c): Likewise.
7316         ($opt_C): Likewise.
7317         ($opt_H): Likewise.
7318         (-n): Make option take argument and use it as NewUlps output.
7319         (-a): New option.  Use its argument for auto-libm-test-out input.
7320         (-c): New option.  Use its argument for libm-test.inc input.
7321         (-C): New option.  Use its argument for libm-test.c output.
7322         (-H): New option.  Use its argument for libm-test-ulps.h output.
7323         (top level): Only process inputs needed to generate outputs
7324         specified by command-line options.  Only generate outputs
7325         specified by command-line options.
7326         * math/README.libm-test: Update example gen-libm-test.pl command.
7327         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7328         commands.
7329         (regen-ulps): Likewise.
7331 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
7333         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7334         * include/string.h (index): Remove define.
7335         (rindex): Likewise.
7336         * misc/getttyent.c (__getttyent): Rename index to strchr.
7337         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7338         * sunrpc/rpc_main.c (mkfile_output): Likewise.
7340 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7342         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
7343         * math/libm-test.inc: Move all contents, other than tests of
7344         individual functions, to libm-test-driver.c.
7345         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7346         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7347         [!FE_UPWARD] (FE_UPWARD): Likewise.
7348         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7349         (NO_EXCEPTION): Likewise.
7350         (INVALID_EXCEPTION): Likewise.
7351         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7352         (OVERFLOW_EXCEPTION): Likewise.
7353         (UNDERFLOW_EXCEPTION): Likewise.
7354         (INEXACT_EXCEPTION): Likewise.
7355         (INVALID_EXCEPTION_OK): Likewise.
7356         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7357         (OVERFLOW_EXCEPTION_OK): Likewise.
7358         (UNDERFLOW_EXCEPTION_OK): Likewise.
7359         (NO_INEXACT_EXCEPTION): Likewise.
7360         (EXCEPTIONS_OK): Likewise.
7361         (IGNORE_ZERO_INF_SIGN): Likewise.
7362         (TEST_NAN_SIGN): Likewise.
7363         (TEST_NAN_PAYLOAD): Likewise.
7364         (NO_TEST_INLINE): Likewise.
7365         (XFAIL_TEST): Likewise.
7366         (ERRNO_UNCHANGED): Likewise.
7367         (ERRNO_EDOM): Likewise.
7368         (ERRNO_ERANGE): Likewise.
7369         (IGNORE_RESULT): Likewise.
7370         (NON_FINITE): Likewise.
7371         (TEST_SNAN): Likewise.
7372         (NO_TEST_MATHVEC): Likewise.
7373         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7374         (__CONCATX): Likewise.
7375         (TYPE_MIN): Likewise.
7376         (TYPE_TRUE_MIN): Likewise.
7377         (TYPE_MAX): Likewise.
7378         (MIN_EXP): Likewise.
7379         (MAX_EXP): Likewise.
7380         (MANT_DIG): Likewise.
7381         (FSTR_MAX): Likewise.
7382         (ULP_IDX): Likewise.
7383         (QTYPE_STR): Likewise.
7384         (TEST_COND_binary32): Likewise.
7385         (TEST_COND_binary64): Likewise.
7386         (TEST_COND_binary128): Likewise.
7387         (TEST_COND_ibm128): Likewise.
7388         (TEST_COND_intel96): Likewise.
7389         (TEST_COND_m68k96): Likewise.
7390         (TEST_COND_ibm128_libgcc): Likewise.
7391         (XFAIL_IBM128_LIBGCC): Likewise.
7392         (PAYLOAD_DIG): Likewise.
7393         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7394         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7395         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7396         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7397         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7398         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7399         (TEST_COND_long32): Likewise.
7400         (TEST_COND_long64): Likewise.
7401         (TEST_COND_before_rounding): Likewise.
7402         (TEST_COND_after_rounding): Likewise.
7403         (lit_pi_3_m_4_d): Likewise.
7404         (lit_pi_3_m_4_ln10_m_d): Likewise.
7405         (lit_pi_2_ln10_m_d): Likewise.
7406         (lit_pi_4_ln10_m_d): Likewise.
7407         (lit_pi_ln10_d): Likewise.
7408         (lit_pi_2_d): Likewise.
7409         (lit_pi_4_d): Likewise.
7410         (lit_pi): Likewise.
7411         (lit_e): Likewise.
7412         (ulps_file_name): Likewise.
7413         (ulps_file): Likewise.
7414         (output_ulps): Likewise.
7415         (output_dir): Likewise.
7416         (noErrors): Likewise.
7417         (noTests): Likewise.
7418         (noExcTests): Likewise.
7419         (noErrnoTests): Likewise.
7420         (verbose): Likewise.
7421         (output_max_error): Likewise.
7422         (output_points): Likewise.
7423         (ignore_max_ulp): Likewise.
7424         (plus_zero): Likewise.
7425         (minus_zero): Likewise.
7426         (plus_infty): Likewise.
7427         (minus_infty): Likewise.
7428         (qnan_value_pl): Likewise.
7429         (qnan_value): Likewise.
7430         (snan_value_pl): Likewise.
7431         (snan_value): Likewise.
7432         (max_value): Likewise.
7433         (min_value): Likewise.
7434         (min_subnorm_value): Likewise.
7435         (snan_value_ld): Likewise.
7436         (max_error): Likewise.
7437         (real_max_error): Likewise.
7438         (imag_max_error): Likewise.
7439         (prev_max_error): Likewise.
7440         (prev_real_max_error): Likewise.
7441         (prev_imag_max_error): Likewise.
7442         (max_valid_error): Likewise.
7443         (TYPE_DECIMAL_DIG): Likewise.
7444         (TYPE_HEX_DIG): Likewise.
7445         (fmt_ftostr): Likewise.
7446         (compare_ulp_data): Likewise.
7447         (find_ulps): Likewise.
7448         (init_max_error): Likewise.
7449         (set_max_error): Likewise.
7450         (print_float): Likewise.
7451         (print_screen): Likewise.
7452         (print_screen_max_error): Likewise.
7453         (update_stats): Likewise.
7454         (print_function_ulps): Likewise.
7455         (print_complex_function_ulps): Likewise.
7456         (fpstack_test): Likewise.
7457         (print_max_error): Likewise.
7458         (print_complex_max_error): Likewise.
7459         (test_single_exception): Likewise.
7460         (test_exceptions): Likewise.
7461         (test_single_errno): Likewise.
7462         (test_errno): Likewise.
7463         (ULPDIFF): Likewise.
7464         (ulp): Likewise.
7465         (check_float_internal): Likewise.
7466         (check_float): Likewise.
7467         (check_complex): Likewise.
7468         (check_int): Likewise.
7469         (check_long): Likewise.
7470         (check_bool): Likewise.
7471         (check_longlong): Likewise.
7472         (check_intmax_t): Likewise.
7473         (check_uintmax_t): Likewise.
7474         (enable_test): Likewise.
7475         (struct test_f_f_data): Likewise.
7476         (struct test_ff_f_data): Likewise.
7477         (struct test_fj_f_data): Likewise.
7478         (struct test_fi_f_data): Likewise.
7479         (struct test_fl_f_data): Likewise.
7480         (struct test_if_f_data): Likewise.
7481         (struct test_fff_f_data): Likewise.
7482         (struct test_fiu_M_data): Likewise.
7483         (struct test_fiu_U_data): Likewise.
7484         (struct test_c_f_data): Likewise.
7485         (struct test_f_f1_data): Likewise.
7486         (struct test_fF_f1_data): Likewise.
7487         (struct test_ffI_f1_data): Likewise.
7488         (struct test_c_c_data): Likewise.
7489         (struct test_cc_c_data): Likewise.
7490         (struct test_f_i_data): Likewise.
7491         (struct test_ff_i_data): Likewise.
7492         (struct test_f_l_data): Likewise.
7493         (struct test_f_L_data): Likewise.
7494         (struct test_fFF_11_data): Likewise.
7495         (struct test_Ff_b1_data): Likewise.
7496         (IF_ROUND_INIT_): Likewise.
7497         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7498         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7499         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7500         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7501         (ROUND_RESTORE_): Likewise.
7502         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7503         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7504         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7505         (ROUND_RESTORE_FE_UPWARD): Likewise.
7506         (RM_): Likewise.
7507         (RM_FE_DOWNWARD): Likewise.
7508         (RM_FE_TONEAREST): Likewise.
7509         (RM_FE_TOWARDZERO): Likewise.
7510         (RM_FE_UPWARD): Likewise.
7511         (COMMON_TEST_SETUP): Likewise.
7512         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7513         (COMMON_TEST_CLEANUP): Likewise.
7514         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7515         (RUN_TEST_f_f): Likewise.
7516         (RUN_TEST_LOOP_f_f): Likewise.
7517         (RUN_TEST_fp_f): Likewise.
7518         (RUN_TEST_LOOP_fp_f): Likewise.
7519         (RUN_TEST_2_f): Likewise.
7520         (RUN_TEST_LOOP_2_f): Likewise.
7521         (RUN_TEST_ff_f): Likewise.
7522         (RUN_TEST_LOOP_ff_f): Likewise.
7523         (RUN_TEST_LOOP_fj_f): Likewise.
7524         (RUN_TEST_fi_f): Likewise.
7525         (RUN_TEST_LOOP_fi_f): Likewise.
7526         (RUN_TEST_fl_f): Likewise.
7527         (RUN_TEST_LOOP_fl_f): Likewise.
7528         (RUN_TEST_if_f): Likewise.
7529         (RUN_TEST_LOOP_if_f): Likewise.
7530         (RUN_TEST_fff_f): Likewise.
7531         (RUN_TEST_LOOP_fff_f): Likewise.
7532         (RUN_TEST_fiu_M): Likewise.
7533         (RUN_TEST_LOOP_fiu_M): Likewise.
7534         (RUN_TEST_fiu_U): Likewise.
7535         (RUN_TEST_LOOP_fiu_U): Likewise.
7536         (RUN_TEST_c_f): Likewise.
7537         (RUN_TEST_LOOP_c_f): Likewise.
7538         (RUN_TEST_f_f1): Likewise.
7539         (RUN_TEST_LOOP_f_f1): Likewise.
7540         (RUN_TEST_fF_f1): Likewise.
7541         (RUN_TEST_LOOP_fF_f1): Likewise.
7542         (RUN_TEST_fI_f1): Likewise.
7543         (RUN_TEST_LOOP_fI_f1): Likewise.
7544         (RUN_TEST_ffI_f1_mod8): Likewise.
7545         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7546         (RUN_TEST_Ff_b1): Likewise.
7547         (RUN_TEST_LOOP_Ff_b1): Likewise.
7548         (RUN_TEST_Ffp_b1): Likewise.
7549         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7550         (RUN_TEST_c_c): Likewise.
7551         (RUN_TEST_LOOP_c_c): Likewise.
7552         (RUN_TEST_cc_c): Likewise.
7553         (RUN_TEST_LOOP_cc_c): Likewise.
7554         (RUN_TEST_f_i): Likewise.
7555         (RUN_TEST_LOOP_f_i): Likewise.
7556         (RUN_TEST_f_i_tg): Likewise.
7557         (RUN_TEST_LOOP_f_i_tg): Likewise.
7558         (RUN_TEST_ff_b): Likewise.
7559         (RUN_TEST_LOOP_ff_b): Likewise.
7560         (RUN_TEST_ff_i_tg): Likewise.
7561         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7562         (RUN_TEST_f_b): Likewise.
7563         (RUN_TEST_LOOP_f_b): Likewise.
7564         (RUN_TEST_f_b_tg): Likewise.
7565         (RUN_TEST_LOOP_f_b_tg): Likewise.
7566         (RUN_TEST_f_l): Likewise.
7567         (RUN_TEST_LOOP_f_l): Likewise.
7568         (RUN_TEST_f_L): Likewise.
7569         (RUN_TEST_LOOP_f_L): Likewise.
7570         (RUN_TEST_fFF_11): Likewise.
7571         (RUN_TEST_LOOP_fFF_11): Likewise.
7572         (VEC_SUFF): Likewise.
7573         (STR_CONCAT): Likewise.
7574         (STR_CON3): Likewise.
7575         (HAVE_VECTOR): Likewise.
7576         (START): Likewise.
7577         (END): Likewise.
7578         (END_COMPLEX): Likewise.
7579         (ALL_RM_TEST): Likewise.
7580         (matherr): Likewise.
7581         (initialize): Likewise.
7582         (options): Likewise.
7583         (doc): Likewise.
7584         (parse_opt): Likewise.
7585         (argp): Likewise.
7586         (check_ulp): Likewise.
7587         (main): Likewise.
7588         (do_test): New function.  Call tests of individual functions
7589         previously called from main.
7591         * math/libm-test.inc: Remove comment listing functions tested and
7592         not tested.
7594 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7596         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7597         (allocate_stack): Remove COLORING_INCREMENT usage.
7598         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7599         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7601 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7603         * manual/libm-err-tab.pl (@all_functions): Change to
7604         %all_functions.  Initialize as empty.
7605         (parse_ulps): Add to %all_functions based on functions found in
7606         ulps files.  Ignore results for non-default rounding modes and
7607         vector functions.
7608         (print_platforms): Use %all_platforms.
7609         * manual/math.texi (Errors in Math Functions): Document omissions
7610         from the table.
7612         * math/Makefile (before-compile): Remove.
7614 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7616         [BZ #21075]
7617         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7618         unused assignment.
7619         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7621 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7623         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7624         Add __glibc_unlikely hint.
7626 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7628         [BZ #16640]
7629         * sysdeps/i386/i686/strtok.S: Remove file.
7630         * sysdeps/i386/i686/strtok_r.S: Likewise.
7631         * sysdeps/i386/strtok.S: Likewise.
7632         * sysdeps/i386/strtok_r.S: Likewise.
7633         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7634         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7635         * sysdeps/x86_64/strtok.S: Likewise.
7636         * sysdeps/x86_64/strtok_r.S: Likewise.
7638         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7639         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7641         (__ASSUME_FADVISE64_AS_64_64): Define.
7642         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7643         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7644         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7645         __ALIGNMENT_ARG usage.
7646         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7647         __NR_fadvise64_64 if it is not defined.
7649 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7651         * version.h (RELEASE): Set to "development"
7652         (VERSION): Set to 2.25.90.
7653         * NEWS: Add 2.26 section.
7655         * version.h (RELEASE): Set to "stable"
7656         (VERSION): Set to 2.25.
7657         * include/features.h (__GLIBC_MINOR__): Set to 25.
7659         * manual/contrib.texi: Add more contributors from this release
7660         and past releases.
7662         * NEWS (2.25): Add list of bugs fixed.
7664         * NEWS: Add missing news items.
7666 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7668         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7669         parent if child exited in that manner.  Print WEXITSTATUS
7670         instead of the raw status.
7671         (do_test_prep): Rename to do_test.
7672         (do_test): Return the result of run_executable_sgid.
7673         (TEST_FUNCTION_ARGV): Adjust.
7675 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7676             Florian Weimer  <fweimer@redhat.com>
7677             Carlos O'Donell  <carlos@redhat.com>
7679         [BZ #20915]
7680         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7681         Do not initialize DTV.
7682         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7684 2017-02-03  David S. Miller  <davem@davemloft.net>
7686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7694         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7695         (libm-sysdep_routines): Update.
7696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7701         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7702         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7703         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7704         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7706         Likewise.
7707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7709         Likewise.
7710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7712         Likewise.
7713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7715         Likewise.
7716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7718         (libm-sysdep_routines): Update.
7720 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
7722         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7723         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7724         against unrelocated shared library.
7725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7727 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7729         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7730         * elf/tst-env-setuid-tunables.c
7731         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7732         GLIBC_TUNABLES is removed in a setgid process.
7734         [BZ #21073]
7735         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7736         * elf/dl-tunables.c (tunables_strdup): Remove.
7737         (get_next_env): Also return the previous envp.
7738         (parse_tunables): Erase tunables of category
7739         TUNABLES_SECLEVEL_SXID_ERASE.
7740         (maybe_enable_malloc_check): Make MALLOC_CHECK_
7741         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7742         (__tunables_init)[TUNABLES_FRONTEND ==
7743         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7744         after parsing.
7745         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7746         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7747         * elf/dl-tunables.h (struct _tunable): Change member is_secure
7748         to security_level.
7749         * elf/dl-tunables.list: Add security_level annotations for all
7750         tunables.
7751         * scripts/gen-tunables.awk: Recognize and generate enum values
7752         for security_level.
7753         * elf/tst-env-setuid.c: New test case.
7754         * elf/tst-env-setuid-tunables: new test case.
7755         * elf/Makefile (tests-static): Add them.
7757 2017-02-01  Richard Henderson  <rth@twiddle.net>
7759         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7760         adjusting the byte count.
7762 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
7764         * conform/Makefile (linknamespace-libs): Define.
7766         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7767         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7768         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7769         operands.
7771 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
7773         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7775 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7777         [BZ #21081]
7778         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7779         (L(stosb)): Add VZEROUPPER before ret.
7781 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
7782             Alexey Makhalov <amakhalov@vmware.com>
7783             Florian Weimer <fweimer@redhat.com>
7785         [BZ #20116]
7786         * nptl/pthread_create.c: Document concurrency notes.
7787         Enhance thread creation notes.
7788         (create_thread): Use bool *stopped_start.
7789         (START_THREAD_DEFN): Comment ownership of PD.
7790         (__pthread_create_2_1): Add local bool stopped_start and use
7791         that instead of pd->stopped_start where appropriate.
7792         * nptl/createthread.c (create_thread): Use bool *stopped_start.
7793         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7794         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7795         * nptl/tst-create-detached.c: New file.
7796         * nptl/Makefile (tests): Add tst-create-detached.
7797         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7798         Reference the enhanced thread creation notes.
7799         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7800         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7801         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7802         (__pthread_current_priority): Likewise.
7803         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7804         xpthread_attr_init, xpthread_attr_setdetachstate, and
7805         xpthread_attr_setstacksize.
7806         * support/xpthread_attr_destroy.c: New file.
7807         * support/xpthread_attr_init.c: New file.
7808         * support/xpthread_attr_setdetachstate.c: New file.
7809         * support/xpthread_attr_setstacksize.c: New file.
7810         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7811         xpthread_attr_init, xpthread_attr_setdetachstate, and
7812         xpthread_attr_setstacksize.
7814 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7816         * nptl/Makefile (tests): Add tst-robust-fork.
7817         * nptl/tst-robust-fork.c: New file.
7818         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7819         xpthread_mutex_consistent, xpthread_mutex_destroy,
7820         xpthread_mutex_init, xpthread_mutexattr_destroy,
7821         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7822         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7823         xpthread_mutexattr_settype.
7824         * support/xmmap.c: New file.
7825         * support/xmunmap.c: Likewise.
7826         * support/xpthread_mutex_consistent.c: Likewise.
7827         * support/xpthread_mutex_destroy.c: Likewise.
7828         * support/xpthread_mutex_init.c: Likewise.
7829         * support/xpthread_mutexattr_destroy.c: Likewise.
7830         * support/xpthread_mutexattr_init.c: Likewise.
7831         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7832         * support/xpthread_mutexattr_setpshared.c: Likewise.
7833         * support/xpthread_mutexattr_setrobust.c: Likewise.
7834         * support/xpthread_mutexattr_settype.c: Likewise.
7835         * support/xthread.h (xpthread_mutexattr_destroy)
7836         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7837         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7838         (xpthread_mutexattr_settype, xpthread_mutex_init)
7839         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7840         * support/xunistd.h (xmmap, xmunmap): Likewise.
7842 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7844         * string/Makefile (xtests): Add comment.
7845         (LOCALES): Add en_GB.UTF-8.
7846         (tst-strcoll-overflow.out): Depend on generated locales.
7847         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7848         (SIZE, TIMEOUT): Update comments.
7849         (do_test): Define as static.  Fail test if setlocale fails.
7850         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7851         messages.
7852         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7853         TIMEOUT at 300 seconds should be enough to run this test
7854         successfully.
7856 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7858         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7859         /* FALLTHRU */ comments.
7861 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7863         [BZ #21053]
7864         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7865         constants instead of the old R* ones.
7866         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7867         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7868         (NGREG): ... to this, to fit in with other architectures.
7869         (gpregset_t): Use new NGREG macro.
7870         [__USE_GNU]: Remove condition; all architectures other than tile
7871         are unconditional.
7872         (R*): Rename to REG_R*.
7874 2017-01-20  DJ Delorie  <dj@redhat.com>
7876         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7877         (tunable_set_val_if_valid_range_signed) ... this, and ...
7878         (tunable_set_val_if_valid_range_unsigned) ... this.
7879         (tunable_initialize): Call the correct one of the above based on type.
7881 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7883         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7884         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7885         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7886         * sysdeps/microblaze/libm-test-ulps: Likewise.
7887         * sysdeps/sh/libm-test-ulps: Likewise.
7889         * math/README.libm-test: Update list of characters for input and
7890         output types.
7892 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7894         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7895         (__lll_unlock_elision): Fix adapt_count decrement.
7897 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7899         * README.pretty-printers (Known issues): Warn about printers not
7900         always covering everything.
7901         * nptl/nptl-printers.py (MutexPrinter): Change output.
7902         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7904 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7906         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7907         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7908         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7909         (__lll_lock_elision): Do not test futex before starting a
7910         transaction.  Use __glibc_likely instead of __builtin_expect.
7911         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7912         (__lll_trylock_elision): Do not test futex before starting a
7913         transaction.  Use __glibc_likely instead of __builtin_expect.
7915 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7917         * po/Makefile (update-translations): New target.
7919 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7921         [BZ #21061]
7922         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7924 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7926         * elf/dl-tunables (get_next_env): Always advance envp.
7927         * stdlib/tst-empty-env.c: New test case.
7928         * stdlib/Makefile (tests): Use it.
7930 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7932         [BZ #21047]
7933         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7934         name for instruction.
7935         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7937 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7939         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7940         for make install.
7942 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7944         * po/bg.po: Merge from Translation Project.
7945         * po/fr.po: Likewise.
7946         * po/ko.po: Likewise.
7947         * po/nl.po: Likewise.
7948         * po/sv.po: Likewise.
7950 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7952         * manual/install.texi (Tools for Compilation): Update GCC version
7953         known to work to build glibc.
7954         * INSTALL: Regenerated.
7956 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7958         [BZ #21006]
7959         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7961 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7963         [BZ #21045]
7964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7965         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7966         to __sigprocmask.
7968 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7970         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7971         wrap-around.
7972         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7974         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7976 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7978         * NEWS: Fix typo.
7980 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7982         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7983         barriers and comments.
7984         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7985         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7986         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7988 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7990         [BZ #19402]
7991         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7992         mutexes.
7994 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7996         [BZ #20985]
7997         * nptl/Makefile: Adapt.
7998         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7999         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8000         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8001         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8002         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8003         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8004         lll_robust* functions and adapt.
8005         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8006         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8007         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8008         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8010         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8011         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8012         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8013         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8014         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8015         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8016         * nptl/lowlevelrobustlock.c: Remove file.
8017         * nptl/lowlevelrobustlock.sym: Likewise.
8018         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8019         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8021 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8023         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8025 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8027         * po/cs.po: Merge translations from the Translation Project.
8028         * po/de.po: Likewise.
8029         * po/pl.po: Likewise.
8030         * po/ru.po: Likewise.
8031         * po/tr.po: Likewise.
8032         * po/uk.po: Likewise.
8033         * po/vi.po: Likewise.
8034         * po/zh_CN.po: Likewise.
8036 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8038         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8040         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8041         object.
8043 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #16458]
8046         * bits/uintn-identity.h: New file.
8047         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8048         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8049         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8050         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8051         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8052         * string/endian.h: Include <bits/uintn-identity.h>.
8053         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8054         __uint16_identity.
8055         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8056         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8057         __uint32_identity.
8058         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8059         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8060         __uint64_identity.
8061         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8062         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8063         __uint16_identity.
8064         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8065         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8066         __uint32_identity.
8067         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8068         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8069         __uint64_identity.
8070         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8071         * string/Makefile (headers): Add bits/uintn-identity.h.
8072         (tests): Add test-endian-types.
8073         * string/test-endian-types.c: New file.
8074         * inet/Makefile (tests): Add test-hnto-types.
8075         * inet/test-hnto-types.c: New file.
8077 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8079         * po/be.po: Update from Translation Project.
8080         * po/bg.po: Likewise.
8081         * po/ca.po: Likewise.
8082         * po/cs.po: Likewise.
8083         * po/da.po: Likewise.
8084         * po/de.po: Likewise.
8085         * po/el.po: Likewise.
8086         * po/eo.po: Likewise.
8087         * po/es.po: Likewise.
8088         * po/fi.po: Likewise.
8089         * po/fr.po: Likewise.
8090         * po/gl.po: Likewise.
8091         * po/hr.po: Likewise.
8092         * po/hu.po: Likewise.
8093         * po/ia.po: Likewise.
8094         * po/id.po: Likewise.
8095         * po/it.po: Likewise.
8096         * po/ja.po: Likewise.
8097         * po/ko.po: Likewise.
8098         * po/lt.po: Likewise.
8099         * po/nb.po: Likewise.
8100         * po/nl.po: Likewise.
8101         * po/pl.po: Likewise.
8102         * po/pt_BR.po: Likewise.
8103         * po/ru.po: Likewise.
8104         * po/rw.po: Likewise.
8105         * po/sk.po: Likewise.
8106         * po/sl.po: Likewise.
8107         * po/sv.po: Likewise.
8108         * po/tr.po: Likewise.
8109         * po/uk.po: Likewise.
8110         * po/vi.po: Likewise.
8111         * po/zh_CN.po: Likewise.
8112         * po/zh_TW.po: Likewise.
8114 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8116         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8117         -Wformat-truncation instead of -Wformat-length.
8118         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8119         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8120         GCC 7.
8121         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8122         (do_test): Ignore -Wformat-truncation for GCC 7.
8124         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8125         buffer used to print long int value.
8127         * elf/sotruss-lib.c (init): Increase space allocated for pid by
8128         one byte.  Print it with %ld, cast to long int.
8130 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8132         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8133         (re.fullmatch, subprocess.run): Likewise.
8135 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8137         * po/libc.pot: Regenerate.
8139 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8141         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8142         (min_strlen): Likewise.
8143         (disable_tunable): Likewise.
8144         (maybe_disable_malloc_check): Rename to
8145         maybe_enable_malloc_check.
8146         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8147         if /etc/suid-debug file exists.
8148         (__tunables_init): Update caller.
8149         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8150         secure.
8152 2016-01-10  Torvald Riegel  <triegel@redhat.com>
8154         * nptl/DESIGN-rwlock.txt: Remove.
8155         * nptl/lowlevelrwlock.sym: Remove.
8156         * nptl/Makefile: Add new tests.
8157         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
8158         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8159         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8160         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8161         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8162         PTHREAD_RWLOCK_FUTEX_USED): New.
8163         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8164         implementation.
8165         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8166         (__pthread_rwlock_rdlock): Adapt.
8167         * nptl/pthread_rwlock_timedrdlock.c
8168         (pthread_rwlock_timedrdlock): Adapt.
8169         * nptl/pthread_rwlock_timedwrlock.c
8170         (pthread_rwlock_timedwrlock): Adapt.
8171         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8172         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8173         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8174         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8175         (__pthread_rwlock_wrlock): Adapt.
8176         * nptl/tst-rwlock10.c: Adapt.
8177         * nptl/tst-rwlock11.c: Adapt.
8178         * nptl/tst-rwlock17.c: New file.
8179         * nptl/tst-rwlock18.c: New file.
8180         * nptl/tst-rwlock19.c: New file.
8181         * nptl/tst-rwlock2b.c: New file.
8182         * nptl/tst-rwlock8.c: Adapt.
8183         * nptl/tst-rwlock9.c: Adapt.
8184         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8185         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8186         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8187         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8188         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8189         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8190         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8191         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8192         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8193         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8194         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8195         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8196         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8197         (pthread_rwlock_t): Adapt.
8198         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8199         (pthread_rwlock_t): Adapt.
8200         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8201         * nptl/nptl-printers.py (): Adapt.
8202         * nptl/nptl_lock_constants.pysym: Adapt.
8203         * nptl/test-rwlock-printers.py: Adapt.
8204         * nptl/test-rwlockattr-printers.c: Adapt.
8205         * nptl/test-rwlockattr-printers.py: Adapt.
8207 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
8209         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8210         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8211         (fma_test_data): Likewise.
8212         (hypot_test_data): Likewise.
8213         (log1p_test_data): Likewise.
8214         (modf_test_data): Likewise.
8215         (pow_test_data): Likewise.
8216         (remainder_test_data): Likewise.
8217         (remquo_test_data): Likewise.
8218         (scalb_test_data): Likewise.
8219         (scalbn_test_data): Likewise.
8220         (scalbln_test_data): Likewise.
8221         * math/gen-libm-test.pl (parse_args): Transform
8222         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8223         on the rounding mode.
8225 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
8227         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8228         xfail-rounding:ibm128-libgcc automatically to tests overflowing
8229         and those that can underflow to zero.
8230         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8231         add others.
8232         * math/auto-libm-test-out: Regenerated.
8234         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8235         supported.
8236         (feholdexcept_tests): Skip tests requiring exceptions or rounding
8237         modes support if not supported.
8239         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8240         Add libc.so PLT entry.
8241         (__tls_get_addr): Make ld.so PLT entry optional.
8243 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8245         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8246         * string/bits/string3.h: ... here.
8248 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8250         [BZ #21028]
8251         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8252         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8253         if EXCEPTION_TESTS returns false.
8255 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8257         [BZ #20558]
8258         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
8259         strings_fortified.h.
8260         [__USE_MISC] (bzero): Likewise.
8261         [__USE_MISC] (explicit_bzero): Likewise.
8262         * string/strings.h: Include strings_fortified.h.
8263         * string/Makefile (headers): Add strings_fortified.h.
8264         * string/bits/strings_fortified.h: New file.
8265         * include/bits/strings_fortified.h: Likewise.
8267 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8269         * elf/tst-tls13.c (TIMEOUT): Remove.
8270         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
8271         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
8272         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
8273         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8274         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8276         [BZ #21026]
8277         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8278         (readahead): New syscall entry.
8280 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8282         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8283         around tests of strncat with large sizes.
8285         * malloc/tst-malloc.c: Include <libc-internal.h>.
8286         (do_test): Disable -Walloc-size-larger-than= around tests of
8287         malloc with negative sizes.
8288         * malloc/tst-mcheck.c: Include <libc-internal.h>.
8289         (do_test): Disable -Walloc-size-larger-than= around tests of
8290         malloc and realloc with negative sizes.
8291         * malloc/tst-realloc.c: Include <libc-internal.h>.
8292         (do_test): Disable -Walloc-size-larger-than= around tests of
8293         realloc with negative sizes.
8295         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8296         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8297         allowed to 16 ulps.
8298         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8299         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
8300         * math/auto-libm-test-out: Regenerated.
8302 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8304         * math/Makefile (libm-calls): Move wrappers...
8305         (libm-compat-call-auto): Here.
8306         (libm-routines): Add items in libm-compat-calls-auto.
8307         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8308         the filenames of the wrappers that have been renamed.
8309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
8310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8312         * math/w_acos.c: Add _compat suffix to filename.
8313         * math/w_acosf.c: Likewise.
8314         * math/w_acosh.c: Likewise.
8315         * math/w_acoshf.c: Likewise.
8316         * math/w_acoshl.c: Likewise.
8317         * math/w_acosl.c: Likewise.
8318         * math/w_asin.c: Likewise.
8319         * math/w_asinf.c: Likewise.
8320         * math/w_asinl.c: Likewise.
8321         * math/w_atan2.c: Likewise.
8322         * math/w_atan2f.c: Likewise.
8323         * math/w_atan2l.c: Likewise.
8324         * math/w_atanh.c: Likewise.
8325         * math/w_atanhf.c: Likewise.
8326         * math/w_atanhl.c: Likewise.
8327         * math/w_cosh.c: Likewise.
8328         * math/w_coshf.c: Likewise.
8329         * math/w_coshl.c: Likewise.
8330         * math/w_exp10.c: Likewise.
8331         * math/w_exp10f.c: Likewise.
8332         * math/w_exp10l.c: Likewise.
8333         * math/w_exp2.c: Likewise.
8334         * math/w_exp2f.c: Likewise.
8335         * math/w_exp2l.c: Likewise.
8336         * math/w_fmod.c: Likewise.
8337         * math/w_fmodf.c: Likewise.
8338         * math/w_fmodl.c: Likewise.
8339         * math/w_hypot.c: Likewise.
8340         * math/w_hypotf.c: Likewise.
8341         * math/w_hypotl.c: Likewise.
8342         * math/w_j0.c: Likewise.
8343         * math/w_j0f.c: Likewise.
8344         * math/w_j0l.c: Likewise.
8345         * math/w_j1.c: Likewise.
8346         * math/w_j1f.c: Likewise.
8347         * math/w_j1l.c: Likewise.
8348         * math/w_jn.c: Likewise.
8349         * math/w_jnf.c: Likewise.
8350         * math/w_jnl.c: Likewise.
8351         * math/w_log10.c: Likewise.
8352         * math/w_log10f.c: Likewise.
8353         * math/w_log10l.c: Likewise.
8354         * math/w_log2.c: Likewise.
8355         * math/w_log2f.c: Likewise.
8356         * math/w_log2l.c: Likewise.
8357         * math/w_log.c: Likewise.
8358         * math/w_logf.c: Likewise.
8359         * math/w_logl.c: Likewise.
8360         * math/w_pow.c: Likewise.
8361         * math/w_powf.c: Likewise.
8362         * math/w_powl.c: Likewise.
8363         * math/w_remainder.c: Likewise.
8364         * math/w_remainderf.c: Likewise.
8365         * math/w_remainderl.c: Likewise.
8366         * math/w_scalb.c: Likewise.
8367         * math/w_scalbf.c: Likewise.
8368         * math/w_scalbl.c: Likewise.
8369         * math/w_sinh.c: Likewise.
8370         * math/w_sinhf.c: Likewise.
8371         * math/w_sinhl.c: Likewise.
8372         * math/w_sqrt.c: Likewise.
8373         * math/w_sqrtf.c: Likewise.
8374         * math/w_sqrtl.c: Likewise.
8375         * math/w_tgamma.c: Likewise.
8376         * math/w_tgammaf.c: Likewise.
8377         * math/w_tgammal.c: Likewise.
8379         * math/w_acos_compat.c: New file copied from above and
8380         adjusted for new #includes path
8381         * math/w_acosf_compat.c: Likewise.
8382         * math/w_acosh_compat.c: Likewise.
8383         * math/w_acoshf_compat.c: Likewise.
8384         * math/w_acoshl_compat.c: Likewise.
8385         * math/w_acosl_compat.c: Likewise.
8386         * math/w_asin_compat.c: Likewise.
8387         * math/w_asinf_compat.c: Likewise.
8388         * math/w_asinl_compat.c: Likewise.
8389         * math/w_atan2_compat.c: Likewise.
8390         * math/w_atan2f_compat.c: Likewise.
8391         * math/w_atan2l_compat.c: Likewise.
8392         * math/w_atanh_compat.c: Likewise.
8393         * math/w_atanhf_compat.c: Likewise.
8394         * math/w_atanhl_compat.c: Likewise.
8395         * math/w_cosh_compat.c: Likewise.
8396         * math/w_coshf_compat.c: Likewise.
8397         * math/w_coshl_compat.c: Likewise.
8398         * math/w_exp10_compat.c: Likewise.
8399         * math/w_exp10f_compat.c: Likewise.
8400         * math/w_exp10l_compat.c: Likewise.
8401         * math/w_exp2_compat.c: Likewise.
8402         * math/w_exp2f_compat.c: Likewise.
8403         * math/w_exp2l_compat.c: Likewise.
8404         * math/w_fmod_compat.c: Likewise.
8405         * math/w_fmodf_compat.c: Likewise.
8406         * math/w_fmodl_compat.c: Likewise.
8407         * math/w_hypot_compat.c: Likewise.
8408         * math/w_hypotf_compat.c: Likewise.
8409         * math/w_hypotl_compat.c: Likewise.
8410         * math/w_j0_compat.c: Likewise.
8411         * math/w_j0f_compat.c: Likewise.
8412         * math/w_j0l_compat.c: Likewise.
8413         * math/w_j1_compat.c: Likewise.
8414         * math/w_j1f_compat.c: Likewise.
8415         * math/w_j1l_compat.c: Likewise.
8416         * math/w_jn_compat.c: Likewise.
8417         * math/w_jnf_compat.c: Likewise.
8418         * math/w_jnl_compat.c: Likewise.
8419         * math/w_log10_compat.c: Likewise.
8420         * math/w_log10f_compat.c: Likewise.
8421         * math/w_log10l_compat.c: Likewise.
8422         * math/w_log2_compat.c: Likewise.
8423         * math/w_log2f_compat.c: Likewise.
8424         * math/w_log2l_compat.c: Likewise.
8425         * math/w_log_compat.c: Likewise.
8426         * math/w_logf_compat.c: Likewise.
8427         * math/w_logl_compat.c: Likewise.
8428         * math/w_pow_compat.c: Likewise.
8429         * math/w_powf_compat.c: Likewise.
8430         * math/w_powl_compat.c: Likewise.
8431         * math/w_remainder_compat.c: Likewise.
8432         * math/w_remainderf_compat.c: Likewise.
8433         * math/w_remainderl_compat.c: Likewise.
8434         * math/w_scalb_compat.c: Likewise.
8435         * math/w_scalbf_compat.c: Likewise.
8436         * math/w_scalbl_compat.c: Likewise.
8437         * math/w_sinh_compat.c: Likewise.
8438         * math/w_sinhf_compat.c: Likewise.
8439         * math/w_sinhl_compat.c: Likewise.
8440         * math/w_sqrt_compat.c: Likewise.
8441         * math/w_sqrtf_compat.c: Likewise.
8442         * math/w_sqrtl_compat.c: Likewise.
8443         * math/w_tgamma_compat.c: Likewise.
8444         * math/w_tgammaf_compat.c: Likewise.
8445         * math/w_tgammal_compat.c: Likewise.
8447         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8448         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8449         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8450         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8451         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8452         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8453         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8454         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8455         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8456         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8457         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8458         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8459         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8460         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8461         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8462         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8463         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8464         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8465         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8466         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8467         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8468         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8469         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8470         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8471         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8472         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8473         * sysdeps/ia64/fpu/w_log.c: Likewise.
8474         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8475         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8476         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8477         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8478         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8479         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8480         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8481         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8482         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8483         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8484         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8485         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8486         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8487         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8488         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8489         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8490         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8491         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8492         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8493         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8494         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8495         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8496         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8497         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8498         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8499         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8500         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8501         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8502         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8503         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8504         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8505         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8506         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8507         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8508         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8510         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8512         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8513         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8514         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8515         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8516         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8517         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8518         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8519         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8520         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8522         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8524         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8525         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8526         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8527         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8528         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8529         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8530         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8531         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8532         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8533         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8534         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8535         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8536         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8537         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8538         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8540         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8541         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8542         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8543         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8544         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8546         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8548         Likewise.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8550         Likewise.
8551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8553         Likewise.
8554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8555         Likewise.
8556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8559         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8560         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8561         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8562         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8567         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8569         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8570         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8572         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8573         and adjusted for new #includes path
8574         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8575         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8576         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8577         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8578         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8579         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8580         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8581         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8582         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8583         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8584         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8585         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8586         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8587         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8588         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8589         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8590         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8591         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8592         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8593         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8594         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8595         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8596         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8597         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8598         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8599         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8600         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8601         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8602         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8603         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8604         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8605         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8606         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8607         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8608         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8609         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8610         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8611         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8612         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8613         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8614         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8615         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8616         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8617         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8618         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8619         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8620         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8621         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8622         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8623         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8624         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8625         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8626         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8627         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8628         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8629         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8630         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8631         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8632         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8633         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8634         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8635         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8636         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8637         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8638         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8639         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8640         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8641         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8642         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8643         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8644         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8645         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8646         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8647         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8648         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8649         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8650         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8651         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8652         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8653         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8654         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8655         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8656         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8657         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8658         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8659         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8660         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8661         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8662         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8663         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8664         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8665         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8666         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8667         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8668         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8669         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8670         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8671         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8672         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8674         Likewise.
8675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8676         Likewise.
8677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8678         Likewise.
8679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8680         Likewise.
8681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8682         Likewise.
8683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8684         Likewise.
8685         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8686         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8687         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8688         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8689         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8690         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8692         Likewise.
8693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8694         Likewise.
8695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8696         Likewise.
8697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8698         Likewise.
8699         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8700         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8701         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8702         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8704 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8706         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8707         __jmp_buf_internal_tag.
8709         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8710         preserve NaN payload if [__mips_nan2008].
8711         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8713         [BZ #21022]
8714         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8716 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8718         * sysdeps/i386/fpu/libm-test-ulps: Update.
8720 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8722         * sysdeps/ia64/strcat.c: Remove file.
8723         * sysdeps/powerpc/strcat.c: Likewise.
8724         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8725         C implementation.
8726         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8727         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8729 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8730             Steven Munroe  <sjmunroe@us.ibm.com>
8731             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8733         [BZ #20822]
8734         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8735         (__lll_lock_elision): Access adapt_count via C11 atomics.
8736         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8737         (__lll_trylock_elision): Likewise.
8738         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8739         (__lll_unlock_elision):  Update adapt_count variable inside the
8740         critical section using C11 atomics.
8742 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8744         * math/test-fenvinline.c (do_test): Disable tests of raised
8745         exceptions if !EXCEPTION_TESTS (FLOAT).
8747 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8749         [BZ #19390]
8750         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8751         maximum string size.
8752         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8753         in pointer addition.
8754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8755         Likewise.
8757 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8759         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8760         passed to tst-ldconfig-X.sh.
8762 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
8764         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8766 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #21019]
8769         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8770         New syscall entry.
8771         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8772         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8773         lseek.
8775         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8776         power4 glibc for powerpc-linux-gnu.
8778 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8780         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8781         semctl.
8783 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8785         * math/test-nearbyint-except.c: Include <stdbool.h>.
8786         (any_supported): New variable.
8787         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
8788         set any_supported.
8789         (do_test): Return 77 if no floating-point type supported
8790         exceptions.
8792         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8793         condition on [__mips_hard_float].
8795 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8797         [BZ #21014]
8798         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8799         in pointer addition.
8800         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8802 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8804         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8805         new condvar.
8807 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8809         * scripts/build-many-glibcs.py (Context.checkout): Default
8810         binutils version to 2.28 branch.
8812 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8814         * support/support_format_netent.c (support_format_netent): Work
8815         around alpha struct netent definition difference.
8817 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8819         * support/xwrite.c (xwrite): Use %td for pointer difference.
8821 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8823         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8824         have-tunables only.
8825         (tests-static): Add tst-malloc-usable-static-tunables for
8826         have-tunables only.
8828 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8830         * scripts/config.guess: Update to version 2017-01-01.
8831         * scripts/config.sub: Update to version 2017-01-01.
8833         * NEWS: Update copyright dates.
8834         * catgets/gencat.c (print_version): Likewise.
8835         * csu/version.c (banner): Likewise.
8836         * debug/catchsegv.sh: Likewise.
8837         * debug/pcprofiledump.c (print_version): Likewise.
8838         * debug/xtrace.sh (do_version): Likewise.
8839         * elf/ldconfig.c (print_version): Likewise.
8840         * elf/ldd.bash.in: Likewise.
8841         * elf/pldd.c (print_version): Likewise.
8842         * elf/sotruss.sh: Likewise.
8843         * elf/sprof.c (print_version): Likewise.
8844         * iconv/iconv_prog.c (print_version): Likewise.
8845         * iconv/iconvconfig.c (print_version): Likewise.
8846         * locale/programs/locale.c (print_version): Likewise.
8847         * locale/programs/localedef.c (print_version): Likewise.
8848         * login/programs/pt_chown.c (print_version): Likewise.
8849         * malloc/memusage.sh (do_version): Likewise.
8850         * malloc/memusagestat.c (print_version): Likewise.
8851         * malloc/mtrace.pl: Likewise.
8852         * manual/libc.texinfo: Likewise.
8853         * nptl/version.c (banner): Likewise.
8854         * nscd/nscd.c (print_version): Likewise.
8855         * nss/getent.c (print_version): Likewise.
8856         * nss/makedb.c (print_version): Likewise.
8857         * posix/getconf.c (main): Likewise.
8858         * scripts/test-installation.pl: Likewise.
8859         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8861         * All files with FSF copyright notices: Update copyright dates
8862         using scripts/update-copyrights.
8863         * intl/plural.c: Regenerated.
8864         * locale/programs/charmap-kw.h: Likewise.
8865         * locale/programs/locfile-kw.h: Likewise.
8867 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8869         [BZ #20593]
8870         Update DNS RR type definitions.
8871         * scripts/gen-rrtypes.py: New file.
8872         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8873         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8874         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8875         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8876         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8877         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8878         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8879         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8880         ns_t_ta, ns_t_dlv.
8881         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8882         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8883         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8884         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8885         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8886         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8887         Define.
8888         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8889         entry for ns_t_zxfr.
8891 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8893         [BZ #18784]
8894         CVE-2015-5180
8895         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8896         T_UNSPEC.  Adjust value.
8897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8898         * resolv/res_query.c (__libc_res_nquery): Likewise.
8899         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8900         QTYPEs.
8901         * resolv/tst-resolv-qtypes.c: New file.
8902         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8903         (tst-resolv-qtypes): Link against libresolv and libpthread.
8905 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8907         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8909 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8911         * manual/tunables.texi: New chapter.
8912         * manual/Makefile (chapters): Add it.
8913         * manual/probes.texi (@node): Point to the Tunables chapter.
8915         * Makeconfig (have-tunables): Check for non-negative instead
8916         of positive.
8917         * configure.ac: Add 'valstring' as a valid value for
8918         --enable-tunables.
8919         * configure: Regenerate.
8920         * elf/Makefile (have-tunables): Check for non-negative instead
8921         of positive.
8922         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8923         dl-tunables.c.
8924         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8925         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8926         (tunables_strdup): Likewise.
8927         (disable_tunables): Likewise.
8928         (parse_tunables): Likewise.
8929         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8930         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8931         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8932         (TUNABLES_FRONTEND_yes): New macro, define as
8933         TUNABLES_FRONTEND_valstring by default.
8934         * manual/install.texi: Document new acceptable values for
8935         --enable-tunables.
8936         * INSTALL: Regenerate.
8938         * config.make.in (have-loop-to-function): Define.
8939         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8940         -fno-tree-loop-distribute-patterns.
8941         * elf/dl-tunables.c: Include libc-internals.h.
8942         (GLIBC_TUNABLES): New macro.
8943         (tunables_strdup): New function.
8944         (parse_tunables): New function.
8945         (min_strlen): New function.
8946         (__tunables_init): Use the new functions and macro.
8947         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8948         * malloc/tst-malloc-usable-tunables.c: New test case.
8949         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8950         * malloc/Makefile (tests, tests-static): Add tests.
8952         * manual/install.texi: Add --enable-tunables option.
8953         * INSTALL: Regenerate.
8954         * README.tunables: New file.
8955         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8956         (before-compile): Generate dl-tunable-list.h early.
8957         * config.h.in: Add HAVE_TUNABLES.
8958         * config.make.in: Add have-tunables.
8959         * configure.ac: Add --enable-tunables option.
8960         * configure: Regenerate.
8961         * csu/init-first.c (__libc_init_first): Move
8962         __libc_init_secure earlier...
8963         * csu/init-first.c (LIBC_START_MAIN):... to here.
8964         Include dl-tunables.h, libc-internal.h.
8965         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8966         binaries.
8967         * elf/Makefile (dl-routines): Add dl-tunables.
8968         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8969         namespace.
8970         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8971         only when !HAVE_TUNABLES.
8972         * elf/rtld.c (process_envvars): Likewise.
8973         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8974         (_dl_sysdep_start): Call __tunables_init.
8975         * elf/dl-tunable-types.h: New file.
8976         * elf/dl-tunables.c: New file.
8977         * elf/dl-tunables.h: New file.
8978         * elf/dl-tunables.list: New file.
8979         * malloc/tst-malloc-usable-static.c: New test case.
8980         * malloc/Makefile (tests-static): Add it.
8981         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8982         Define TUNABLE_NAMESPACE.
8983         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8984         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8985         callback functions.
8986         (ptmalloc_init): Set tunable values.
8987         * scripts/gen-tunables.awk: New file.
8988         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8989         (_dl_sysdep_start): Call __tunables_init.
8991 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8993         * resolv/resolv.h (RES_BLAST): Deprecate.
8994         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8995         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8996         to RES_BLAST.
8998 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9000         [BZ #19582]
9001         Deprecate RES_USE_INET6.
9002         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9003         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9004         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9005         RES_USE_INET6.
9006         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9007         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9008         (_nss_nisplus_gethostbyaddr_r): Likewise.
9009         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9010         of res_use_inet6.
9011         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9012         instead of RES_USE_INET6.
9013         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9014         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9015         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9016         Likewise.
9017         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9018         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9019         Likewise.
9020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9021         (_nss_dns_gethostbyname_r): Likewise.
9022         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9023         alternate RES_USE_INET6 handling.
9024         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9025         instead of RES_USE_INET6.
9026         * resolv/res_init.c (res_setoptions): Likewise.
9027         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9028         * resolv/resolv-internal.h: New file.
9029         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9030         make the deprecation warning non-fatal.
9031         * resolv/README (Using the resolver in multi-threaded code): Drop
9032         reference to RES_USE_INET6.
9033         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9034         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9036 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9038         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9039         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9040         tst-resolv-search.
9041         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9042         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9043         with libresolv and libpthread.
9044         * resolv/tst-bug18665.c: New file.
9045         * resolv/tst-bug18665-tcp: Likewise.
9046         * resolv/tst-res_use_inet6: Likewise.
9047         * resolv/tst-resolv-basic: Likewise.
9048         * resolv/tst-resolv-network: Likewise.
9049         * resolv/tst-resolv-search: Likewise.
9050         * support/Makefile (libsupport-routines): Add check_addrinfo,
9051         check_dns_packet, check_hostent, check_netent, resolv_test,
9052         support_format_address_family, support_format_addrinfo,
9053         support_format_dns_packet, support_format_herrno,
9054         support_format_hostent, support_format_netent, support_run_diff,
9055         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9056         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9057         xstrdup, xwrite.
9058         * support/check_addrinfo.c: New file.
9059         * support/check_dns_packet.c: Likewise.
9060         * support/check_hostent.c: Likewise.
9061         * support/check_netent.c: Likewise.
9062         * support/check_nss.h: Likewise.
9063         * support/format_nss.h: Likewise.
9064         * support/resolv_test.c: Likewise.
9065         * support/resolv_test.h: Likewise.
9066         * support/run_diff.h: Likewise.
9067         * support/support_format_address_family.c: Likewise.
9068         * support/support_format_addrinfo.c: Likewise.
9069         * support/support_format_dns_packet.c: Likewise.
9070         * support/support_format_herrno.c: Likewise.
9071         * support/support_format_hostent.c: Likewise.
9072         * support/support_format_netent.c: Likewise.
9073         * support/support_run_diff.c: Likewise.
9074         * support/xaccept.c: Likewise.
9075         * support/xbind.c: Likewise.
9076         * support/xconnect.c: Likewise.
9077         * support/xfclose.c: Likewise.
9078         * support/xfopen.c: Likewise.
9079         * support/xgetsockname.c: Likewise.
9080         * support/xlisten.c: Likewise.
9081         * support/xmemstream.c: Likewise.
9082         * support/xmemstream.h: Likewise.
9083         * support/xpoll.c: Likewise.
9084         * support/xpthread_once.c: Likewise.
9085         * support/xrecvfrom.c: Likewise.
9086         * support/xsendto.c: Likewise.
9087         * support/xsetsockopt.c: Likewise.
9088         * support/xstdio.h: Likewise.
9089         * support/xstrdup.c: Likewise.
9090         * support/support.h (xstrdup): Declare.
9091         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9092         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9093         * support/xthread.h (xpthread_once): Likwise.
9094         * support/xunistd.h (xwrite): Declare.
9096 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9098         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9099         (test_verbose): Declare.
9100         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9101         * support/support_test_main.c (default_options): Likewise.
9102         (usage, support_test_main): Handle 'v'.
9103         (test_verbose): Define.
9104         * support/tst-support_record_failure.c (do_test): Use
9105         test_verbose.
9106         * support/tst-support_record_failure-2.sh (different_status): Add
9107         --verbose test.
9109 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9111         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9112         test failures are recorded.
9113         * support/check.c (support_print_failure_impl): Call
9114         support_record_failure.
9115         (support_exit_failure_impl): Call support_record_failure if status
9116         indicates failure.
9117         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9118         * support/xasprintf.c (xasprintf): Likewise.
9119         * support/xfork.c (xfork): Likewise.
9120         * support/xpthread_check_return.c (xpthread_check_return):
9121         Likewise.
9122         * support/xsocket.c (xsocket): Likeweise.
9123         * support/xwaitpid.c (xwaitpid): Likewise.
9124         * support/support_record_failure.c (struct test_failures): Adjust
9125         to coding style.
9126         * support/support_test_verify_impl.c (support_test_verify_impl):
9127         Adjust error messages.
9128         * support/tst-support_record_failure-2.sh (different_status):
9129         Adjust error messages.
9131 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9133         * support/namespace.h: New file.
9134         * support/support_become_root.c: Likewise.
9135         * support/support_enter_network_namespace.c: Likewise.
9136         * support/tst-support-namespace.c: Likewise.
9137         * support/xsocket.c: Likewise.
9138         * support/xsocket.h: Likewise.
9139         * support/Makefile (libsupport-routines): Add support_become_root,
9140         support_enter_network_namespace, xsocket.
9141         (tests): Add tst-support-namespace.
9143 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9145         [BZ #17252]
9146         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9147         __USE_GNU.
9149 2016-12-31  Torvald Riegel  <triegel@redhat.com>
9151         [BZ #13165]
9152         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9153         use new algorithm.
9154         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9155         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9156         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9157         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9158         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9159         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9160         __condvar_cleanup_waiting, __condvar_dec_grefs,
9161         __pthread_cond_wait_common): New.
9162         (__condvar_cleanup): Remove.
9163         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9164         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9165         Likewise.
9166         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9167         Likewise.
9168         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9169         * nptl/tst-cond1.c: Add comment.
9170         * nptl/tst-cond20.c (do_test): Adapt.
9171         * nptl/tst-cond22.c (do_test): Likewise.
9172         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9173         structure.
9174         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9175         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9176         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9177         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9178         Likewise.
9179         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9180         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9181         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9182         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9183         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9184         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9185         Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9187         Likewise.
9188         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9189         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9190         (COND_CLOCK_BITS): Adapt.
9191         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9192         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9193         __PTHREAD_COND_SHARED_MASK): New.
9194         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9195         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9196         * nptl/nptl_lock_constants.pysym: Adapt.
9197         * nptl/test-cond-printers.py: Adapt.
9198         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9199         cond_compat_check_and_clear): Adapt.
9200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9202         (__pthread_cond_timedwait): ... and move here.
9203         * nptl/DESIGN-condvar.txt: Remove file.
9204         * nptl/lowlevelcond.sym: Likewise.
9205         * nptl/pthread_cond_timedwait.c: Likewise.
9206         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9207         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9208         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9209         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9211         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9212         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9213         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9214         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9215         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9216         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9217         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9219         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9220         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9223 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
9225         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9226         (fromfp): New declaration.
9227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9230         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9235         * math/math.h: Include <bits/types.h>.
9236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9237         constant and macro.
9238         (FP_INT_DOWNWARD): Likewise.
9239         (FP_INT_TOWARDZERO): Likewise.
9240         (FP_INT_TONEARESTFROMZERO): Likewise.
9241         (FP_INT_TONEAREST): Likewise.
9242         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9243         (fromfpf): Likewise.
9244         (fromfpl): Likewise.
9245         (ufromfp): Likewise.
9246         (ufromfpf): Likewise.
9247         (ufromfpl): Likewise.
9248         (fromfpx): Likewise.
9249         (fromfpxf): Likewise.
9250         (fromfpxl): Likewise.
9251         (ufromfpx): Likewise.
9252         (ufromfpxf): Likewise.
9253         (ufromfpxl): Likewise.
9254         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9255         s_fromfpxF and s_ufromfpxF.
9256         * math/gen-fromfp-tests.py: New file.
9257         * math/gen-fromfp-tests-inputs: Likewise.
9258         * math/libm-test.inc: Include <stdint.h>
9259         (check_intmax_t): New function.
9260         (check_uintmax_t): Likewise.
9261         (struct test_fiu_M_data): New type.
9262         (struct test_fiu_U_data): Likewise.
9263         (RUN_TEST_fiu_M): New macro.
9264         (RUN_TEST_LOOP_fiu_M): Likewise.
9265         (RUN_TEST_fiu_U): Likewise.
9266         (RUN_TEST_LOOP_fiu_U): Likewise.
9267         (fromfp_test_data): New array.
9268         (fromfp_test): New function.
9269         (fromfpx_test_data): New array.
9270         (fromfpx_test): New function.
9271         (ufromfp_test_data): New array.
9272         (ufromfp_test): New function.
9273         (ufromfpx_test_data): New array.
9274         (ufromfpx_test): New function.
9275         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9276         ufromfpx_test.
9277         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9278         characters.
9279         * math/test-tgmath-ret.c: Include <stdint.h>.
9280         (rm): New variable.
9281         (width): Likewise.
9282         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9283         called function.
9284         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9285         CHECK_RET_CONST_TYPE.
9286         (CHECK_RET_CONST_DOUBLE): Likewise.
9287         (CHECK_RET_CONST_LDOUBLE): Likewise.
9288         (CHECK_RET_CONST): Take extra arguments and pass them to calls
9289         macros.
9290         (fromfp): New CHECK_RET_CONST call.
9291         (ufromfp): Likewise.
9292         (fromfpx): Likewise.
9293         (ufromfpx): Likewise.
9294         (do_test): Call check_return_fromfp, check_return_ufromfp,
9295         check_return_fromfpx and check_return_ufromfpx.
9296         * math/test-tgmath.c: Include <stdint.h>
9297         (NCALLS): Increase to 138.
9298         (F(compile_test)): Initialize i.  Call fromfp functions.
9299         (F(fromfp)): New function.
9300         (F(fromfpx)): Likewise.
9301         (F(ufromfp)): Likewise.
9302         (F(ufromfpx)): Likewise.
9303         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9304         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9305         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9306         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9307         ufromfpxl.
9308         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9309         ufromfp and ufromfpx.
9310         * math/fromfp.h: New file.
9311         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
9312         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
9313         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
9314         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
9315         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
9316         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
9317         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
9318         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
9319         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9320         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9321         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9322         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9323         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9324         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9325         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9326         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9327         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9328         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9329         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9330         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9331         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9332         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9333         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9334         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9335         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9336         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9337         ufromfp, fromfpx and ufromfpx.
9338         (CFLAGS-nldbl-fromfp.c): New variable.
9339         (CFLAGS-nldbl-fromfpx.c): Likewise.
9340         (CFLAGS-nldbl-ufromfp.c): Likewise.
9341         (CFLAGS-nldbl-ufromfpx.c): Likewise.
9342         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9343         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9344         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9345         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9346         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9347         * sysdeps/nacl/libm.abilist: Update.
9348         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9350         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9351         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9352         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9353         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9354         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9355         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9356         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9357         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9358         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9359         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9363         Likewise.
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9365         Likewise.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9367         Likewise.
9368         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9369         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9370         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9371         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9374         Likewise.
9375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9376         Likewise.
9377         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9378         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9379         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9381 2016-12-30  Florian Weimer  <fweimer@redhat.com>
9383         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9384         compat-gethnamaddr.
9385         (CPPFLAGS): Remove.
9386         * resolv/gethnamaddr.c: Rename ...
9387         * resolv/compat-gethnamaddr.c: ... to this file.
9388         (_endhtent): Make static.
9389         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
9390         symbol.
9391         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
9392         compat symbol.
9393         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
9394         symbol.
9395         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9396         Turn into compat symbol.
9397         * include/resolv.h (_endhtent): Remove declaration.
9399 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
9401         * bits/types.h (__intmax_t): New typedef.
9402         (__uintmax_t): Likewise.
9403         * sysdeps/generic/stdint.h: Include <bits/types.h>.
9404         (intmax_t): Define using __intmax_t.
9405         (uintmax_t): Define using __uintmax_t.
9407         * support/Makefile (tests-special): Make definition conditional on
9408         [$(run-built-tests) = yes].
9409         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9410         on [$(run-built-tests) = yes].
9412 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9414         * Rules (tests): Add tests-printers-programs to tests to be
9415         built.
9417 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9419         * sysvipc/Makefile (tests): Add test-sysvshm.
9420         * sysvipc/test-sysvshm.c: New file.
9422         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9423         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9424         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9425         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9426         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9427         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9428         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9431         Likewise.
9432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9433         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9434         is defined.
9436         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9437         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9438         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9439         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9440         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9441         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9442         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9445         Likewise.
9446         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9447         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9448         defined.
9450         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9451         oldshmctl.
9452         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9453         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9454         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9455         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9456         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9457         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9458         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9459         Likewise.
9460         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9461         Likewise.
9462         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9463         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9464         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9465         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9466         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9467         implementation.
9468         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9469         if it is defined.
9471         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9472         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9473         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9474         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9475         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9476         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9477         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9478         Likewise.
9479         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9480         Likewise.
9481         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9483         Define to __NR_osf_shmat.
9484         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9485         defined.
9487         * sysvipc/Makefile (tests): Add test-sysvsem.
9488         * sysvipc/test-sysvsem.c: New file.
9490         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9491         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9492         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9493         Likewise.
9494         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9495         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9496         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9497         Likewise.
9498         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9499         Likewise.
9500         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9501         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9502         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9503         add a comment about s390 syscall difference from default one.
9504         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9505         syscall if it is defined.
9507         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9508         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9509         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9510         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9511         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9512         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9513         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9516         Likewise.
9517         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9518         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9519         defined.
9521         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9522         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9523         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9524         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9525         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9526         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9527         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9528         Likewise.
9529         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9532         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9533         if it is defined.
9535         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9536         oldsemctl.
9537         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9538         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9539         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9540         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9541         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9542         implementation.
9543         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9544         syscall if it is defined.
9545         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9546         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9547         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9548         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9549         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9550         Likewise.
9551         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9553         * sysvipc/Makefile (tests): Add test-sysvmsg.
9554         * sysvipc/test-sysvmsg.c: New file.
9555         * support/check.h (FAIL_UNSUPPORTED): New define.
9557         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9558         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9559         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9560         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9561         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9562         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9563         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9564         Likewise.
9565         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9566         Likewise.
9567         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9568         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9569         define.
9571         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9572         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9573         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9574         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9575         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9576         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9577         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9578         Likewise.
9579         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9580         Likewise.
9581         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9582         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9583         if defined.
9585         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9586         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9587         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9588         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9589         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9590         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9591         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9592         Likewise.
9593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9594         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9595         Likewise.
9596         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9597         if defined.
9598         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9600         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9601         oldmsgctl.
9602         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9603         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9604         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9605         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9606         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9607         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9608         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9609         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9612         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9613         implementation.
9614         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9615         if defined.
9617         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9618         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9619         definition and define its own.
9620         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9621         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9622         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9623         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9624         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9625         definitions to common header.
9626         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9627         operation from ipc_ops.h.
9629         * sysdeps/unix/sysv/linux/kernel-features.h
9630         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9631         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9632         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9634         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9635         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9636         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9637         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9638         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9639         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9640         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9641         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9642         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9643         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9644         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9646 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9648         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9649         overflow in pointer addition.
9651 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9653         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9654         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9656         (strchr): Add __strchr_power8 to list of strchr functions.
9657         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9658         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9659         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9660         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9661         (strchr): Add __strchr_power8 to ifunc list.
9662         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9663         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9664         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9665         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9667 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9669         * support/Makefile (libsupport-routines): Add
9670         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9671         (tests): Add tst-support_record_failure.
9672         (tests-special): tst-support_record_failure-2.
9673         (tst-support_record_failure-2.out): Depend on
9674         tst-support_record_failure-2.sh and tst-support_record_failure.
9675         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9676         (support_test_verify_impl, support_record_failure)
9677         (support_report_failure, support_report_failure_reset): Declare.
9678         * support/support_test_main.c (adjust_exit_status): New function.
9679         (support_test_main): Call it to incorporate record test failures.
9680         * support/support_test_verify_impl.c: New file.
9681         * support/support_record_failure.c: Likewise.
9682         * support/tst-support_record_failure.c: Likewise.
9683         * support/tst-support_record_failure-2.sh: Likewise.
9684         * support/xunistd.h: Likewise.
9685         * support/xfork.c: Likewise.
9686         * support/xwaitpid.c: Likewise.
9688 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
9690         * scripts/check-c++-types.sh: Add comments.
9692 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
9694         [BZ #19514]
9695         * resolv/res_send.c: Fix typo in comment.
9696         * sysdeps/i386/i386-mcount.S: Likewise.
9697         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9698         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9699         * sysdeps/sparc/sparc-mcount.S: Likewise.
9701 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9703         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9704         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9705         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9706         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9707         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9708         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9709         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9710         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9712 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9714         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9716 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9718         [BZ #17252]
9719         * posix/unistd.h (getentropy): Declare.
9721 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9723         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9724         Remove.
9725         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9726         (cmd): Remove spoof, nospoof, spoofalert.
9727         (parse_line): Ignore spoof-related lines.
9728         (do_init): Do not process RESOLV_SPOOF_CHECK.
9730 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9732         [BZ #20964]
9733         sunrpc: Always obtain AF_INET addresses from NSS.
9734         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9735         * sunrpc/rpc_gethostbyname.c: New file.
9736         * sunrpc/Makefile (routines): Add it.
9737         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9738         * sunrpc/clnt_simp.c (callrpc): Likewise.
9739         * sunrpc/getrpcport.c (getrpcport): Likewise.
9741 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9743         * sunrpc/rpcinfo.c: Remove.
9744         * sunrpc/Makefile: Remove comments referring to rpcinfo.
9746 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9748         [BZ #19387]
9749         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9750         addition.
9751         * string/test-memchr.c (do_test): Remove alignment limitation.
9752         (test_main): Add test that trigger BZ #19387.
9754 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9756         [BZ #7065]
9757         Enable stack protectore if requested by ./configure.
9758         * Makeconfig (+stack-protector): New variable.
9759         (+cflags): Use it.
9761 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9763         [BZ #7065]
9764         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9765         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9766         (__rt_sigreturn_stub): Use inhibit_stack_protector.
9767         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9768         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9770 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9772         [BZ #7065]
9773         * login/Makefile (pt_chown-cflags): Remove.
9774         * nscd/Makefile (CFLAGS-nscd): Likewise.
9775         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9777 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9779         [BZ #7065]
9780         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9781         non-libc-linking testcase.
9783 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9784             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9785             Florian Weimer  <fweimer@redhat.com>
9787         [BZ #7065]
9788         PLT avoidance for __stack_chk_fail*.
9789         * debug/Makefile (CFLAGS-stack_chk_fail.c)
9790         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9791         * debug/stack_chk_fail.c (__stack_chk_fail): Add
9792         __stack_chk_fail_local alias.
9793         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9794         (__stack_chk_fail): Turn into hidden reference to
9795         __stack_chk_fail_local.
9797 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9799         [BZ #7065]
9800         * configure.ac: Add check for unsupported stack-protection level.
9801         (libc_cv_predef_stack_protector): Remove.
9802         (no_ssp): New variable.
9803         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9804         (stack_protector): Set to -fno-stack-protector similarly.
9805         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9806         (libc_cv_asm_set_directive): Likewise.
9807         (libc_cv_protected_data): Likewise.
9808         (libc_cv_z_combreloc): Likewise.
9809         (libc_cv_hashstyle): Likewise.
9810         (libc_cv_has_glob_dat): Likewise.
9811         (libc_cv_output_format): Likewise.
9812         (libc_cv_output_format): Likewise.
9813         (libc_cv_ehdr_start): Likewise.
9814         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9815         (LIBC_LINKER_FEATURE): Likewise.
9816         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9818 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9820         [BZ #7065]
9821         * elf/Makefile (dummy-stack-chk-fail): New.
9822         (librtld.map): Use it.
9824 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9826         [BZ #7065]
9827         Compile the dynamic linker without stack protection.
9828         * elf/Makefile (elide-stack-protector): New.
9829         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9830         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9831         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9832         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9834 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9836         [BZ #7065]
9837         * config.make.in (have-ssp, no-stack-protector): New.
9838         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9839         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9840         (CFLAGS-sbrk.op): Likewise.
9841         (CFLAGS-brk.o): Likewise.
9842         (CFLAGS-brk.op): Likewise.
9843         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9844         (CFLAGS-wordcopy.c): Likewise.
9846 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9848         [BZ #7065]
9849         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9850         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9851         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9852         (__ifunc_resolver): Use it.
9853         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9854         inhibit_stack_protector.
9855         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9856         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9857         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9858         (foo_protected_ifunc): Likewise.
9859         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9860         (foo_protected_ifunc): Likewise.
9861         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9862         * sysdeps/nacl/nacl_interface_query.c
9863         (nacl_interface_query_ifunc): Likewise.
9864         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9865         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9866         Likewise.
9867         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9868         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9869         the generated vDSO syscall resolver.
9871 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9872             Florian Weimer  <fweimer@redhat.com>
9874         [BZ #7065]
9875         Initialize the stack guard earlier when linking statically.
9876         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9877         (__pthread_initialize_minimal): Declare.
9878         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9879         declaration.
9880         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9881         stack canary and apply_irel initialization up.  Call
9882         __pthread_initialize_minimal only if linked in.
9883         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9884         constant values.
9885         (__pthread_initialize_minimal): Remove.
9886         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9887         (__pthread_initialize_minimal_internal): Do not call
9888         __libc_setup_tls.
9890 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9892         [BZ #7065]
9893         * configure.ac (libc_cv_ssp): Move up.
9894         (libc_cv_ssp_strong): Likewise.
9895         (libc_cv_ssp_all): New.
9896         (stack_protector): Augment, adding -fstack-protector-all.
9897         (no_stack_protector): New.
9898         (STACK_PROTECTOR_LEVEL): New.
9899         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9900         * manual/install.texi (--enable-stack-protector): Document it.
9901         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9903 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9905         * README.pretty-printers: Must specify CPPFLAGS-* also.
9906         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9907         (CPPFLAGS-test-mutex-printers.c): Define.
9908         (CPPFLAGS-test-condattr-printers.c): Define.
9909         (CPPFLAGS-test-cond-printers.c): Define.
9910         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9911         (CPPFLAGS-test-rwlock-printers.c): Define.
9913         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9914         (tests): Add tst-cancel-getpwuid_r.
9915         * nss/tst-cancel-getpwuid_r.c: New file.
9917         [BZ #11941]
9918         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9919         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9920         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9921         tst-nodelete-dlclose.
9922         (modules-names): Add tst-nodelete-dlclose-dso and
9923         tst-nodelete-dlclose-plugin.
9924         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9925         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9926         ($(objpfx)tst-nodelete-dlclose): Define.
9927         ($(objpfx)tst-nodelete-dlclose.out): Define.
9929 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9931         * scripts/test_printers_common.py: Log GDB output in case of
9932         Python detection failure.
9934 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9936         * configure.ac: Check for python3 or python.
9937         * configure: Regenerated.
9938         * config.make.in (PYTHON): New variable.
9939         * benchtests/Makefile: Don't define PYTHON.
9940         (bench): Define target only if PYTHON was defined.
9941         * Rules: Don't define PYTHON.
9942         Define pretty printer targets only if PYTHON was defined.
9943         (tests-printers): Add to tests-unsupported if PYTHON is not
9944         found.
9945         (python-flags, python-invoke): Remove.
9946         (tests-printers-out): Use PYTHON instead of python-invoke.
9948 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9950         [BZ #20978]
9951         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9952         Compare name == NULL, not name != NULL.
9954         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9955         trailing whitespace removed.
9956         * scripts/config.guess: Update to version 2016-10-02.
9957         * scripts/config.sub: Update to version 2016-11-19.
9958         * scripts/install-sh: Update to version 2016-01-11.22.
9959         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9960         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9962 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9964         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9965         (do_one_test) Restore original string so iteration works.
9966         * string/string-inlines.c (do_test): Create better input strings.
9967         (test_main) Reduce number of testruns.
9968         * string/string-inlines.c (__old_strsep_1c): New function.
9969         (__old_strsep_2c): Likewise.
9970         (__old_strsep_3c): Likewise.
9971         * string/strsep.c (__strsep): Remove case of small delim string.
9972         Call strcspn directly rather than strpbrk.
9973         * string/bits/string2.h (__strsep): Remove define.
9974         (__strsep_1c): Remove.
9975         (__strsep_2c): Remove.
9976         (__strsep_3c): Remove.
9977         (strsep): Remove.
9978         * sysdeps/unix/sysv/linux/internal_statvfs.c
9979         (__statvfs_getflags): Rename to __strsep.
9981 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9983         * csu/libc-tls.c (_dl_tls_setup): Remove.
9984         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9985         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9986         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9988 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9990         [BZ #7065]
9991         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9992         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9994 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9995             Florian Weimer  <fweimer@redhat.com>
9997         [BZ #7065]
9998         * csu/Makefile (tests): Empty assignment and document it.
9999         (tests-static): Remove.
10000         * csu/tst-empty.c: Move to...
10001         * misc/tst-empty.c: ... here.  Switch to new test driver.
10002         * csu/tst-atomic.c: Move to...
10003         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10004         * csu/tst-atomic-long.c: Move to...
10005         * misc/tst-atomic-long.c: ... here.
10006         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10007         tst-atomic-long.
10008         (tests-static): Add tst-empty.
10010 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10012         * manual/nss.texi: Change incorrect @vtable to @table.
10013         * manual/arith.texi: Convert @tables of variables to @vtables
10014         and remove unnecessary indexing.
10015         * manual/filesys.texi: Likewise.
10016         * manual/llio.texi: Likewise.
10017         * manual/memory.texi: Likewise.
10018         * manual/process.texi: Likewise.
10019         * manual/resource.texi: Likewise.
10020         * manual/search.texi: Likewise.
10021         * manual/signal.texi: Likewise.
10022         * manual/socket.texi: Likewise.
10023         * manual/stdio.texi: Likewise.
10024         * manual/sysinfo.texi: Likewise.
10025         * manual/syslog.texi: Likewise.
10026         * manual/terminal.texi: Likewise.
10027         * manual/time.texi: Likewise.
10028         * manual/users.texi: Likewise.
10030 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10032         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10033         (roundeven): New declaration.
10034         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10035         macro.
10036         * math/Versions (roundeven): New libm symbol at version
10037         GLIBC_2.25.
10038         (roundevenf): Likewise.
10039         (roundevenl): Likewise.
10040         * math/Makefile (libm-calls): Add s_roundevenF.
10041         * math/libm-test.inc (roundeven_test_data): New array.
10042         (roundeven_test): New function.
10043         (main): Call roundeven_test.
10044         * math/test-tgmath.c (NCALLS): Increase to 134.
10045         (F(compile_test)): Call roundeven.
10046         (F(roundeven)): New function.
10047         * manual/arith.texi (Rounding Functions): Document roundeven,
10048         roundevenf and roundevenl.
10049         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10050         * include/math.h (roundeven): Use libm_hidden_proto.
10051         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10052         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10053         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10054         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10055         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10056         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10057         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10058         roundeven.
10059         (CFLAGS-nldbl-roundeven.c): New variable.
10060         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10061         * sysdeps/nacl/libm.abilist: Update.
10062         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10066         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10067         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10072         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10073         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10083         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10088         Likewise.
10089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10092         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10095 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10097         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10098         preprocessor indentation inside #if.
10100 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10102         * math/libm-test.inc (fmt_ftostr): New function.
10103         (print_float, check_float_internal): Replace some uses of
10104         FTOSTR with uses of fmt_ftostr.
10105         (print_max_error, print_complex_max_error, print_function_ulps)
10106         (print_complex_function_ulps): Remove uses of the macros
10107         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10108         * math/test-double.h (FTOSTR): Define to strfromd.
10109         (PRINTF_EXPR): Delete.
10110         (PRINTF_XEXPR): Likewise.
10111         (PRINTF_NEXPR): Likewise.
10112         * math/test-float.h (FTOSTR): Define to strfromf.
10113         (PRINTF_EXPR): Delete.
10114         (PRINTF_XEXPR): Likewise.
10115         (PRINTF_NEXPR): Likewise.
10116         * math/test-ldouble.h (FTOSTR): Define to strfroml.
10117         (PRINTF_EXPR): Delete.
10118         (PRINTF_XEXPR): Likewise.
10119         (PRINTF_NEXPR): Likewise.
10121 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10123         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10124         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10125         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10126         (__lll_lock_elision): Decrement adapt_count while unlocking
10127         instead of before locking.
10128         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10129         (__lll_trylock_elision): Likewise.
10130         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10131         (__lll_unlock_elision): Likewise.
10133 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10135         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10136         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10137         Use __libc_tbegin_retry macro.
10139 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10141         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10142         Add -msoft-float.
10143         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10144         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10145         Use __libc_t* transaction macros instead of __builtin_t*.
10146         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10147         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10149 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10151         * sysdeps/unix/sysv/linux/s390/elision-lock.c
10152         (__lll_lock_elision): Use atomics to load / store adapt_count.
10153         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10154         (__lll_trylock_elision): Likewise.
10156 2016-12-20  Florian Weimer  <fweimer@redhat.com>
10158         Do not require memset elimination in explicit_bzero test.
10159         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10160         (enum test_expectation): Add NO_EXPECTATIONS.
10161         (subtests): NO_EXPECTATIONS for ordinary clear.
10162         (check_test_buffer): Handle NO_EXPECTATIONS.
10163         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10165 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10167         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10168         (fmaxmag): New declaration.
10169         (fminmag): Likewise.
10170         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10171         macro.
10172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10173         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10174         (fmaxmagf): Likewise.
10175         (fmaxmagl): Likewise.
10176         (fminmag): Likewise.
10177         (fminmagf): Likewise.
10178         (fminmagl): Likewise.
10179         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10180         * math/s_fmaxmag_template.c: New file.
10181         * math/s_fminmag_template.c: Likewise.
10182         * math/libm-test.inc (fmaxmag_test_data): New array.
10183         (fmaxmag_test): New function.
10184         (fminmag_test_data): New array.
10185         (fminmag_test): New function.
10186         (main): Call fmaxmag_test and fminmag_test.
10187         * math/test-tgmath.c (NCALLS): Increase to 132.
10188         (F(compile_test)): Call fmaxmag and fminmag.
10189         (F(fminmag)): New function.
10190         (F(fmaxmag)): Likewise.
10191         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10192         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10193         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10194         fminmag.
10195         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10196         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10197         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10200         and fminmag.
10201         (CFLAGS-nldbl-fmaxmag.c): New variable.
10202         (CFLAGS-nldbl-fminmag.c): Likewise.
10203         * sysdeps/nacl/libm.abilist: Update.
10204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10217         Likewise.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10219         Likewise.
10220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10221         Likewise.
10222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10237 2016-12-19  Torvald Riegel  <triegel@redhat.com>
10239         [BZ #20973]
10240         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10241         wake-up in robust mutexes.
10242         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10244 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10246         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10247         (CFLAGS-bench-fmaxf.c): New rule.
10248         (CFLAGS-bench-fminf.c): Likewise.
10249         * benchtests/fmaxf-inputs: New file.
10250         * benchtests/fminf-inputs: Likewise.
10252         * benchtests/Makefile (bench-math): Add fmin and fmax.
10253         (CFLAGS-bench-fmax.c): New rule.
10254         (CFLAGS-bench-fmin.c): Likewise.
10255         * benchtests/fmax-inputs: New file.
10256         * benchtests/fmin-inputs: Likewise.
10258         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
10259         parenthesis.
10260         (CMDLINE_PROCESS): Define using function instead of macro.
10261         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
10262         of test-skeleton.
10263         * benchtests/bench-memchr.c: Likewise.
10264         * benchtests/bench-memcmp.c: Likewise.
10265         * benchtests/bench-memcpy-large.c: Likewise.
10266         * benchtests/bench-memcpy.c: Likewise.
10267         * benchtests/bench-memmem.c: Likewise.
10268         * benchtests/bench-memmove-large.c: Likewise.
10269         * benchtests/bench-memmove.c: Likewise.
10270         * benchtests/bench-memset-large.c: Likewise.
10271         * benchtests/bench-memset.c: Likewise.
10272         * benchtests/bench-rawmemchr.c: Likewise.
10273         * benchtests/bench-strcasecmp.c: Likewise.
10274         * benchtests/bench-strcasestr.c: Likewise.
10275         * benchtests/bench-strcat.c: Likewise.
10276         * benchtests/bench-strchr.c: Likewise.
10277         * benchtests/bench-strcmp.c: Likewise.
10278         * benchtests/bench-strcpy.c: Likewise.
10279         * benchtests/bench-strcpy_chk.c: Likewise.
10280         * benchtests/bench-strlen.c: Likewise.
10281         * benchtests/bench-strncasecmp.c: Likewise.
10282         * benchtests/bench-strncmp.c: Likewise.
10283         * benchtests/bench-strncpy.c: Likewise.
10284         * benchtests/bench-strnlen.c: Likewise.
10285         * benchtests/bench-strpbrk.c: Likewise.
10286         * benchtests/bench-strrchr.c: Likewise.
10287         * benchtests/bench-strsep.c: Likewise.
10288         * benchtests/bench-strspn.c: Likewise.
10289         * benchtests/bench-strstr.c: Likewise.
10290         * benchtests/bench-strtok.c: Likewise.
10292 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10294         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10295         stepping identification.
10296         (init_cpu_features): Add handle of Haswell.
10298 2016-11-25  Jim Meyering  <meyering@fb.com>
10300         [BZ #20386]
10301         Let gcc detect assert(a = 1) errors.
10302         * assert/assert.h (assert): Rewrite, retaining the old definintion
10303         when required, but otherwise putting the expression as-is in an "if"
10304         expression (hence, with no added parentheses) within a statement
10305         expression.
10307 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10309         * benchtests/Makefile (binaries-benchset): Depend on libsupport
10310         DSO.
10312 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
10314         * Rules (python-flags, python-invoke): New.
10315         ($(test-printers-out)): Use $(python-flags).
10317 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10319         * manual/arith.texi (Math Error Reporting): Document that sNaN
10320         arguments are not considered domain errors.
10322 2016-12-16  Zack Weinberg <zackw@panix.com>
10323             Florian Weimer <fweimer@redhat.com>
10324             Nick Mathewson <nickm@torproject.org>
10326         * string/explicit_bzero.c: New routine.
10327         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10328         * string/Makefile (routines, strop-tests, tests): Add them.
10329         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10330         * string/string.h [__USE_MISC]: Declare explicit_bzero.
10332         * debug/explicit_bzero_chk.c: New routine.
10333         * debug/Makefile (routines): Add it.
10334         * debug/tst-chk1.c: Test fortification of explicit_bzero.
10335         * string/bits/string3.h: Fortify explicit_bzero.
10337         * manual/string.texi: Document explicit_bzero.
10338         * NEWS: Mention addition of explicit_bzero.
10340         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10341         data before returning, using explicit_bzero.
10342         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10343         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10344         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10346         * include/string.h: Redirect internal uses of explicit_bzero
10347         to __explicit_bzero_chk[_internal].
10348         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10349         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10350         * sysdeps/arm/nacl/libc.abilist
10351         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10352         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10353         * sysdeps/unix/sysv/linux/arm/libc.abilist
10354         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10355         * sysdeps/unix/sysv/linux/i386/libc.abilist
10356         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10357         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10359         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10360         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10361         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10362         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10364         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10369         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10370         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10371         * sysdeps/unix/sysv/linux/sh/libc.abilist
10372         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10373         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10377         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10378         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10379         Add entries for explicit_bzero and __explicit_bzero_chk.
10381 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10383         * math/fenv.h
10384         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10385         (FE_SNANS_ALWAYS_SIGNAL): New macro.
10386         * math/test-fe-snans-always-signal.c: New file.
10387         * math/Makefile (tests): Add test-fe-snans-always-signal.
10388         (CFLAGS-test-fe-snans-always-signal.c): New variable.
10389         * manual/arith.texi (Infinity and NaN): Document
10390         FE_SNANS_ALWAYS_SIGNAL.
10392 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10394         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10395         bracket.
10397 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10399         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10400         before calling execv.
10402 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10404         [BZ #20971]
10405         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10406         overflow in pointer addition.
10407         * string/test-memchr.c (do_test): Add an argument to pass as
10408         the size on memchr.
10409         (test_main): Add check for SIZE_MAX.
10411 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10413         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10414         (libm-calls): Add w_scalblnF.
10415         * math/w_scalbln.c: Remove.
10416         * math/w_scalblnf.c: Likewise.
10417         * math/w_scalblnl.c: Likewise.
10418         * math/w_scalbln_template.c: New file with type-generic
10419         implementation based on math/w_scalbln.c.
10420         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10421         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10423 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10425         [BZ #20947]
10426         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10427         either is a signaling NaN.
10428         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10429         follow fmaxl more closely.
10430         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10431         when either is a signaling NaN.
10432         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10433         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10434         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10435         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10436         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10437         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10438         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10439         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10440         (fmin_test_data): Likewise.
10442 2016-12-15  Andreas Schwab  <schwab@suse.de>
10444         * support/support_test_main.c (support_test_main): Don't shadow
10445         file-local variable test_pid.
10447 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10449         [BZ #20947]
10450         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10451         either is a signaling NaN.
10452         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10454 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10456         [BZ #20947]
10457         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10458         when either is a signaling NaN.
10459         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10461         * bits/long-double.h: New file.
10462         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10463         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10464         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10465         * sysdeps/mips/bits/long-double.h: Likewise.
10466         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10467         * math/Makefile (headers): Add bits/long-double.h.
10468         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10469         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10470         <bits/wordsize.h>.
10471         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10472         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10473         * math/math.h: Do not include <bits/mathdef.h>.
10474         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10475         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10476         inclusion.
10477         * sysdeps/ia64/bits/mathdef.h: Remove file.
10478         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10479         * sysdeps/mips/bits/mathdef.h: Likewise.
10480         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10481         * sysdeps/s390/bits/mathdef.h: Likewise.
10482         * sysdeps/sparc/bits/mathdef.h: Likewise.
10483         * sysdeps/x86/bits/mathdef.h: Likewise.
10484         * sysdeps/s390/s390-32/bits/wordsize.h
10485         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10486         conditional code.
10487         * sysdeps/s390/s390-64/bits/wordsize.h
10488         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10489         Likewise.
10490         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10491         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10492         Likewise.
10493         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10494         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10495         Likewise.
10496         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10497         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10498         Likewise.
10500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10501         <linux/falloc.h>.
10502         (FALLOC_FL_KEEP_SIZE): Remove.
10503         (FALLOC_FL_PUNCH_HOLE): Likewise.
10504         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10505         (FALLOC_FL_ZERO_RANGE): Likewise.
10507 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10509         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10511 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10513         * sysdeps/unix/sysv/linux/renameat.c: New file.
10514         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10516         * sysdeps/unix/sysv/linux/rename.c: New file.
10517         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10519 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10521         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10522         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10523         * string/strtok_r.c (__strtok_r): Optimize for performance.
10524         * string/string-inlines.c (__old_strtok_r_1c): New function.
10525         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10527 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10529         * math/Makefile (gen-libm-calls): Add w_log1pF.
10530         (libm-calls): Remove w_log1pF.
10531         * math/w_log1p.c: Remove.
10532         * math/w_log1pf.c: Likewise.
10533         * math/w_log1pl.c: Likewise.
10534         * math/w_log1p_template.c: New file with type-generic
10535         implementation based on math/w_log1p.c.
10536         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10537         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10539 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10541         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10543 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10545         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10546         kernel version to 4.9.
10548 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10550         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10551         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10553 2016-12-13  Andreas Schwab  <schwab@suse.de>
10555         * sysdeps/powerpc/dl-procinfo.c: Don't define
10556         _dl_powerpc_platforms.
10557         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10558         constants instead of referencing _dl_powerpc_platforms.
10559         (_dl_platform_string): Remove.
10561 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10563         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10565 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10567         * Rules (binaries-shared-tests, binaries-pie-tests)
10568         (binaries-static-tests): Link with $(link-extra-libs-tests).
10569         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10570         Remove $(link-extra-libs-tests).
10572 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10574         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10575         (sysdep_routines): Add strncmp_power9.
10576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10577         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10578         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10579         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10580         (strncmp): Add __strncmp_power9 to ifunc list.
10581         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10583 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10585         [BZ #17252]
10586         Add getentropy, getrandom.
10587         * stdlib/sys/random.h: New file.
10588         (headers): Add it.
10589         * stdlib/Makefile (routines): Add getentropy, getrandom.
10590         (tests): Add tst-getrandom.
10591         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10592         * stdlib/getentropy.c: New file.
10593         * stdlib/getrandom.c: Likewise.
10594         * stdlib/tst-getrandom.c: Likewise.
10595         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10596         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10597         * manual/crypt.texi (Unpredictable Bytes): New section.
10598         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10599         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10600         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10601         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10602         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10603         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10604         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10605         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10606         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10607         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10608         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10609         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10610         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10611         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10612         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10613         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10617         Likewise.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10620         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10624         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10627         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10628         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10629         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10631 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10633         [BZ #20956]
10634         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10635         as additional compiler barriers.
10636         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10637         (fn2, do_test): Declare with external linkage.
10638         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10639         (do_test): Declare with external linkage.
10640         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10641         (do_test): Declare with external linkage.
10642         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10643         (do_test): Declare with external linkage.
10645 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10647         * support/support_test_main.c (support_test_main): Use correct
10648         timeout.
10650 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10651             Florian Weimer  <fweimer@redhat.com>
10653         [BZ #16421]
10654         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10655         and __u6_addr32 members.
10656         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10657         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10658         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10659         Use __u6_addr32.
10660         * inet/tst-checks.c: Use <support/test-driver.c>
10661         * inet/tst-checks-posix.c: New file.
10662         * inet/Makefile (tests): Add it.
10663         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10665 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10667         New subdirectory support for build and test infrastructure.
10668         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10669         setting install-lib.
10670         * Makeconfig (link-extra-libs-tests): Define.
10671         (+link-pie-tests, +link-static-tests, +link-tests): Use
10672         link-extra-libs-tests.
10673         (rpath-dirs, all-subdirs): Add support.
10674         (built-modules): Add libsupport.
10675         (libsupport): Define.
10676         * support: New directory.
10677         * support/Makefile: New file.
10678         * support/check.c: Likewise.
10679         * support/check.h: Likewise.
10680         * support/delayed_exit.c: Likewise.
10681         * support/ignore_stderr.c: Likewise.
10682         * support/oom_error.c: Likewise.
10683         * support/set_fortify_handler.c: Likewise.
10684         * support/support.h: Likewise.
10685         * support/temp_file-internal.h: Likewise.
10686         * support/temp_file.c: Likewise.
10687         * support/test-driver.c: Likewise.
10688         * support/test-driver.h: Likewise.
10689         * support/test_main.c: Likewise.
10690         * support/write_message.c: Likewise.
10691         * support/xasprintf.c: Likewise.
10692         * support/xcalloc.c: Likewise.
10693         * support/xmalloc.c: Likewise.
10694         * support/xpthread_barrier_destroy.c: Likewise.
10695         * support/xpthread_barrier_init.c: Likewise.
10696         * support/xpthread_barrier_wait.c: Likewise.
10697         * support/xpthread_cancel.c: Likewise.
10698         * support/xpthread_check_return.c: Likewise.
10699         * support/xpthread_cond_wait.c: Likewise.
10700         * support/xpthread_create.c: Likewise.
10701         * support/xpthread_detach.c: Likewise.
10702         * support/xpthread_join.c: Likewise.
10703         * support/xpthread_mutex_lock.c: Likewise.
10704         * support/xpthread_mutex_unlock.c: Likewise.
10705         * support/xpthread_sigmask.c: Likewise.
10706         * support/xpthread_spin_lock.c: Likewise.
10707         * support/xpthread_spin_unlock.c: Likewise.
10708         * support/xrealloc.c: Likewise.
10709         * support/xsignal.h: Likewise.
10710         * support/xthread.h: Likewise.
10711         * support_tempfile.h: Likewise.
10712         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10713         (TEST_DATA_LIMIT): Remove unused macro.
10714         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
10715         <support/check.h>.
10716         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10717         (ignore_stderr, set_fortify_handler): Remove.  Now in
10718         <support/support.h>.
10719         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
10720         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10721         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10722         (xpthread_join): Remove.  Now in <support/xthread.h>.
10723         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10724         Introduce legacy wrappers.
10725         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10726         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10727         (write_message): Remove.
10728         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10729         test-skeleton.c.
10730         * io/test-open-tmpfile: Likewise.
10731         * io/tst-posix_fallocate-common.c: Likewise.
10732         * libio/tst-fseek.c: Likewise.
10733         * malloc/tst-malloc-backtrace.c: Likewise.
10734         * malloc/tst-malloc-fork-deadlock.c: Likewise.
10735         * malloc/tst-malloc-thread-exit.c: Likewise.
10736         * nptl/tst-cancel7.c: Likewise.
10737         * nptl/tst-cleanup0.c: Likewise.
10738         * posix/tst-posix_fadvise-common.c: Likewise.
10739         * rt/tst-shm.c: Likewise.
10740         * time/bug-getdate1.c: Likewise.
10741         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10742         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10743         * elf/Makefile (tst-piemod1.so): Link against libsupport.
10745 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
10747         * Rules [$(run-built-tests) != no] (tests-expected): Add
10748         $(tests-printers).
10749         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10751 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10753         [BZ #20539]
10754         * math/Makefile (install-lib-ldscripts): Add libm.a.
10755         (install_subdir): Remove.
10756         (install-others): Add.
10757         ($(inst_libdir)/libm.a): Add rule for installation as
10758         linker script.
10759         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10761 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
10763         * INSTALL: Regenerated.
10764         * Makeconfig: Add comments and whitespace to make the control flow
10765         clearer.
10766         (+link-printers-tests, +link-pie-printers-tests,
10767         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10768         built-rtld-LDFLAGS, link-libc-rpath,
10769         link-libc-tests-after-rpath-link,
10770         link-libc-printers-tests): New.
10771         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10772         link-libc-tests): Use the new variables as required.
10773         * Makerules ($(py-const)): New rule.
10774         generated: Add $(py-const).
10775         * README.pretty-printers: New file.
10776         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10777         (others): Depend on $(py-const).
10778         (tests): Depend on $(tests-printers-programs) or
10779         $(tests-printers-out),
10780         as required.  Pass $(tests-printers) to merge-test-results.sh.
10781         * manual/install.texi: Add requirements for testing the pretty
10782         printers.
10783         * nptl/Makefile (gen-py-const-headers, pretty-printers,
10784         tests-printers, CFLAGS-test-mutexattr-printers.c
10785         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10786         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10787         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10788         * nptl/nptl-printers.py: New file.
10789         * nptl/nptl_lock_constants.pysym: Likewise.
10790         * nptl/test-cond-printers.c: Likewise.
10791         * nptl/test-cond-printers.py: Likewise.
10792         * nptl/test-condattr-printers.c: Likewise.
10793         * nptl/test-condattr-printers.py: Likewise.
10794         * nptl/test-mutex-printers.c: Likewise.
10795         * nptl/test-mutex-printers.py: Likewise.
10796         * nptl/test-mutexattr-printers.c: Likewise.
10797         * nptl/test-mutexattr-printers.py: Likewise.
10798         * nptl/test-rwlock-printers.c: Likewise.
10799         * nptl/test-rwlock-printers.py: Likewise.
10800         * nptl/test-rwlockattr-printers.c: Likewise.
10801         * nptl/test-rwlockattr-printers.py: Likewise.
10802         * scripts/gen-py-const.awk: Likewise.
10803         * scripts/test_printers_common.py: Likewise.
10804         * scripts/test_printers_exceptions.py: Likewise.
10806 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10808         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10809         argument.
10810         (Glibc.build_glibc): Strip installed shared libraries if
10811         requested.
10812         (get_parser): Add --strip option.
10813         (main): Update Context call.
10815 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10816             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10818         [BZ #20847]
10819         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10820         array bounds for else branch.
10821         (__execvpe): Style fixes.
10822         * posix/tst-vfork3.c (run_script): New function.
10823         (create_script): Likewise.
10824         (do_test): Use run_script internal function.
10825         (do_prepare): Use create_script internal function.
10827 2016-12-07  Andreas Schwab  <schwab@suse.de>
10829         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10830         (__elision_available): Don't declare.
10831         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10832         (__elision_available): Don't define.
10833         (elision_init): Don't set __elision_available.
10835 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10837         [BZ #20940]
10838         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10839         return Inf for arguments Inf and sNaN.
10840         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10841         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10842         Likewise.
10843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10844         Likewise.
10845         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10846         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10847         for arguments Inf and sNaN.  When returning a NaN, compute it by
10848         arithmetic on the arguments.
10849         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10850         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10851         arguments.
10853 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10855         [BZ #20916]
10856         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10857         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10858         to compute result.
10859         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10860         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10862 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10864         * include/atomic.h (__atomic_check_size_ls): New.
10865         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10866         atomic_store_release): Use it.
10867         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10868         (elision_adapt, ELIDE_LOCK): Use atomics.
10869         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10870         atomics and improve code comments.
10871         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10872         (__lll_trylock_elision): Likewise.
10874 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10876         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10877         programs.
10879 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10881         [BZ #20916]
10882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10883         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10884         arguments to compute result.
10885         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10886         1 for arguments (sNaN, 0) or (1, sNaN).
10887         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10890         [BZ #20919]
10891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10892         NaN first argument when raised to power 0.
10893         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10894         raising to power zero.
10895         * math/w_powf.c (__powf): Likewise.
10896         * math/w_powl.c (__powl): Likewise.
10897         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10898         pow (0, 0) or pow (NaN, 0).
10900 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10902         [BZ #20918]
10903         * configure.ac: Test for static NSS cryptographic libraries and set
10904         libc_cv_static_nss_crypt.
10905         * configure: Regenerate.
10906         * config.make.in (static-nss-crypt): Define.
10907         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10908         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10909         (CFLAGS-tst-linkall-static.c): Define.
10910         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10911         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10912         ($(objpfx)tst-linkall-static): Define.
10913         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10914         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10916 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10918         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10919         (one-hundred, tst-tls-many-dynamic-modules): Define.
10920         (modules-names): Add $(tst-tls-many-dynamic-modules).
10921         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10922         macros.
10923         (tst-tls-manydynamic): Link against libdl, libpthread.
10924         (tst-tls-manydynamic.out): The test needs the test modules at run
10925         time.
10926         * elf/tst-tls-manydynamic.c: New file.
10927         * elf/tst-tls-manydynamic.h: Likewise.
10928         * elf/tst-tls-manydynamicmod.c: Likewise.
10930 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10932         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10933         (TLS_DTV_UNALLOCATED): Add.
10934         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10935         offsets.
10937 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10939         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10941 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10943         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10944         Add -fno-optimize-sibling-calls.
10946 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10948         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10949         New declaration.
10950         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10951         macro.
10952         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10953         New macro.
10954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10956         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10957         (llogbf): Likewise.
10958         (llogbl): Likewise.
10959         * math/Makefile (gen-libm-calls): Add w_llogbF.
10960         (tests): Add test-fp-llogb-constants.
10961         * math/w_llogb_template.c: New file.  Based on
10962         math/w_ilogb_template.c.
10963         * math/libm-test.inc (llogb_test_data): New array.
10964         (llogb_test): New function.
10965         (main): Call llogb_test.
10966         * math/test-fp-llogb-constants.c: New file.  Based on
10967         math/test-fp-ilogb-constants.c.
10968         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10969         (do_test): Call check_return_llogb.
10970         * math/test-tgmath.c (NCALLS): Increase to 126.
10971         (F(compile_test)): Call llogb.
10972         (F(llogb)): New function.
10973         * manual/math.texi (Exponents and Logarithms): Document llogb,
10974         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10975         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10976         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10977         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10978         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10979         (CFLAGS-nldbl-llogb.c): New variable.
10980         * sysdeps/nacl/libm.abilist: Update.
10981         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10982         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10983         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10984         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10985         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10986         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10987         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10988         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10989         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10991         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10992         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10994         Likewise.
10995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10996         Likewise.
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10998         Likewise.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11000         Likewise.
11001         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11002         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11003         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11004         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11005         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11014 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11016         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11017         _Float128 instead of long double.
11018         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11020         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11021         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11022         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11023         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11024         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11025         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11026         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11027         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11028         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11029         Likewise.
11031 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11033         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11034         Remove redirection to __strrchr_ppc.
11036 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11038         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11039         (sysdep_routines): Add strcmp_power9.
11040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11041         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11042         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11043         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11044         (strcmp): Add __strcmp_power9 to ifunc list.
11045         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11047 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11049         * bits/fp-logb.h: New file.
11050         * sysdeps/ia64/bits/fp-logb.h: Likewise.
11051         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11052         * sysdeps/x86/bits/fp-logb.h: Likewise.
11053         * math/Makefile (headers): Add bits/fp-logb.h.
11054         * math/math.h: Include <bits/fp-logb.h>.
11055         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11056         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11057         * bits/mathdef.h (FP_ILOGB0): Remove.
11058         (FP_ILOGBNAN): Likewise.
11059         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11060         (FP_ILOGBNAN): Likewise.
11061         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11062         (FP_ILOGBNAN): Likewise.
11063         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11064         (FP_ILOGBNAN): Likewise.
11065         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11066         (FP_ILOGBNAN): Likewise.
11067         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11068         (FP_ILOGBNAN): Likewise.
11069         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11070         (FP_ILOGBNAN): Likewise.
11071         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11072         (FP_ILOGBNAN): Likewise.
11073         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11074         (FP_ILOGBNAN): Likewise.
11075         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11076         (FP_ILOGBNAN): Likewise.
11078         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
11079         time module.
11080         (Context.__init__): Initialize self.logsdir_old.
11081         (Context.run_builds): Handle bot action.
11082         (Context.bot_cycle): Copy logs directory before running builds.
11083         (Context.bot_run_self): Take argument for whether to check
11084         subprocess result.  Flush stdout before running subprocess.
11085         (Context.bot): New function.
11086         (get_parser): Allow bot action.
11088 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
11090         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11091         Import email.mime.text, email.utils and smtplib modules.
11092         (Context.__init__): Initialize self.bot_config_json.
11093         (Context.run_builds): Handle bot-cycle action.
11094         (Context.load_bot_config_json): New function.
11095         (Context.part_build_old): Likewise.
11096         (Context.bot_cycle): Likewise.
11097         (Context.bot_build_mail): Likewise.
11098         (Context.bot_run_self): Likewise.
11099         (get_parser): Allow bot-cycle action.
11101 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11104         Remove redirection to __stpcpy_ppc.
11106 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11108         Remove __libc_memalign from ld.so because it is unused.
11109         * elf/dl-minimal.c: Update comment on the malloc implementation.
11110         (malloc): Renamed from __libc_memalign, replacing the original
11111         malloc implementation.  Replace the align parameter with
11112         MALLOC_ALIGNMENT.
11113         * elf/Versions (ld): Update comment and remove __libc_memalign.
11114         * sysdeps/nacl/ld.abilist: Likewise.
11115         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11116         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11117         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11118         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11124         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11125         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11126         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11127         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11131         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11132         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11133         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11134         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11135         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11138         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11139         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11140         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11141         * sysdeps/generic/localplt.data (ld.so): Likewise.
11142         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11143         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11144         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11145         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11146         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11147         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11148         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11149         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11150         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11152         (ld.so): Likewise.
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11154         (ld.so): Likewise.
11155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11156         Likewise.
11157         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11158         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11159         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11160         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11161         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11163 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11165         [BZ #16628]
11166         Implement _dl_catch_error, _dl_signal_error in libc.so.
11167         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11168         (catch_hook): Define as thread-local or regular variable,
11169         depending on DL_ERROR_BOOTSTRAP.
11170         (CATCH_HOOK): Remove.
11171         (dl_signal_error, _dl_catch_error): Use
11172         catch_hook.  Add hidden definition for libc.
11173         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
11174         for DL_ERROR_BOOTSTRAP only.
11175         * elf/dl-error.c: New file.
11176         * elf/dl-error-minimal.c: Likewise.
11177         * elf/tst-latepthread.c: Likewise.
11178         * elf/tst-latepthreadmod.c: Likewise.
11179         * elf/Makefile (routines): Add dl-error.
11180         (dl-routines): Remove dl-error.
11181         (rtld-routines): Add dl-error-minimal.
11182         [build-shared] (tests): Add tst-latepthread.
11183         (module-names): Add tst-latepthreadmod.
11184         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11185         symbol.
11186         (tst-latepthreadmod.so): Link against libpthread.
11187         (tst-latepthread): Link against libdbl.
11188         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11189         _dl_catch_error.
11190         [ld] (GLIBC_PRIVATE): Likewise.
11191         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11192         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11193         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11194         directly.
11195         * elf/dl-tsd.c: Remove file.
11196         * elf/rtld.c (_rtld_global_ro): Remove initializers for
11197         _dl_catch_error, _dl_signal_error.
11198         (_dl_initial_error_catch_tsd): Remove definition.
11199         (do_preload): Remove initialization of dl_error_catch_tsd.
11200         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11201         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11202         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11203         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11204         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11205         set dl_error_catch_tsd.
11206         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11207         _dl_error_catch_tsd member.
11208         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11209         members.
11210         (_dl_initial_error_catch_tsd): Remove declaration.
11211         (_dl_dprintf): Provide definition for use outside of ld.so.
11212         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11213         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
11214         prototype for libc.
11215         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11216         _dl_catch_error.
11217         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11218         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11219         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11220         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11221         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11222         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11223         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11224         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11228         (ld.so): Likewise.
11229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11230         (ld.so): Likewise.
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11234         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11236         Likewise.
11237         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11238         Likewise.
11239         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11241 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11243         [BZ #4099]
11244         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11245         _IO_BUFSIZ (8192).
11247 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
11249         * PROJECTS: Remove file.
11251 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11253         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11255 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
11256             Steve Ellcey  <sellcey@caviumnetworks.com>
11258         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
11259         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
11260         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
11261         fxstatat.
11262         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
11263         lxstat.
11264         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
11265         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
11266         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
11267         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
11268         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
11269         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
11270         __xstat.
11272 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11274         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11275         Define.
11276         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11277         definition.
11279 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11281         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11282         version and turn into strong alias.  Remove compat symbol.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11285         (__longjmp): Remove.
11287 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
11289         * bits/fp-fast.h: New file.
11290         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11291         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11292         * math/Makefile (headers): Add bits/fp-fast.h.
11293         * math/math.h: Include <bits/fp-fast.h>.
11294         * bits/mathdef.h (FP_FAST_FMA): Remove.
11295         (FP_FAST_FMAF): Likewise.
11296         (FP_FAST_FMAL): Likewise.
11297         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11298         (FP_FAST_FMAF): Likewise.
11299         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11300         (FP_FAST_FMAF): Likewise.
11301         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11302         (FP_FAST_FMAF): Likewise.
11303         (FP_FAST_FMAL): Likewise.
11304         * sysdeps/arm/bits/mathdef.h: Remove file.
11305         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11306         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11307         * sysdeps/tile/bits/mathdef.h: Likewise.
11309 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11311         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
11312         * math/w_ilogb.c: Remove.
11313         * math/w_ilogbf.c: Likewise.
11314         * math/w_ilogbl.c: Likewise.
11315         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
11316         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
11317         * math/Makefile (gen-libm-calls): Add w_ilogbF.
11318         (libm-calls): Remove w_ilogbF.
11319         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11320         (LDOUBLE_ilogbl_libm_version): New macro.
11322         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11324         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11325         [!__STRICT_ANSI__ && !__cplusplus].
11327 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11329         [BZ #20750]
11330         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11331         of PIC.
11333 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11334             Yury Norov  <ynorov@caviumnetworks.com>
11335             Steve Ellcey  <sellcey@caviumnetworks.com>
11337         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11338         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11339         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11340         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11341         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11342         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11343         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11344         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11345         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11346         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11347         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11348         to get correct reg name for ILP32.
11349         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11350         (RELA_SIZE): New Macro.
11351         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11352         to support ILP32.
11353         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11354         cast for ILP32 mode.
11355         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11356         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11357         * sysdeps/aarch64/memset.S (__memset): Ditto.
11358         * sysdeps/aarch64/strchr.S (strchr): Ditto.
11359         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11360         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11361         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11362         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11363         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11364         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11365         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11366         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11367         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11368         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11369         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11370         change PTR_MANGLE call to use register numbers instead of names.
11371         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11372         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11373         ILP32 mode, change PTR_MANGLE calls to use register numbers.
11374         * sysdeps/aarch64/start.S (_start): Ditto.
11375         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11376         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11377         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11378         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11379         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11380         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11381         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11382         Make defined values dependent on __ILP32__.
11383         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11384         (sem_t): Change __align type.
11385         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11386         PTR_SIZE): New Macros.
11387         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11388         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11389         Set when in ILP32 mode.
11390         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11391         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11392         Set elf flags for ILP32.
11393         (add_system_dir): Set ILP32 library directories.
11394         * sysdeps/unix/sysv/linux/aarch64/init-first.c
11395         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11396         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11397         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11398         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11399         New Macros.
11400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11402 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
11404         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11405         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11406         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11408 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11410         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11411         <asm/cachectl.h>.
11413 2016-11-27  Zack Weinberg  <zackw@panix.com>
11415         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11416         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11418 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11420         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11421         error_t to fix usage in C++ programs.
11423 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11425         * scripts/build-many-glibcs.py: Import datetime module.
11426         (Context.__init__): Load JSON build state.  Initialize list of
11427         status logs.
11428         (Context.run_builds): Update saved build state.
11429         (Context.add_makefile_cmdlist): Update list of status logs.
11430         (Context.load_build_state_json): New function.
11431         (Context.store_build_state_json): Likewise.
11432         (Context.clear_last_build_state): Likewise.
11433         (Context.update_build_state): Likewise.
11434         (CommandList.status_logs): Likewise.
11436 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11438         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11439         script being executed.
11440         (Context.get_script_text): New function.
11441         (Context.exec_self): Likewise.
11442         (Context.checkout): Re-exec script if changed by checkout process.
11444 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11446         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11447         (setpayloadsig): New declaration.
11448         * math/Versions (setpayloadsig): New libm symbol at version
11449         GLIBC_2.25.
11450         (setpayloadsigf): Likewise.
11451         (setpayloadsigl): Likewise.
11452         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11453         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11454         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11455         (setpayloadsig_test_data): New array.
11456         (setpayloadsig_test): New function.
11457         (main): Call setpayloadsig_test.
11458         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11459         setpayloadsigf and setpayloadsigl.
11460         * manual/libm-err-tab.pl: Update comment on interfaces without
11461         ulps tabulated.
11462         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11463         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11464         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11465         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11466         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11467         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11468         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11469         setpayloadsig.
11470         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11471         * sysdeps/nacl/libm.abilist: Update.
11472         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11473         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11474         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11475         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11476         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11477         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11478         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11479         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11480         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11481         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11482         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11483         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11487         Likewise.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11489         Likewise.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11491         Likewise.
11492         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11493         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11494         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11495         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11496         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11498         Likewise.
11499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11500         Likewise.
11501         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11502         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11503         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11505         * scripts/build-many-glibcs.py: Import json module.
11506         (Context.__init__): Take replace_sources argument.  Load
11507         versions.json.
11508         (Context.load_versions_json): New function.
11509         (Context.store_json): Likewise.
11510         (Context.store_versions_json): Likewise.
11511         (Context.set_component_version): Likewise.
11512         (Context.checkout): Update versions.json.  Check for and handle
11513         changes of version.  Prefer previously explicitly specified
11514         version to default version.
11515         (Context.checkout_vcs): Return a revision identifier.
11516         (Context.git_checkout): Likewise.
11517         (Context.gcc_checkout): Likewise.
11518         (get_parser): Add --replace-sources option.
11519         (main): Pass replace_sources argument to Context call.
11521 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11523         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11524         * nptl/allocatestack.c (allocate_stack): Likewise.
11525         (__reclaim_stacks): Likewise.
11526         (setxid_signal_thread): Obtain pid through syscall.
11527         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11528         (sighandle_setxid): Likewise.
11529         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11530         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11531         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11532         Likewise.
11533         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11534         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11535         comment.
11536         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11537         * nptl/descr.h (struct pthread): Change comment about pid value.
11538         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11539         pid assert.
11540         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11541         Do not set pid value.
11542         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11543         pid cache check.
11544         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11545         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11546         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11547         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11548         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11549         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11550         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11551         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11552         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11553         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11554         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11555         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11556         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11557         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11558         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11559         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11560         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11561         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11562         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11563         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11564         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11565         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11566         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11567         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11568         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11571         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11572         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11573         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11574         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11575         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11576         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11577         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11578         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11579         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11580         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11581         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11582         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11583         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11584         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11585         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11586         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11589         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11590         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11591         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11592         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11593         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11594         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11595         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11596         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11597         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11598         struct access.
11599         (clone_test): Remove function.
11600         (do_test): Rewrite to take in consideration pid is not cached anymore.
11602 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11604         * bits/flt-eval-method.h: New file.
11605         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11606         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11607         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11608         * math/Makefile (headers): Add bits/flt-eval-method.h.
11609         * math/math.h: Include <bits/flt-eval-method.h>.
11610         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11611         [__USE_ISOC99] (double_t): Likewise.
11612         * bits/mathdef.h (float_t): Remove.
11613         (double_t): Likewise.
11614         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11615         (double_t): Likewise.
11616         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11617         (double_t): Likewise.
11618         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11619         (double_t): Likewise.
11620         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11621         (double_t): Likewise.
11622         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11623         (double_t): Likewise.
11624         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11625         (double_t): Likewise.
11626         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11627         (double_t): Likewise.
11628         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11629         (double_t): Likewise.
11630         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11631         (double_t): Likewise.
11632         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11633         (double_t): Likewise.
11634         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11635         (double_t): Likewise.
11636         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11637         (double_t): Likewise.
11638         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11639         (double_t): Likewise.
11641 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11643         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11644         instead of PIC.
11646 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11648         [BZ #20859]
11649         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11650         (-0x7fffffff) instead of 0x80000001.
11651         * math/test-fp-ilogb-constants.c: New file.
11652         * math/Makefile (tests): Add test-fp-ilogb-constants.
11654 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11656         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11657         (_init): Use it in place of hardcoded R_MIPS_JALR.
11658         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11659         (_init): Use it in place of hardcoded R_MIPS_JALR.
11660         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11661         (_init): Use it in place of hardcoded R_MIPS_JALR.
11663 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11665         [BZ #20787]
11666         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11667         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11668         (double_t): Do not define to double if [__x86_64__] when
11669         __FLT_EVAL_METHOD__ is nonzero.
11670         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11671         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11672         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11673         test-flt-eval-method-387 and test-flt-eval-method-sse.
11674         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11675         variable.
11676         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11678 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11680         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11681         use of -fno-isolate-erroneous-paths options for tilepro.
11683 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11685         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11686         structure initialization is no longer needed.
11688 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11690         [BZ #20855]
11691         * bits/mathdef.h (float_t): Define to float.
11692         * math/test-flt-eval-method.c: New file.
11693         * math/Makefile (tests): Add test-flt-eval-method.
11694         (CFLAGS-test-flt-eval-method.c): New variable.
11696 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
11698         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11699         and __fstatfs.  Make them aliases of __fstatfs64 if
11700         STATFS_IS_STATFS64 is set to non-zero.
11701         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11702         and __statfs64.
11703         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11704         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11705         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11706         for __statfs and statfs.
11707         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11708         to 0.
11709         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11710         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11711         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11712         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11713         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11714         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11717         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11718         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11719         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11720         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11722 2016-11-22  Andreas Schwab  <schwab@suse.de>
11724         * misc/mkstemp.c: Include <fcntl.h>.
11725         * misc/mkstemps.c: Likewise.
11726         * misc/mkostemp.c: Likewise.
11727         * misc/mkostemps.c: Likewise.
11729 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
11731         [BZ #20847]
11732         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11733         array bounds.
11734         (__execvpe): Likewise.
11736 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
11738         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11739         -fno-isolate-erroneous-paths options for tilepro.
11741 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
11743         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11744         to 0 when in 32 bit mode.
11745         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11746         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11747         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11748         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11750         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11751         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11752         XSTAT_IS_XSTAT64 test.
11753         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11754         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11755         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11756         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11757         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11758         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11759         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11760         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11761         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11762         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11763         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11765 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
11767         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11768         (setpayload): New declaration.
11769         * math/Versions (setpayload): New libm symbol at version
11770         GLIBC_2.25.
11771         (setpayloadf): Likewise.
11772         (setpayloadl): Likewise.
11773         * math/Makefile (libm-calls): Add s_setpayloadF.
11774         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11775         test_Ff_b1_data.
11776         (RUN_TEST_Ff_b1): New macro.
11777         (RUN_TEST_LOOP_Ff_b1): Likewise.
11778         (canonicalize_test_data): Update type.
11779         (setpayload_test_data): New array.
11780         (setpayload_test): New function.
11781         (main): Call setpayload_test.
11782         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11783         setpayloadf and setpayloadl.
11784         * manual/libm-err-tab.pl: Update comment on interfaces without
11785         ulps tabulated.
11786         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11787         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11789         Likewise.
11790         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11791         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11792         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11793         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11794         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11795         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11796         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11797         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11798         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11799         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11800         setpayload.
11801         (CFLAGS-nldbl-setpayload.c): New variable.
11802         * sysdeps/nacl/libm.abilist: Update.
11803         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11804         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11805         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11806         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11807         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11809         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11810         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11811         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11814         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11816         Likewise.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11818         Likewise.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11820         Likewise.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11822         Likewise.
11823         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11824         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11826         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11829         Likewise.
11830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11831         Likewise.
11832         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11836 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11838         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11839         * include/unistd.h: Extend comment about __access_noerrno return
11840         semantics.
11841         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11842         (access_common): Correct typo for EACCES.
11844 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11846         * sysdeps/tile/math-tests.h: New file.
11848         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11849         (__old_set_dataplane): Rename from set_dataplane and make a
11850         compatibility symbol.
11851         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11852         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11853         sys/dataplane.h.
11855 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11857         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11858         script quote words in command output to log suitably for input to
11859         the shell.
11861 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11862             Maciej W. Rozycki  <macro@imgtec.com>
11864         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11865         `.Lno_weak_fn' label.
11866         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11867         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11869 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11870             Yury Norov  <ynorov@caviumnetworks.com>
11872         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11873         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11874         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11875         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11876         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11878         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11880         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11881         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11882         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11883         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11884         (sysdep_routines): Remove oldgetrlimit64.
11885         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11886         (sysdep_routines): Likewise.
11887         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11888         (sysdep_routines): Likewise.
11889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11890         [$(subdir) = resource] (sysdep_routines): Likewise.
11891         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11892         [$(subdir) = resource] (sysdep_routines): Likewise.
11893         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11894         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11895         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11896         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11897         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11898         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11899         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11900         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11901         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11902         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11903         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11904         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11905         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11906         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11907         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11908         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11909         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11910         setrlimit and getrlimit.
11911         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11913         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11916         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11917         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11918         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11919         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11920         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11921         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11922         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11923         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11924         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11925         (__old_getrlimit64): Add compatibility symbol.
11926         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11928 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11930         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11931         newly built gmp, mpfr and mpc.
11933         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11935 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11937         * conform/Makefile (linknamespace-libs): Rename to
11938         linknamespace-libs-thr.
11939         (linknamespace-libs-posix): New variable.
11940         (linknamespace-libs-xsi): Likewise.
11941         (linknamespace-libs-XPG3): Include libcrypt.a.
11942         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11943         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11944         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11945         (linknamespace-libs-XOPEN2K): Likewise.
11946         (linknamespace-libs-XOPEN2K8): Likewise.
11947         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11949         [BZ #20829]
11950         * stdio-common/Versions (__snprintf): Add to version
11951         GLIBC_PRIVATE.
11952         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11953         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11954         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11955         of snprintf.
11956         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11958 2016-11-16  Zack Weinberg  <zackw@panix.com>
11960         * string/string.h: Remove obsolete comment stating that
11961         strcoll_l and strxfrm_l have not yet been standardized.
11963 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11965         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11966         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11967         __access_noerrno.
11968         * io/access.c (__access_noerrno): New function.
11969         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11970         (hurd_fail_seterrno): Likewise.
11971         (access_common): Likewise.
11972         (__access_noerrno): Likewise.
11973         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11974         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11975         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11976         macro.
11978 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11980         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11981         Only declare fpregs if [__SH_FPU_ANY__].
11983 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11985         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11986         Make code unconditional.
11987         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11989 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11991         * manual/sysinfo.texi (S_APPEND): Delete.
11992         (S_IMMUTABLE): Likewise.
11994 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11995             Magnus Granberg  <zorry@gentoo.org>
11996             Mike Frysinger  <vapier@gentoo.org>
11998         [BZ #20662]
11999         * configure.ac (libc_cv_predef_stack_protector): Also check for
12000         __stack_chk_fail_local symbols.
12001         * configure: Regenerated.
12003 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12005         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12006         (libc_hidden_def): Remove redefinition.
12007         (__sigsetjmp): Add hidden definition.
12008         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12009         (libc_hidden_def): Remove redefinition.
12010         (__sigsetjmp): Add hidden definition.
12012 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12014         * scripts/build-many-glibcs.py (os.path): Do not import.
12015         (Context): Inherit explicitly from object.  Remove blank line
12016         between class and docstring.
12017         (Config): Likewise.
12018         (Glibc): Likewise.
12019         (Command): Likewise.
12020         (CommandList): Likewise.
12021         (Context.write_files): Store chmod mode in a variable.
12023         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12024         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12025         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12027 2016-11-14  Zack Weinberg  <zackw@panix.com>
12029         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12030         creating or re-creating it.
12032         * string/bits/string2.h: Fix typo in comment.
12034 2016-11-14  Zack Weinberg  <zackw@panix.com>
12036         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12037         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12038         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12039         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12040         of redirected function names.
12042         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12043         as well.  Document that MESSAGE must be a single string literal.
12045 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12047         * scripts/build-many-glibcs.py: New file.
12049         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12050         (do_test): Disable -Wmaybe-uninitialized around uses of
12051         except_mask.
12053         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12055 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
12057         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12058         (atomic_store_release): Provide tilepro-specific implementations.
12060 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
12062         * math/math.h (__MATH_TG): New macro.
12063         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12064         [__USE_ISOC99] (signbit): Likewise.
12065         [__USE_ISOC99] (isfinite): Likewise.
12066         [__USE_ISOC99] (isnan): Likewise.
12067         [__USE_ISOC99] (isinf): Likewise.
12068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12071         __MATH_TG and __MATH_EVAL_FMT2.
12072         * sysdeps/generic/math_private.h (fabs_tg): Define using
12073         __MATH_TG.
12074         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12075         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12076         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12077         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12078         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12079         macro.
12080         (__iscanonical): Likewise.
12081         (iscanonical): Define using __MATH_TG.
12083 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12085         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12086         guards.
12088         * sysdeps/unix/sysv/linux/access.c: New file.
12089         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12091 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
12093         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12094         and __WORDSIZE32_PTRDIFF_LONG.
12096 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12098         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12100 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12102         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12103         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12104         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12105         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12106         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12108         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12109         * sysdeps/unix/sysv/linux/truncate.c: New file.
12110         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12111         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12112         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12113         Remove.
12114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12115         Likewise.
12117         * posix/tst-truncate-common.c: New file.
12118         * posix/tst-truncate.c: Use tst-truncate-common.c.
12119         * posix/tst-truncate64.c: Likewise and add LFS tests.
12120         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12121         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12122         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12123         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12124         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12126         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12127         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12128         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12129         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12130         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12131         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12132         Remove.
12133         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12134         Likewise.
12136 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #20790]
12139         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12140         to MAXLINESIZE.
12141         * sunrpc/bug20790.x: New file.
12142         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12143         variable.
12144         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12145         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12147         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12149         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12151         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12152         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
12153         calloc, realloc, free, memalign and __libc_memalign rather than
12154         making them optional.
12156         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12157         for libc.so.
12159 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12161         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12162         ptw-lseek64.
12163         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12164         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12167         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12168         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12169         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12170         * sysdeps/unix/sysv/linux/lseek.c: New file.
12171         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12172         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12173         __libc_lseek64 from auto-generation.
12174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12175         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12177 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12179         * nptl/tst-basic1.c (tf, do_test): Use write_message.
12180         * nptl/tst-cleanup1.c (do_test): Likewise.
12181         * nptl/tst-cleanup3.c (do_test): Likewise.
12182         * nptl/tst-key1.c (do_test): Likewise.
12183         * nptl/tst-key2.c (tf, do_test): Likewise.
12184         * nptl/tst-key3.c (tf, do_test): Likewise.
12185         * nptl/tst-stdio1.c (do_test): Likewise.
12186         * nptl/tst-stdio2.c (do_test): Likewise.
12188         * nptl/tst-kill3.c (handler): Use write_message in place of write.
12189         * nptl/tst-kill6.c (handler): Likewise.
12190         * nptl/tst-tls2.c (CB): Likewise.
12191         * nptl/tst-tls3.c (CB): Likewise.
12193 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
12195         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12197 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
12198             Steve Ellcey  <sellcey@caviumnetworks.com>
12200         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12201           __ASSUME_ST_INO_64_BIT as 0
12202         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12203         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12204           over the code where __ASSUME_ST_INO_64_BIT is used.
12205         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12206         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12207         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12209 2016-11-07  Florian Weimer  <fweimer@redhat.com>
12211         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12212         Document ABI exposure of the __kind offset.
12213         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12214         Mention reason for the __kind offset exposure in the ABI.
12215         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12216         Likewise.
12217         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12218         Likewise.
12219         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12220         Likewise.
12221         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12222         (struct __pthread_mutex_s): Likewise.
12223         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12224         Likewise.
12225         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12226         Likewise.
12227         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12228         Likewise.
12229         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12230         Likewise.
12231         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12232         Likewise.
12233         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12234         Likewise.
12235         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12236         (struct __pthread_mutex_s): Likewise.
12237         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12238         (struct __pthread_mutex_s): Likewise.
12239         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12240         Likewise.
12242 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
12244         * test-skeleton.c: Document do_test usage.
12246 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
12248         * iconv/gconv.h (__gconv_info): Define __data element using a
12249         zero-length array.
12251 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
12253         * math/test-tgmath2.c: Split up test function.
12255 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12257         * Rules (tests-expected): New variable, depending on
12258         $(run-built-tests).
12259         (tests): Pass $(tests-expected) to merge-test-results.sh, not
12260         $(tests).
12262         * Rules [$(run-built-tests) = no] (tests): Do not depend on
12263         $(tests-unsupported).
12265 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12267         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12268         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
12270 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12272         [BZ #20768]
12273         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12274         __fegetenv instead of fegetenv.
12276         [BZ #14139]
12277         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12278         (find_files): Obtain platform name from libm-test-ulps-name and
12279         store in %pplatforms.
12280         (canonicalize_platform): Remove.
12281         (print_platforms): Use $pplatforms directly.
12282         (by_platforms): Do not allow for platforms missing from
12283         %pplatforms.
12284         * sysdeps/aarch64/libm-test-ulps-name: New file.
12285         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12286         * sysdeps/arm/libm-test-ulps-name: Likewise.
12287         * sysdeps/generic/libm-test-ulps-name: Likewise.
12288         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12289         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12290         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12291         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12292         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12293         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12294         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12295         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12296         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12297         * sysdeps/nios2/libm-test-ulps-name: Likewise.
12298         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12299         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12300         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12301         * sysdeps/sh/libm-test-ulps-name: Likewise.
12302         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12303         * sysdeps/tile/libm-test-ulps-name: Likewise.
12304         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12306         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12308         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12309         (test-xfail-check-execstack): New variable.
12311         * sysdeps/mips/localplt.data: New file.
12313 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
12314             Steve Ellcey  <sellcey@caviumnetworks.com>
12316         * bits/wordsize.h: Add documentation.
12317         * sysdeps/aarch64/bits/wordsize.h : New file
12318         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
12319         definitions.
12320         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12321         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12322         with #if instead of #ifdef.
12323         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12324         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12325         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12326         Add or change defines.
12327         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12328         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12329         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12330         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12331         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12332         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12333         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12334         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12335         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12336         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12337         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12338         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12339         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12340         * sysdeps/x86/bits/wordsize.h: Likewise.
12342 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
12343             Kevin Petit  <kevin.petit@arm.com>
12345         * sysdeps/aarch64/memchr.S (__memchr): New file.
12347 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12349         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12351 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
12353         [BZ #19398]
12354         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12355         $(linknamespace-symlists-tests).
12357 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
12359         * time/tst-strptime2.c: Ignore -Wformat-length warning.
12361 2016-11-02  Florian Weimer  <fweimer@redhat.com>
12362             Carlos O'Donell  <carlos@redhat.com>
12364         [Bug #20729]
12365         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12366         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
12367         for -Os related change.
12369 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
12371         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12373 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
12375         [BZ #19673]
12376         * manual/math.texi (Exponents and Logarithms): Correct description
12377         of clog10.
12379 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
12381         [Bz #20729]
12382         * locale/weight.h: Include libc-internal.h.
12383         * locale/weightwc.h: Likewise.
12384         * nptl/nptl_dbP.h: Likewise.
12386 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
12388         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12389         when it is MACH_PORT_NULL.
12391 2016-10-31  Andreas Schwab  <schwab@suse.de>
12393         [BZ #20707]
12394         * posix/glob.c (glob): Initialize pglob before checking for
12395         GLOB_BRACE.  Don't call glob recursively if pattern contains no
12396         valid brace expression despite GLOB_BRACE.
12397         * posix/globtest.sh: Test it.
12399 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12401         [BZ #20729]
12402         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12403         Define.
12404         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12405         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12406         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12407         for seq2.back_us and seq1.back_us only for -Os compiles.
12408         * locale/weightwc.h (findix): Likewise.
12409         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12410         DB_GET_FIELD_ADDRESS only for -Os compiles.
12411         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12412         for slen only for -Os compiles.
12413         * string/strcoll_l.c (get_next_seq): Ignore
12414         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12415         for -Os compiles.
12417         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12418         * include/crypt.h: New file.
12420 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12422         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12423         from test-skeleton.c.
12424         (statclass): Replace calls to write with calls to write_message.
12426 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12428         * math/math.h
12429         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12430         New macro.
12431         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12432         Likewise.
12433         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12434         Likewise.
12435         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12436         SNANL.
12437         * math/test-double.h (snan_value_MACRO): New macro.
12438         * math/test-float.h (snan_value_MACRO): Likewise.
12439         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12440         * math/libm-test.inc (issignaling_test_data): Add tests of
12441         snan_value_MACRO.
12443 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12445         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12446         behavior when eliding a lock not held by the current thread.
12447         * sysdeps/powerpc/nptl/elide.h: Likewise.
12449 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12451         [BZ #20728]
12452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12453         branch to _exit() by a function call.
12455 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12457         * malloc/malloc.c: Update chunk layout comments.
12458         (chunk_main_arena): Update comment.
12460 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12462         * crypt/sha256.c, crypt/sha256-block.c,
12463         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12464         sha256_process_block to __sha256_process_block.
12465         * crypt/sha512.c, crypt/sha512-block.c,
12466         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12467         sha512_process_block to __sha512_process_block.
12469 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12471         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12473         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12475 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12477         [BZ #20019]
12478         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12479         definition in unrelocated shared library.
12480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12482 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12484         [BZ #20729]
12485         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12486         * sysdeps/unix/sysv/linux/i386/Makefile
12487         (uses-6-syscall-arguments): Define.
12488         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12489         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12490         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12491         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12492         Likewise.
12493         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12494         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12495         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12496         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12497         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12498         (CFLAGS-fallocate64.os): Likewise.
12499         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12500         (CFLAGS-pthread_rwlock_timedrdlock.os)
12501         (CFLAGS-pthread_rwlock_timedwrlock.o)
12502         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12503         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12504         (CFLAGS-sem_timedwait.os): Likewise.
12506 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12508         * elf/tst-linkall-static.c: New file.
12509         * elf/Makefile (tests-static): Add tst-linkall-static.
12510         (tst-linkall-static): Link against static libraries.
12512 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12514         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12515         mmaped chunks.
12517 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12519         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12520         members to mchunk_prev_size, mchunk_size.
12521         (chunk_main_arena): Reverse sense and rename from
12522         chunk_non_main_arena.
12523         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12524         mchunk_size instead of size.
12525         (set_non_main_arena): Define.
12526         (chunksize): Use chunksize_nomask instead of direct member access.
12527         (chunksize_nomask): Define.
12528         (next_chunk): Use chunksize instead of direct member access.
12529         (prev_size, set_prev_size): Define.
12530         (prev_chunk): Use prev_size instead of direct member access.
12531         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12532         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12533         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12534         (mchunk_prev_size, mchunk_size): Poison tokens.
12535         (unlink): Use chunksize_nomask, prev_size accessors.
12536         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12537         (do_check_free_chunk): Use prev_size accessor.
12538         (sysmalloc): Use set_prev_size, set_head accessors.
12539         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12540         (__libc_free): Use chunksize_nomask accessor.
12541         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12542         chunk_main_arena accessors.
12543         (_int_free): Use chunksize_nomask, prev_size accessors.
12544         (malloc_consolidate): Use chunksize, prev_size accessors.
12545         (_int_realloc): Use chunksize_nomask accessor.
12546         (_int_memalign): Use set_prev_size accessor.
12547         (__malloc_info): Use chunksize_nomask accessor.
12548         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12549         accessors.
12550         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12551         (heap_trim): Use chunksize_nomask, prev_size accessors.
12553 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12555         [BZ #19380]
12556         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12557         for inexact results.
12558         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12559         of inexact result where mpfr_subnormalize is the only inexact
12560         step.
12561         * stdlib/tst-strtod-round-data.h: Regenerated.
12562         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12563         Define to 0.
12564         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12566 2016-10-27  David S. Miller  <davem@davemloft.net>
12568         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12570 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12572         * malloc/malloc.c (do_set_mallopt_check): New function.
12573         (do_set_mmap_threshold): Likewise.
12574         (do_set_mmaps_max): Likewise.
12575         (do_set_top_pad): Likewise.
12576         (do_set_perturb_byte): Likewise.
12577         (do_set_trim_threshold): Likewise.
12578         (do_set_arena_max): Likewise.
12579         (do_set_arena_test): Likewise.
12580         (__libc_mallopt): Use them.
12582 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12584         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12585         (canonicalize): New declaration.
12586         * math/Versions (canonicalize): New libm symbol at version
12587         GLIBC_2.25.
12588         (canonicalizef): Likewise.
12589         (canonicalizel): Likewise.
12590         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12591         * math/s_canonicalize_template.c: New file.
12592         * math/libm-test.inc: Update comment on functions tested and
12593         testing of NaN payloads.
12594         (TEST_NAN_PAYLOAD): New macro.
12595         (NO_TEST_INLINE): Update value.
12596         (XFAIL_TEST): Likewise.
12597         (ERRNO_UNCHANGED): Likewise.
12598         (ERRNO_EDOM): Likewise.
12599         (ERRNO_ERANGE): Likewise.
12600         (IGNORE_RESULT): Likewise.
12601         (NON_FINITE): Likewise.
12602         (TEST_SNAN): Likewise.
12603         (NO_TEST_MATHVEC): Likewise.
12604         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12605         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12606         (struct test_Ffp_b1_data): New type.
12607         (RUN_TEST_Ffp_b1): New macro.
12608         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12609         (canonicalize_test_data): New array.
12610         (canonicalize_test): New function.
12611         (main): Call canonicalize_test.
12612         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12613         canonicalizef and canonicalizel.
12614         * manual/libm-err-tab.pl: Update comment on interfaces without
12615         ulps tabulated.
12616         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12617         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12618         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12619         canonicalize.
12620         (CFLAGS-nldbl-canonicalize.c): New variable.
12621         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12622         to ...
12623         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12624         ... here.
12625         (do_test): Also test canonicalizel.
12626         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12627         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12628         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12629         file.
12630         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12631         Use libm_hidden_def.
12632         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12633         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12634         (do_test): Also test canonicalizel.
12635         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12636         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12637         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12638         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12639         libm_hidden_def.
12640         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12641         macro.
12642         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12643         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12644         * sysdeps/nacl/libm.abilist: Update.
12645         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12646         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12647         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12648         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12649         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12650         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12651         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12652         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12653         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12654         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12655         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12656         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12658         Likewise.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12660         Likewise.
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12662         Likewise.
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12664         Likewise.
12665         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12666         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12667         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12668         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12669         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12671         Likewise.
12672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12673         Likewise.
12674         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12675         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12676         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12678         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12679         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12680         getpayload.
12681         (CFLAGS-nldbl-getpayload.c): New variable.
12683 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12685         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12686         integer from the format string.
12688 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12690         [BZ #19473]
12691         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12692         declarations.
12693         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12694         weak aliases.
12695         * malloc/hooks.c (__malloc_get_state): Remove definition.
12696         (malloc_get_state): New stub implementation as
12697         compatibility symbol.
12698         (malloc_set_state): Rename from __malloc_set_state.  Turn into
12699         compat symbol.
12700         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12701         malloc_set_state.
12702         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12704 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12706         * iconvdata/iso646.c (enum variant): Drop illegal_var.
12707         (names): Turn into concatenation of strings.
12708         (gconv_init): Adapt iteration over names.
12710 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12712         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12713         make const.
12714         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12715         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12716         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12717         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12718         character in sbconv.
12719         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12720         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12721         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12723 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12725         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12727         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12728         (M_TRIM_THRESHOLD): Likewise.
12730         * manual/memory.texi (M_ARENA_TEST): Add documentation.
12731         (M_ARENA_MAX): Likewise.
12732         * malloc/malloc.c: Remove obsolete comment.
12734         * manual/memory.texi: Add environment variable alternatives to
12735         setting mallopt parameters.
12737 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12739         * include/atomic.h
12740         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12741         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12743 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12745         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12746         * stdlib/tst-strfrom.h: New file.
12747         * stdlib/tst-strfrom.c: New file.
12748         * stdlib/tst-strfrom-locale.c: New file.
12750         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12751         * stdlib/bug-strtod2.c: Likewise.
12752         * stdlib/tst-strtod-round-skeleton.c: Likewise.
12753         * stdlib/tst-strtod6.c: Likewise.
12754         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12756 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12758         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12759         * manual/arith.texi: Document strfromd, strfromf, strfroml.
12760         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12761         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12762         * stdlib/stdlib.h (strfromd): New declaration.
12763         (strfromf): Likewise.
12764         (strfroml): Likewise.
12765         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
12766         strfrom.
12767         * stdlib/strfromd.c: New file.
12768         * stdlib/strfromf.c: Likewise.
12769         * stdlib/strfroml.c: Likewise.
12770         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12771         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12772         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12773         * sysdeps/arm/nacl/libc.abilist: Update.
12774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12803 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12805         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12806         instead of cmpli.
12807         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12808         instead of cmpli.
12810 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12812         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12813         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12814         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12815         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12816         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12817         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12819 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12821         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12822         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12823         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12824         SYSCALL_LL64_PRW.
12825         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12826         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12827         __ASSUME_PRW_DUMMY_ARG.
12828         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12829         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12830         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12831         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12832         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12833         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12835 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12837         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12839 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12841         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12842         "C++", to override a potential extern "C" directive around the
12843         header file inclusion.
12845 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12847         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12849 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12851         * sysdeps/powerpc/fpu/fenv_private.h:
12852         (_FPU_MASK_ALL): Rename to...
12853         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12854         XE FPSCR bits.
12856         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12858         (_FPU_MASK_ROUNDING): Rename to...
12859         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12860         NI bits.
12862         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12863         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12864         bits and rounding bits.
12866         (__libc_feholdbits_ppc): New inline function to mask, set,
12867         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12868         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12869         (libc_feholdexcept_setround_ppc): Likewise.
12871         (__libc_femergeenv_ppc): New function to dynamically mask both
12872         old and new FP environments and merge.
12873         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12874         (libc_feresetround_ppc): Likewise.
12875         (libc_feupdateenv_test_ppc): Likewise.
12876         (libc_feupdateenv_ppc): Likewise.
12878         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12879         of ISA RN bits, and update macro names.
12880         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12881         effectively the same as the previously mentioned function.
12883         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12884         usage with fe_resetround_ppc.
12886         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12887         to be used.
12888         (libc_feholdexcept_setround_ctxf): Likewise.
12889         (libc_feholdexcept_setround_ctxl): Likewise.
12891 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12893         [BZ #20715]
12894         * math/math.h [__cplusplus] (iszero): Define as function template.
12895         * math/Makefile [CXX] (tests): Add test-math-iszero.
12896         (CFLAGS-test-math-iszero.cc): Set.
12897         * math/test-math-iszero.cc: New file.
12899 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12901         [BZ #20660]
12902         * sysdeps/arm/e_sqrt.c: New file.
12903         * sysdeps/arm/e_sqrtf.c: Likewise.
12905 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12907         [BZ #20718]
12908         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12909         not use floating-point comparisons to test sign.
12910         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12911         Likewise.
12913         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12914         (getpayload): New declaration.
12915         * math/Versions (getpayload): New libm symbol at version
12916         GLIBC_2.25.
12917         (getpayloadf): Likewise.
12918         (getpayloadl): Likewise.
12919         * math/Makefile (libm-calls): Add s_getpayloadF.
12920         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12921         (struct test_f_f_data): Add comment.
12922         (RUN_TEST_fp_f): New macro.
12923         (RUN_TEST_LOOP_fp_f): Likewise.
12924         (getpayload_test_data): New array.
12925         (getpayload_test): New function.
12926         (main): Call getpayload_test.
12927         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12928         descriptor.
12929         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12930         getpayloadf and getpayloadl.
12931         * manual/libm-err-tab.pl: Update comment on interfaces without
12932         ulps tabulated.
12933         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12934         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12935         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12936         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12937         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12938         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12939         * sysdeps/nacl/libm.abilist: Update.
12940         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12941         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12942         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12943         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12944         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12945         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12946         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12947         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12948         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12949         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12950         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12951         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12955         Likewise.
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12957         Likewise.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12959         Likewise.
12960         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12961         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12962         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12963         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12964         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12966         Likewise.
12967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12968         Likewise.
12969         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12970         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12971         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12973 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12976         tst-fallocate{64}.
12977         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12978         on syscall return.
12980 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12982         [BZ #20689]
12983         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12984         usable.
12986 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12988         * sysdeps/generic/nan-high-order-bit.h: New file.
12989         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12990         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12991         * sysdeps/hppa/math_private.h: Remove file.
12992         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12993         not define here.
12994         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12995         <nan-high-order-bit.h>.
12996         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12997         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12998         <nan-high-order-bit.h>.
12999         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13000         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13001         <nan-high-order-bit.h>.
13002         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13003         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13004         <nan-high-order-bit.h>.
13005         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13006         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13007         <nan-high-order-bit.h>.
13008         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13009         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13010         <nan-high-order-bit.h>.
13011         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13012         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13013         <nan-high-order-bit.h>.
13014         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13015         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13016         <nan-high-order-bit.h>.
13017         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13018         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13019         <nan-high-order-bit.h>.
13020         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13021         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13022         <nan-high-order-bit.h>.
13023         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13024         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13025         <nan-high-order-bit.h>.
13026         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13027         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13028         <nan-high-order-bit.h>.
13029         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13030         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13031         <nan-high-order-bit.h>.
13032         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13033         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13034         <nan-high-order-bit.h>.
13035         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13036         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13037         <nan-high-order-bit.h>.
13038         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13039         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13040         <nan-high-order-bit.h>.
13041         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13042         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13043         <nan-high-order-bit.h>.
13044         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13045         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13046         <nan-high-order-bit.h>.
13047         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13049 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13051         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13053 2016-09-22  John David Anglin  <dave.anglin@bell.net>
13055         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13056         abort-instr.h.
13057         (EFAULT): Remove conditional define.
13058         (ENOSYS): Likewise.
13059         (atomic_compare_and_exchange_val_acq): Use instruction nullification
13060         instead of conditional branch instructions.
13062 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
13064         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13065         (totalordermag): New declaration.
13066         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13067         New macro.
13068         * math/Versions (totalordermag): New libm symbol at version
13069         GLIBC_2.25.
13070         (totalordermagf): Likewise.
13071         (totalordermagl): Likewise.
13072         * math/Makefile (libm-calls): Add s_totalordermagF.
13073         * math/libm-test.inc (totalordermag_test_data): New array.
13074         (totalordermag_test): New function.
13075         (main): Call totalordermag_test.
13076         * math/test-tgmath.c (NCALLS): Increase to 125.
13077         (F(compile_test)): Call totalordermag.
13078         (F(totalordermag)): New function.
13079         * manual/arith.texi (FP Comparison Functions): Document
13080         totalordermag, totalordermagf and totalordermagl.
13081         * manual/libm-err-tab.pl: Update comment on interfaces without
13082         ulps tabulated.
13083         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13084         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13085         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13086         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13087         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13088         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13089         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13090         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13091         totalordermag.
13092         (CFLAGS-nldbl-totalordermag.c): New variable.
13093         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13094         (do_test): Also test totalordermagl.
13095         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13096         Likewise.
13097         * sysdeps/nacl/libm.abilist: Update.
13098         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13099         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13100         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13101         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13102         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13104         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13105         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13106         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13107         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13108         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13109         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13111         Likewise.
13112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13113         Likewise.
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13117         Likewise.
13118         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13119         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13120         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13121         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13124         Likewise.
13125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13126         Likewise.
13127         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13131 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
13133         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13134         boolean.
13136 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
13138         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13139         raising FE_INVALID with feraisexcept in case where part of
13140         argument is infinite, subtract that part of argument from itself.
13141         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13142         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13143         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13145 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13147         * math/libm-test.inc (totalorder_test_data): Add more tests.
13149 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13151         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13152         Undefine weak_alias and add a comment why mips64 require
13153         versioning.
13155 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13157         [BZ #20647]
13158         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13159         maximum CPUID level is less than 2.
13161 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13163         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13164         (totalorder): New declaration.
13165         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13166         New macro.
13167         * math/Versions (totalorder): New libm symbol at version
13168         GLIBC_2.25.
13169         (totalorderf): Likewise.
13170         (totalorderl): Likewise.
13171         * math/Makefile (libm-calls): Add s_totalorderF.
13172         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13173         string.
13174         * math/libm-test.inc (PAYLOAD_DIG): New macro.
13175         (qnan_value_pl): Likewise.
13176         (snan_value_pl): Likewise.
13177         (qnan_value): Define using qnan_value_pl.
13178         (snan_value): Define using snan_value_pl.
13179         (struct test_ff_i_data): Add comment about which tests use this
13180         structure.
13181         (RUN_TEST_ff_b): New macro.
13182         (RUN_TEST_LOOP_ff_b): Likewise.
13183         (totalorder_test_data): New array.
13184         (totalorder_test): New function.
13185         (main): Call totalorder_test.
13186         * math/test-tgmath.c (NCALLS): Increase to 122.
13187         (F(compile_test)): Call totalorder.
13188         (F(totalorder)): New function.
13189         * manual/arith.texi (FP Comparison Functions): Document
13190         totalorder, totalorderf and totalorderl.
13191         * manual/libm-err-tab.pl: Update comment on interfaces without
13192         ulps tabulated.
13193         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13194         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13195         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13196         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13197         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13198         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13199         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13200         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13201         totalorder.
13202         (CFLAGS-nldbl-totalorder.c): New variable.
13203         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13204         file.
13205         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13206         Add test-totalorderl-ldbl-128ibm.
13207         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13208         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13209         test-totalorderl-ldbl-96.
13210         * sysdeps/nacl/libm.abilist: Update.
13211         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13214         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13217         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13218         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13219         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13220         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13221         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13222         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13224         Likewise.
13225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13228         Likewise.
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13230         Likewise.
13231         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13232         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13233         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13234         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13235         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13237         Likewise.
13238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13239         Likewise.
13240         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13241         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13244 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13246         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13247         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13248         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13249         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13250         remove ENOSYS implementation.
13251         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13252         Consolidate all Linux implementations.
13254 2016-10-11  Florian Weimer  <fweimer@redhat.com>
13256         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13257         * resolv/herror.c (herror): Cast away const-ness.
13258         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
13259         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
13261 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
13263         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
13264         instead of M_NAN + M_NAN.
13265         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13267 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13269         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
13270         unused variable 'p'.
13272 2016-10-09  Alan Modra  <amodra@gmail.com>
13273             Andreas Schwab  <schwab@linux-m68k.org>
13275         [BZ #20554]
13276         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13277         [PIC && !SHARED]: Set up PIC register for PLT call.
13279 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
13281         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13282         conditional on value of [__FLT_EVAL_METHOD__].
13283         * math/test-iseqsig-excess-precision.c: New file.
13284         * math/Makefile (tests): Add test-iseqsig-excess-precision.
13286 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13288         * math/s_iseqsig_template.c: Include math-private.h.
13290         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13291         * posix/tst-posix_fadvise.c: New file.
13292         * posix/tst-posix_fadvise64.c: Likewise.
13293         * posix/tst-posix_fadvise-common.c: Likewise.
13294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13295         (__ASSUME_FADVISE64_64_6ARG): Define.
13296         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13297         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13298         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13299         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13300         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13301         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13302         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13303         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13304         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13305         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13306         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13307         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
13310         Likewise.
13311         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
13312         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
13313         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
13314         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13315         Alias to __posix_fadvise64_l32.
13316         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
13317         Add compat definition to posix_fadvise64.
13318         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13319         Add versioned definition to posix_fadvise64.
13320         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13321         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13322         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13323         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13324         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13326         * io/Makefile (tests): Add tst-posix_fallocate and
13327         tst-posix_fallocate64.
13328         * io/tst-posix_fallocate-common.c: New file.
13329         * io/tst-posix_fallocate.c: Likewise.
13330         * io/tst-posix_fallocate64.c: Likewise.
13331         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13332         file.
13333         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13334         Likewise.
13335         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13336         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13337         Likewise.
13338         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13339         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13340         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13341         SYSCALL_LL to pass both offset and len arguments.
13342         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13343         Likewise.
13344         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13345         __libc_pwrite64 alias used by posix_fallocate64.
13347         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13348         tst-fallocate64.
13349         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13350         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13351         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13352         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13353         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13354         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13355         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13356         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13357         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13358         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13359         macro on offset argument.
13360         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13361         SYSCALL_LL64 on offset argument.
13363         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13364         tst-fallocate64.
13365         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13366         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13367         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13368         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13369         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13370         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13371         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13372         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13373         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13374         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13375         macro on offset argument.
13376         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13377         SYSCALL_LL64 on offset argument.
13378         * test-skeleton.c (FAIL_RET): Add macro.
13379         (FAIL_EXIT): Likewise.
13380         (FAIL_EXIT1): Likewise.
13381         (_FAIL): Likewise.
13383 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13385         [BZ #20629]
13386         resolv: Remove RES_USEBSTRING and its implementation.
13387         * resolv/resolv.h (RES_USEBSTRING): Remove.
13388         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13389         (digitvalue, encode_bitstring, decode_bitstring): Remove.
13390         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13391         (labellen): Remove extended label types support.
13392         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13393         * resolv/res_init.c (res_setoptions): Likewise.
13394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13396 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13398         resolv: Remove RES_NOIP6DOTINT and its implementation.
13399         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13400         (RES_NOIP6DOTINT): Remove.
13401         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13402         handling.
13403         * resolv/res_debug.c (p_option): Likewise.
13404         * resolv/res_init.c (res_setoptions): Likewise.
13405         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13407 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13409         resolv: Deprecate unimplemented flags.
13410         * misc/sys/cdefs.h (__glibc_macro_warning1)
13411         (__glibc_macro_warning): Define.
13412         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13413         (RES_KEEPTSIG): Mark as deprecated.
13414         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13415         RES_NOCHECKNAME, RES_KEEPTSIG.
13416         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13418 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13420         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13421         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13422         Use strong_alias to create symbols for glibc verison 2.19.
13424 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13426         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13428 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13430         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13432 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13434         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13436 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13439         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13440         in header for using it as type for ifunc function because __GI_* symbols
13441         for ppc32 do not target the ifunc symbols.
13442         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13444 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13446         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13447         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13448         libc_ifunc_hidden_def.
13449         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13450         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13451         Redirect ifunced function in header for using it as type of ifunc'ed
13452         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13453         function for __GI_* symbol.
13454         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13455         * include/libc-symbols.h
13456         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13458 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13460         [BZ #20478]
13461         * sysdeps/s390/multiarch/ifunc-resolve.h
13462         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13463         to create ifunc symbols.
13464         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13465         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13466         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13467         for using it as type for ifunc function.
13468         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13469         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13470         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13471         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13472         * sysdeps/s390/multiarch/strcat.c: Likewise.
13473         * sysdeps/s390/multiarch/strchr.c: Likewise.
13474         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13475         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13476         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13477         * sysdeps/s390/multiarch/strlen.c: Likewise.
13478         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13479         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13480         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13481         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13482         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13483         * sysdeps/s390/multiarch/strspn.c: Likewise.
13484         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13485         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13486         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13487         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13488         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13489         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13490         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13491         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13492         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13493         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13494         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13495         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13497 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13499         * include/libc-symbols.h (__ifunc_resolver):
13500         New macro is used by __ifunc* macros.
13501         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13502         depending on HAVE_GCC_IFUNC.
13503         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13504         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13506         Redirect ifunced function in header for using as type for ifunc function.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13513         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13515         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13517         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13519         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13520         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13526         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13527         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13528         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13530         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13531         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13532         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13533         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13534         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13535         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13536         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13537         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13538         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13539         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13541         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13542         instead of libc_ifunc() macro.
13543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13546 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13548         * config.h.in (HAVE_GCC_IFUNC): New undef.
13549         * configure.ac: Add check if gcc supports attribute ifunc feature.
13550         * configure: Regenerated.
13551         * manual/install.texi: Add recommendation for gcc with
13552         indirect-function support.
13553         * INSTALL: Regenerated.
13555 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13557         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13558         macro.
13559         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13560         (__iseqsig): New declaration.
13561         * math/s_iseqsig_template.c: New file.
13562         * math/Versions (__iseqsigf): New libm symbol at version
13563         GLIBC_2.25.
13564         (__iseqsig): Likewise.
13565         (__iseqsigl): Likewise.
13566         * math/libm-test.inc (iseqsig_test_data): New array.
13567         (iseqsig_test): New function.
13568         (main): Call iseqsig_test.
13569         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13570         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13571         * manual/libm-err-tab.pl: Update comment on interfaces without
13572         ulps tabulated.
13573         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13574         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13575         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13576         * sysdeps/nacl/libm.abilist: Update.
13577         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13578         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13579         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13580         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13581         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13582         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13583         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13584         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13585         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13586         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13588         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13590         Likewise.
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13598         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13600         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13601         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13603         Likewise.
13604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13605         Likewise.
13606         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13607         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13608         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13610 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13612         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13613         do_sincos_2, sloww, sloww1): Update comments.
13615         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13616         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13618         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13619         K boolean and rename it.
13620         (__sin): Adjust.
13621         (__cos): Adjust.
13623 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13624             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13626         * manual/nss.texi: Fix typos in the manual.
13628 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13630         * manual/contrib.texi: Fix typos in the manual.
13632         * manual/maint.texi: Fix typos in the manual.
13634         * manual/install.texi: Fix typos in the manual.
13635         * INSTALL: Regenerated.
13637         * manual/lang.texi: Fix typos in the manual.
13639         * manual/probes.texi: Fix typos in the manual.
13641         * manual/threads.texi: Fix typos in the manual.
13643         * manual/debug.texi: Fix typos in the manual.
13645         * manual/crypt.texi: Fix typos in the manual.
13647         * manual/conf.texi: Fix typos in the manual.
13649         * manual/sysinfo.texi: Fix typos in the manual.
13651         * manual/users.texi: Fix typos in the manual.
13653         * manual/job.texi: Fix typos in the manual.
13655         * manual/process.texi: Fix typos in the manual.
13657         * manual/argp.texi: Fix typos in the manual.
13658         * manual/getopt.texi: Likewise.
13659         * manual/startup.texi: Likewise.
13661         * manual/signal.texi: Fix typos in the manual.
13663         * manual/setjmp.texi: Fix typos in the manual.
13665         * manual/resource.texi: Fix typos in the manual.
13667         * manual/time.texi: Fix typos in the manual.
13669         * manual/arith.texi: Fix typos in the manual.
13671         * manual/math.texi: Fix typos in the manual.
13673         * manual/syslog.texi: Fix typos in the manual.
13675         * manual/terminal.texi: Fix typos in the manual.
13677         * manual/socket.texi: Fix typos in the manual.
13679         * manual/filesys.texi: Fix typos in the manual.
13681         * manual/llio.texi: Fix typos in the manual.
13683         * manual/stdio.text: Fix typos in the manual.
13685 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13687         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13688         instead of K1.
13690         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13691         SHIFT_QUADRANT and make it bool.
13692         (do_sincos_2): Likewise.
13693         (sloww): Likewise.
13694         (sloww1): Likewise.
13695         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13696         (__cos): Likewise.
13698 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13700         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13702 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
13704         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13705         Define to __WORDSIZE, not conditional on [LONG_MAX ==
13706         0x7fffffffL].
13707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13709 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13711         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13712         inline by __inline__.
13713         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13714         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13715         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13716         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13717         sigset_t from signal.h.
13718         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13719         which is already required.
13721 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
13723         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13725 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
13727         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13728         (struct tcp_repair_window): New type.
13730 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13732         * libio/tst-memstream3.c: Include string.h.
13734 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13736         [BZ #18241]
13737         [BZ #20181]
13738         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13739         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13740         write position is at the end the buffer.
13741         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13742         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13743         (_IO_str_seekoff): Set correct offset from negative displacement and
13744         set EINVAL for invalid ones.
13745         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13746         buffer length.
13747         (_IO_wstr_switch_to_get_mode): New function.
13748         (_IO_wstr_seekoff): Set correct offset from negative displacement and
13749         set EINVAL for invalid ones.
13750         * libio/tst-memstream3.c: New file.
13751         * libio/tst-wmemstream3.c: Likewise.
13752         * manual/examples/memstrm.c: Remove warning when priting size_t.
13754 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13756         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13757         macro to use __builtin_fma.
13758         * sysdeps/x86_64/fpu/dla.h: Remove file.
13760         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13761         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13762         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13764 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13766         [BZ #20292]
13767         * elf/Makefile (routines): Add dl-addr-obj.
13768         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13769         tst-_dl_addr_inside_object.
13770         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13771         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13772         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13773         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13774         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13775         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13776         * elf/dl-open.c: Likewise.
13777         * elf/dl-addr-obj.c: New file.
13778         * elf/tst-_dl_addr_inside_object.c: New file.
13780 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13782         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13783         <bits/iscanonical.h>.
13784         * bits/iscanonical.h: New file.
13785         * math/s_iscanonicall.c: Likewise.
13786         * math/Versions (__iscanonicall): New libm symbol at version
13787         GLIBC_2.25.
13788         * math/libm-test.inc (iscanonical_test_data): New array.
13789         (iscanonical_test): New function.
13790         (main): Call iscanonical_test.
13791         * math/Makefile (headers): Add bits/iscanonical.h.
13792         (type-ldouble-routines): Add s_iscanonicall.
13793         * manual/arith.texi (Floating Point Classes): Document
13794         iscanonical.
13795         * manual/libm-err-tab.pl: Update comment on interfaces without
13796         ulps tabulated.
13797         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13798         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13799         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13800         Likewise.
13801         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13802         test-iscanonical-ldbl-128ibm.
13803         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13804         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13805         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13806         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13807         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13811         Likewise.
13812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13813         Likewise.
13814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13815         Likewise.
13816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13817         Likewise.
13818         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13819         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13821 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13823         * string/bits/string3.h: Remove C++ style comments.
13825 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13827         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13828         instead of ternary condition.
13829         (do_sincos_2): Likewise.
13830         (__sin): Likewise.
13831         (__cos): Likewise.
13832         (slow): Likewise.
13833         (sloww): Likewise.
13834         (sloww1): Likewise.
13835         (bsloww): Likewise.
13836         (bsloww1): Likewise.
13838         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13839         instead of ternary condition.
13840         (do_sin_slow): Likewise.
13841         (do_sincos_1): Likewise.
13842         (do_sincos_2): Likewise.
13843         (__cos): Likewise.
13844         (sloww): Likewise.
13845         (sloww1): Likewise.
13846         (sloww2): Likewise.
13847         (bsloww): Likewise.
13848         (bsloww1): Likewise.
13849         (bsloww2): Likewise.
13851         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13852         check from here...
13853         (slow2): ... and here...
13854         (__sin): ... to here.
13856 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13858         * math/math.h
13859         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13860         Cast argument to its own type.
13861         * math/test-iszero-excess-precision.c: New file.
13862         * math/Makefile (tests): Add test-iszero-excess-precision.
13863         (CFLAGS-test-iszero-excess-precision.c): New variable.
13865 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13867         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13868         field, add err field.
13869         (__spawni_child): Report error through err member instead of pipe.
13870         (__spawnix): Likewise.
13872 2016-09-28  Zack Weinberg  <zackw@panix.com>
13874         * scripts/check-installed-headers.sh: Generalize treatment of
13875         sys/elf.h to all target architectures.
13877         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13878         deleted typedef ucontext_t.
13880 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13882         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13883         (__INTERNAL_SYSCALL1): Likewise.
13884         (__INTERNAL_SYSCALL2): Likewise.
13885         (__INTERNAL_SYSCALL3): Likewise.
13886         (__INTERNAL_SYSCALL4): Likewise.
13887         (__INTERNAL_SYSCALL5): Likewise.
13888         (__INTERNAL_SYSCALL6): Likewise.
13889         (__INTERNAL_SYSCALL7): Likewise.
13890         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13891         (__INTERNAL_SYSCALL_NARGS): Likewise.
13892         (__INTERNAL_SYSCALL_DISP): Likewise.
13893         (INTERNAL_SYSCALL_CALL): Likewise.
13894         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13895         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13896         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13897         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13898         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13899         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13900         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13901         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13902         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13903         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13904         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13905         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13906         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13908 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13910         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13911         macro.
13912         * math/libm-test.inc (iszero_test_data): New array.
13913         (iszero_test): New function.
13914         (main): Call iszero_test.
13915         * manual/arith.texi (Floating Point Classes): Document iszero.
13916         * manual/libm-err-tab.pl: Update comment on interfaces without
13917         ulps tabulated.
13919 2016-09-23  Zack Weinberg  <zackw@panix.com>
13921         * scripts/check-installed-headers.sh: New script.
13922         * Rules: In each directory that defines header files to be installed,
13923         run check-installed-headers.sh on them as a special test.
13924         * Makefile: Likewise for the headers installed at top level.
13926         * include/aliases.h, include/alloca.h, include/argz.h
13927         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13928         * include/elf.h, include/envz.h, include/err.h
13929         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13930         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13931         * include/link.h, include/malloc.h, include/mcheck.h
13932         * include/mntent.h, include/netinet/ether.h
13933         * include/nss.h, include/obstack.h, include/printf.h
13934         * include/pty.h, include/resolv.h, include/rpc/auth.h
13935         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13936         * include/rpc/clnt.h, include/rpc/des_crypt.h
13937         * include/rpc/key_prot.h, include/rpc/netdb.h
13938         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13939         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13940         * include/rpc/rpc_msg.h, include/rpc/svc.h
13941         * include/rpc/svc_auth.h, include/rpc/xdr.h
13942         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13943         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13944         * include/rpcsvc/ypupd.h, include/shadow.h
13945         * include/stdio_ext.h, include/sys/epoll.h
13946         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13947         * include/sys/prctl.h, include/sys/profil.h
13948         * include/sys/statfs.h, include/sys/sysctl.h
13949         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13950         * sysdeps/arm/nacl/include/bits/setjmp.h
13951         * sysdeps/mips/include/sys/asm.h
13952         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13953         * sysdeps/unix/sysv/linux/include/sys/timex.h
13954         * sysdeps/x86/fpu/include/bits/fenv.h:
13955         Add #ifndef _ISOMAC guard around internal declarations.
13956         Add multiple-inclusion guard if not already present.
13958 2016-09-23  Zack Weinberg  <zackw@panix.com>
13960         * sysdeps/generic/sys/ucontext.h
13961         * sysdeps/arm/sys/ucontext.h
13962         * sysdeps/i386/sys/ucontext.h
13963         * sysdeps/m68k/sys/ucontext.h
13964         * sysdeps/mips/sys/ucontext.h
13965         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13966         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13967         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13968         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13969         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13970         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13971         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13972         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13973         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13974         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13975         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13976         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13977         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13978         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13979         Include both bits/sigcontext.h and bits/sigstack.h.
13980         Fix grammar error in comment, if present.
13982         * bits/sigstack.h
13983         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13984         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13985         * sysdeps/unix/sysv/linux/bits/sigstack.h
13986         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13987         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13988         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13989         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13990         * bits/sigcontext.h
13991         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13992         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13993         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13994         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13995         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13996         as well as signal.h, if this was not already allowed.  Request
13997         definition of size_t if necessary.  Minimize semantically-null
13998         differences across files.
14000 2016-09-23  Zack Weinberg  <zackw@panix.com>
14002         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14003         Remove all logic conditional on __need macros.  Move all the
14004         conditionally defined types to their own headers...
14005         * time/bits/types/clock_t.h: Define clock_t here.
14006         * time/bits/types/clockid_t.h: Define clockid_t here.
14007         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14008         * time/bits/types/struct_timespec.h: Define struct timespec here.
14009         * time/bits/types/struct_timeval.h: Define struct timeval here.
14010         * time/bits/types/struct_tm.h: Define struct tm here.
14011         * time/bits/types/time_t.h: Define time_t here.
14012         * time/bits/types/timer_t.h: Define timer_t here.
14013         * time/Makefile: Install the new headers.
14015         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14016         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14017         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14018         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14019         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14020         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14021         * sysdeps/unix/sysv/linux/bits/resource.h
14022         * sysdeps/unix/sysv/linux/bits/timex.h
14023         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14024         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14025         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14026         * sysdeps/unix/sysv/linux/sys/acct.h
14027         * sysdeps/unix/sysv/linux/sys/timerfd.h
14028         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14029         * time/sys/time.h, time/sys/timeb.h
14030         Use the new bits/types headers.
14032         * include/time.h: Remove __need logic.
14033         * include/bits/time.h
14034         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14035         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14036         * include/bits/types/struct_itimerspec.h
14037         * include/bits/types/struct_timespec.h
14038         * include/bits/types/struct_timeval.h
14039         * include/bits/types/struct_tm.h:
14040         New wrapper headers.
14042 2016-09-23  Zack Weinberg  <zackw@panix.com>
14044         * sysdeps/mach/hurd/net/if_ppp.h
14045         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14046         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14047         if __USE_MISC is defined, to ensure struct ifreq is declared.
14049         * inet/netinet/ether.h: Condition all function prototypes
14050         on __USE_MISC, to ensure struct ether_addr is declared.
14052         * socket/bits/types/struct_osockaddr.h: New header.
14053         * include/bits/types/struct_osockaddr.h: New wrapper.
14054         * socket/Makefile: Install the new header.
14055         * socket/sys/socket.h, inet/protocols/talkd.h:
14056         Refer to bits/types/struct_osockaddr.h for the definition of
14057         struct osockaddr.
14059 2016-09-23  Zack Weinberg  <zackw@panix.com>
14061         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14062         * inet/protocols/routed.h, inet/protocols/talkd.h
14063         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14064         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14065         * sysdeps/generic/netinet/if_ether.h
14066         * sysdeps/generic/netinet/in_systm.h
14067         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14068         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14069         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14070         * sysdeps/mach/hurd/net/if_arp.h
14071         * sysdeps/mach/hurd/net/if_ppp.h
14072         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14073         * sysdeps/unix/sysv/linux/bits/in.h
14074         * sysdeps/unix/sysv/linux/net/ethernet.h
14075         * sysdeps/unix/sysv/linux/net/if_arp.h
14076         * sysdeps/unix/sysv/linux/net/if_ppp.h
14077         * sysdeps/unix/sysv/linux/net/if_shaper.h
14078         * sysdeps/unix/sysv/linux/net/route.h
14079         * sysdeps/unix/sysv/linux/netinet/if_ether.h
14080         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14081         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14082         * sysdeps/unix/sysv/linux/netipx/ipx.h
14083         * sysdeps/unix/sysv/linux/sys/acct.h
14084         * include/arpa/nameser.h, include/resolv.h:
14085         Change all uses of u_char to unsigned char,
14086         u_short and ushort to unsigned short, u_int and uint to unsigned int,
14087         u_long and ulong to unsigned long, u_int8_t to uint8_t,
14088         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14089         and u_int64_t and u_quad_t to uint64_t.
14091         * mach/sys/reboot.h: Remove two casts of integer literals
14092         to the types they already have.
14094         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14095         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14096         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14097         from referring to 'unsigned char' to 'uint8_t' for consistency with
14098         the macro definition below.
14100         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14101         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14102         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14103         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14104         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14105         * sysdeps/unix/sysv/linux/sys/acct.h
14106         * include/arpa/nameser.h, include/resolv.h:
14107         Fix indentation disrupted by mechanical edits.
14109         * inet/protocols/talkd.h, resolv/arpa/nameser.h
14110         * sysdeps/generic/netinet/in_systm.h
14111         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14112         * sysdeps/gnu/netinet/udp.h
14113         * sysdeps/unix/sysv/linux/net/ethernet.h
14114         * sysdeps/unix/sysv/linux/net/if_arp.h
14115         * sysdeps/unix/sysv/linux/net/if_ppp.h
14116         * sysdeps/unix/sysv/linux/net/if_shaper.h
14117         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14118         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14119         * sysdeps/unix/sysv/linux/netipx/ipx.h
14120         * sysdeps/unix/sysv/linux/sys/acct.h
14121         Include stdint.h for uintNN_t definitions.
14122         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14124 2016-09-23  Zack Weinberg  <zackw@panix.com>
14126         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14127         * sysdeps/unix/sysv/linux/netrose/rose.h:
14128         Include sys/socket.h and netax25/ax25.h.
14130         * inet/netinet/icmp6.h, inet/netinet/ip6.h
14131         * resolv/arpa/nameser_compat.h:
14132         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14134         * sysdeps/unix/sysv/linux/sys/quota.h:
14135         Use __caddr_t instead of caddr_t.
14136         * sysdeps/unix/sysv/linux/sys/timerfd.h:
14137         Use __clockid_t instead of clockid_t.
14139         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14141         * argp/argp.h: Check whether _LIBC is defined before expanding it.
14142         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14143         expanding it.
14145         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14146         Define __glibc_c99_flexarr_available to 1 when the compiler
14147         supports C99-compatible flexible array members, 0 otherwise.
14148         * sysdeps/unix/sysv/linux/bits/socket.h
14149         * sysdeps/mach/hurd/bits/socket.h
14150         * bits/socket.h: Use __glibc_c99_flexarr_available in
14151         definitions of struct cmsghdr and CMSG_DATA.
14153 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14155         * manual/nss.texi (NSS Modules Interface): Adjust function return
14156         type to enum nss_status.  Document errnop argument.  Clarify
14157         h_errnop semantics.  Fix cross-reference formatting.
14158         (NSS Module Function Internals): Mention that *errnop needs to be
14159         set on failure, but not to zero.
14161 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14163         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14164         (get_random_name): New functions.
14165         (check_wrapper_flags_mode): Use linkat to give the new file a name
14166         determined by get_random_name.
14167         (do_test): Add calls to test open64 and openat64.
14169 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14171         * test-skeleton.c: Remove #include <stdarg.h>.
14173 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
14175         [BZ #19826]
14176         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14177         initialization of static TLS entries.
14178         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14179         * nptl/allocatestack.c (init_one_static_tls): Likewise.
14181 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14183         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14184         _hurd_malloc_fork_prepare.
14185         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14186         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14187         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14188         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14189         (_hurd_fork_child_hook): Drop malloc_fork_child.
14190         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14191         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14192         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14193         after locking locks (notably hurd_dtable_lock). Call
14194         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14195         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14196         __malloc_fork_unlock_child.
14197         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14199 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
14201         * soft-fp/extendhftf2.c: New.
14202         * soft-fp/fixhfti.c: Likewise.
14203         * soft-fp/fixunshfti.c: Likewise.
14204         * soft-fp/floattihf.c: Likewise.
14205         * soft-fp/floatuntihf.c: Likewise.
14206         * soft-fp/half.h: Likewise.
14207         * soft-fp/trunctfhf2.c: Likewise.
14209 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
14211         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14212         macro.
14213         * math/libm-test.inc (issubnormal_test_data): New array.
14214         (issubnormal_test): New function.
14215         * manual/arith.texi (Floating Point Classes): Document
14216         issubnormal.
14217         * manual/libm-err-tab.pl: Update comment on interfaces without
14218         ulps tabulated.
14220         * sysdeps/generic/stdint.h: Define
14221         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14222         <bits/libc-header-start.h> instead of including <features.h>.
14223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14256         * manual/arith.texi (Integers): Document these macros for types
14257         specified by width properties.
14258         * manual/lang.texi (Width of Type): Document these macros for
14259         other standard typedefs.
14260         * stdlib/tst-width-stdint.c: New file.
14261         * stdlib/Makefile (tests): Add tst-width-stdint.
14263 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14265         [BZ #20016]
14266         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
14267         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
14268         Move ...
14269         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
14270         ... here, as compatibility symbols in a new file.
14271         * resolv/Makefile (libresolv-routines): Add compat-hooks.
14272         * resolv/res_init.c (__res_vinit): Adjust member names.
14273         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14274         * resolv/resolv.h (res_sendhookact, res_send_qhook)
14275         (res_send_rhook): Remove.
14276         (struct __res_state): Rename qhook, rhook members.
14278 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14280         malloc: Use __libc_lock wrappers.
14281         * malloc/arena.c (list_lock, free_list_lock): Define using
14282         __libc_lock_define_initialized.
14283         (arena_lock): Adjust formatting.
14284         * malloc/malloc.c (struct malloc_state): Define mutex using
14285         __libc_lock_define.
14286         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14287         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14288         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14289         (mutex_unlock, mutex_trylock): Remove.
14290         (__pthread_initialize): Remove unused macro.
14291         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14292         (mutex_unlock, mutex_trylock): Remove.
14294 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14296         [BZ #20592]
14297         Remove RR type classification macros.
14298         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14299         (ns_t_udp_p, ns_t_xfr_p): Remove.
14301 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14303         Remove misleading version information.
14304         * resolv/arpa/nameser.h (__NAMESER): Remove.
14305         * resolv/arpa/nameser_compat.h (__BIND): Remove.
14307 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14309         Remove the always-defined BIND_4_COMPAT macro.
14310         * resolv/arpa/nameser.h: Unconditionally include
14311         <arpa/nameser_compat.h>.
14312         (BIND_4_COMPAT): Remove.
14313         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
14315 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14317         [BZ #20591]
14318         Remove obsolete DNSSEC support.
14319         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14320         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14321         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14322         (ns_verify_tcp, ns_verify_tcp_init): Remove.
14323         (ns_cert_types): Add comment.
14324         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14325         separately.
14326         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14327         (dst_s_dns_key_id): Remove.
14328         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14329         variables.
14331 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14333         [BZ #20524]
14334         * manual/string.texi (String/Array Comparison): Clarify the
14335         strverscmp behavior.
14337 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14339         * test-skeleton.c (xasprintf): Add function.
14340         * io/tst-open-tmpfile.c: New test.
14341         * io/Makefile (tests): Add it.
14343 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14345         Avoid running $(CXX) during build to obtain header file paths.
14346         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14347         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14348         * Makerules (cstdlib, cmath): Remove variables.  Use
14349         $(c++-cstdlib-header), $(c++-cmath-header) instead.
14350         * configure: Regenerate.
14352 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14354         * Makeconfig (all-object-suffixes): Include .op only if
14355         $(build-profile).
14357 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14359         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14360         conditionals.  Do not define PATH_MAX.
14362 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14364         * posix/Makefile (tests): Add tst-spawn3.
14365         * posix/tst-spawn3.c: New file.
14366         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14367         if it is already opened for open action.
14369         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14370         all signals when executing the clone vfork child.
14371         (SIGALL_SET): Remove macro.
14373         * nptl/Makefile (tests): Add tst-exec5.
14374         * nptl/tst-exec5.c: New file.
14375         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14376         asynchronous cancellation.
14378 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14380         * hurd/exc2signal.c: #include <hurd/signal.h>
14381         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14382         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
14383         accordingly.
14384         * mach/mach_error.c (mach_error): Fix old-style function definition.
14385         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14387 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14389         * math/Makefile (libm-calls): Remove s_nanF.
14390         (gen-libm-calls): Add s_nanF.
14392         * math/s_nan.c: Refactor into ...
14393         * math/s_nan_template.c: New file.
14395         * math/s_nanf.c: Removed.
14396         * math/s_nanl.c: Removed.
14397         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14398         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14400         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14401         (LDOUBLE_nanl_libm_version): New macro.
14403         * sysdeps/generic/math-type-macros-double.h:
14404         (M_STRTO_NAN): New macro.
14405         * sysdeps/generic/math-type-macros-float.h: Likewise.
14406         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14408         * sysdeps/generic/math-type-macros.h: Document
14409         M_STRTO_NAN.
14411 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14413         * math/s_nanf.c: Remove __nanf undef.
14414         * math/s_nan.c: Remove __nan undef.
14415         * math/s_nanl.c: Remove __nanl undef.
14417         * sysdeps/generic/math_private.h (__nan): Remove macro
14418         override.
14419         (__nanf): Likewise.
14420         (__nanl): Likewise.
14422 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14424         * math/Makefile (gen-all-calls): New variable.
14425         (generated): Replace gen-libm-calls with gen-all-calls.
14426         (gen-libm-templates.stmp): Likewise.  Also, ensure
14427         the output directory exists or is created and add
14428         dependency on the Makefile.
14429         (calls): Move s_ldexpF into gen-calls.
14430         (gen-calls): New variable.
14432         * math/s_ldexpf.c: Removed.
14433         * math/s_ldexpl.c: Removed.
14434         * math/s_ldexp.c: Refactored into ...
14435         * math/s_ldexp_template.c: New file.
14437         * sysdeps/generic/math-type-macros-double.h: Remove
14438         redundant fall-through definition of declare_mgen_alias.
14439         (declare_mgen_alias_2): New macro.
14441         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14442         New macro for function aliased to two exported symbols.
14444         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14445         new template file.
14446         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14448 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14450         * Makeconfig (all-object-suffixes): Remove .og.
14451         * Makerules (elide-routines.og): Remove.
14452         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14453         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14454         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14456 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14458         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14459         .os objects.
14461 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14463         [BZ #20615]
14464         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14465         fpu directory by non-fpu.
14466         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14467         on non-fpu directory from a fpu directory.
14469 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14471         * include/limits.h: Define
14472         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14473         <bits/libc-header-start.h> instead of including <features.h>.
14474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14485         * manual/lang.texi (Width of Type): Document these macros.
14486         * stdlib/tst-width.c: New file.
14487         * stdlib/Makefile (tests): Add tst-width.
14489 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14491         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14492         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14494 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14496         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14497         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14498         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14500 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14502         [BZ #18243]
14503         * rt/Makefile (test): Add tst-shm-cancel.
14504         * rt/tst-shm-cancel.c: New file.
14505         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14507         [BZ #18243]
14508         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14509         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14510         definition.
14511         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14512         uncontended case.
14513         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14514         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14515         (tf): Fix check for uncontended case.
14516         (do_test): Likewise.
14517         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14518         (tf): Fix check for uncontended case.
14519         (do_test): Likewise.
14520         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14521         (tf): Fix check for uncontended case.
14522         (do_test): Likewise.
14523         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14524         (tf): Fix check for uncontended case.
14525         (do_test): Likewise.
14527         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14528         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14530         [BZ #15765]
14531         * nptl/Makefile (tests): Add tst-sem16.
14532         * nptl/tst-sem16.c: New file.
14533         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14535         * nptl/sem_open.c (sem_open): Init pad value to 0.
14536         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14537         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14539 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14541         [BZ #20611]
14542         * inet/Makefile (routines): Add inet6_scopeid_pton.
14543         (tests): Add tst-inet6_scopeid_pton.
14544         * inet/inet6_scopeid_pton.c: New file.
14545         * inet/net-internal.h: Likewise.
14546         * inet/tst-inet6_scopeid_pton.c: New test.
14547         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14548         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14551 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14553         Remove support for compiling wrappers with PTW.
14554         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14555         * nptl/Makefile (pthread-compat-wrappers): Define.
14556         (libpthread-routines): Use pthread-compat-wrappers.
14557         * sysdeps/unix/sysv/linux/alpha/Makefile
14558         (libpthread-routines, libpthread-shared-only-routines): Remove
14559         ptw- prefix.
14560         * sysdeps/s390/nptl/Makefile
14561         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14562         * sysdeps/ia64/nptl/Makefile
14563         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14564         * sysdeps/nacl/Makefile (libpthread-routines): Use
14565         pthread-compat-wrappers to filter the routines list instead of the
14566         ptw- prefix.
14568 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14570         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14571         with L() and remove explicit suffix, convert real literals
14572         which can be equivalentally substituted with integers, and
14573         transform -L(x) to L(-x).
14575         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14577         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14578         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14579         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14582         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14584         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14586         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14590         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14591         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14592         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14599         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14602         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14606         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14607         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14609         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14611         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14612         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14613         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14615         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14616         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14617         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14618         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14619         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14620         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14621         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14622         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14623         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14624         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14626 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14628         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14630 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14632         * malloc/Makefile (tests): Remove individual static test names
14633         and just add all of tests-static.
14635         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14637 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14639         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14640         file.
14642         * sysdeps/sparc/fpu/fegetmode.c: New file.
14643         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14645         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14646         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14648         * sysdeps/s390/fpu/fegetmode.c: New file.
14649         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14651         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14652         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14653         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14654         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14656         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14658         * sysdeps/mips/fpu/fegetmode.c: New file.
14659         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14661         * sysdeps/m68k/fpu/fegetmode.c: New file.
14662         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14664         * sysdeps/ia64/fpu/fegetmode.c: New file.
14665         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14667         * sysdeps/hppa/fpu/fegetmode.c: New file.
14668         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14670         * sysdeps/arm/fegetmode.c: New file.
14671         * sysdeps/arm/fesetmode.c: Likewise.
14673         * sysdeps/alpha/fpu/fegetmode.c: New file.
14674         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14676         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14677         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14679         * math/fegetmode.c: New file.
14680         * math/fesetmode.c: Likewise.
14681         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14682         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14683         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14684         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14685         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14687         declaration.
14688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14689         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14690         typedef.
14691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14692         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14693         (femode_t): New typedef.
14694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14695         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14696         (femode_t): New typedef.
14697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14698         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14699         (femode_t): New typedef.
14700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14701         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14702         (femode_t): New typedef.
14703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14704         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14705         (femode_t): New typedef.
14706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14707         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14708         (femode_t): New typedef.
14709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14710         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14711         (femode_t): New typedef.
14712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14713         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14714         (femode_t): New typedef.
14715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14716         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14717         (femode_t): New typedef.
14718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14719         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14720         (femode_t): New typedef.
14721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14722         declaration.
14723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14724         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14725         (femode_t): New typedef.
14726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14727         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14728         (femode_t): New typedef.
14729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14730         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14731         (femode_t): New typedef.
14732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14733         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14734         (femode_t): New typedef.
14735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14736         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14737         (femode_t): New typedef.
14738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14739         * manual/arith.texi (FE_DFL_MODE): Document macro.
14740         (fegetmode): Document function.
14741         (fesetmode): Likewise.
14742         * math/Versions (fegetmode): New libm symbol at version
14743         GLIBC_2.25.
14744         (fesetmode): Likewise.
14745         * math/Makefile (libm-support): Add fegetmode and fesetmode.
14746         (tests): Add test-femode and test-femode-traps.
14747         * math/test-femode-traps.c: New file.
14748         * math/test-femode.c: Likewise.
14749         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14750         alias for __fe_dfl_env.
14751         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14752         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14753         (__fe_dfl_mode): Likewise.
14754         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14755         version GLIBC_2.25.
14756         * sysdeps/nacl/libm.abilist: Update.
14757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14758         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14759         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14760         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14761         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14762         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14763         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14764         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14766         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14767         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14768         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14770         Likewise.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14772         Likewise.
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14774         Likewise.
14775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14776         Likewise.
14777         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14778         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14779         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14780         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14783         Likewise.
14784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14785         Likewise.
14786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14790 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14792         [BZ #20495]
14793         [BZ #20508]
14794         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14795         processors, set Use_dl_runtime_resolve_slow and set
14796         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14797         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14798         New.
14799         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14800         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14801         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14802         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14803         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14804         if Use_dl_runtime_resolve_opt is set.  Use
14805         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14806         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14807         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14808         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14809         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14810         New.
14811         (_dl_runtime_resolve_opt): Likewise.
14812         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14813         defined.
14815 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14817         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14818         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14820 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14822         Convert malloc to __libc_lock.  Automated part, using this Perl
14823         s/// command:
14824           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14825             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14826         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14827         conversion.
14829 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14831         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14832         (linknamespace-symlists-tests): Likewise.
14833         (linknamespace-header-tests): Likewise.
14835 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14837         [BZ #19810]
14838         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14839         * elf/tst-noload.c: New test case.
14840         * elf/Makefile (tests): Add tst-noload.
14842 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14844         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14846         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14847         not any more.
14849         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14851 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14853         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14854         (do_cos_slow): Likewise.
14855         (do_sin): Likewise.
14856         (do_sin_slow): Likewise.
14857         (slow): Likewise.
14858         (slow1): Likewise.
14859         (slow2): Likewise.
14860         (sloww): Likewise.
14861         (sloww1): Likewise.
14862         (sloww2): Likewise.
14863         (bsloww): Likewise.
14864         (bsloww1): Likewise.
14865         (bsloww2): Likewise.
14866         (cslow2): Likewise.
14868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14870         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14871         arguments.  Consolidate input partitioning from callers here.
14872         (do_cos_slow): Likewise.
14873         (do_sin): Likewise.
14874         (do_sin_slow): Likewise.
14875         (do_sincos_1): Remove the no longer necessary input partitioning.
14876         (do_sincos_2): Likewise.
14877         (__sin): Likewise.
14878         (__cos): Likewise.
14879         (slow1): Likewise.
14880         (slow2): Likewise.
14881         (sloww1): Likewise.
14882         (sloww2): Likewise.
14883         (bsloww1): Likewise.
14884         (bsloww2): Likewise.
14885         (cslow2): Likewise.
14887 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14889         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14890         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14891         outside of allocated array.
14893 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14895         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14896         instead of MB_CUR_MAX to avoid variable-length array.
14898 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14900         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14901         (type-double-routines): Add k_rem_pio2.
14902         (type-float-routines): Add k_rem_pio2f.
14904         * sysdeps/generic/math_private.h:
14905         (__kernel_rem_pio2l): Removed.
14907         * math/k_rem_pio2l.c: Removed.
14908         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14909         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14910         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14911         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14913 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14915         * math/Makefile (gen-libm-calls): Add s_fmin
14916         (libm-calls): Remove above.
14918         * math/s_fmin.c: Refactor into ...
14919         * math/s_fmin_template.c: New file.
14921         * math/s_fminf.c: Removed.
14922         * math/s_fminl.c: Removed.
14923         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14924         (LDOUBLE_fmin_libm_version): New macro.
14926         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14927         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14929 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14931         * math/Makefile: (gen-libm-calls): Add s_fmax.
14932         (libm-calls): Remove above.
14934         * math/s_fmax.c: Refactor into ...
14935         * math/s_fmax_template.c: New file.
14936         * math/s_fmaxf.c: Removed.
14937         * math/s_fmaxl.c: Removed.
14939         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14940         (LDOUBLE_fmaxl_libm_version): New macro.
14942         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14943         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14945         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14946         s_fmin.c to pick the aarch64 version of the file.
14947         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14948         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14950 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14952         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14953         (libm-calls): Remove above.
14955         * math/s_nextdown.c: Refactor into ...
14956         * math/s_nextdown_template.c: New file.
14957         * math/s_nextdownf.c: Removed.
14958         * math/s_nextdownl.c: Removed.
14960         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14962 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14964         * math/Makefile (gen-libm-calls): Add s_fdim.
14965         (libm-calls): Move to above.
14967         * math/s_fdim.c: Renamed and refactored into to ...
14968         * math/s_fdim_template.c: New file.
14969         * math/s_fdiml.c: Removed.
14970         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14971         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14973         * sysdeps/generic/math-type-macros-double.h:
14974         (declare_mgen_alias): Don't declare if already declared.
14975         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14976         Likewise.
14978         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14979         (declare_mgen_alias): Don't declare if already declared.
14980         (M_LIBM_NEED_COMPAT): Likewise.
14981         (declare_mgen_libm_compat): Likewise.
14982         (LDOUBLE_fdiml_libm_version): New macro.
14984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14985         Include math/s_fdim.c now that ldbl-opt version is not needed.
14986         (declare_mgen_alias): New macro to disable aliasing.
14988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14989         (declare_mgen_alias): Likewise.
14990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14991         (declare_mgen_alias): Likewise.
14992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14993         (declare_mgen_alias): Likewise.
14994         (M_LIBM_NEED_COMPAT): Likewise.
14996 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14998         [BZ #20525]
14999         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15000         Include <linux/quota.h>.
15001         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15002         and btodb.
15003         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15004         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15005         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15006         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15007         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15008         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15009         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15010         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15011         types.
15012         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15013         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15015 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15017         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15018         (gammal_positive): Fix spacing.
15019         (__ieee754_gammal_r): Likewise.
15021 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15023         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15024         (_Float128): Define as long double, always.
15025         (L): Apply long double type suffix, always.
15027         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15028         _Float128, excepting comments.
15030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15031         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15032         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15033         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15034         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15036         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15037         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15038         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15039         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15042         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15044         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15045         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15046         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15047         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15048         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15049         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15050         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15051         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15052         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15053         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15054         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15056         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15057         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15058         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15059         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15060         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15061         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15062         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15063         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15064         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15065         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15066         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15067         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15068         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15069         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15070         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15071         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15072         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15073         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15074         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15075         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15076         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15077         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15078         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15079         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15080         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15081         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15082         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15083         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15084         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15085         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15086         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15087         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15088         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15089         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15090         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15091         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15092         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15093         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15094         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15095         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15096         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15097         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15099         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15100         _Float128, and include math_private.h.
15101         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15104         long double semantics.
15105         (_Float128): Likewise.
15106         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15107         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15108         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15109         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15111 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15113         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15114         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15115         * sysdeps/s390/configure: Regenerated.
15116         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15117         instruction for raising over-/underflow if z196 zarch is supported
15118         by default.
15119         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15121 2016-08-30  Svante Signell  <svante.signell@gmail.com>
15123         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15124         it point to a dumb buffer for RPC to fill it.
15126 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15128         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15129         instead of if/else.
15130         (do_sin_slow): Likewise.
15131         (do_sincos_1): Use fabs instead of if/else.
15132         (do_sincos_2): Likewise.
15133         (__sin): Likewise.
15134         (__cos): Likewise.
15135         (slow2): Likewise.
15136         (sloww): Likewise.
15137         (sloww1): Likewise.  Drop argument M.
15138         (sloww2): Use fabs instead of if/else.
15139         (bsloww): Likewise.
15140         (bsloww1): Likewise.
15141         (bsloww2): Likewise.
15143         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15144         fall through comment.
15145         (do_sincos_1): Likewise.
15147         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15148         Consolidate switch cases 0 and 2.
15150 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15152         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15153         (libm-calls): Remove the above.
15155         * math/s_cexp_template.c: Update using type-generic macros.
15156         * math/s_clog10_template.c: Likewise.
15157         * math/s_cpow_template.c: Likewise.
15158         * math/s_clog_template.c: Likewise.
15159         * math/s_cproj_template.c: Likewise.
15160         * math/s_csqrt_template.c: Likewise.
15162         * math/s_cexp.c: Removed.
15163         * math/s_cexpf.c: Removed.
15164         * math/s_cexpl.c: Removed.
15165         * math/s_clog10.c: Removed.
15166         * math/s_clog10f.c: Removed.
15167         * math/s_clog10l.c: Removed.
15168         * math/s_cpow.c: Removed.
15169         * math/s_cpowf.c: Removed.
15170         * math/s_cpowl.c: Removed.
15171         * math/s_clog.c: Removed.
15172         * math/s_clogf.c: Removed.
15173         * math/s_clogl.c: Removed.
15174         * math/s_cproj.c: Removed.
15175         * math/s_cprojf.c: Removed.
15176         * math/s_cprojl.c: Removed.
15177         * math/s_csqrt.c: Removed.
15178         * math/s_csqrtf.c: Removed.
15179         * math/s_csqrtl.c: Removed.
15181         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15182         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15183         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15184         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15185         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15186         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15188         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15189         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15190         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15191         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15192         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15193         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15194         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15195         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15196         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15197         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15198         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15200         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15201         version.
15203         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15204         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15205         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15206         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15208 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15210         * s_cexp_template.c: Copy of s_cexp.c.
15211         * s_clog_template.c: Copy of s_clog.c.
15212         * s_clog10_template.c: Copy of s_clog10.c.
15213         * s_cpow_template.c: Copy of s_cpow.c.
15214         * s_cproj_template.c: Copy of s_cproj.c.
15215         * s_csqrt_template.c: Copy of s_csqrt.c.
15217 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15219         [BZ #20517]
15220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15221         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15222         exported.
15224 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
15226         * math/fetestexceptflag.c: New file.
15227         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
15228         Stefan Liebler.
15229         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15230         (fetestexceptflag): New function declaration.
15231         * manual/arith.texi (fetestexceptflag): Document function.
15232         * math/Versions (fetestexceptflag): New libm symbol at version
15233         GLIBC_2.25.
15234         * math/Makefile (libm-support): Add fetestexceptflag.
15235         (tests): Add test-fetestexceptflag.
15236         * math/test-fetestexceptflag.c: New file.
15237         * sysdeps/nacl/libm.abilist: Update.
15238         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15239         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15240         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15241         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15242         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15243         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15244         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15245         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15246         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15247         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15248         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15249         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15251         Likewise.
15252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15255         Likewise.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15257         Likewise.
15258         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15259         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15260         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15261         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15262         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15264         Likewise.
15265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15266         Likewise.
15267         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15268         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15269         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15271 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15273         [BZ #20432]
15274         Avoid strong references to malloc-internal symbols when linking
15275         statically, to support statically interposed mallocs.
15276         * include/libc-symbols.h (call_function_static_weak): New macro.
15277         * malloc/Makefile (tests): Add tst-interpose-nothread,
15278         tst-interpose-thread, tst-interpose-static-nothread,
15279         tst-interpose-static-thread.
15280         (tests-static): Add tst-interpose-static-nothread,
15281         tst-interpose-static-thread.
15282         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15283         tst-interpose-aux-thread.o.
15284         (test-extras): Add tst-interpose-aux-nothread,
15285         tst-interpose-aux-thread.
15286         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15287         tst-interpose-aux-nothread.o.
15288         (tst-interpose-thread, tst-interpose-static-thread): Link with
15289         tst-interpose-aux-thread.o and libthread.
15290         * malloc/tst-interpose-aux-nothread.c: New file.
15291         * malloc/tst-interpose-aux-thread.c: Likewise.
15292         * malloc/tst-interpose-aux.c: Likewise.
15293         * malloc/tst-interpose-aux.h: Likewise.
15294         * malloc/tst-interpose-nothread.c: Likewise.
15295         * malloc/tst-interpose-skeleton.c: Likewise.
15296         * malloc/tst-interpose-static-nothread.c: Likewise.
15297         * malloc/tst-interpose-static-thread.c: Likewise.
15298         * malloc/tst-interpose-thread.c: Likewise.
15299         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15300         * sysdeps/mach/hurd/fork.c (__fork): Only call
15301         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15302         __malloc_fork_unlock_child if defined.
15303         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15305 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15307         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15308         timespec C99 designated initialization.
15310 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15312         [BZ #19946]
15313         Avoid expected SIGALRM signals.
15314         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
15315         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
15316         (xpthread_create, xpthread_detach, xpthread_join)
15317         (delayed_exit_thread, delayed_exit): New functions.
15318         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
15319         (tf): Use xpthread_cond_wait.
15320         (do_test): Likewise.  Replace alarm with delayed_exit.
15321         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15322         (do_test): Call delayed_exit.  Report failure.
15323         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15324         (do_test): Call delayed_exit.
15325         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15326         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
15327         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15328         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
15329         error.
15330         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15331         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
15332         error.
15333         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15334         (do_test): Call delayed_exit.
15335         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15336         (do_test): Call delayed_exit.
15337         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15338         (do_test): Call delayed_exit instead of alarm.  Use
15339         xpthread_mutex_lock.
15340         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15341         (do_test): Call delayed_exit instead of alarm.  Use
15342         xpthread_mutex_lock.
15343         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15344         (do_test): Call delayed_exit instead of alarm.
15345         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15346         (do_test): Call delayed_exit instead of alarm.  Use
15347         xpthread_spin_lock.
15348         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15349         (do_test): Call delayed_exit instead of alarm.  Use
15350         xpthread_join.
15352 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15354         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15355         adjust CFA when allocating register save area on re-aligned
15356         stack.
15358 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15360         * string/tst-cmp.c: New test.
15361         * string/Makefile (tests): Add it.
15363 2016-08-25  Mark Wielaard  <mark@klomp.org>
15365         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15366         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
15367         (check_tree_recurse): Use newly defined accessors.
15368         (check_tree): Likewise.
15369         (maybe_split_for_insert): Likewise.
15370         (__tfind): Likewise.
15371         (__tdelete): Likewise.
15372         (trecurse): Likewise.
15373         (tdestroy_recurse): Likewise.
15374         (__tsearch): Likewise. And add asserts for malloc alignment.
15375         (__twalk): Cast root to node in case CHECK_TREE is defined.
15377 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15379         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15381 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15383         * math/Makefile (libm-gen-calls): Add
15384         catan, catanh, ctan, ctanh.
15385         (libm-calls): Remove the above.
15387         * math/s_catan_template.c: Update using type-generic macros.
15388         * math/s_catanh_template.c: Likewise.
15389         * math/s_ctan_template.c: Likewise.
15390         * math/s_ctanh_template.c: Likewise.
15392         * math/s_catanf.c: Removed.
15393         * math/s_catan.c: Removed.
15394         * math/s_catanl.c: Removed.
15395         * math/s_catanhf.c: Removed.
15396         * math/s_catanh.c: Removed.
15397         * math/s_catanhl.c: Removed.
15398         * math/s_ctanf.c: Removed.
15399         * math/s_ctan.c: Removed.
15400         * math/s_ctanl.c: Removed.
15401         * math/s_ctanhf.c: Removed.
15402         * math/s_ctanh.c: Removed.
15403         * math/s_ctanhl.c: Removed.
15405         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15406         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15407         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15408         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15409         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15410         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15412         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15413         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15414         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15415         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15417 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15419         * s_catan_template.c: Copy of s_catan.c.
15420         * s_catanh_template.c: Copy of s_catanh.c.
15421         * s_ctan_template.c: Copy of s_ctan.c.
15422         * s_ctanh_template.c: Copy of s_ctanh.c.
15424 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15426         * math/Makefile (gen-libm-calls): Move
15427         casin, casinh, csin, csinh here.
15428         (libm-calls): Remove the above.
15430         * math/s_casin_template.c: Update using type-generic macros.
15431         * math/s_casinh_template.c: Likewise.
15432         * math/s_csin_template.c: Likewise.
15433         * math/s_csinh_template.c: Likewise.
15434         * math/k_casinh_template.c: Likewise.
15436         * math/s_casinf.c: Removed.
15437         * math/s_casin.c: Removed.
15438         * math/s_casinl.c: Removed.
15439         * math/s_casinh.c: Removed.
15440         * math/s_casinhf.c: Removed.
15441         * math/s_casinhl.c: Removed.
15442         * math/s_csin.c: Removed.
15443         * math/s_csinf.c: Removed.
15444         * math/s_csinl.c: Removed.
15445         * math/s_csinh.c: Removed.
15446         * math/s_csinhf.c: Removed.
15447         * math/s_csinhl.c: Removed.
15448         * math/k_casinh.c: Removed.
15449         * math/k_casinhf.c: Removed.
15450         * math/k_casinhl.c: Removed.
15452         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15453         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15454         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15455         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15457         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15458         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15459         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15460         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15461         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15462         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15463         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15464         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15466         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15467         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15468         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15469         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15471         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15472         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15473         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15474         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15476 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15478         * s_casin_template.c: Copy of s_casin.c.
15479         * s_casinh_template.c: Copy of s_casinh.c.
15480         * s_csin_template.c: Copy of s_csin.c.
15481         * s_csinh_template.c: Copy of s_csinh.c.
15482         * k_casinh_template.c: Copy of k_casinh.c.
15484 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15486         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15488 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15490         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15491         (mul_split) Remove, rename as mul_splitl, remove
15492         redundant float.h include, and include via mul_splitl.h
15494         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15495         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15496         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15497         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15498         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15500         * math/mul_splitl.h: New file.
15502         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15503         Move into mul_split.h, and remove redundant float.h include.
15505         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15506         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15507         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15508         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15510         * math/mul_split.h: New file.
15512 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15514         * math/Makefile (libm-gen-calls): Move
15515         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15516         (libm-calls): Remove above.
15518         * math/s_cacos_template.c: Update using type-generic macros.
15519         * math/s_cacosh_template.c: Likewise.
15520         * math/s_ccos_template.c: Likewise.
15521         * math/s_ccosh_template.c: Likewise.
15523         * math/s_cacosf.c: Removed.
15524         * math/s_cacos.c: Removed.
15525         * math/s_cacosl.c: Removed.
15526         * math/s_cacoshf.c: Removed.
15527         * math/s_cacosh.c: Removed.
15528         * math/s_cacoshl.c: Removed.
15529         * math/s_ccosf.c: Removed.
15530         * math/s_ccos.c: Removed.
15531         * math/s_ccosl.c: Removed.
15532         * math/s_ccoshf.c: Removed.
15533         * math/s_ccosh.c: Removed.
15534         * math/s_ccoshl.c: Removed.
15536         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15537         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15538         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15539         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15540         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15541         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15543         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15544         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15545         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15546         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15548         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15549         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15550         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15551         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15553 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15555         * s_cacos_template.c: Copy of s_cacos.c.
15556         * s_cacosh_template.c: Copy of s_cacosh.c.
15557         * s_ccos_template.c: Copy of s_ccos.c.
15558         * s_ccosh_template.c: Copy of s_ccosh.c.
15560 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15562         * stdlib/tst-strtod-round-skeleton.c:
15563         Refactored from tst-strtod-round.c.
15565         (L_): New macro to apply literal modifier.
15566         (FNPFX): New macro to select str or wcs prefix.
15567         (CHAR): New macro to choose wchar_t or char.
15568         (STRM): New macro to choose printf for tested character type.
15570         (STRTO): New macro to choose appropriate string -> real function.
15571         (FNPFXS): Stringitized version of FNPFX.
15572         (STR): Support for above macro.
15573         (STRX): Likewise.
15575         (TEST): Update with above macros.
15576         (test): Likewise.
15577         (GEN_ONE_TEST): Likewise.
15578         (test_in_one_mode): Likewise.
15580         * stdlib/tst-strtod-round.c: New file.
15581         * wcsmbs/tst-wcstod-round.c: New file.
15583         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15584         (tst-wcstod-round): Add libm depencency for fesetround.
15586 2016-08-19  Zack Weinberg  <zackw@panix.com>
15588         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15590 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15592         [BZ #20477]
15593         * resolv/res_hconf.c (do_init): Use atomic access.
15594         * resolv/res_hconf.h: Add comments.
15595         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15596         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15599 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15602         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15603         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15604         Likewise.
15606 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15608         [BZ #16907]
15609         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15610         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15611         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15612         (__attribute__): Remove definition.
15614 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15616         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15617         Remove unused sqrtl declaration.
15619 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15621         * math/Makefile: (gen-libm-templates.stmp): New rule.
15622         (libm-calls): Move carg conj cimag and cabs into ...
15623         (gen-libm-calls): New variable.
15624         (generated): Inform Make objects from gen-libm-calls
15625         may be generated.
15627         * sysdeps/generic/math-type-macros.h: New file.
15628         * sysdeps/generic/math-type-macros-float.h: Likewise.
15629         * sysdeps/generic/math-type-macros-double.h: Likewise.
15630         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15631         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15632         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15634         * math/cabs.c: Refactor into
15635         * math/cabs_template.c: new file.
15636         * math/cabsf.c: Removed.
15637         * math/cabsl.c: Removed.
15638         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15639         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15641         * math/carg.c: Refactor into
15642         * math/carg_template.c: new file.
15643         * math/cargf.c: Removed.
15644         * math/cargl.c: Removed.
15645         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15646         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15648         * math/conj.c: Refactor into
15649         * math/conj_template.c: new file.
15650         * math/conjf.c: Removed.
15651         * math/conjl.c: Removed.
15652         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15653         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15655         * math/cimag.c: Refactor into
15656         * math/cimag_template.c: new file.
15657         * math/cimagf.c: Removed.
15658         * math/cimagl.c: Removed.
15659         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15660         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15662         * math/cimag.c: Refactor into
15663         * math/cimag_template.c: new file.
15664         * math/cimagf.c: Removed.
15665         * math/cimagl.c: Removed.
15666         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15667         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15669 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15671         Reduce time to expected nptl/tst-once5 failure.
15672         * nptl/tst-once5.cc (TIMEOUT): Define.
15674 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15676         [BZ #20452]
15677         Avoid additional copies of objects in libc.a in static libraries.
15678         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15679         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15680         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15681         rt-sysdep.
15682         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15683         Add nptl-sysdep.
15684         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15685         Add ptw-sysdep.
15686         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15687         rt-sysdep.
15688         * sysdeps/unix/sysv/linux/alpha/Makefile
15689         (libpthread-shared-only-routines): Add ptw-sysdep,
15690         ptw-sigprocmask, ptw-rt_sigaction.
15691         * sysdeps/unix/sysv/linux/ia64/Makefile
15692         (librt-shared-only-routines): Add rt-sysdep.
15693         * sysdeps/unix/sysv/linux/i386/Makefile
15694         (libpthread-shared-only-routines): Add libc-do-syscall.
15695         * sysdeps/unix/sysv/linux/microblaze/Makefile
15696         (libpthread-shared-only-routines): Add sysdep.
15697         * sysdeps/unix/sysv/linux/powerpc/Makefile
15698         (librt-shared-only-routines): Add rt-sysdep.
15699         (libpthread-shared-only-routines): Add sysdep.
15700         * sysdeps/unix/sysv/linux/s390/Makefile
15701         (librt-shared-only-routines): Add rt-sysdep.
15702         * sysdeps/unix/sysv/linux/sparc/Makefile
15703         (librt-shared-only-routines): Add rt-sysdep.
15704         (libpthread-shared-only-routines): Add sysdep.
15705         * sysdeps/unix/sysv/linux/tile/Makefile
15706         (libpthread-shared-only-routines): Likewise.
15708 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
15710         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15711         Mask implicit bit out of unpacked value.
15712         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15716         * sysdeps/sparc/fpu/fesetexcept.c: New file.
15718         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15720         * sysdeps/s390/fpu/fesetexcept.c: New file.
15722         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15723         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15724         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15726         * sysdeps/mips/fpu/fesetexcept.c: New file.
15728         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15730         * sysdeps/ia64/fpu/fesetexcept.c: New file.
15732         * sysdeps/hppa/fpu/fesetexcept.c: New file.
15734         * sysdeps/arm/fesetexcept.c: New file.
15736         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15738         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15740         * math/fesetexcept.c: New file.
15741         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15742         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15743         * math/fenv.h: Define
15744         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15745         <bits/libc-header-start.h> instead of including <features.h>.
15746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15747         declaration.
15748         * manual/arith.texi (fesetexcept): Document function.
15749         * math/Versions (fesetexcept): New libm symbol at version
15750         GLIBC_2.25.
15751         * math/Makefile (libm-support): Add fesetexcept.
15752         (tests): Add test-fesetexcept and test-fesetexcept-traps.
15753         * math/test-fesetexcept.c: New file.
15754         * math/test-fesetexcept-traps.c: Likewise.
15755         * sysdeps/nacl/libm.abilist: Update.
15756         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15757         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15758         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15759         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15760         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15761         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15762         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15763         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15764         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15765         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15766         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15767         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15769         Likewise.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15771         Likewise.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15773         Likewise.
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15775         Likewise.
15776         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15777         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15778         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15779         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15780         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15782         Likewise.
15783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15784         Likewise.
15785         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15786         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15787         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15789 2016-08-16  Florian Weimer  <fweimer@redhat.com>
15791         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15792         New.
15793         (do_test): Apply default_stack_size_in_mb if not set.
15794         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15796 2016-08-15  Andreas Schwab  <schwab@suse.de>
15798         [BZ #20435]
15799         CVE-2016-6323
15800         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15801         as .cantunwind.
15803 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15805         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15806         comment from fraiseexcpt.c.
15808         * math/test-fexcept.c (feraiseexcept_exact): New function.
15809         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15810         (test_except): Likewise.
15812 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15814         [BZ #20455]
15815         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15816         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15817         to be restored.
15819         * math/test-fexcept-traps.c: New file.
15820         * math/test-fexcept.c: Likewise.
15821         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15822         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15823         macro.
15824         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15825         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15827 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15829         * include/atomic.h (atomic_fetch_and_relaxed,
15830         atomic_fetch_and_release, atomic_fetch_or_release,
15831         atomic_fetch_xor_release): New.
15833 2016-08-06  Christian Seiler  <christian@iwakd.de>
15835         [BZ #20444]
15836         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15837         MACH_PORT_NULL.
15839 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15841         * math/s_fdim.c: Avoid alias renamed.
15842         * math/s_fdimf.c: Likewise.
15843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15844         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15845         Add s_fdimf-vis3, s_fdim-vis3.
15846         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15847         (CFLAGS-s_fdim-vis3.c): Likewise.
15848         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15849         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15851 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15854         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15855         Remove s_fdimf-vis3, s_fdim-vis3.
15856         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15857         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15864         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15865         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15867 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15869         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15870         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15871         -Wa,-Av9a -mvis.
15873 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15875         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15876         LIT() to individual constants in simple expressions
15877         after splitting on spaces.
15878         (_apply_lit): Rename replaced version, and use it to
15879         apply to what appears to be a token.
15881         * math/libm-test.inc: Fix many, many issues with
15882         spacing.
15884 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15886         * math/math.h: Move comment about <bits/mathdef.h> definitions
15887         above inclusion of <bits/mathdef.h>.  Do not mention
15888         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15890 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15892         * include/atomic.h (atomic_exchange_relaxed): New.
15894 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15896         * math/e_scalb.c: Do not include <fenv.h>.
15897         (invalid_fn): Do calculation resulting in NaN instead of raising
15898         FE_INVALID and returning a NaN explicitly.
15899         * math/e_scalbf.c: Do not include <fenv.h>.
15900         (invalid_fn): Do calculation resulting in NaN instead of raising
15901         FE_INVALID and returning a NaN explicitly.
15902         * math/e_scalbl.c: Do not include <fenv.h>.
15903         (invalid_fn): Do calculation resulting in NaN instead of raising
15904         FE_INVALID and returning a NaN explicitly.
15906 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15908         * po/de.po: Updated from Translation Project.
15909         * po/fi.po: Likewise.
15910         * po/sv.po: Likewise.
15912 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15914         [BZ #20452]
15915         Use sysdep.o from libc.a in static libraries.
15916         * sysdeps/unix/sysv/linux/i386/Makefile
15917         (libpthread-shared-only-routines): Add sysdep.
15918         (librt-shared-only-routines): Likewise.
15920 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15922         * math/tgmath.h (nextdown): Define if
15923         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15924         (nextup): Likewise.
15926         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15927         macro.
15928         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15929         Document.
15930         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15931         Document macro.
15932         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15933         (exp10f): Likewise.
15934         (exp10l): Likewise.
15935         * math/bits/mathcalls.h (exp10): Declare if
15936         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15938         * manual/arith.texi (nextup): Fix typo in last change.
15940 2016-08-03  Zack Weinberg  <zackw@panix.com>
15942         [BZ #19239]
15943         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15944         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15945         define major, minor, and makedev to issue deprecation warnings on use.
15946         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15947         previously-activated deprecation warnings for these macros and prevent
15948         subsequent inclusions of this header from having any effect.
15949         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15950         including <sys/sysmacros.h>, and undefine it again afterward.
15952 2016-08-03  Zack Weinberg  <zackw@panix.com>
15954         * sysdeps/generic/sys/sysmacros.h: Delete file.
15955         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15956         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15957         * bits/sysmacros.h: ... here; this encoding is now the generic
15958         encoding.  Now defines only the following macros:
15959         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15960         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15961         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15963         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15964         bits/sysmacros.h and the above new macros to generate the
15965         public implementations of major, minor, and makedev.
15966         * misc/tst-makedev.c: New test.
15967         * include/sys/sysmacros.h: New wrapper.
15969         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15970         (routines): Add makedev.
15971         (tests): Add tst-makedev.
15972         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15973         gnu_dev_makedev.
15974         * posix/Makefile (headers): Remove sys/sysmacros.h.
15975         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15977         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15978         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15979         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15980         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15981         * sysdeps/unix/sysv/linux/arm/libc.abilist
15982         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15983         * sysdeps/unix/sysv/linux/i386/libc.abilist
15984         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15985         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15986         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15987         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15988         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15989         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15990         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15991         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15992         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15997         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15998         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15999         * sysdeps/unix/sysv/linux/sh/libc.abilist
16000         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16001         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16004         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16005         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16006         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16007         Add GLIBC_2.25.
16009         * include/features.h (__glibc_clang_prereq): New macro.
16010         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16011         (__attribute_deprecated_msg__): New macros.
16013 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16015         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16016         macro.
16017         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16018         * manual/arith.texi (issignaling): Document as ISO from TS
16019         18661-1:2014.
16020         (nextup): Likewise.
16021         (nextupf): Likewise.
16022         (nextupl): Likewise.
16023         (nextdown): Likewise.
16024         (nextdownf): Likewise.
16025         (nextdownl): Likewise.
16026         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16027         macro.
16028         * math/math.h: Define
16029         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16030         <bits/libc-header-start.h> instead of including <features.h>.
16031         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16032         [__USE_GNU].
16033         * math/bits/mathcalls.h (nextdown): Declare if
16034         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16035         (nextup): Likewise.
16036         (__issignaling): Likewise.
16038 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16040         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16041         check, and remove __glibc_likely hint
16042         from FP_INFINITE check.
16043         * s_csinhf.c (__csinhf): Likewise.
16045         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16046         hint from FP_INFINITE check.
16047         * s_csinhl.c (__csinhl): Likewise.
16049 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16051         * math/Makefile (libm-calls): Insert F placeholder into
16052         object names.  Move w_lgamma_compat* routines into
16053         (libm-compat-calls): New variable.
16054         (libm-compat-calls-ldouble-yes): New variable.
16055         (calls): Insert F placeholder.
16056         (generated): Redefine using new type-foreach macro call.
16057         (routines): Likewise.
16059         (types): New variable to hold a list of symbolic names
16060         for each type supported by the target machine.
16061         (libm-routines): Redefine using new types variable.
16062         (type-foreach): macro to replace fooF with the
16063         appropriately suffixed foo for each types.
16065         (type-ldouble-suffix): New variable.
16066         (type-ldouble-routines): Likewise.
16067         (type-ldouble-yes): Likewise.
16068         (type-double-suffix): Likewise.
16069         (type-double-routines): Likewise.
16070         (type-float-suffix): Likewise.
16071         (type-float-routines): Likewise.
16073         (dbl-only-routines): Remove.
16074         (long-c-yes): Likewise.
16075         (long-m-routines): Likewise.
16076         (long-m-support): Likewise.
16077         (long-m-yes): Likewise.
16078         (test-longdouble-yes): Likewise.
16080         (test-float.o): Simplify by increasing the scope of the
16081         recipe which adds libm-test.stmp to the vector types.
16082         (test-ifloat.o): Likewise.
16083         (test-float-finite.o): Likewise.
16084         (test-double.o): Likewise
16085         (test-idouble.o): Likewise.
16086         (test-double-finite.o): Likewise.
16087         (test-ldouble.o): Likewise
16088         (test-ildoubl.o): Likewise.
16089         (test-ldouble-finite.o): Likewise.
16091         (libm-tests): Redefine type tests using foreach and the
16092         list of types in types.
16094         (CPPFLAGS-test-ildoubl.c): Rename to
16095         (CPPFLAGS-test-ildouble.c): New variable
16097         * math/test-ildoubl.c: Rename to
16098         * math/test-ildouble.c: New file.
16100 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16102         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16103         Use fabsl instead of fabs.
16104         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16105         Likewise.
16106         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16107         Add long double suffix to constant to ensure proper
16108         promotion to long double.
16110 2016-08-03  Tom Tromey  <tom@tromey.com>
16112         [BZ #20311]
16113         * nptl_db/Makefile (headers): Add proc_service.h.
16114         * nptl_db/proc_service.h: Add include guard.  Use
16115         __BEGIN/__END_DECLS.
16116         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16117         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16118         arguments.
16121 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16123         [BZ #17730]
16124         Avoid using memalign for TCB allocations.
16125         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16126         (_dl_allocate_tls_storage): Use malloc and manual alignment.
16127         Avoid alignment gap in the TLS_DTV_AT_TP case.
16128         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16129         determine the pointer to free.
16130         * nptl/tst-tls3-malloc.c: New test.
16131         * nptl/Makefile (tests): Add it.
16132         (tst-tls3-malloc): Link with libdl, libpthread.
16133         (LDFLAGS-tst-tls3-malloc): Set.
16134         (tst-tls3-malloc.out): Depend on DSO used in test.
16136 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16138         [BZ #17730]
16139         Avoid using memalign for TLS allocations.
16140         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
16141         is_static member with to_free member.
16142         (union dtv): Use struct dtv_pointer.
16143         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16144         dtv_pointer instead of is_static.
16145         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16146         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16147         instead of val.
16148         (allocate_dtv_entry): New function.
16149         (allocate_and_init): Return struct dtv_pointer.  Call
16150         allocate_dtv_entry instead of __libc_memalign.
16151         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16152         instead of val.
16153         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16154         instead of is_static.  Adjust call to allocate_and_init.
16155         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16156         struct dtv_pointer instead of val.
16158 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16160         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16161         (MALLOC_ALIGN_MASK): Move ...
16162         * malloc/malloc-internal.h: ... to here.
16163         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16165 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16167         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16168         (UDP_ENCAP_GTP1U): Likewise.
16170         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16171         (PF_MAX): Update value.
16172         (AF_QIPCRTR): New macro.
16174 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16176         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16177         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16178         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16180         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16181         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16182         s_truncf-vis3, s_trunc-vis3.
16183         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16184         (CFLAGS-s_ceil-vis3.c): Likewise.
16185         (CFLAGS-s_floorf-vis3.c): Likewise.
16186         (CFLAGS-s_floor-vis3.c): Likewise.
16187         (CFLAGS-s_truncf-vis3.c): Likewise.
16188         (CFLAGS-s_trunc-vis3.c): Likewise.
16189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16198         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16200         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16202 2016-08-02  David S. Miller  <davem@davemloft.net>
16204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16205         (__nearbyint_vis3): Don't check for sNaN before float register is
16206         loaded with the incoming argument.
16207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16208         (__nearbyintf_vis3): Likewise.
16209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16210         Likewise.
16211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16212         Likewise.
16214         * string/test-strncmp.c (do_test_limit): Make sure the test data
16215         stream is aligned as required for the type "CHAR".
16216         (do_test): Likewise.
16218 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16220         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16221         by beq instructions jumping to the end of the function.
16222         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16223         clobber list. Use "i" constraint instead of "X".
16224         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16225         of "X".
16227 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
16229         * bits/libc-header-start.h: New file.
16230         * Makefile (headers): Add bits/libc-header-start.h.
16231         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16232         (__GLIBC_USE): New macro.
16233         * libio/stdio.h: Define
16234         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16235         <bits/libc-header-start.h> instead of including <features.h>.
16236         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16237         (open_memstream): Likewise.
16238         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16239         (__asprintf): Likewise.
16240         (asprintf): Likewise.
16241         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16242         (getdelim): Likewise.
16243         (getline): Likewise.
16244         * string/string.h: Define
16245         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16246         <bits/libc-header-start.h> instead of including <features.h>.
16247         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16248         (strndup): Likewise.
16249         * wcsmbs/wchar.h: Define
16250         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16251         <bits/libc-header-start.h> instead of including <features.h>.
16252         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16253         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16255 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16257         Support linking against compatibility symbols, for use in tests.
16258         * include/libc-symbols.h (symbol_version_reference): New macro.
16259         (symbol_version): Use it.
16260         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
16261         (compat_symbol): Use compat_symbol_reference.
16262         (compat_symbol_1, compat_symbol_2): Remove.
16263         (compat_symbol_reference, compat_symbol_reference_1)
16264         (compat_symbol_reference_2): New macro.  Use
16265         symbol_version_reference.
16267 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16269         [BZ #19469]
16270         * malloc/Makefile (CPPFLAGS): Compile tests with
16271         -DTEST_NO_MALLOPT.
16272         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
16274 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
16276         [BZ #20033]
16277         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16278         finite version.
16279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16281         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16282         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16283         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16284         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16285         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16286         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16287         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16288         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16289         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16295         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16296         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16297         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16298         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16299         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16300         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16301         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16302         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16303         in zero power.
16305 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16307         [BZ #20370]
16308         * malloc/arena.c (get_free_list): Update comment.  Assert that
16309         arenas on the free list have no attached threads.
16310         (remove_from_free_list): New function.
16311         (reused_arena): Call it.
16313 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
16315         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
16316         when it is a NaN.
16317         [_IEEE_FP_INEXACT] Remove.
16318         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
16319         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16320         when it is a NaN.
16321         [_IEEE_FP_INEXACT] Remove.
16322         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16323         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16324         when it is a NaN.
16325         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16326         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16327         when its absolute value is greater than 0x1.0p52.
16328         [_IEEE_FP_INEXACT] Remove.
16329         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16330         when its absolute value is greater than 0x1.0p23.
16331         [_IEEE_FP_INEXACT] Remove.
16333 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
16335         * version.h (RELEASE): Set to "development"
16336         (VERSION): Set to 2.24.90.
16337         * NEWS: Add 2.25 section.
16339         * version.h (RELEASE): Set to "stable"
16340         (VERSION): Set to 2.24.
16341         * include/features.h (__GLIBC_MINOR__): Set to 24.
16343         * NEWS: Add 2.24 fixed bugs.
16344         * po/libc.pot: Regenerate.
16346 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16349         [$(subdir) = math] (libm-sysdep_routines): Remove.
16350         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16351         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16352         s_truncf-vis3, s_trunc-vis3.
16353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16355         file.
16356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16389         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16390         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16391         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16392         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16393         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16394         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16395         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16396         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16397         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16398         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16400 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
16402         [BZ #20384]
16403         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16404         test-double-libmvec-sincos-avx-main.o,
16405         test-double-libmvec-sincos-avx2-main.o,
16406         test-double-libmvec-sincos-main.o,
16407         test-float-libmvec-sincosf-avx-main.o,
16408         test-float-libmvec-sincosf-avx2-main.o and
16409         test-float-libmvec-sincosf-main.o.
16410         test-float-libmvec-sincosf-avx512-main.o.
16411         ($(objpfx)test-double-libmvec-sincos): Also link with
16412         $(objpfx)test-double-libmvec-sincos-main.o.
16413         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16414         $(objpfx)test-double-libmvec-sincos-avx-main.o.
16415         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16416         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16417         ($(objpfx)test-float-libmvec-sincosf): Also link with
16418         $(objpfx)test-float-libmvec-sincosf-main.o.
16419         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16420         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16421         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16422         test-double-libmvec-sincos-avx512-main.o and
16423         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16424         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16425         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16426         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16427         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16428         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16429         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16430         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16431         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16432         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16433         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16434         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16435         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16436         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16437         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16438         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16439         -DREQUIRE_AVX2.
16440         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16441         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16442         -DREQUIRE_AVX512F.
16443         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16444         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16445         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16446         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16447         file.
16448         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16449         Likewise.
16450         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16451         Likewise.
16452         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16453         Likewise.
16454         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16455         Likewise.
16456         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16457         Likewise.
16458         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16459         Likewise.
16460         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16461         Likewise.
16463 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16465         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16467 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16469         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16470         and typo in a comment about AT_HWCAP entry.
16472 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16474         * sysdeps/aarch64/libm-test-ulps: Updated.
16476 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16478         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16479         of r13 as it is not restored in mvcle case.
16481 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16483         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16484         Rename "ret" to "__ret".
16485         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16486         inline_syscall5, inline_syscall6): Likewise.
16488 2016-07-19   Will Newton  <will.newton@gmail.com>
16490         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16491         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16492         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16493         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16494         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16496 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16498         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16499         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16500         -mfpmath=387 with $(rtld-CFLAGS).
16501         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16502         $(rtld-CFLAGS).
16504 2016-07-18   Ross Burton  <ross.burton@intel.com>
16505              Khem Raj  <raj.khem@gmail.com>
16507         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16508         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16509         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16510         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16511         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16512         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16513         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16514         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16515         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16516         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16517         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16518         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16519         R_METAG_TLS_DTPOFF): New.
16521 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16522             Matt Clay  <mclay@lycos.com>
16524         [BZ #20357]
16525         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16526         to call __mpsin/__mpcos and to negate values.
16527         * math/auto-libm-test-in: Add test.
16528         * math/auto-libm-test-out: Regenerate.
16530 2016-07-18  Zack Weinberg  <zackw@panix.com>
16532         * grp/Makefile: Don't install the internal header grp-merge.h.
16534 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16536         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16538 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16540         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16542 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16544         [BZ #15368]
16545         * sysdeps/unix/sysv/linux/nptl-signals.h
16546         (__nptl_clear_internal_signals): New function.
16547         (__libc_signal_block_all): Likewise.
16548         (__libc_signal_block_app): Likewise.
16549         (__libc_signal_restore_set): Likewise.
16550         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16551         implementation.
16552         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16553         the cached pid/tid value in pthread structure.
16555 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16557         [BZ #20347]
16558         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16560 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16562         [BZ #20348]
16563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16564         preadv64, pwrite64 and pwritev64.
16566 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16568         [BZ #20350]
16569         * posix/tst-preadwrite.c: Renamed to ...
16570         * posix/tst-preadwrite-common.c: This.
16571         (PREAD): Removed.
16572         (PWRITE): Likewise.
16573         (STRINGIFY): Likewise.
16574         (STRINGIFY2): Likewise.
16575         (do_prepare): Make it static and remove function arguments.
16576         (do_test): Likewise.
16577         (PREPARE): Updated.
16578         (TEST_FUNCTION): New.
16579         (name): Make it static.
16580         (fd): Likewise.
16581         (do_prepare): Use create_temp_file.
16582         (do_test): Renamed to ...
16583         (do_test_with_offset): This.  Make it static and accept offset.
16584         Properly check return value of PWRITE and PREAD.  Return bytes
16585         read.  Don't close fd nor unlink name.
16586         * posix/tst-preadwrite.c: Rewrite.
16587         * posix/tst-preadwrite64.c: Likewise.
16589 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16591         [BZ #20309]
16592         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16593         -mtls-dialect=gnu2 works.
16594         * configure: Regenerated.
16595         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16596         (tests): Add tst-gnu2-tls1.
16597         (modules-names): Add tst-gnu2-tls1mod.
16598         ($(objpfx)tst-gnu2-tls1): New.
16599         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16600         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16601         * elf/tst-gnu2-tls1.c: New file.
16602         * elf/tst-gnu2-tls1mod.c: Likewise.
16603         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16604         bytes for push in the PLT entry to align the stack.
16606 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16608         [BZ #20349]
16609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16611 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16613         [BZ #18707]
16614         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16615         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16617 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16619         * sysdeps/unix/sysv/linux/sysdep.h
16620         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16621         guards.
16622         * misc/tst-preadvwritev-common.c: New file.
16623         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16624         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16625         a check for files larger than 2GB.
16627         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16628         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16629         * sysdeps/unix/sysv/linux/pread.c
16630         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16631         __OFF_T_MATCHES_OFF64_T.
16632         * sysdeps/unix/sysv/linux/pread64.c
16633         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16634         * sysdeps/unix/sysv/linux/preadv.c
16635         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16636         * sysdeps/unix/sysv/linux/preadv64.c
16637         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16638         * sysdeps/unix/sysv/linux/pwrite.c
16639         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16640         * sysdeps/unix/sysv/linux/pwrite64.c
16641         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16642         * sysdeps/unix/sysv/linux/pwritev.c
16643         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16644         * sysdeps/unix/sysv/linux/pwritev64.c
16645         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16647 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16649         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16650         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16652 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16654         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16656 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16658         [BZ #20240]
16659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16660         (CFLAGS-s_modf-ppc32.c): New variable.
16661         (CFLAGS-s_modff-ppc32.c): Likewise.
16662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16663         (CFLAGS-s_modf-ppc64.c): Likewise.
16664         (CFLAGS-s_modff-ppc64.c): Likewise.
16666 2016-07-07  Andreas Schwab  <schwab@suse.de>
16668         [BZ #20263]
16669         * nptl/tst-robust10.c: New test.
16670         * nptl/Makefile (tests): Add tst-robust10.
16672 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16674         [BZ #20263]
16675         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16677 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16679         * sysdeps/s390/linkmap.h (struct link_map_machine):
16680         Remove member gotplt and add member jmprel.
16681         * sysdeps/s390/s390-32/dl-machine.h
16682         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16683         instead of gotplt with &got[3].
16684         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16685         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16687 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16689         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16691 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16693         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16694         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16695         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16696         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16697         * libio/vtables.c (_IO_vtable_check)
16698         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16699         * libio/libioP.h (IO_set_accept_foreign_vtables)
16700         [!PTR_MANGLE]: Do not call PTR_MANGLE.
16702 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
16704         [BZ #20314]
16705         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16706         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16707         $(common-objpfx)cmath.
16708         ($(common-objpfx)cstdlib): New target.
16709         ($(common-objpfx)cmath): Likewise.
16711 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
16713         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16715 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16717         [BZ #20327]
16718         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16719         are not part of the string.
16721 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16723         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16724         * nptl/tst-cancel4-common.h (fifoname): New variable.
16725         (fifofd): Likewise.
16726         (cl_fifo): New function.
16727         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16728         SIGINT.
16729         (tf_open): Add early cancel test.
16731 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16733         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16735 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
16737         * sysdeps/generic/ldsodefs.h
16738         (dl_symbol_visibility_binds_local_p): New inline function.
16739         * elf/dl-addr.c (determine_info): Treat hidden and internal
16740         symbols as local.
16741         * elf/dl-lookup.c (do_lookup_x): Likewise.
16742         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16744 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16746         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16747         invalid exception for a sNaN input.
16748         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16749         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16750         (__nearbyint_vis3): Likewise
16751         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16752         (__nearbyintf_vis3): Likewise
16753         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16754         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16755         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16756         Likewise.
16757         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16758         Likewise.
16760 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
16762         [BZ #20139]
16763         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16764         (HAVE_AVX512DQ_ASM_SUPPORT): This.
16765         * sysdeps/x86_64/configure.ac: Require assembler from binutils
16766         2.24 or above.
16767         (HAVE_AVX512_ASM_SUPPORT): Removed.
16768         (HAVE_AVX512DQ_ASM_SUPPORT): New.
16769         * sysdeps/x86_64/configure: Regenerated.
16770         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16771         check unconditional.
16772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16773         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16774         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16775         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16776         Likewise.
16777         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16778         Likewise.
16779         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16780         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16781         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16782         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16783         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16784         Likewise.
16785         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16786         Likewise.
16787         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16789         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16790         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16792         Likewise.
16793         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16794         Likewise.
16795         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16796         Likewise.
16797         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16798         Likewise.
16799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16800         Likewise.
16801         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16802         Likewise.
16803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16804         Likewise.
16805         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16806         Likewise.
16807         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16808         Likewise.
16809         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16810         Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16812         Likewise.
16814 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16816         [BZ #20024]
16817         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16819         of this implementation of vector function.
16820         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16823         Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16826         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16827         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16828         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16829         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16830         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16831         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16832         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16833         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16834         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16835         for testing vector sincos with fixed ABI.
16836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16837         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16838         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16839         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16840         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16841         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16842         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16843         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16844         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16845         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16846         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16847         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16848         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16849         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16850         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16851         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16853 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16855         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16857 2016-06-30  Anton Blanchard  <anton@samba.org>
16859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16860         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16861         s_sinf-ppc64.
16862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16865         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16867 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16871         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16872         e_expf-ppc64.
16873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16876         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16878 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16880         [BZ #20277]
16881         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16882         when SHARED is defined.
16884 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16886         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16887         (index_arch_Prefer_ERMS): Likewise.
16888         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16889         __memcpy_erms for Prefer_ERMS.
16890         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16891         (__memmove_erms): Enabled for libc.a.
16892         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16893         __memmove_erms or Prefer_ERMS.
16894         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16895         __mempcpy_erms for Prefer_ERMS.
16896         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16897         __memset_erms for Prefer_ERMS.
16899 2016-06-30  Andreas Schwab  <schwab@suse.de>
16901         [BZ #20262]
16902         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16903         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16904         of memory.
16906 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16908         [BZ #18645]
16909         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16910         (test-extras): Add tst-cleanupx4aux.
16911         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16912         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16913         tst-cleanupx4aux.o.
16914         * nptl/tst-cleanupx4aux.c: New file.
16916 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16918         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16920 2016-06-29  Andreas Schwab  <schwab@suse.de>
16922         [BZ #20260]
16923         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16924         address before the beginning of the string as an integer to avoid
16925         array-bounds warning.
16927 2016-06-28  Richard Henderson  <rth@redhat.com>
16929         * elf/elf.h (EM_BPF): New.
16930         (EM_NUM): Update.
16931         (R_BPF_NONE, R_BPF_MAP_FD): New.
16933         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16934         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16935         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16936         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16937         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16938         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16939         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16940         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16941         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16942         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16943         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16944         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16945         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16946         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16947         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16948         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16949         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16950         (EM_NUM): Update.
16952 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16954         [BZ #18960]
16955         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16956         Set _nl_current_LC_CATEGORY_used to two instead of one.
16958 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16960         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16961         (do_test): ... this.
16962         (TEST_FUNCTION): New macro.
16963          Include test-skeleton.c.
16964         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16965         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16967 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16969         [BZ #15479]
16970         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16971         floating-point environment rather than just control word.
16972         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16973         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16974         floating-point environment, with "invalid" exceptions merged in,
16975         rather than just control word.
16976         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16977         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16978         "inexact" exceptions.
16980         [BZ #15479]
16981         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16982         floating-point environment rather than just control word.
16983         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16984         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16985         floating-point environment, with "invalid" exceptions merged in,
16986         rather than just control word.
16987         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16988         * math/libm-test.inc (floor_test_data): Do not allow spurious
16989         "inexact" exceptions.
16991         [BZ #15479]
16992         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16993         floating-point environment rather than just control word.
16994         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16995         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16996         floating-point environment, with "invalid" exceptions merged in,
16997         rather than just control word.
16998         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16999         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17000         "inexact" exceptions.
17002 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17004         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17005         __libc_vfork.
17006         (__vfork) [IS_IN (libc)]: Remove alias.
17007         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17008         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17009         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17011 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17013         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17014         of atomic_compare_and_exchange_bool_rel.
17015         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17016         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17017         catomic_compare_and_exchange_bool_rel): Remove.
17018         * sysdeps/aarch64/atomic-machine.h
17019         (atomic_compare_and_exchange_bool_rel): Likewise.
17020         * sysdeps/alpha/atomic-machine.h
17021         (atomic_compare_and_exchange_bool_rel): Likewise.
17022         * sysdeps/arm/atomic-machine.h
17023         (atomic_compare_and_exchange_bool_rel): Likewise.
17024         * sysdeps/mips/atomic-machine.h
17025         (atomic_compare_and_exchange_bool_rel): Likewise.
17026         * sysdeps/microblaze/atomic-machine.h
17027         ( __arch_compare_and_exchange_bool_8_rel,
17028         __arch_compare_and_exchange_bool_16_rel): Likewise.
17029         * sysdeps/powerpc/atomic-machine.h
17030         ( __arch_compare_and_exchange_bool_8_rel,
17031         __arch_compare_and_exchange_bool_16_rel): Likewise.
17032         * sysdeps/powerpc/powerpc32/atomic-machine.h
17033         ( __arch_compare_and_exchange_bool_32_rel,
17034         __arch_compare_and_exchange_bool_64_rel): Likewise.
17035         * sysdeps/powerpc/powerpc64/atomic-machine.h
17036         ( __arch_compare_and_exchange_bool_32_rel,
17037         __arch_compare_and_exchange_bool_64_rel): Likewise.
17038         * sysdeps/tile/atomic-machine.h
17039         (atomic_compare_and_exchange_bool_rel): Likewise.
17041 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17043         [BZ #20296]
17044         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17045         when either argument is a NaN.
17046         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17047         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17049         * math/libm-test.inc (snan_value_ld): New macro.
17050         (isgreater_test_data): Add sNaN tests.
17051         (isgreaterequal_test_data): Likewise.
17052         (isless_test_data): Likewise.
17053         (islessequal_test_data): Likewise.
17054         (islessgreater_test_data): Likewise.
17055         (isunordered_test_data): Likewise.
17056         (nextafter_test_data): Likewise.
17057         (nexttoward_test_data): Likewise.
17058         (remainder_test_data): Likewise.
17059         (remquo_test_data): Likewise.
17060         (significand_test_data): Likewise.
17061         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17063 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17065         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17066         environment macros are defined.
17067         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17069 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17071         [BZ #20191]
17072         Implement vtable verification in libio.
17073         * Makerules (shlib.lds): Place __libc_IO_vtables section.
17074         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17075         * debug/vdprintf_chk.c (__vdprintf_chk): Call
17076         _IO_new_file_init_internal instead of _IO_file_init.
17077         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17078         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17079         * libio/Makefile (routines): Add vtables.
17080         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17081         (_IO_init): Remove, not for internal use.
17082         (_IO_init_internal): Declare, internal replacement for _IO_init.
17083         (_IO_file_init): Remove, not for internal use.
17084         (_IO_new_file_init): Remove, not for internal use.
17085         (_IO_new_file_init_internal): Declare, internal replacement for
17086         _IO_new_file_init.
17087         (_IO_old_file_init): Remove, not for internal use.
17088         (_IO_old_file_init_internal): Declare, internal replacement for
17089         _IO_old_file_init.
17090         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17091         internal use.
17092         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17093         Declare.
17094         (libio_vtable): New macro.
17095         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17096         functions.
17097         * libio/fileops.c (_IO_new_file_init_internal): Rename from
17098         _IO_new_file_init.
17099         (_IO_new_file_init): New externally visible wrapper which disables
17100         vtable verification.
17101         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17102         Define as vtables.
17103         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17104         (_IO_init): New externally visible wrapper which disables
17105         vtable verification.
17106         * libio/iofdopen.c (_IO_new_fdopen): Call
17107         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
17108         comment.
17109         * libio/iofopen.c (__fopen_internal): Call
17110         _IO_new_file_init_internal instead of _IO_file_init.
17111         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17112         Define as vtables.
17113         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17114         _IO_new_file_init_internal instead of _IO_file_init.
17115         * libio/iopopen.c (_IO_new_popen): Likewise.
17116         (_IO_proc_jumps): Define as vtable.
17117         * libio/iovdprintf.c (_IO_vdprintf): Call
17118         _IO_new_file_init_internal instead of _IO_file_init.
17119         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17120         (__open_memstream): Call _IO_init_internal instead of _IO_init.
17121         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17122         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17123         _IO_old_file_init.
17124         (_IO_old_file_init): New externally visible wrapper which disables
17125         vtable verification.
17126         (_IO_old_file_jumps): Define as vtable.
17127         * libio/oldiofdopen.c (_IO_old_fdopen): Call
17128         _IO_old_file_init_internal instead of _IO_old_file_init.
17129         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17130         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17131         (_IO_old_proc_jumps): Define as vtable.
17132         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17133         Define as vtables.
17134         * libio/vtables.c: New file.
17135         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17136         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17137         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17138         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17139         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17140         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17141         instead of _IO_init.
17143 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17145         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17147 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17149         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17150         potentially unused.
17152 2016-06-22  Florian Weimer  <fweimer@redhat.com>
17154         * test-skeleton.c (write_message): New function.
17155         * malloc/tst-mallocfork2.c (write_message): Remove.
17156         * debug/tst-longjmp_chk2.c (write_indented): New function.
17157         (write_message): Remove.
17158         (stackoverflow_handler): Call write_indented.
17160 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
17162         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17163         "inexact" exceptions after fnstenv.
17164         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17165         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17166         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17168 2015-06-22  Zack Weinberg  <zackw@panix.com>
17170         * sysdeps/generic/bits/hwcap.h: Moved to ...
17171         * bits/hwcap.h: Here.
17173 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
17175         * sysdeps/aarch64/memcpy.S (memcpy):
17176         Further tuning for performance.
17178 2016-06-21  Florian Weimer  <fweimer@redhat.com>
17180         [BZ #20284]
17181         * malloc/arena.c (reused_arena): Do not return NULL if we start
17182         out with a non-corrupted arena.
17184 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17186         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17187         * misc/tst-preadvwritev.c: New file.
17188         * misc/tst-preadvwritev64.c: Likewise.
17189         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17190         usage.
17191         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17192         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17193         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17194         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17196 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
17198         [BZ #19654]
17199         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17200         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17201         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17202         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17203         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17204         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17205         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17206         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17207         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17208         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17209         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17210         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17211         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17212         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17213         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17214         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17215         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17216         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17217         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17218         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17219         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17220         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17221         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17222         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17223         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17224         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17226 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17228         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17229         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17231 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17233         * sysdeps/aarch64/memcpy.S (memcpy):
17234         Rewrite of optimized memcpy and memmove.
17235         * sysdeps/aarch64/memmove.S (memmove): Remove
17236         memmove code (merged into memcpy.S).
17238 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17240         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17241         * sysdeps/generic/dl-dtv.h: New file.
17242         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17243         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17244         (dtv_t): Remove.
17245         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17246         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17247         (dtv_t): Remove.
17248         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17249         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17250         (dtv_t): Remove.
17251         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17252         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17253         (dtv_t): Remove.
17254         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17255         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17256         (dtv_t): Remove.
17257         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17258         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
17259         (dtv_t): Remove.
17260         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17261         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
17262         (dtv_t): Remove.
17263         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
17264         (dtv_t): Remove.
17265         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17266         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
17267         (dtv_t): Remove.
17268         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17269         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
17270         (dtv_t): Remove.
17271         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17272         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
17273         (dtv_t): Remove.
17274         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17275         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17276         (dtv_t): Remove.
17277         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17278         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17279         (dtv_t): Remove.
17280         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17281         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17282         (dtv_t): Remove.
17283         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17284         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17285         (dtv_t): Remove.
17286         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17287         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17288         (dtv_t): Remove.
17290 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17292         Revert symbol poisoning of  __malloc_initialize_hook.
17293         * include/stdc-predef.h (__malloc_initialize_hook): Remove
17294         poisoning.
17295         * malloc/Makefile: Remove un-poisoning.
17296         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17297         instead of old__malloc_initialize_hook.
17298         * malloc/malloc-hooks.h: Likewise.
17299         * malloc/malloc.c: Likewise.
17300         * malloc/mcheck-init.c: Likewise.
17302 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
17304         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17306 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
17308         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17309         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
17310         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17311         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17313 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17315         * NEWS: Mention addition of nextup and nextdown.
17316         * manual/arith.texi: Document nextup and nextdown.
17317         * manual/libm-err-tab.pl: Add nextup and nextdown.
17318         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
17319         * math/Versions (libm): Add GLIBC_2.24.
17320         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17321         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17322         Add new test.
17323         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17324         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17325         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17326         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17327         (nextup_test_data): Likewise.
17328         (nextdown_test_data): Likewise.
17329         * math/s_nextdown.c: New file.
17330         * math/s_nextdownf.c: Likewise.
17331         * math/s_nextdownl.c: Likewise.
17332         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17333         F(nextup): New function.
17334         F(nextdown): Likewise.
17335         * math/tgmath.h: Add nextup and nextdown.
17336         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17337         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17338         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17339         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17340         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17341         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17342         Add nextup and nextdown.
17343         (CFLAGS-nldbl-nextup.c): New variable.
17344         (CFLAGS-nldbl-nextdown.c): Likewise.
17345         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17346         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17347         * sysdeps/nacl/libm.abilist: Update.
17348         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17350         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17351         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17352         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17353         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17354         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17358         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17359         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17362         Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17365         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17366         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17368         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17373         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17377 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17379         * manual/pattern.texi: Fix typos & grammar errors.
17381 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17383         * manual/search.texi: Fix typos & grammar errors.
17385 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17387         * manual/message.texi: Fix typos & grammar errors.
17389 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
17391         * manual/contrib.texi: Fix spelling typos.
17392         * manual/crypt.texi: Likewise.
17393         * manual/filesys.texi: Likewise.
17394         * manual/locale.texi: Likewise.
17395         * manual/message.texi: Likewise.
17396         * manual/nss.texi: Likewise.
17397         * manual/string.texi: Likewise.
17399 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17401         * manual/locale.texi: Fix typos & grammar errors.
17403 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17405         * manual/charset.texi: Fix typos & grammar errors.
17407 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17409         * manual/string.texi: Fix typos.
17411 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17413         * manual/ctype.texi: Fix typos.
17415 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17417         * manual/memory.texi: Fix various typos & grammar errors.
17419 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
17421         [BZ #20255]
17422         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17423         * math/libm-test.inc (fdim_test_data): Add another test.
17425         [BZ #6796]
17426         [BZ #20255]
17427         [BZ #20256]
17428         * math/s_fdim.c: Include <math_private.h>.
17429         (__fdim): Use math_narrow_eval on result.
17430         * math/s_fdimf.c: Include <math_private.h>.
17431         (__fdimf): Use math_narrow_eval on result.
17432         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17433         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17434         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17435         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17436         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17437         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17438         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17439         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17440         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17441         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17442         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17443         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17444         overflow.  Add sNaN tests.
17446         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17447         fpclassify.
17448         * math/s_fdimf.c (__fdimf): Likewise.
17449         * math/s_fdiml.c (__fdiml): Likewise.
17451 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17453         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17454         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17456         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17457         ifunc'ed strcasecmp/strncasecmp.
17458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17459         [EALIGN]: Removed.
17460         [END]: Likewise.
17461         [__strcasecmp]: Define instead of the above to control symbol name.
17462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17463         for __strcasecmp_power8.
17464         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17465         for __strncasecmp_power8.
17466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17467         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17468         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17469         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17470         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17471         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17473 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17475         [BZ #20252]
17476         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17477         arguments when second argument is a NaN.
17478         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17479         qNaN tests.
17481         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17482         (conj_test_data): Likewise.
17483         (copysign_test_data): Likewise.
17484         (creal_test_data): Likewise.
17485         (fma_test_data): Likewise.
17486         (fmod_test_data): Likewise.
17488         [BZ #20250]
17489         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17490         itself.
17491         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17492         zero input to itself.
17493         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17494         Likewise.
17495         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17496         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17498         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17499         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17501 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17503         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17504         * nptl/tst-cancel4-common.c: New file.
17505         * nptl/tst-cancel4-common.h: Likewise.
17506         * nptl/tst-cancel4.c: Move common definitions to
17507         tst-cancel4-common.{c,h} file.
17508         * nptl/tst-cancel4_1.c: New test.
17509         * nptl/tst-cancel4_2.c: New test.
17511 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17513         [BZ #20248]
17514         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17515         (write_message): New function.
17516         (stackoverflow_handler): Call it instead of printf, to avoid
17517         excessive stack usage by printf.
17518         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17520 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17522         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17523         (prio_inherit_missing): Remove define.
17524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17525         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17526         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17527         Likewise.
17528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17529         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17530         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17531         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17532         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17533         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17535 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17537         [BZ #19670]
17538         [BZ #19672]
17540         * io/test-lfs.c (do_prepare): Use xmalloc.
17541         * io/tst-fcntl.c (do_prepare): Likewise.
17542         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17543         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17544         * login/tst-utmp.c (do_prepare): Likewise.
17545         * posix/tst-exec.c (do_prepare): Likewise.
17546         * posix/tst-pathconf.c (prepare): Likewise.
17547         * posix/tst-spawn.c (do_prepare): Likewise.
17548         * posix/tst-truncate.c (do_prepare): Likewise.
17549         * rt/tst-aio.c (do_prepare): Likewise.
17550         * rt/tst-aio64.c (do_prepare): Likewise.
17552 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17554         [BZ #20237]
17555         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17556         (get*ent): Set entidx to NULL during initialization.  If entidx is
17557         NULL, start iteration from the beginning.
17559 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17561         * malloc/malloc.c (musable): Return correct size for dumped fake
17562         mmapped chunk.
17564 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17566         [BZ #20222]
17567         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17568         (_IO_cookie_write): Likewise.
17569         (_IO_cookie_seek): Likewise.
17570         (_IO_cookie_close): Likewise.
17571         (_IO_old_cookie_seek): Likewise.
17572         (set_callbacks): New function.
17573         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17575 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17577         * locale/programs/localedef.c (oldstyle_tables): Remove.
17578         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17580 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17582         [BZ #20240]
17583         * math/Makefile (CFLAGS-s_modf.c): New variable.
17584         (CFLAGS-s_modff.c): Likewise.
17585         (CFLAGS-s_modfl.c): Likewise.
17586         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17588 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17590         [BZ #20215]
17591         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17592         [!__GNUC_PREREQ (3,2)]: Likewise.
17594 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17596         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17597         (msghdr.msg_controllen): Likewise.
17598         (cmsghdr.cmsg_len): Likewise.
17599         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17600         ptw-oldsendmsg.
17601         (CFLAGS-oldrecvmsg.c): Remove rule.
17602         (CFLAGS-oldsendmsg.c): Likewise.
17603         (CFLAGS-recvmsg.c): Add rule.
17604         (CFLAGS-sendmsg.c): Likewise.
17605         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17606         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17607         (CFLAGS-recvmsg.c): Remove rule.
17608         (CFLAGS-sendmsg.c): Likewise.
17609         (CFLAGS-oldrecvmsg.c): Likewise.
17610         (CFLAGS-oldsendmsg.c): Likewise.
17611         (CFLAGS-recvmmsg.c): Likewise.
17612         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17613         to kernel defined interfaces.
17614         (msghdr.msg_controllen): Likewise.
17615         (cmsghdr.cmsg_len): Likewise.
17616         (msghdr.__glibc_reserved1): Remove member.
17617         (msghdr.__glibc_reserved2): Likewise.
17618         (cmsghdr.__glibc_reserved1): Likewise.
17619         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17620         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17621         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17622         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17623         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17624         version.
17625         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17626         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17627         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17628         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17629         Remove recvmsg and sendmsg.
17630         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17631         Likewise.
17632         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17633         Likewise.
17634         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17635         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17636         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17637         Likewise.
17638         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17639         Likewise.
17640         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17641         [libc] (GLIBC_2.24): Likewise.
17642         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17643         Likewise.
17644         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17645         Likewise.
17646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17647         [libc] (GLIBC_2.24): Likewise.
17648         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17649         Likewise.
17650         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17651         Likewise.
17652         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17653         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17654         Likewise.
17655         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17656         Likewise.
17657         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17658         Likewise.
17659         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17660         Likewise.
17661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17662         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17663         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17664         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17665         version for {recv,send,recm,sendm}msg.
17666         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17667         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17668         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17670         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17671         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17672         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17673         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17675         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17676         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17677         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17679         Likewise.
17680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17681         Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17684         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17685         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17686         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17687         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17688         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17689         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17692         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17693         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17694         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17696 2016-06-10  Florian Weimer  <fweimer@redhat.com>
17698         [BZ #19564]
17699         Remove __malloc_initialize_hook from the API.
17700         * malloc/malloc.h (__malloc_initialize_hook): Remove.
17701         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17702         #pragma GCC poison.
17703         * malloc/malloc-hooks.h: New file.
17704         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17705         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17706         (old__malloc_initialize_hook): Rename from
17707         __malloc_initialize_hook to evade poisoning.  Turn into compat
17708         symbol.
17709         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17710         __malloc_initialize_hook.
17711         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17712         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17713         * manual/memory.texi (Hooks for Malloc): Remove
17714         __malloc_initialize_hook.  Adjust hook example.
17716 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
17718         [BZ #20235]
17719         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17720         itself.
17721         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17722         * math/libm-test.inc (log2_test_data): Add sNaN tests.
17724         [BZ #20234]
17725         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17726         infinity or NaN input to itself.
17728         [BZ #20233]
17729         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17730         to itself.
17732         [BZ #20232]
17733         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17734         itself.
17736 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17738         * sysdeps/x86_64/start.S (_start): Always indirect branch to
17739         __libc_start_main via GOT.
17741 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17743         * sysdeps/x86_64/memcopy.h: New file.
17744         * sysdeps/x86_64/wordcopy.c: Likewise.
17746 2016-06-09  Florian Weimer  <fweimer@redhat.com>
17748         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17749         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17750         <cstdlib>.
17751         (optimization_barrier): New.
17752         (do_test): Use it.  Call quick_exit in the global namespace.
17753         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17754         instead of <cstdlib>, <thread>.
17755         (optimization_barrier): New.
17756         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17757         Call quick_exit in the global namespace.
17758         (do_test): Call optimization_barrier.  Use pthread_create,
17759         pthread_join instead of std::thread.
17761 2016-06-09  Andreas Schwab  <schwab@suse.de>
17763         [BZ #19755]
17764         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17765         new entries in auto-propagate mode.
17766         * nscd/grpcache.c (cache_addgr): Likewise.
17768 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17770         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17771         New functions.
17772         (add_temp_file): Use them.
17774 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
17776         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17778 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
17780         [BZ #20229]
17781         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17782         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17783         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17785         [BZ #20228]
17786         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17787         itself.
17788         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17789         * math/libm-test.inc (log10_test_data): Add sNaN tests.
17791         [BZ #20227]
17792         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17793         itself.
17794         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17795         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17796         * math/libm-test.inc (log_test_data): Add sNaN tests.
17798         [BZ #20226]
17799         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17800         itself.
17801         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17802         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17803         (exp10_test_data): Likewise.
17804         (expm1_test_data): Likewise.
17806         [BZ #20225]
17807         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17808         itself.
17809         * math/s_ldexpf.c (__ldexpf): Likewise.
17810         * math/s_ldexpl.c (__ldexpl): Likewise.
17811         * math/w_scalbln.c (__w_scalbln): Likewise.
17812         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17813         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17814         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17815         (scalbln_test_data): Likewise.
17817         [BZ #20224]
17818         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17819         argument to itself.
17820         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17822 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17824         [BZ #19776]
17825         * sysdeps/x86_64/memcpy.S: Make it dummy.
17826         * sysdeps/x86_64/mempcpy.S: Likewise.
17827         * sysdeps/x86_64/memmove.S: New file.
17828         * sysdeps/x86_64/memmove_chk.S: Likewise.
17829         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17830         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17831         * sysdeps/x86_64/memmove.c: Removed.
17832         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17833         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17834         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17835         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17836         Likewise.
17837         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17838         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17840         memcpy-sse2-unaligned, memmove-avx-unaligned,
17841         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17843         (__libc_ifunc_impl_list): Replace
17844         __memmove_chk_avx512_unaligned_2 with
17845         __memmove_chk_avx512_unaligned.  Remove
17846         __memmove_chk_avx_unaligned_2.  Replace
17847         __memmove_chk_sse2_unaligned_2 with
17848         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17849         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17850         with __memmove_avx512_unaligned.  Replace
17851         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17852         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17853         with __memcpy_chk_avx512_unaligned.  Remove
17854         __memcpy_chk_avx_unaligned_2.  Replace
17855         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17856         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17857         Replace __memcpy_avx512_unaligned_2 with
17858         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17859         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17860         with __mempcpy_chk_avx512_unaligned.  Remove
17861         __mempcpy_chk_avx_unaligned_2.  Replace
17862         __mempcpy_chk_sse2_unaligned_2 with
17863         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17864         Replace __mempcpy_avx512_unaligned_2 with
17865         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17866         Replace __mempcpy_sse2_unaligned_2 with
17867         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17868         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17869         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17870         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17871         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17872         (ENTRY): Removed.
17873         (END): Likewise.
17874         (ENTRY_CHK): Likewise.
17875         (libc_hidden_builtin_def): Likewise.
17876         Don't include ../memcpy.S.
17877         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17878         __memcpy_chk_avx512_unaligned_erms and
17879         __memcpy_chk_avx512_unaligned.  Use
17880         __memcpy_chk_avx_unaligned_erms and
17881         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17882         Default to __memcpy_chk_sse2_unaligned.
17883         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17884         Change function suffix from unaligned_2 to unaligned.
17885         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17886         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17887         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17888         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17889         (ENTRY): Removed.
17890         (END): Likewise.
17891         (ENTRY_CHK): Likewise.
17892         (libc_hidden_builtin_def): Likewise.
17893         Don't include ../mempcpy.S.
17894         (mempcpy): New.  Add a weak alias.
17895         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17896         __mempcpy_chk_avx512_unaligned_erms and
17897         __mempcpy_chk_avx512_unaligned.  Use
17898         __mempcpy_chk_avx_unaligned_erms and
17899         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17900         Default to __mempcpy_chk_sse2_unaligned.
17902 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17904         [BZ #19881]
17905         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17906         into ...
17907         * sysdeps/x86_64/memset.S: This.
17908         (__bzero): Removed.
17909         (__memset_tail): Likewise.
17910         (__memset_chk): Likewise.
17911         (memset): Likewise.
17912         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17913         defined.
17914         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17915         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17916         (__memset_zero_constant_len_parameter): Check SHARED instead of
17917         PIC.
17918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17919         memset-avx2 and memset-sse2-unaligned-erms.
17920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17921         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17922         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17923         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17924         (__bzero): Enabled.
17925         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17926         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17927         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17928         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17929         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17930         (memset): Removed.
17931         (__memset_chk): Likewise.
17932         (MEMSET_SYMBOL): New.
17933         (libc_hidden_builtin_def): Replace __memset_sse2 with
17934         __memset_sse2_unaligned.
17935         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17936         __memset_chk_sse2 and __memset_chk_avx2 with
17937         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17938         Use __memset_chk_sse2_unaligned_erms or
17939         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17940         __memset_chk_avx512_unaligned_erms and
17941         __memset_chk_avx512_unaligned.
17943 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17945         * math/gen-auto-libm-test.c (fp_format_desc): remove
17946         suffix member.
17947         (output_generic_value): Remove usage of suffix member,
17948         and the resulting unuse of the fp_format argument.
17949         (output_for_one_input_case): Remove unused fp_format
17950         parameter.
17952         * math/auto-libm-test-out: Regenerate.
17954         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17955         usage with TEST_COND_ibm128.
17956         (TEST_COND_flt_32): Remove.
17957         (TEST_COND_dbl_64): Remove.
17958         (TEST_COND_ldbl_96_intel): Remove.
17959         (TEST_COND_ldbl_96_m68k): Remove.
17960         (TEST_COND_ldbl_128): Remove.
17962 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17964         * auto-libm-test-in:
17965         Replace flt-32 usage with binary32.
17966         Replace dbl-64 usage with binary64.
17967         Replace ldbl-intel-96 usage with intel96.
17968         Replace ldbl-m68k-96 usage with m68k96.
17969         Replace ldbl-128ibm usage with ibm128.
17970         Replace ldbl-128 usage with binary128.
17972         * auto-libm-test-out: Regenerate.
17974 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17976         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17977         (parse_ulps): Dynamically generate type name matching
17978         string from all_floats.
17979         (get_ulps): Generate the ulps as an array instead.
17980         (output_ulps): Dynamically compose the type based
17981         on the number of supported formats, and print
17982         the indices as type specific helper macros.
17984         * math/libm-test.inc: Remove comment about CHOOSE.
17985         (ulp_data): Generate the type in libm-test-ulps.h.
17986         (ULP_IDX): New macro.
17987         (find_ulps): Update usage of max_ulp.
17989         * math/test-double-vlen2.h (CHOOSE): Remove.
17990         * math/test-double-vlen4.h (CHOOSE): Likewise.
17991         * math/test-double-vlen8.h (CHOOSE): Likewise.
17992         * math/test-float.c (CHOOSE): Likewise.
17993         * math/test-float-finite.c (CHOOSE): Likewise.
17994         * math/test-double.c (CHOOSE): Likewise.
17995         * math/test-double-finite.c (CHOOSE): Likewise.
17996         * math/test-idouble.c (CHOOSE): Likewise.
17997         * math/test-ifloat.c (CHOOSE): Likewise.
17998         * math/test-ildoubl.c (CHOOSE): Likewise.
17999         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18000         * math/test-ldouble.c (CHOOSE): Likewise.
18002         * math/test-float.h (TEST_FLOAT): Remove.
18003         * math/test-double.h (TEST_DOUBLE): Likewise.
18004         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18006 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18008         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18009         (parse_args): Strip C suffix from floating point literals
18010         typed with 'f' and wrap them with LIT().
18012         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18013         (test_ff_f_data_nexttoward): Rename to
18014         (test_fj_f_data): New struct.
18015         (nexttoward_test_data): Relabel tests as
18016         TEST_fj_f instead of TEST_ff_f.
18018 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18020         Emacs bug 23726.
18021         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18022         (__libc_realloc): Correct size computation for dumped fake mmapped
18023         chunks.
18025 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18027         [BZ #20219]
18028         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18029         to itself.
18030         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18032         [BZ #20218]
18033         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18034         to itself.
18035         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18037 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18039         [BZ #20195]
18040         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18041         check to ...
18042         (init_cpu_features): Here.
18044 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18046         [BZ #20214]
18047         * sysdeps/unix/sysv/linux/bits/in.h
18048         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18049          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18050         Define to 1.
18051         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18052          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18053         Define to 0.
18054         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18055         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18057 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
18059         [BZ #20198]
18060         * stdlib/Makefile (tests): Add tst-quick_exit, and
18061         tst-thread-quick_exit.
18062         [ifeq ($(have-cxx-thread_local),yes)]
18063         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18064         (CFLAGS-tst-thread-quick_exit.o): Likewise.
18065         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18066         (LDLIBS-tst-thread-quick_exit): Likewise.
18067         [ifneq ($(have-cxx-thread_local),yes)]
18068         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18069         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18070         If run_dtors is true call __call_tls_dtors.
18071         (exit): Call __run_exit_handlers with run_dtors set to true.
18072         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18073         definition.
18074         * stdlib/quick_exit.c (quick_exit): Remove function.
18075         (__new_quick_exit): New function.
18076         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18077         function.
18078         * stdlib/tst-quick_exit.cc: New file.
18079         * stdlib/tst-thread-quick_exit.cc: New file.
18080         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18081         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18082         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18083         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18084         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18085         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18086         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18087         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18088         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18090         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18093         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18094         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18095         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18100         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18101         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18102         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18103         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18104         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18107         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18108         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18109         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18111 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18113         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18114         a typo in comments.
18116 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18118         [BZ #20213]
18119         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18120         argument to itself.
18121         * math/libm-test.inc (asin_test_data): Add sNaN tests.
18123 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18125         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18126         required flags.
18127         (CFLAGS-pwritev64.c): Likewise.
18128         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18129         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18130         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18131         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18132         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18133         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18134         syscall from auto-generation.
18135         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18136         [WORDSIZE == 64] (pwritev64): Remove macro.
18137         [!PWRITEV] (PWRITEV): Likewise.
18138         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18139         [!PWRITEV] (PWRITE): Likewise.
18140         [!PWRITEV] (OFF_T): Likewise.
18141         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18142         (LO_HI_LONG): Remove macro.
18143         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18144         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18145         (PWRITEV): Remove macro.
18146         (PWRITEV_REPLACEMENTE): Likewise.
18147         (PWRITE): Likewise.
18148         (OFF_T): Likewise.
18149         (pwritev64): New function.
18150         * nptl/tst-cancel4.c (tf_writev): Add test.
18152         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18153         required flags.
18154         (CFLAGS-preadv64.c): Likewise.
18155         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18156         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18157         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18158         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18159         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18160         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18161         syscall from auto-generation.
18162         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18163         [WORDSIZE == 64] (preadv64): Remove macro.
18164         [!PREADV] (PREADV): Likewise.
18165         [!PREADV] (PREADV_REPLACEMENT): Likewise.
18166         [!PREADV] (PREAD): Likewise.
18167         [!PREADV] (OFF_T): Likewise.
18168         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18169         (LO_HI_LONG): Remove macro.
18170         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18171         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18172         (PREADV): Remove macro.
18173         (PREADV_REPLACEMENTE): Likewise.
18174         (PREAD): Likewise.
18175         (OFF_T): Likewise.
18176         (preadv64): New function.
18177         * nptl/tst-cancel4.c (tf_preadv): Add test.
18179 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #20212]
18182         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18183         argument to itself.
18184         * math/libm-test.inc (acos_test_data): Add sNaN tests.
18186 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18188         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18189         New symbol defined as libc_hidden_def.
18190         (strcasestr): Became a weak alias to __strcasestr.
18191         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18192         according to multi-arch support.  Move __stpncpy hidden
18193         definition from here to...
18194         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
18195         symbol stpncpy.
18196         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18197         libc_hidden_builtin_def.
18198         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18199         memset symbol to use when multi-arch support is available.
18201 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18203         * dlfcn/tst-rec-dlopen.c: Include string.h.
18205 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18207         * manual/install.texi: Remove mention of --without-tls
18208         * INSTALL: Regenerate.
18210 2016-06-05  Florian Weimer  <fweimer@redhat.com>
18212         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18213         Remove.
18214         (call_function, interposed_malloc_called): New variables.
18215         (malloc): New function.
18216         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
18217         and clear call_function as needed.
18219 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
18221         * include/wchar.h (__wmemset): Use __typeof.
18223 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
18225         * include/wchar.h (__wmemset): Declare function without typeof.
18227 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
18229         [BZ #20205]
18230         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18231         exponent when incrementing negative subnormal with low mantissa
18232         word zero.
18233         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18234         Add another test.
18236 2016-06-03  Florian Weimer  <fweimer@redhat.com>
18238         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18239         __wmemset instead of wmemset.
18241 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
18243         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18244         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18245         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18246         __USE_KERNEL_IPV6_DEFS to 0.
18247         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18248         Update comment.
18250 2016-06-01  Florian Weimer  <fweimer@redhat.com>
18252         [BZ #19861]
18253         Do not use IFUNC resolver with potentially unrelocated symbol.
18254         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18255         (DEFINE_FORK): Remove macro and inline definition.
18256         (fork_alias): Renamed from fork_ifunc.
18257         (__fork_alias): Renamed from __fork_ifunc.
18259 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
18261         [BZ 19653]
18262         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
18263         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
18265 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18267         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
18268         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
18269         i386-linux-gnu).
18270         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
18271         Set to no.
18272         * sysdeps/mach/hurd/configure: Refresh.
18274 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18276         [BZ #20178]
18277         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18278         on failure instead of exit.
18280 2016-05-30  Roland McGrath  <roland@hack.frob.com>
18282         [BZ #3629]
18283         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18284         of POSIX.1-2008.
18286 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18288         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18289           Use PLT entry for calling _hurd_self_sigstate.
18291 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
18293         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18294         available logical processors with SMT level type sharing L2
18295         cache for Intel processors.
18297 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18299         [BZ #20160]
18300         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18301         argument to itself before returning the result.
18302         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18303         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18304         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18306         Likewise.
18307         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18308         Likewise.
18309         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
18310         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
18311         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18312         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18313         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18314         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18316         [BZ #20160]
18317         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
18318         argument to itself before returning the result.
18319         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18320         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18321         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18323         Likewise.
18324         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18325         Likewise.
18326         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18327         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18328         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18329         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18330         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18331         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18333 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18335         * libm-test.inc: Replace usage of M_El with
18336         (lit_e): New macro.
18338 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18340         * libm-test.inc: Replace usage of M_PI_4l with
18341         (lit_pi_4_d): New macro.
18343 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18345         * libm-test.inc: Replace usage of M_PIl with
18346         (lit_pi): New macro.
18348 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18350         * libm-test.inc: Replace usage of M_PI2l with
18351         (lit_pi_2_d): New macro.
18353         * math/test-double.h (LITM): New macro.
18354         * math/test-float.h (LITM): Likewise.
18355         * math/test-ldouble.h (LITM): Likewise.
18357 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18359         * libm-test.inc (M_PI_34l): Rename to
18360         (lit_pi_3_m_4_d): New Macro.
18361         (M_PI_34_LOG10El): Rename to
18362         (lit_pi_3_m_4_ln10_m_d): New Macro.
18363         (M_PI2_LOG10El): Rename to
18364         (lit_pi_2_ln10_m_d):  New Macro.
18365         (M_PI4_LOG10El): Rename to
18366         (lit_pi_4_ln10_m_d):  New Macro.
18367         (M_PI_LOG10El): Rename to
18368         (lit_pi_ln10_d):  New Macro.
18370 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18372         [BZ #20157]
18373         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18374         determine whether to negate low half if [_ARCH_PPCGR], and integer
18375         comparison otherwise.
18376         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18377         determine whether to negate low half.
18379         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18380         (NO_TEST_INLINE_DOUBLE): Likewise.
18381         (TEST_COND_x86_64): Likewise.
18382         (TEST_COND_x86): Likewise.
18383         (M_PI_6l): Likewise.
18385 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18387         * math/libm-test.inc:
18388         (TEST_FLOAT): Change usage to TEST_COND_binary32.
18389         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18390         (TEST_LDOUBLE): Update usage to evaluate as true if
18391         the guarded tests match the property being tested.
18392         (LDBL_MAX_EXP): Change to MAX_EXP.
18393         (LDBL_MIN_EXP): Change to MIN_EXP.
18394         (LDBL_MANT_DIG): Change to MANT_DIG, except for
18395         nexttoward tests.
18397 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18399         * math/libm-test.inc:
18400         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18401         (TYPE_MIN): Likewise.
18402         (TYPE_TRUE_MIN): Likewise.
18403         (TYPE_MAX): Likewise.
18404         (MIN_EXP): Likewise.
18405         (MAX_EXP): Likewise.
18406         (MANT_DIG): Likewise.
18408         (FSTR_MAX): New macro.
18409         (__CONCATX): Likewise.
18410         (QTYPE_STR): Likewise.
18411         (TEST_COND_binary32): Likewise.
18412         (TEST_COND_binary64): Likewise.
18413         (TEST_COND_binary128): Likewise.
18414         (TEST_COND_ibm128): Likewise.
18415         (TEST_COND_intel96): Likewise.
18416         (TEST_COND_m68k96): Likewise.
18418         (TEST_COND_flt_32): Redefine as equivalent format test macro.
18419         (TEST_COND_dbl_64): Likewise.
18420         (TEST_COND_ldbl_96_intel): Likewise.
18421         (TEST_COND_ldbl_96_m68k): Likewise.
18422         (TEST_COND_ldbl_128): Likewise.
18423         (TEST_COND_ldbl_128ibm): Likewise.
18425         (plus_zero): Redefine using LIT macro.
18426         (minus_zero): Likewise.
18427         (plus_infty): Redefine as (INF).
18428         (minux_infty): Redefine as (-INF).
18429         (max_value): Redefine as TYPE_MAX.
18430         (min_value): Redefine as TYPE_MIN.
18431         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18433         (print_float): Refactor to use snprintf to convert FLOAT values
18434         to string. This brings it closer to dropin replacement of strtof
18435         for the TS 18661 defined types.
18436         (update_stats): Likewise.
18437         (print_complex_function_ulps): Likewise.
18438         (print_max_error): Likewise.
18439         (print_complex_max_error): Likewise.
18440         (check_float_internal): Likewise.
18442         * math/test-float.h (PREFIX): New macro.
18443         (LIT): Likewise.
18444         (TYPE_STR): Likewise.
18445         (FTOSTR): Likewise.
18447         * math/test-double.h (PREFIX): New macro.
18448         (LIT): Likewise.
18449         (TYPE_STR): Likewise.
18450         (FTOSTR): Likewise.
18452         * math/test-ldouble.h (PREFIX): New macro.
18453         (LIT): Likewise.
18454         (TYPE_STR): Likewise.
18455         (FTOSTR): Likewise.
18457 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18459         [BZ #20156]
18460         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18461         to itself when zero or not finite.
18462         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18467 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18469         [BZ #20153]
18470         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18471         x * x + x for infinities and NaNs.
18473         [BZ #20151]
18474         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18475         argument to itself before returning result.
18476         (__ieee754_y0l): Likewise.
18477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18478         (__ieee754_y1l).
18480         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18481         (atan_test_data): Likewise.
18482         (ceil_test_data): Likewise.
18483         (cos_test_data): Likewise.
18484         (cosh_test_data): Likewise.
18485         (erf_test_data): Likewise.
18486         (exp2_test_data): Likewise.
18487         (fabs_test_data): Likewise.
18488         (floor_test_data): Likewise.
18489         (ilogb_test_data): Likewise.
18490         (j0_test_data): Likewise.
18491         (j1_test_data): Likewise.
18492         (jn_test_data): Likewise.
18493         (lgamma_test_data): Likewise.
18494         (lrint_test_data): Likewise.
18495         (llrint_test_data): Likewise.
18496         (logb_test_data): Likewise.
18497         (lround_test_data): Likewise.
18498         (llround_test_data): Likewise.
18499         (nearbyint_test_data): Likewise.
18500         (rint_test_data): Likewise.
18501         (round_test_data): Likewise.
18502         (sin_test_data): Likewise.
18503         (sincos_test_data): Likewise.
18504         (sinh_test_data): Likewise.
18505         (sqrt_test_data): Likewise.
18506         (tan_test_data): Likewise.
18507         (tanh_test_data): Likewise.
18508         (tgamma_test_data): Likewise.
18509         (trunc_test_data): Likewise.
18510         (y0_test_data): Likewise.
18511         (y1_test_data): Likewise.
18512         (yn_test_data): Likewise.
18514         * math/libm-test.inc: Update comment about NaN testing.
18515         (TEST_SNAN): New macro.
18516         (snan_value): Likewise.
18517         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18518         (fpclassify_test_data): Add sNaN tests.
18519         (isfinite_test_data): Likewise.
18520         (isinf_test_data): Likewise.
18521         (isnan_test_data): Likewise.
18522         (isnormal_test_data): Likewise.
18523         (issignaling_test_data): Likewise.
18524         (signbit_test_data): Likewise.
18525         * math/gen-libm-test.pl (%beautify): Add snan_value.
18526         (show_exceptions): Add argument $test_snan.
18527         (parse_args): Handle snan_value as non-finite.  Update call to
18528         show_exceptions.
18529         * math/Makefile (libm-test-no-inline-cflags): Add
18530         -fsignaling-nans.
18532 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18534         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18535         (CFLAGS-oldsendmsg.c): Add rule.
18536         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18537         Correct recvmsg symbol name.
18538         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18539         Likewise.
18541 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18543         * sysdeps/unix/sysv/linux/Makefile
18544         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18545         oldsendmmsg.
18546         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18547         sendmmsg.
18548         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18549         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18551         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18553         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18554         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18556         Likewise.
18557         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18558         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18559         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18560         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18561         iovlen and controllen fields to adjust to POSIX specification.
18562         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18564         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18565         and change to correct expected type.
18566         (msghdr.msg_controllen): Likewise.
18567         (cmsghdr.cmsg_len): Likewise.
18568         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18569         expected POSIX assumption about the size.
18570         (msghdr.msg_controllen): Likewise.
18571         (msghdr.__glibc_reserved1): Likewise.
18572         (msghdr.__glibc_reserved2): Likewise.
18573         (cmsghdr.cmsg_len): Likewise.
18574         (cmsghdr.__glibc_reserved1): Likewise.
18575         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18576         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18577         (CFLAGS-sendmsg.c): Remove rule.
18578         (CFLAGS-recvmsg.c): Likewise.
18579         (CFLAGS-oldsendmsg.c): Add rule.
18580         (CFLAGS-oldrecvmsg.c): Likewise.
18581         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18582         recvmsg and sendmsg.
18583         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18584         Likewise.
18585         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18586         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18587         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18588         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18589         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18590         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18591         Likewise.
18592         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18593         Likewise.
18594         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18595         Likewise.
18596         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18597         Likewise.
18598         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18599         Likewise.
18600         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18601         Likewise.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18603         (GLIBC_2.24): Likewise.
18604         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18605         Likewise.
18606         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18607         Likewise.
18608         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18609         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18610         Likewise.
18611         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18612         Likewise.
18613         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18614         Likewise.
18615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18616         (GLIBC_2.24): Likewise.
18617         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18618         Likewise.
18619         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18620         Likewise.
18621         * sysdeps/unix/sysv/linux/Makefile
18622         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18623         (CFLAGS-sendmsg.c): Add rule.
18624         (CFLAGS-recvmsg.c): Likewise.
18625         (CFLAGS-oldsendmsg.c): Likewise.
18626         (CFLAGS-oldrecvmsg.c): Likewise.
18627         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18628         initialization.
18629         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18630         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18631         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18632         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18633         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18634         iovlen and controllen fields to adjust to POSIX specification.
18635         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18636         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18637         added recvmsg and sendmsg.
18638         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18639         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18640         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18641         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18642         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18643         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18644         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18645         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18647         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18648         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18649         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18651         Likewise.
18652         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18654         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18655         Likewise.
18656         Likewise.
18657         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18658         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18659         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18660         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18661         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18662         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18664         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18666         Likewise.
18667         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18668         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18670         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18671         from auto-generation.
18672         (sendmsg): Likewise.
18673         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18674         (sendmsg): Likewise.
18675         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18676         (sendmsg): Likewise.
18677         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18678         (sendmsg): Likewise.
18679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18680         (sendmsg): Likewise.
18681         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18682         (sendmsg): Likewise.
18683         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18684         Likewise.
18685         (sendmsg): Likewise.
18686         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18687         (sendmsg): Likewise.
18688         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18690         Remove.
18691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18692         Likewise.
18693         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18694         Undefine.
18695         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18696         Likewise.
18697         * sysdeps/unix/sysv/linux/kernel-features.h
18698         (__ASSUME_SENDMSG_SYSCALL): Define.
18699         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18702         Remove.
18703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18704         Likewise.
18705         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18706         Undefine.
18707         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18708         Likewise.
18709         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18710         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18711         Remove.
18712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18713         Likewise.
18714         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18715         Undefine.
18716         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18717         Likewise.
18718         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18719         (__ASSUME_SENDMSG_SYSCALL): Undefine.
18720         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18721         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18722         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18723         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18724         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18725         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18726         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18728 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18730         * stdlib/gen-tst-strtod-round.c: Add backslash to
18731         compile command in comment.
18732         (printfp): Remove the literal suffix, and define an infinite
18733         value as INF to avoid expansion clash with INFINITY.
18734         (round_str): Remove the literal suffix.
18735         (round_for_all): Likewise, remove the now duplicate ldbl-64
18736         entry, and remove some magic constants.
18738         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18739         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
18740         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18741         (_CONCAT): New macro.
18742         (CONCAT): Likewise.
18743         (CHOOSE_ld): Likewise.
18744         (CHOOSE_f): Likewise.
18745         (CHOOSE_d): Likewise.
18746         (FTYPE_MEMBER): Likewise.
18747         (BOOL_MEMBER): Likewise.
18748         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18749         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18750         (_XNTRY): Likewise.
18751         (XNTRY): Likewise.
18752         (_ENTRY): Likewise.
18753         (ENTRY): Likewise.
18754         (test_exactness): Generate members via macro.
18755         (test_results): Likewise.
18756         (test): Update members.
18757         (TEST): Redefine using new macros.
18758         (INF): New macro.
18759         (fetestmodes): New structure.
18760         (do_test): Refactor to be type generic.
18761         (test_in_one_mode): Refactor duplicate code into
18762         (GEN_ONE_TEST): New macro.
18764         * stdlib/tst-strtod-round-data.h: Regenerate.
18766         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18767         Extend to pass additional arbitrary parameters to
18768         generators.
18770 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
18772         [BZ #15479]
18773         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18774         floating-point state after first floating-point operation on
18775         input.  Restore full floating-point state instead of just rounding
18776         mode.
18777         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18778         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18779         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18780         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18781         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18783         [BZ #15479]
18784         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18785         floating-point state after first floating-point operation on
18786         input.  Restore full floating-point state instead of just rounding
18787         mode.
18788         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18789         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18790         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18791         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18792         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18794 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18796         [BZ #19727]
18797         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18798         valid high surrogate.
18799         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18800         of an utf16 surrogate.
18801         * iconv/gconv_simple.c (BODY): Likewise.
18802         * iconvdata/bug-iconv12.c: New file.
18803         * iconvdata/Makefile (tests): Add bug-iconv12.
18805 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18807         [BZ #19726]
18808         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18809         outptrp in case of an illegal input.
18810         * iconv/tst-iconv6.c: New file.
18811         * iconv/Makefile (tests): Add tst-iconv6.
18813 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18815         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18816         an error in case of a value in range of an utf16 low surrogate.
18818 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18820         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18821         an error in case of a value in range of an utf16 low surrogate.
18823 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18825         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18826         Move to ...
18827         * sysdeps/s390/Makefile: ... here.
18828         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18829         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18830         (BRANCH_ON_COUNT): New define.
18831         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18832         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18833         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18834         run on s390-32, too.
18835         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18836         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18837         run on s390-32, too.
18838         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18839         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18840         run on s390-32, too.
18842 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18844         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18845         etf3eh or new vector loop-variant.
18847 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18849         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18850         etf3eh or new vector loop-variant.
18852 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18854         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18855         or new vector loop-variant.
18857 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18859         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18860         Rename to TR_LOOP and usage of tr instead of troo instruction.
18862 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18864         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18867 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18869         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18870         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18871         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18872         New override define.
18873         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18875 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18877         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18878         * sysdeps/s390/configure.ac: Add test for S390 vector register
18879         support in gcc.
18880         * sysdeps/s390/configure: Regenerated.
18882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18884         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18885         Install file from $(objpfx)gconv-modules.
18886         ($(objpfx)gconv-modules): Concatenate architecture specific file
18887         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18888         * sysdeps/s390/gconv-modules: New file.
18889         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18890         Deleted.
18891         ($(objpfx)gconv-modules-s390): Deleted.
18892         (sysdeps-gconv-modules): New variable.
18894 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18896         [BZ #15479]
18897         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18898         of immediate operand to rounding instruction.
18899         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18900         Likewise.
18901         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18902         Likewise.
18903         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18904         Likewise.
18906 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18908         * math/libm-test.inc (MIN_EXP): Directly define as
18909         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18911 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18913         * math/libm-test.inc (MANT_DIG): Directly define as
18914         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18916 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18918         * stdlib/gen-tst-strtod-round.c (main):
18919           Change usage to more closely match the generated
18920           output.  Add usage and compilation instructions.
18921           (string_to_fp): Add and use FILE* parameter as
18922           output target.
18923           (print_fp): Likewise.
18924           (round_str): Likewise.
18925           (round_for_all): Likewise.
18926         * stdlib/tst-strtod-round.c (tests): Move into
18927         * stdlib/tst-strtod-round-data.h: New file.
18929 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18931         [BZ #15479]
18932         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18933         (__round): Do not force "inexact" exception.
18934         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18935         variable.
18936         (__round): Do not force "inexact" exception.
18937         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18938         (__roundf): Do not force "inexact" exception.
18939         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18940         (__roundl): Do not force "inexact" exception.
18941         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18942         (__roundl): Do not force "inexact" exception.
18943         * math/libm-test.inc (round_test_data): Do not allow spurious
18944         "inexact" exceptions.
18946         [BZ #15479]
18947         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18948         exception in comment.
18949         (huge): Remove variable.
18950         (__floor): Do not force "inexact" exception.
18951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18952         "inexact" exception in comment.
18953         (huge): Remove variable.
18954         (__floor): Do not force "inexact" exception.
18955         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18956         exception in comment.
18957         (huge): Remove variable.
18958         (__floorf): Do not force "inexact" exception.
18959         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18960         exception in comment.
18961         (huge): Remove variable.
18962         (__floorl): Do not force "inexact" exception.
18964         [BZ #15479]
18965         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18966         exception in comment.
18967         (huge): Remove variable.
18968         (__ceil): Do not force "inexact" exception.
18969         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18970         "inexact" exception in comment.
18971         (huge): Remove variable.
18972         (__ceil): Do not force "inexact" exception.
18973         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18974         (__ceilf): Do not force "inexact" exception.
18975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18976         exception in comment.
18977         (huge): Remove variable.
18978         (__ceill): Do not force "inexact" exception.
18980 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18982         * config.h.in (BIND_NOW): New.
18983         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18984         * configure: Regenerated.
18985         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18986         indirect branch via the GOT slot.
18988 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18990         [BZ #19765]
18991         * sysdeps/s390/mempcpy.S: New File.
18992         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18993         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18994         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18995         Add mempcpy variants.
18996         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18997         (memcpy): Adjust to be usable from mempcpy entry point.
18998         (__memcpy_mvcle): Likewise.
18999         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19000         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19001         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19002         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19003         (__memcpy_z10): Likewise.
19004         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19006 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19008         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19009         Remove __GI_ symbol.
19010         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19011         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19012         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19013         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19014         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19015         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19017 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19019         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19020         Use cghi instead of chi to compare 64bit value.
19022 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19024         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19025         Jump to 1MB check before executing mvc-loop.
19027 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19029         [BZ #6527]
19030         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19031         unconditionally.
19032         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19034 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19036         * stdlib/tst-strtod6.c (do_test): Use new type generic
19037         invocation of the test function.
19038         (test): Refactor into ...
19039         (TEST_STRTOD): New macro base function.
19041 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19043         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19044         (TEST_STRTOD): New macro.
19045         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19047 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19049         * stdlib/tst-strtod6.c (do_test): Use new type generic
19050         invocation of the test function.
19051         (test): Refactor into ...
19052         (TEST_STRTOD): New macro base function.
19054 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19056         CVE-2016-4429
19057         [BZ #20112]
19058         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19059         payload.
19061 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19063         [BZ #20111]
19064         * bits/sockaddr.h (_SS_SIZE): Define.
19065         * bits/socket.h (_SS_SIZE): Remove.
19066         (_SS_PADSIZE): Adjust to account for all padding.
19067         (struct sockaddr_storage): Update comment.  Avoid implicit
19068         padding.
19069         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19070         (_SS_PADSIZE): Adjust to account for all padding.
19071         (struct sockaddr_storage): Update comment.  Avoid implicit
19072         padding.
19073         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19074         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19075         (_SS_PADSIZE): Adjust to account for all padding.
19076         (struct sockaddr_storage): Update comment.  Avoid implicit
19077         padding.
19078         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19079         __SS_SIZE is 126 in this version.
19080         * inet/tst-sockaddr.c: New file.
19081         * inet/Makefile (tests): Add tst-sockaddr.c
19082         (tst-sockaddr.c): Compile with non-strict aliasing.
19084 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
19086         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19087         [XPG3 || XPG4].
19088         (NL_ARGMAX): Also expect for [XPG3].
19089         (NL_LANGMAX): Likewise.
19090         (NL_MSGMAX): Likewise.
19091         (NL_NMAX): Likewise.
19092         (NL_SETMAX): Likewise.
19093         (NL_TEXTMAX): Likewise.
19094         (NZERO): Likewise.
19095         (TMP_MAX): Likewise.
19096         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19097         variable.
19099         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19100         (PF_MAX): Update value.
19101         (AF_KCM): New macro.
19102         (SOL_NETBEUI): Likewise.
19103         (SOL_LLC): Likewise.
19104         (SOL_DCCP): Likewise.
19105         (SOL_NETLINK): Likewise.
19106         (SOL_TIPC): Likewise.
19107         (SOL_RXRPC): Likewise.
19108         (SOL_PPPOL2TP): Likewise.
19109         (SOL_BLUETOOTH): Likewise.
19110         (SOL_PNPIPE): Likewise.
19111         (SOL_RDS): Likewise.
19112         (SOL_IUCV): Likewise.
19113         (SOL_CAIF): Likewise.
19114         (SOL_ALG): Likewise.
19115         (SOL_NFC): Likewise.
19116         (SOL_KCM): Likewise.
19117         (MSG_BATCH): New enum value and macro.
19119 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
19121         [BZ #18185]
19122         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19123         sharing L2 cache to 2 for Knights Landing.
19125 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
19127         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19128         (FTW_DP): Do not expect for [XPG3 || XPG4].
19129         (FTW_SL): Do not expect for [XPG3].
19130         (FTW_SLN): Likewise.
19131         (FTW_PHYS): Likewise.
19132         (FTW_MOUNT): Likewise.
19133         (FTW_DEPTH): Likewise.
19134         (FTW_CHDIR): Likewise.
19135         (nftw): Likewise.
19136         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19137         variable.
19139 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19141         * manual/errno.texi: Fix various typos & grammar errors.
19143 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19145         * manual/intro.texi: Fix duplicated typo.
19147 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19149         [BZ #13304]
19150         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19151         <float.h>, <math_private.h> and <stdlib.h>.
19152         (add_split): New function.
19153         (mul_split): Likewise.
19154         (ext_val): New typedef.
19155         (store_ext_val): New function.
19156         (mul_ext_val): New function.
19157         (compare): New function.
19158         (add_split_ext): New function.
19159         (__fmal): After checking for Inf, NaN and zero, compute result as
19160         an exact sum of scaled double values in round-to-nearest before
19161         adding those up and adjusting for other rounding modes.
19162         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19163         tests of fma.
19164         * math/auto-libm-test-out: Regenerated.
19166 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19168         [BZ #20119]
19169         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19170         processor level type mask for CPUID with EAX == 11.
19172 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19174         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19175         logical threads if the HTT bit is 0.
19176         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19177         (index_cpu_HTT): Likewise.
19178         (reg_HTT): Likewise.
19180 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19182         [BZ #20115]
19183         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19184         Remove alignments on jump targets.
19186 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19188         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19189         (getpwent): Likewise.
19190         (setpwent): Likewise.
19191         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19192         variable.
19194         * conform/data/search.h-data (insque): Do not expect for [XPG3].
19195         (remque): Likewise.
19196         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19197         variable.
19199 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19201         * math/libm-test.inc: Update comment not to refer to signs of NaNs
19202         not being tested.
19204 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19207         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
19208         call.
19209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19210         (__condvar_cleanup1): Likewise.
19212 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19214         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19215         New
19216         (__pthread_unwind): Renamed to ...
19217         (PTHREAD_UNWIND): This.
19218         (__pthread_enable_asynccancel): Replace
19219         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19221 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19223         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19224         (CLONE_NEWCGROUP): New macro.
19226         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19227         (Q_GETNEXTQUOTA): New macro.
19229 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19231         [BZ #19907]
19232         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19233         buffer updated by the previous run.
19234         * string/test-memcpy.c (do_one_test): Likewise.
19235         * benchtests/bench-memmove.c (do_one_test): Add a comment.
19236         * string/test-memmove.c (do_one_test): Likewise.
19238 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
19240         [BZ #20094]
19241         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19242         not [__USE_XOPEN].
19243         (unlockpt): Likewise.
19244         (ptsname): Likewise.
19245         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19246         variable.
19248         [BZ #20076]
19249         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19250         instead of [__USE_UNIX98].
19251         (S_ISSOCK): Likewise.
19252         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19253         variable.
19255         [BZ #20074]
19256         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19257         [__USE_POSIX].
19258         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
19259         variable.
19261         [BZ #20051]
19262         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
19263         (ttyslot): Do not declare.
19264         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
19265         (ttyslot): New prototype.
19266         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
19267         variable.
19268         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19270 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19272         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
19274 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19276         Fix race condition in tst-mallocfork2, use fewer resources.
19277         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19278         to current process group.
19279         (signal_sender): Yield in the non-sleeping case.
19281 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
19283         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19284         (ecvt): Likewise.
19285         (fcvt): Likewise.
19286         (gcvt): Likewise.
19287         (getsubopt): Likewise.
19288         (grantpt): Likewise.
19289         (initstate): Likewise.
19290         (l64a): Likewise.
19291         (mktemp): Likewise.
19292         (mkstemp): Likewise.
19293         (ptsname): Likewise.
19294         (random): Likewise.
19295         (realpath): Likewise.
19296         (setstate): Likewise.
19297         (srandom): Likewise.
19298         (ttyslot): Likewise.
19299         (unlockpt): Likewise.
19300         (valloc): Likewise.
19302         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19303         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19304         variable.
19306 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19308         [BZ #20072]
19309         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
19310         init_cpu_features only if SHARED is defined.
19311         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
19313 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19315         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
19316         non-inclusive caches on Intel processors.
19318 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19320         * malloc/malloc.c (dumped_main_arena_start)
19321         (dumped_main_arena_end): New variables.
19322         (DUMPED_MAIN_ARENA_CHUNK): New macro.
19323         (do_check_chunk): Skip dumped fake mmapped chunks.
19324         (munmap_chunk): Likewise.
19325         (__libc_free): Do not adjust statistics for fake mmapped chunks.
19326         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
19327         mmapped chunks.
19328         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19329         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
19330         and dumped_main_arena_end to cover the dumped heap.
19332 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
19334         * conform/data/time.h-data (getdate_err): Do not expect for
19335         [XPG3].
19336         (getdate): Likewise.
19337         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19338         variable.
19340         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19341         (F_ULOCK): Likewise.
19342         (F_TEST): Likewise.
19343         (F_TLOCK): Likewise.
19344         (useconds_t): Likewise.
19345         (intptr_t): Do not expect for [XPG3] or [XPG4].
19346         (brk): Do not expect for [XPG3]
19347         (fchown): Likewise.
19348         (fchdir): Likewise.
19349         (ftruncate): Likewise.
19350         (getdtablesize): Likewise.
19351         (gethostid): Likewise.
19352         (getpagesize): Likewise.
19353         (getpgid): Likewise.
19354         (getsid): Likewise.
19355         (getwd): Likewise.
19356         (lchown): Likewise.
19357         (lockf): Likewise.
19358         (readlink): Likewise.
19359         (sbrk): Likewise.
19360         (setpgrp): Likewise.
19361         (setregid): Likewise.
19362         (setreuid): Likewise.
19363         (symlink): Likewise.
19364         (sync): Likewise.
19365         (truncate): Likewise.
19366         (ualarm): Likewise.
19367         (usleep): Likewise.
19368         (vfork): Likewise.
19369         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19370         variable.
19372         [BZ #20054]
19373         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19374         not [__USE_UNIX98].
19375         * conform/data/unistd.h-data (gethostname): Do not expect for
19376         [XPG3].
19378         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19379         [!POSIX] (S_IFBLK): Likewise.
19380         [!POSIX] (S_IFCHR): Likewise.
19381         [!POSIX] (S_IFIFO): Likewise.
19382         [!POSIX] (S_IFREG): Likewise.
19383         [!POSIX] (S_IFDIR): Likewise.
19384         [!POSIX] (S_IFLNK): Likewise.
19385         [!POSIX] (S_IFSOCK): Likewise.
19386         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19387         variable.
19388         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19390 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
19392         * sysdeps/aarch64/memset.S (__memset):
19393         Rewrite of optimized memset.
19395 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19397         [BZ #19703]
19398         Partially async-signal-safe fork for single-threaded processes.
19399         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19400         variable.  Do not acquire and reset/release malloc and libio locks
19401         in single-threaded processes.
19402         * malloc/tst-mallocfork2.c: New file.
19403         * malloc/Makefile (tests): Add it.
19405 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19407         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19408         argument.  Use scratch buffer instead of extend_alloca.
19409         (gethosts): Use scratch buffer instead of extend_alloca.
19410         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
19411         extend_alloca.
19412         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19414 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
19416         [BZ #20055]
19417         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19418         instead of [__USE_UNIX98].
19419         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19420         [__USE_UNIX98].
19421         * conform/data/termios.h-data (tcgetsid): Do not expect for
19422         [XPG3].
19423         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19424         variable.
19425         (test-xfail-XPG4/termios.h/conform): Likewise.
19427 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19429         Do not use mcheck in localedef.
19430         * locale/programs/localedef.c (turn_on_mcheck)
19431         (__malloc_initialize_hook): Remove.
19433 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19435         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19436         * sysdeps/s390/s390-64/Makefile: Likewise.
19438 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19440         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19441         Remove ifunc-defines.sym.
19442         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19443         Likewise.
19444         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19445         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19446         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19447         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19448         rtld-global-offsets.sym.
19449         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19450         * sysdeps/x86/cpu-features-offsets.sym: This.
19451         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19452         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19454 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #20073]
19457         * io/sys/stat.h (fchmod): Declare for
19458         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19459         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19460         variable.
19462         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19463         [XPG3] (S_IFSOCK): Likewise.
19464         [XPG3] (S_ISVTX): Likewise.
19465         [XPG3] (S_ISLNK): Likewise.
19466         [XPG3] (S_ISSOCK): Likewise.
19467         [XPG3] (fchmod): Likewise.
19468         [XPG3] (lstat): Likewise.
19469         [XPG3] (mknod): Likewise.
19471         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19472         [XPG3].  Expect type long and XFAIL for [XPG4].
19473         (st_blocks): Likewise.
19475         [BZ #20044]
19476         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19477         (pthread_atfork): New prototype.
19478         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19479         variable.
19481         [BZ #20043]
19482         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19483         prototype.
19485 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19487         [BZ #20017]
19488         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19489         gmtime.
19491 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19493         [BZ #19994]
19494         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19495         flag in _res.options.
19497 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19499         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19500         [XPG3 || XPG4].
19501         (blksize_t): Likewise.
19502         (clockid_t): Likewise.
19503         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19504         variable.
19505         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19507 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19509         * sysdeps/unix/sysv/linux/s390/init-first.c:
19510         Add VDSO_SYMBOL(getcpu).
19511         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19512         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19513         Add VDSO_SYMBOL(getcpu).
19514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19515         New define HAVE_GETCPU_VSYSCALL.
19516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19518 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19520         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19521         instead of <sysdeps/x86_64/cacheinfo.c>.
19522         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19523         * sysdeps/x86/cacheinfo.c: Here.
19525 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19527         * malloc/malloc-internal.h: Adjust header file guard.
19529 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19531         [BZ #19787]
19532         * inet/getnameinfo.c (check_sprintf_result): New function.
19533         (CHECKED_SNPRINTF): New macro.
19534         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19535         to the host buffer.
19536         (gni_host_local): Use checked_copy to copy the host name.
19537         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19538         (gni_serv_local): Use checked_copy to copy the service name.
19539         (getnameinfo): Remove unnecessary truncation of result buffers.
19541 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19543         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19544         in case of inet_ntop failure.
19546 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19548         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19549         avoid long lines.
19550         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19551         variables.
19552         (gni_host_inet, gni_host_local): Add comment.
19553         (gni_host): Add comment.  Use temporary to avoid long lines.
19555 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19558         registers specifiers where general purpose registers specifiers should
19559         have been used.
19561 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19563         [BZ #19779]
19564         CVE-2016-1234
19565         Avoid copying names of directory entries.
19566         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19567         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19568         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19569         (struct readdir_result): New type.
19570         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19571         (GL_READDIR): New macros.
19572         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19573         (convert_dirent, convert_dirent64): New functions.
19574         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19575         convert_dirent64.  Adjust references to the readdir result.
19576         * sysdeps/unix/sysv/linux/i386/glob64.c:
19577         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19578         * posix/bug-glob2.c (LONG_NAME): Define.
19579         (filesystem): Add LONG_NAME.
19580         (my_DIR): Increase the size of room_for_dirent.
19582 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19584         [BZ #20041]
19585         * misc/sys/select.h (__need_timespec): Only define if
19586         [__USE_XOPEN2K].
19587         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19588         variable.
19589         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19590         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19591         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19593 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19594             Segher Boessenkool  <segher@gcc.gnu.org>
19596         [BZ #20004]
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19598         (__novec_swapcontext): Add missing load.
19600 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #20023]
19603         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19604         <time.h>.
19605         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19606         variable.
19607         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19609 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19612         flags CLONE_VM compare.
19614 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19616         [BZ #20031]
19617         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19618         completely empty.
19620 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19622         [BZ #19573]
19623         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19624         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19625         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19626         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19627         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19628         (hesiod_free_list): Mark as hidden.
19629         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19630         res_set, res_get.
19631         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19632         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19633         (hesiod_init): Remove obsolete res_ninit call.
19634         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19635         (hesiod_bind): Do not call init.
19636         (get_txt_records): Use res_mkquery, res_send instead of
19637         res_nmkquery, res_nsend.
19638         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19639         instead of _nss_hesiod_init.
19640         (_nss_hesiod_initgroups_dyn): Likewise.
19641         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19642         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19643         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19645 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19647         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19648         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19650 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19652         * hesiod/hesiod.h: Remove RCS keyword.
19653         * hesiod/hesiod_p.h: Likewise.
19655         * hesiod/hesiod.c: Likewise.
19657 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19659         [BZ #12450]
19660         * locale/iso-639.def: Add Samogitian/sgs.
19662 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19664         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19666         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19668 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19669             Carlos O'Donell  <carlos@redhat.com>
19671         [BZ #19072]
19672         * grp/Makefile (headers): Add grp-merge.h
19673         (routines): Add grp-merge.
19674         * grp/getgrgid_r.c: Include grp-merge.h.
19675         (DEEPCOPY_FN): Define.
19676         (MERGE_FN): Define.
19677         * grp/getgrname_r.c: Include grp-merge.h.
19678         (DEEPCOPY_FN): Define.
19679         (MERGE_FN): Define.
19680         * grp/grp-merge.c: New file.
19681         * grp/grp-merge.h: New file.
19682         * include/grp-merge.h: New file.
19683         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19684         __copy_grp@GLIBC_PRIVATE.
19685         * manual/nss.texi (Actions in the NSS configuration): Describe
19686         return, continue, and merge.
19687         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19688         (DEEPCOPY_FN): Define.
19689         (MERGE_FN): Define.
19690         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19691         (DEEPCOPY_FN): Define.
19692         (MERGE_FN): Define.
19693         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19694         [!MERGE_FN]: Define __merge_einval.
19695         (CHECK_MERGE): Define.
19696         (REENTRANT_NAME): Process merge if do_merge is true.
19697         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19698         (__nss_getent_r): Likewise.
19699         * nss/nsswitch.c (nss_parse_service_list): Likewise.
19700         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19702 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19704         [BZ #20012]
19705         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19706         length to calculate the buffer to read.
19707         (fmemopen_write): Set the buffer position based on bytes written.
19708         (fmemopen_seek): Return EINVAL for invalid whence modes.
19710         [BZ #19957]
19711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19712         tst-getpid2.
19713         (test): Add tst-clone2.
19714         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19715         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19716         pid/tid fields for CLONE_VM.
19717         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19718         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19719         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19720         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19721         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19722         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19723         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19724         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19726         Likewise.
19727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19728         Likewise.
19729         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19730         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19731         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19732         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19733         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19734         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19735         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19736         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19738 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19740         [BZ #19642]
19741         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19742         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19743         (gni_serv_local, gni_serv): New functions extracted from
19744         getnameinfo.
19745         (getnameinfo): Call gni_host and gni_serv to perform the
19746         processing.  Always free scratch buffer.
19748 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19750         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19751         remaining bytes in the dest string, with zeros.
19753 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19755         [BZ #20010]
19756         CVE-2016-3706
19757         * sysdeps/posix/getaddrinfo.c
19758         (convert_hostent_to_gaih_addrtuple): New function.
19759         (gethosts): Call convert_hostent_to_gaih_addrtuple.
19760         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19761         AF_INET data.
19763 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19765         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19766         callback function gl_readdir.
19767         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19768         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19769         (glob_in_dir): Remove len.  Use strdup instead of malloc and
19770         memcpy to copy the name.
19771         * manual/pattern.texi (Calling Glob): Document requirements for
19772         implementations of the gl_readdir callback function.
19773         * manual/examples/mkdirent.c: New example.
19774         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19775         per the manual guidance.
19776         * posix/tst-gnuglob.c (my_readdir): Likewise.
19778 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #20014]
19781         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19782         not [__USE_POSIX].
19783         (getchar_unlocked): Likewise.
19784         (putc_unlocked): Likewise.
19785         (putchar_unlocked): Likewise.
19786         (flockfile): Likewise.
19787         (ftrylockfile): Likewise.
19788         (funlockfile): Likewise.
19789         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19790         variable.
19791         (test-xfail-XPG4/stdio.h/conform): Likewise.
19793         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19794         Expect constant.
19795         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19796         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19797         variable.
19798         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19799         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19801         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19802         [__USE_LARGEFILE64] (off64_t): Likewise.
19803         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19804         variable.
19806 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19808         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19810 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19812         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19813         * resolv/res_init.c: Likewise.
19814         * resolv/res_mkquery.c: Likewise.
19816 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19818         * resolv/res_init.c (isascii): Do not define.  Use definition in
19819         <ctype.h>.
19820         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19821         (LOG_AUTH): Remove.
19822         (SPRINTF): Remove, adjust caller.
19823         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19825 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19828         SUNSECURITY conditional.
19829         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19831 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19833         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19834         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19835         Remove BSD-related preprocessor conditionals.
19836         * conf/portability.h: Remove.
19838 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19840         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19841         * resolv/res_data.c: Likewise.
19843 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19845         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19846         * resolv/res_data.c: Remove code conditional on ultrix.
19848 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19850         * resolv/res_init.c (RFC1535): Do not define.  Remove
19851         RFC1535 preprocessor conditionals.
19852         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19853         because there configuration options which make the resolver
19854         behavior different.
19856 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19858         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19859         RESOLVSORT preprocessor conditionals.
19860         * resolv/nss_dns/dns-host.c: Likewise.
19861         * resolv/res_init.c: Likewise.
19863 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19865         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19866         is never defined.
19868 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19870         * inet/inet_lnaof.c: Remove SCSS keyword.
19871         * inet/inet_mkadr.c: Likewise.
19872         * inet/inet_net.c: Likewise.
19873         * inet/inet_netof.c: Likewise.
19874         * inet/rcmd.c: Likewise.
19875         * inet/rexec.c: Likewise.
19876         * inet/ruserpass.c: Likewise.
19878 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19880         * resolv/inet_addr.c: Remove _LIBC conditionals.
19881         * resolv/res_data.c: Likewise.
19882         * resolv/res_init.c: Likewise.
19883         * resolv/res_mkquery.c: Likewise.
19884         * resolv/res_libc.c: Update comment.
19885         * resolv/README: Update.
19887 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19889         * resolv/gethnamaddr.c: Remove SCSS keyword.
19890         * resolv/herror.c: Likewise.
19891         * resolv/inet_addr.c: Likewise.
19892         * resolv/inet_net_ntop.c: Likewise.
19893         * resolv/inet_net_pton.c: Likewise.
19894         * resolv/inet_neta.c: Likewise.
19895         * resolv/inet_ntop.c: Likewise.
19896         * resolv/inet_pton.c: Likewise.
19897         * resolv/ns_date.c: Remove RCS keyword.
19898         * resolv/ns_name.c: Likewise.
19899         * resolv/ns_netint.c: Likewise.
19900         * resolv/ns_parse.c: Likewise.
19901         * resolv/ns_print.c: Likewise.
19902         * resolv/ns_samedomain.c: Likewise.
19903         * resolv/ns_ttl.c: Likewise.
19904         * resolv/nsap_addr.c: Likewise.
19905         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19906         * resolv/res_data.c: Remove RCS keyword.
19907         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19908         * resolv/res_init.c: Likewise.
19909         * resolv/res_mkquery.c: Likewise.
19910         * resolv/res_query.c: Likewise.
19911         * resolv/res_send.c: Likewise.
19913 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19915         * conform/data/stdio.h-data (fdopen): Expect also for
19916         [XPG3 || XPG4].
19918         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19919         (fseeko): Likewise.
19920         (ftello): Likewise.
19921         (ftrylockfile): Likewise.
19922         (funlockfile): Likewise.
19923         (getc_unlocked): Likewise.
19924         (getchar_unlocked): Likewise.
19925         (putc_unlocked): Likewise.
19926         (putchar_unlocked): Likewise.
19928 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19930         [BZ #19868]
19931         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19932         DNS packet syntax checks (which were not needed before).  Skip
19933         over non-PTR records.
19935 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19937         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19938         definition.  Include <stddef.h> instead.
19940 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19942         [BZ #19831]
19943         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19944         function.
19945         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19946         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19948 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19950         [BZ #19862]
19951         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19952         (getanswer_r): Do not call syslog.
19953         (gaih_getanswer_slice): Likewise.
19954         * resolv/gethnamaddr.c (AskedForGot): Remove.
19955         (getanswer): Do not call syslog.
19956         (gethostbyaddr): Likewise.
19958 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19960         * conform/data/signal.h-data (union sigval): Expect also if
19961         [XOPEN2K].
19962         (struct sigevent): Likewise.
19963         (SIGEV_NONE): Likewise.
19964         (SIGEV_SIGNAL): Likewise.
19965         (SIGEV_THREAD): Likewise.
19966         (SIGRTMIN): Likewise.
19967         (SIGRTMAX): Likewise.
19968         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19969         variable.
19970         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19972 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19974         [BZ #19830]
19975         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19976         (gaih_getanswer_slice): Likewise.
19977         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19978         Also check for availability of RR metadata.
19980 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19982         [BZ #19825]
19983         * resolv/res_send.c (send_vc): Remove early *resplen2
19984         initialization.  Set *resplen2 on socket error.  Call
19985         close_and_return_error for other errors.
19987 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19989         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19990         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19991         (SCM_IUCV_TRGCLS): New define.
19993 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19995         [BZ #20005]
19996         * libio/fmemopen.c (fmemopen_write): Update internal position after
19997         write.
19998         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19999         * stdio-common/tst-fmemopen4.c: New file..
20001 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20003         [BZ #19996]
20004         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20005         not [__USE_XOPEN2K].
20006         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20007         variable.
20009         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20010         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20011         variable.
20013         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20014         [__USE_XOPEN2K8].
20015         [__USE_LARGEFILE64] (off64_t): Likewise.
20016         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20017         variable.
20019 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20021         [BZ #19989]
20022         * libio/stdio.h (cuserid): Do not declare if
20023         [__USE_XOPEN2K && !__USE_GNU].
20024         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20025         variable.
20027 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20029         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20030         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20032         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20033         ifunc'ed strcspn.
20034         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20035         [EALIGN]: Removed.
20036         [END]: Likewise
20037         [STRSPN]: Define instead of the above to control symbol name.
20038         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20039         New file.
20040         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20041         Likewise.
20042         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20043         Likewise.
20044         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20045         Likewise.
20046         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20047         [INITIAL_MASK]: New macro.
20048         [STRCSPN]: Likewise.
20049         [UPDATE_MASK]: Likewise.
20050         [USE_AS_STRCSPN]: Likewise.
20052 2016-04-25  Florian Weimer  <fweimer@redhat.com>
20054         [BZ #19931]
20055         * stdio-common/tst-vfprintf-width-prec.c: New file.
20056         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20057         (tests-special): Add tst-vfprintf-width-prec-mem.out.
20058         (generated): Add mtrace-related files.
20059         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20060         (tst-%-mem.out): New pattern rule, replaces
20061         tst-printf-bz18872-mem.out.
20062         * stdio-common/vfprintf.c (vfprintf): When handling a precision
20063         specifier, deallocate any previously allocated work buffer.
20065 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20067         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20068         Add nop before __startcontext, add explaining comments.
20070 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
20072         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20073         any more. Notably since IPV6_PKTINFO has been reintroduced with a
20074         completely different API.
20076         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20077         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20078         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20079         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20080         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20081         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20082         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20083         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20084         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20085         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20087 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
20089         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20091 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
20093         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20094         when it is the default of 0.
20096 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20098         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
20099         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20100         (sysdep_routines): Add new strcasestr targets.
20101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20102         (__libc_ifunc_impl_list): Likewise.
20103         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20104         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20105         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20106         * sysdeps/powerpc/powerpc64/power8/Makefile:
20107         New file to add strcasestr-ppc64 to sysdep_routines.
20108         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20109         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20111 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
20113         * benchtests/Makefile (wcsmbs-benchset): Include only for
20114         native builds and runs.
20115         (LOCALES): Likewise.
20116         (bench-build): Build timing-type here instead of the bench
20117         target.  Generate locale only for native builds.
20118         * benchtests/README: Add note for cross-building.
20120         * benchtests/Makefile (bench-clean): Clean up extra-objs.
20122         * benchtests/README: Update README to include instructions on
20123         using bench-build.
20125         * Makefile.in (bench-build): New target.
20126         * Rules (PHONY): Add bench-build target.
20127         * benchtests/Makefile (bench): Depend on bench-build.
20128         (bench-build): New target.
20130 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20132         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20133         profil_reply_port.
20134         (profile_waiter): Do not initialize profil_reply_port.
20135         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20136         frequency instead of tick length in us.
20138 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
20140         [BZ #18712]
20141         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20142         (__old_mempcpy_small): Likewise.
20143         (__old_strcpy_small): Likewise.
20144         (__old_stpcpy_small): Likewise.
20145         (__old_strpbrk_c2): Fix compat symbol name.
20146         (__old_strpbrk_c3): Likewise.
20147         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20148         (__mempcpy_small): Remove.
20149         (__strcpy_small): Remove.
20150         (__stpcpy_small): Remove.
20152 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
20154         [BZ #19400]
20155         * locale/iso-639.def: Add the Talossan/tzl language.
20157 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20159         [BZ #16983]
20160         * locale/programs/ld-address.c (address_finish): Update postal_fmt
20161         comment.  Add "ln" to strchr check on postal_fmt.
20163 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20165         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20166         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
20167         tel_dom_fmt.
20169 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20171         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20172         (sysdep_routines): Added __strlen_power8.
20173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20174         __strlen_power8 entry.
20175         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20176         Implementation for POWER8.
20177         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20178         for __strlen_power8.
20179         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20180         Implementation for POWER8.
20182 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
20184         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20186 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
20188         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20189         Goldmont and Airmont processors.
20191 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
20193         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20194         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20195         (__STRING2_SMALL_GET32): Remove.
20196         (memset): Remove.
20197         (__memset_1): Remove.
20198         (__memset_gc): Remove.
20199         (__mempcpy): Remove.
20200         (mempcpy): Remove.
20201         (__mempcpy_args): Remove.
20202         (strchr): Remove.
20203         (strcpy): Remove.
20204         (strcpy_args): Remove.
20205         (__stpcpy_args): Remove.
20206         (__strcmp_cc): Remove.
20207         (__strcmp_gc): Remove.
20208         (strstr): Remove.
20210 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
20212         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20213         * nis/nis_call.c (nis_server_cache_add): Likewise.
20215 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20217         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20219 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20221         * malloc/arena.c (__malloc_fork_lock_parent)
20222         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20223         internal_function attribute.
20225 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
20227         * stdio-common/printf_fp.c (__printf_fp_l):
20228         Rename ___printf_fp_l to __printf_fp_l and
20229         remove strong alias. Use libc_hidden_def instead
20230         of ldbl_hidden_def macro.
20232 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20234         Remove malloc hooks from fork handler.  They are no longer needed
20235         because malloc runs right before fork, and no malloc calls from
20236         other fork handlers are not possible anymore.
20237         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20238         declarations.
20239         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20240         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20241         (atfork_recursive_cntr): Remove.
20242         (__malloc_fork_lock_parent): Do not override malloc hooks and
20243         thread_arena.
20244         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20245         thread_arena.
20246         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
20247         thread_arena instead of save_arena.
20249 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20251         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20252         (thread_atfork, thread_atfork_static): Remove.
20253         * sysdeps/mach/hurd/malloc-machine.h:
20254         (thread_atfork, thread_atfork_static): Remove.
20256 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20258         [BZ #19431]
20259         Run the malloc fork handler as late as possible to avoid deadlocks.
20260         * malloc/malloc-internal.h: New file.
20261         * malloc/malloc.c: Include it.
20262         * malloc/arena.c (ATFORK_MEM): Remove.
20263         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
20264         Update comment.
20265         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
20266         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
20267         Remove outdated comment.
20268         (ptmalloc_init): Do not call thread_atfork.  Remove
20269         thread_atfork_static.
20270         * malloc/tst-malloc-fork-deadlock.c: New file.
20271         * Makefile (tests): Add tst-malloc-fork-deadlock.
20272         (tst-malloc-fork-deadlock): Link against libpthread.
20273         * manual/memory.texi (Aligned Memory Blocks): Update safety
20274         annotation comments.
20275         * sysdeps/nptl/fork.c (__libc_fork): Call
20276         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20277         __malloc_fork_unlock_child.
20278         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20280 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20282         [BZ #19613]
20283         Remove union wait.
20284         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20285         (w_stopsig, w_stopval): Remove.
20286         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20287         stat_loc argument.
20288         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20289         (__WAIT_STATUS_DEFN): Remove.
20290         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20291         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20292         (wait, wait3, wait4): Use int * for the stat_loc argument.
20293         * posix/wait.c (__wait): Likewise.
20294         * posix/wait3.c (__wait3): Likewise.
20295         * posix/wait4.c (__wait4): Likewise.
20296         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20297         (__WAIT_STATUS_DEFN): Remove.
20298         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20299         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20300         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20301         argument.
20302         * sysdeps/posix/wait.c (__libc_wait): Likewise.
20303         * sysdeps/posix/wait3.c (__wait3): Likewise.
20304         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20305         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20306         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20307         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20308         stat_loc argument.
20309         * manual/process.texi (BSD Wait Functions): Remove union wait.
20311 2016-04-13  Andreas Schwab  <schwab@suse.de>
20313         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
20314         (test-extras): Add tst-tlsalign-vars.
20315         * math/Makefile: Wrap long lines.
20316         (libm-vec-test-wrappers): Define.
20317         (test-extras): Add $(libm-vec-test-wrappers).
20318         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
20319         * nss/Makefile (extra-test-objs): Add nss_test1.os.
20320         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20321         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20322         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20323         (extra-test-objs): Add corresponding objects.
20325 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
20327         [BZ #19928]
20328         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20329         New.
20330         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20331         times of shared cache size.
20332         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20333         (VMOVNT): New.
20334         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20335         (VMOVNT): Likewise.
20336         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20337         (VMOVNT): Likewise.
20338         (VMOVU): Changed to movups for smaller code sizes.
20339         (VMOVA): Changed to movaps for smaller code sizes.
20340         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20341         comments.
20342         (PREFETCH): New.
20343         (PREFETCH_SIZE): Likewise.
20344         (PREFETCHED_LOAD_SIZE): Likewise.
20345         (PREFETCH_ONE_SET): Likewise.
20346         Rewrite to use forward and backward loops, which move 4 vector
20347         registers at a time, to support overlapping addresses and use
20348         non temporal store if size is above the threshold and there is
20349         no overlap between destination and source.
20351 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
20353         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20354         Include dl-vdso.
20355         * sysdeps/unix/sysv/linux/mips/Versions: Add
20356         __vdso_clock_gettime.
20357         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20358         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20359         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20360         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20361         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20362         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20363         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20364         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20365         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20367 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20369         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20370         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20371         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20373         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20374         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20377         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20379         syscalls generation.
20380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20381         [__NR_pwrite64] (__NR_write): Remove define.
20382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20383         [__NR_pwrite64] (__NR_write): Remove define.
20384         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20385         Remove define.
20386         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20387         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20388         Remove define.
20389         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20390         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20391         Linux implementation as base.
20392         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20394         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20395         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20400         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20401         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20402         syscall generation.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20404         [__NR_pread64] (__NR_pread): Remove define.
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20406         [__NR_pread64] (__NR_pread): Likewise.
20407         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20408         define.
20409         (__libc_pread): Use SYSCALL_LL macro on offset argument.
20410         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20411         Remove define.
20412         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20413         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20414         Linux implementation as base.
20415         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20416         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20417         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20419         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20420         definition.
20421         (__ALIGNMENT_COUNT): Likewise.
20422         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20423         (__ALIGNMENT_COUNT): Likewise.
20424         (SYSCALL_LL): New define.
20425         (SYSCALL_LL64): Likewise.
20426         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20427         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20428         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20429         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20431         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20432         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20433         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20434         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20435         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20436         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20438 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20440         [BZ #19865]
20441         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20442         original buffer before retry.
20444 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20446         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20447         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20448         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20449         GLRO(dl_auxv) list.
20450         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20451         including <ldsodefs.h>.
20452         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20454 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20456         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20457         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20458         $(CPPFLAGS).
20460 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20462         [BZ #17950]
20463         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20464         Add -mfpmath=387.
20466 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20468         * sysdeps/i386/configure.ac: Change == to = when calling test.
20469         * sysdeps/x86_64/configure.ac: Likewise.
20470         * sysdeps/i386/configure: Regenerated.
20471         * sysdeps/x86_64/configure: Likewise.
20473 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20475         [BZ #16137]
20476         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20477         * benchtests/bench-strcoll.c (input_files): Likewise.
20478         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20479         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20480         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20482 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20484         [BZ #19929]
20485         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20486         [__USE_XOPEN2K8 && !__USE_GNU].
20487         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20488         variable.
20490         [BZ #19925]
20491         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20492         define if [!__USE_MISC && __USE_XOPEN2K].
20493         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20494         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20496         Likewise.
20497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20498         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20499         variable.
20500         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20502 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20504         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20505         (sysdep_routines): Add new strspn targets.
20506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20507         (__libc_ifunc_impl_list): Add strspn.
20508         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20509         New file.
20510         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20511         Likewise.
20512         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20513         Likewise.
20514         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20515         Likewise.
20517 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20519         * misc/hsearch_r.c: Include <limits.h>.
20521 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20523         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20525 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20527         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20528         (MEMCPY_SYMBOL): New.
20529         (MEMPCPY_SYMBOL): Likewise.
20530         (MEMMOVE_CHK_SYMBOL): Likewise.
20531         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20532         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20533         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20534         Provide alias for memcpy in libc.a and ld.so.
20536 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20538         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20539         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20540         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20541         Disabled fro now.
20542         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20543         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20545 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20547         * benchtests/Makefile (string-benchset): Add memcpy-large,
20548         memmove-large and memset-large.
20549         * benchtests/bench-memcpy-large.c: New file.
20550         * benchtests/bench-memmove-large.c: Likewise.
20551         * benchtests/bench-memmove-large.c: Likewise.
20552         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20554 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20556         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20557         32-bit displacement to avoid long nop between instructions.
20559 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20561         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20562         a comment on VMOVU and VMOVA.
20564 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20566         [BZ #19633]
20567         Use specified locale for number formatting in strfmon_l.
20568         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20569         (__nl_lookup_word): New inline functions.
20570         * include/printf.h (__print_fp_l): Declare.
20571         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20572         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20573         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20574         (___printf_fp): New function.
20575         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20576         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20577         * stdlib/tst-strfmon_l.c (do_test): New test.
20578         * stdlib/Makefile (tests): Add kt.
20579         (LOCALES): Build additional locales.
20580         (tst-strfmon_l.out): Require locales.
20582 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20584         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20585         if not in libc.
20586         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20587         Likewise.
20588         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20589         Likewise.
20590         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20591         Likewise.
20593 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20595         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20596         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20597         with unaligned_erms.
20598         (__memmove_erms): Skip if source == destination.
20599         (__memmove_unaligned_erms): Don't check source == destination
20600         first.
20602 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20605         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20607 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20609         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20610         * string/strspn.c (strspn): Likewise.
20612 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20614         * benchtests/bench-memset.c (do_test): Support 64-byte
20615         alignment.
20616         (test_main): Test 64-byte alignment.
20618 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20620         * benchtests/bench-memmove.c (test_main): Test 64-byte
20621         alignment.
20623 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20625         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20627 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20629         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20630         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20631         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20633         * string/strpbrk.c (strpbrk): Rewrite function.
20634         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20635         (__strpbrk_c2): Likewise.
20636         (__strpbrk_c3): Likewise.
20637         * string/string-inlines.c
20638         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20639         Likewise.
20640         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20641         Likewise.
20643         * string/strspn.c (strcspn): Rewrite function.
20644         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20645         (__strspn_c1): Remove inline function.
20646         (__strspn_c2): Likewise.
20647         (__strspn_c3): Likewise.
20648         * string/string-inlines.c
20649         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20650         compatibility symbol.
20651         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20652         Likewise.
20653         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20654         Likewise.
20655         * string/string-inlines.c: Include generic version.
20657 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20658             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20660         * string/Version (libc): Add GLIBC_2.24.
20661         * string/strcspn.c (strcspn): Rewrite function.
20662         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20663         (__strcspn_c1): Remove inline function.
20664         (__strcspn_c2): Likewise.
20665         (__strcspn_c3): Likewise.
20666         * string/string-inline.c
20667         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20668         compatibility symbol.
20669         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20670         Likewise.
20671         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20672         Likewise.
20673         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20675 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20677         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20678         Use ahi instead of aghi to adjust stack pointer.
20680 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20682         [BZ #19853]
20683         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20684         TEST to take significant digits as second parameter.
20685         [TEST]: Redefine in terms of TEST_N taking 30
20686         significant digits.
20687         (do_test): Add test case to demonstrate precision
20688         failure in the ldbl-128ibm printf.
20689         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20690         (__mpn_extract_long_double): Carry 7 extra intermediate
20691         bits of precision to aide computing difference when
20692         signs differ.
20694 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20696         [BZ #19881]
20697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20698         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20699         memset-avx512-unaligned-erms.
20700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20701         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20702         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20703         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20704         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20705         __memset_sse2_unaligned_erms, __memset_erms,
20706         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20707         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20708         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20709         file.
20710         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20711         Likewise.
20712         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20713         Likewise.
20714         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20715         Likewise.
20717 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20719         [BZ #19776]
20720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20721         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20722         memmove-avx512-unaligned-erms.
20723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20724         (__libc_ifunc_impl_list): Test
20725         __memmove_chk_avx512_unaligned_2,
20726         __memmove_chk_avx512_unaligned_erms,
20727         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20728         __memmove_chk_sse2_unaligned_2,
20729         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20730         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20731         __memmove_avx512_unaligned_erms, __memmove_erms,
20732         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20733         __memcpy_chk_avx512_unaligned_2,
20734         __memcpy_chk_avx512_unaligned_erms,
20735         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20736         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20737         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20738         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20739         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20740         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20741         __mempcpy_chk_avx512_unaligned_erms,
20742         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20743         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20744         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20745         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20746         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20747         __mempcpy_erms.
20748         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20749         file.
20750         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20751         Likewise.
20752         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20753         Likewise.
20754         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20755         Likewise.
20757 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20759         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20760         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20761         (La_s390_64_regs): Likewise.
20762         (La_s390_32_retval): Append vector register lrv_v24.
20763         (La_s390_64_retval): Likeweise.
20764         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20765         Handle extended structs La_s390_32_regs and La_s390_32_retval.
20766         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20767         Handle extended structs La_s390_64_regs and La_s390_64_retval.
20769 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20771         [BZ #19916]
20772         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20773         to create a non-vector/vector version for _dl_runtime_resolve and
20774         _dl_runtime_profile. Move implementation to ...
20775         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20776         (_dl_runtime_resolve) Save and restore fpr/vrs.
20777         (_dl_runtime_profile) Save and restore vrs and fix some issues
20778         if _dl_call_pltexit is called.
20779         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20780         Choose the correct resolver function if running on a machine with vx.
20781         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20782         to create a non-vector/vector version for _dl_runtime_resolve and
20783         _dl_runtime_profile. Move implementation to ...
20784         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20785         (_dl_runtime_resolve) Save and restore fpr/vrs.
20786         (_dl_runtime_profile) Save and restore vrs and fix some issues
20787         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20788         Choose the correct resolver function if running on a machine with vx.
20790 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20792         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20794 2016-03-31  Florian Weimer  <fweimer@redhat.com>
20796         [BZ #19509]
20797         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20798         skip_map != NULL.
20799         * elf/tst-dlsym-error.c: New file.
20800         * elf/Makefile (tests): Add tst-dlsym-error.
20801         (tst-dlsym-error): Link against libdl.
20803 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20806         (__ASSUME_FUTIMESAT): Remove macro.
20807         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20809 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20811         [BZ #19879]
20812         CVE-2016-3075
20813         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20814         copy name.
20816 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20818         [BZ #19837]
20819         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20820         error if parse_line fails.
20822 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20824         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20825         (index_cpu_ERMS): Likewise.
20826         (reg_ERMS): Likewise.
20828 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20830         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20831         PER_LINUX_FDPIC): Add.
20833 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20836         memcpy-avx512-no-vzeroupper.
20837         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20838         to ...
20839         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20840         (MEMCPY): Don't define.
20841         (MEMCPY_CHK): Likewise.
20842         (MEMPCPY): Likewise.
20843         (MEMPCPY_CHK): Likewise.
20844         (MEMPCPY_CHK): Renamed to ...
20845         (__mempcpy_chk_avx512_no_vzeroupper): This.
20846         (MEMPCPY_CHK): Renamed to ...
20847         (__mempcpy_chk_avx512_no_vzeroupper): This.
20848         (MEMCPY_CHK): Renamed to ...
20849         (__memmove_chk_avx512_no_vzeroupper): This.
20850         (MEMCPY): Renamed to ...
20851         (__memmove_avx512_no_vzeroupper): This.
20852         (__memcpy_avx512_no_vzeroupper): New alias.
20853         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20855 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20857         [BZ #18858]
20858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20859         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20860         and mempcpy-avx512-no-vzeroupper.
20861         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20862         New.
20863         (MEMPCPY): Likewise.
20864         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20865         (MEMPCPY_CHK): New.
20866         (MEMPCPY): Likewise.
20867         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20868         (MEMPCPY): Likewise.
20869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20870         (MEMPCPY): Likewise.
20871         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20872         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20873         Likewise.
20874         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20875         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20877 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20878              Amit Pawar  <Amit.Pawar@amd.com>
20880         [BZ #19583]
20881         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20882         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20883         processors.  Set Fast_Copy_Backward for AMD Excavator
20884         processors.
20885         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20886         New.
20887         (index_arch_Fast_Unaligned_Copy): Likewise.
20888         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20889         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20891 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20893         [BZ #19791]
20894         * resolv/res_send.c (close_and_return_error): New function.
20895         (send_dg): Initialize *resplen2 after reopen failure.  Call
20896         close_and_return_error for error returns.  On error paths without
20897         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20898         successful return.
20900 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20902         [BZ #19860]
20903         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20904         zero if the compiler does not provide the AVX512F bit.
20906 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20908         [BZ #19848]
20909         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20910         from 8 to 4.
20911         (__ieee754_powl): Compare integer exponent against 4 not 8.
20912         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20913         from 8 to 4.
20914         (__ieee754_powl): Compare integer exponent against 4 not 8.
20915         * math/auto-libm-test-in: Add more tests of pow.
20916         * math/auto-libm-test-out: Regenerated.
20917         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20920 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20922         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20923         Make code unconditional.
20924         [!__NR_utimensat]: Remove conditional code.
20925         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20926         Make code unconditional.
20927         [!__NR_utimensat]: Remove conditional code.
20928         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20929         Make code unconditional.
20930         [!__NR_utimensat]: Remove conditional code.
20932 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20934         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20935         Make code unconditional.
20937 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20939         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20940         call-clobbered %eax on retry path.
20941         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20943 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20945         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20946         Don't set %rcx twice before "rep movsb".
20948 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20950         [BZ #19583]
20951         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20952         inline.  Check family before setting family, model and
20953         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20954         bits here.
20955         (init_cpu_features): Replace HAS_CPU_FEATURE and
20956         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20957         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20958         for Intel processors with usable AVX2.  Call get_common_indeces
20959         for other processors with family == NULL.
20960         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20961         (CPU_FEATURES_ARCH_P): Likewise.
20962         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20963         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20965 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20967         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20968         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20969         $(shared-thread-library) instead of hardcoding the path to libpthread.
20971 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20973         * sysdeps/unix/sysv/linux/kernel-features.h
20974         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20975         * sysdeps/unix/sysv/linux/getdents.c
20976         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20977         [!have_no_getdents64_defined]: Likewise.
20978         (__GETDENTS): Remove __have_no_getdents64 conditional.
20980 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20983         Remove macro.
20984         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20985         <kernel-features.h>.
20986         (signalfd) [__NR_signalfd4]: Make code unconditional.
20987         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20989 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20991         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20992         style.
20994 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20996         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20997         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20998         __pthread_unwind.
20999         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21000         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21002         (__condvar_cleanup1): Likewise.
21004 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21006         [BZ #19822]
21007         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21008         move it to the final $@ location.
21010 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21012         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21013         access where posix_spawn success and pid argument is null.
21014         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21015         success case.
21017 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21019         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21021         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21023         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21024         and __fcntl.
21025         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21026         __fcntl only.
21027         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21028         adding attribute_hidden to __open and __fcntl.
21030         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21031         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21032         depend on libc-modules.h,
21033         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21035 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21038         Remove macro.
21039         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21040         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21041         entry.
21043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21044         Remove macro.
21045         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21046         include <kernel-features.h>.
21047         [!__ASSUME_FALLOCATE]: Remove conditional code.
21048         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21050 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21053         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21055         (_ZGVdN4v_cos_avx2): Likewise.
21056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21057         (_ZGVdN4v_cos): Likewise.
21058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21059         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21060         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21061         (_ZGVdN4v_exp_avx2): Likewise.
21062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21063         (_ZGVdN4v_exp): Likewise.
21064         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21065         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21066         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21067         (_ZGVdN4v_log_avx2): Likewise.
21068         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21069         (_ZGVdN4v_log): Likewise.
21070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21071         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21072         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21073         (_ZGVdN4vv_pow_avx2): Likewise.
21074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21075         (_ZGVdN4vv_pow): Likewise.
21076         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21077         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21078         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21079         (_ZGVdN4v_sin_avx2): Likewise.
21080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21081         (_ZGVdN4v_sin): Likewise.
21082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21083         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21085         (_ZGVdN4vvv_sincos_avx2): Likewise.
21086         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21087         (_ZGVdN4vvv_sincos): Likewise.
21088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21089         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21090         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21091         (_ZGVbN4v_cosf_sse4): Likewise.
21092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21093         (_ZGVdN8v_cosf_avx2): Likewise.
21094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21095         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21097         (_ZGVbN4v_expf_sse4): Likewise.
21098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21099         (_ZGVdN8v_expf_avx2): Likewise.
21100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21101         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21103         (_ZGVbN4v_logf_sse4): Likewise.
21104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21105         (_ZGVdN8v_logf_avx2): Likewise.
21106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21107         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21108         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21109         (_ZGVbN4vv_powf_sse4): Likewise.
21110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21111         (_ZGVdN8vv_powf_avx2): Likewise.
21112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21113         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21115         (_ZGVbN4vvv_sincosf_sse4): Likewise.
21116         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21117         (_ZGVdN8vvv_sincosf_avx2): Likewise.
21118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21119         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21120         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21121         (_ZGVbN4v_sinf_sse4): Likewise.
21122         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21123         (_ZGVdN8v_sinf_avx2): Likewise.
21124         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21125         Use JUMPTARGET to call callee.
21126         (WRAPPER_IMPL_SSE2_ff): Likewise.
21127         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21128         (WRAPPER_IMPL_AVX): Likewise.
21129         (WRAPPER_IMPL_AVX_ff): Likewise.
21130         (WRAPPER_IMPL_AVX_fFF): Likewise.
21131         (WRAPPER_IMPL_AVX512): Likewise.
21132         (WRAPPER_IMPL_AVX512_ff): Likewise.
21133         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21134         Likewise.
21135         (WRAPPER_IMPL_SSE2_ff): Likewise.
21136         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21137         (WRAPPER_IMPL_AVX): Likewise.
21138         (WRAPPER_IMPL_AVX_ff): Likewise.
21139         (WRAPPER_IMPL_AVX_fFF): Likewise.
21140         (WRAPPER_IMPL_AVX512): Likewise.
21141         (WRAPPER_IMPL_AVX512_ff): Likewise.
21142         (WRAPPER_IMPL_AVX512_fFF): Likewise.
21144 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21146         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21147         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21148         qualifier.
21149         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21150         internal_function qualifiers.
21152 2016-03-15  Carlos O'Donell <carlos@redhat.com>
21154         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21155         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21156         * math/atest-exp.c (exp_mpn): Mark chk unused.
21157         * math/atest-exp2.c (exp_mpn): Likewise.
21158         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21159         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21161 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
21163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21164         Remove macro.
21165         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21166         <kernel-features.h>.
21167         [__NR_ppoll]: Make code unconditional.
21168         [!__ASSUME_PPOLL]: Remove conditional code.
21170         * sysdeps/unix/sysv/linux/kernel-features.h
21171         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21172         (__ASSUME_ACCEPT4): Likewise.
21173         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21174         Define.
21175         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21176         Likewise.
21177         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21178         Likewise.
21179         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21180         Likewise.
21181         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21182         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21183         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21184         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21185         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21187         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21188         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21189         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21190         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21191         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21192         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21193         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21194         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21195         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21197         Likewise.
21198         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21199         Likewise.
21200         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21201         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21202         0x040300].
21203         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21204         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21205         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21206         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21207         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21208         0x030300].
21209         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21210         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21211         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21212         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21213         0x040300].
21214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21216         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21217         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21218         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21219         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21220         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21221         0x030300].
21222         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21223         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21224         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21225         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21227         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21228         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21229         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21230         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21231         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21232         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21233         0x040300].
21234         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21236         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21237         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21238         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21239         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21240         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21241         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21242         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21245         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21246         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21247         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21248         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21249         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21251         Likewise.
21252         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21253         Likewise.
21255 2016-03-15  Andreas Schwab  <schwab@suse.de>
21257         [BZ #19257]
21258         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
21259         statp->_u._ext.nscount as loop count.
21261 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21263         * math/test-signgam-finite-c99.c: Also #undef
21264         __LIBC_INTERNAL_MATH_INLINES.
21265         * math/test-signgam-main.c: Likewise.
21267 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
21269         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
21270         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21271         (MADV_FREE): Likewise.
21272         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
21273         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21274         EPOLLEXCLUSIVE.
21276 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
21278         * timezone/README: Remove mention of checktab.awk. Mention wiki
21279         SharedSourceFiles.
21281 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
21283         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21284         WUNTRACED.
21286 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21288         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21289         order to match the type of p when calling atomic_exchange_acq().
21291 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21293         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21294         cfi_offset calls.
21295         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21296         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21297         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21298         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21299         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21301 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
21303         * timezone/checktab.awk: Removed.
21305 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
21307         * manual/math.texi (Errors in Math Functions): Document relaxed
21308         accuracy goals for IBM long double.
21309         * math/libm-test.inc (test_exceptions): Always allow spurious
21310         "underflow" and "inexact" exceptions for IBM long double.
21312 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
21314         [BZ #19762]
21315         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21316         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
21317         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
21318         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
21319         (bit_arch_*): This for feature array.
21320         (bit_*): Renamed to ...
21321         (bit_cpu_*): This for cpu array.
21322         (index_*): Renamed to ...
21323         (index_arch_*): This for feature array.
21324         (index_*): Renamed to ...
21325         (index_cpu_*): This for cpu array.
21326         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21327         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21328         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21329         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21330         bit_##name with index_cpu_##name and bit_cpu_##name.
21331         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21332         bit_##name with index_arch_##name and bit_arch_##name.
21334 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
21336         [BZ #19792]
21337         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21338         Terminate FDE before return label.
21340 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
21342         [BZ #19790]
21343         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21344         (rintl): Define as macro.
21345         [USE_AS_NEARBYINTL] (__rintl): Likewise.
21346         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21347         of fesetround.  Ensure results are evaluated before end of scope.
21348         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21349         USE_AS_NEARBYINTL and include s_rintl.c.
21350         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21351         Disable exception traps in new environment.
21352         (libc_feholdsetround_ppc_ctx): Likewise.
21354 2016-03-08  Roland McGrath  <roland@hack.frob.com>
21356         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21357         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21358         (tst_audit10_aux) [__AVX512F__]: ... here.
21360 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
21362         * include/sys/auxv.h: New file.
21364 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21366         [BZ #19759]
21367         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21369 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21371         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21372         operand modifier.
21373         (feclearexcept): Likewise.
21375 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21377         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21378         to reflect the entire 32-bit HWCAP.
21379         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21380         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
21382 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21384         [BZ #19783]
21385         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21386         $(test-via-rtld-prefix).
21387         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21389 2016-03-08  Florian Weimer  <fweimer@redhat.com>
21391         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21392         union wait.  Report any non-zero exit status as error.
21394 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21396         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21397         configured with --enable-hardcoded-path-in-tests.
21399 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
21401         [BZ #19677]
21402         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21403         (__ieee754_remainderl): Put zero low parts in canonical form.
21404         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21405         file.  Based on
21406         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21407         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21408         with wrapper round test-fmodrem-ldbl-128ibm.c.
21409         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21410         file.
21411         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21412         Likewise.
21413         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21414         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21416 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21418         [BZ #19610]
21419         * elf/ldconfig.c (opt_link): Update comment.
21420         (options): Update help string for option -X.
21421         (search_dir): Unlink stale symbolic link only if updating symbolic
21422         links.
21423         * elf/tst-ldconfig-X.sh: New file.
21424         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21425         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21427 2016-03-07  Andreas Schwab  <schwab@suse.de>
21429         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21430         needed arguments.
21432 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21434         [BZ #15333]
21435         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21436         to lstat64.
21438 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21440         * libio/filedoalloc.c (isatty): Remove.
21441         (local_isatty): Add comment.  Call __isatty directly.
21442         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21443         * libio/wfiledoalloc.c (isatty): Remove.
21444         (_IO_wfile_doallocate): Update comment.
21446 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21448         [BZ #19269]
21449         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21450         tst-audit4-aux.o.
21451         (tst-audit10): Depend on tst-audit10-aux.o.
21452         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21453         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21454         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21455         instead of inline AVX code.
21456         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21457         instead of inline AVX512 code.
21458         * sysdeps/x86_64/tst-audit4-aux.c: New file
21459         * sysdeps/x86_64/tst-audit10-aux.c: New file
21461         [BZ #19648]
21462         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21464 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21466         [BZ #14750]
21467         [BZ #10354]
21468         [BZ #18433]
21469         * include/sched.h (__clone): Add hidden prototype.
21470         (__clone2): Likewise.
21471         * include/unistd.h (__dup): Likewise.
21472         * posix/Makefile (tests): Add tst-spawn2.
21473         * posix/tst-spawn2.c: New file.
21474         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21475         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21476         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21477         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21478         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21479         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21480         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21481         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21482         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21483         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21484         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21486         Likewise.
21487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21488         Likewise.
21489         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21490         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21491         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21492         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21493         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21494         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21495         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21496         * sysdeps/unix/sysv/linux/nptl-signals.h
21497         (____nptl_is_internal_signal): New function.
21498         * sysdeps/unix/sysv/linux/spawni.c: New file.
21500         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21501         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21502         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21503         * posix/tst-execvp2.c (do_test): Likewise.
21504         * posix/tst-execvp3.c (do_test): Likewise.
21505         * posix/tst-execvp4.c (do_test): Likewise.
21506         * posix/tst-execvpe1.c: New file.
21507         * posix/tst-execvpe2.c: Likewise.
21508         * posix/tst-execvpe3.c: Likewise.
21509         * posix/tst-execvpe4.c: Likewise.
21510         * posix/tst-execvpe5.c: Likewise.
21511         * posix/tst-execvpe6.c: Likewise.
21513         [BZ #19534]
21514         * posix/execl.c (execl): Remove dynamic memory allocation.
21515         * posix/execle.c (execle): Likewise.
21516         * posix/execlp.c (execlp): Likewise.
21518 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21520         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21521         Replace .text with .text.avx512.
21522         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21523         Likewise.
21525 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21527         * sysdeps/generic/libnsl.abilist: New file.
21528         * sysdeps/generic/libutil.abilist: New file.
21530 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21532         [BZ #19762]
21533         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21534         HAS_ARCH_FEATURE with Fast_Rep_String.
21535         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21536         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21537         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21538         Likewise.
21539         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21540         Likewise.
21541         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21542         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21543         Likewise.
21544         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21545         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21546         Likewise.
21548 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21550         [BZ #19745]
21551         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21552         with *%rax in call.
21554 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21556         [BZ #19745]
21557         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21558         with *__libc_start_main@GOTPCREL(%rip) in call.
21560 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21562         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21563         inside conditional for nonempty $(CXX).
21565         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21566         nonempty.
21568         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21569         to test for empty $(CXX) rather than $(CXX) of "no".
21571 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21573         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21575 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21576             H.J. Lu  <hongjiu.lu@intel.com>
21578         [BZ #18880]
21579         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21580         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21581         enable __memcpy_ssse3_back.
21583 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21585         [BZ #19758]
21586         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21587         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21589 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21591         [BZ #19490]
21592         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21593         (__fentry__): Likewise.
21595 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21597         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21598         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21600 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21602         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21603         __mcount_internal directly.
21604         (C_LABEL(__fentry__)): Likewise.
21605         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21606         directly.
21608 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21610         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21611         (__start_context): Call __setcontext directly.
21613 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21615         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21616         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21617         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21618         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21620         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21621         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21622         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21623         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21624         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21625         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21626         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21627         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21628         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21629         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21630         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21631         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21633         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21634         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21635         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21637         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21638         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21639         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21640         Remove conditional code.
21641         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21642         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21643         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21644         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21645         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21646         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21647         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21648         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21649         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21650         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21651         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21652         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21654 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21656         * NEWS (2.23): Fix typo in bug 19048 text.
21658 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21660         [BZ #14259]
21661         * Makeconfig: Rename msgcatdir to localedir.
21662         Rename inst_msgcatdir to inst_localedir.
21663         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21664         * config.make.in: Add localedir.
21665         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21666         (ldd-rewrite): Likewise.
21667         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21668         (install-others): Use inst_localedir.
21669         (CPPFLAGS): Use localedir.
21670         * locale/Makefile (locale-CPPFLAGS): Likewise.
21671         * po/Makefile (mo-installed): Use inst_localedir.
21673         [BZ #19575]
21674         * localedata/charmaps/GB18030: Update comments regarding PAU to
21675         non-PUA mappings.
21677 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21679         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21680         test for header.
21681         * sysdeps/unix/sysv/linux/configure: Regenerated.
21682         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21683         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21684         Remove conditional code.
21685         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21687         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21688         Define to 3.2.0.
21689         (arch_minimum_kernel): Likewise.
21690         * sysdeps/unix/sysv/linux/configure: Regenerated.
21691         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21692         Define to 2.6.32.
21693         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21694         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21695         (arch_minimum_kernel): Define to 2.6.32.
21696         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21697         * README: Document Linux 3.2 requirement.
21698         * manual/install.texi (Linux): Document Linux 3.2 headers
21699         requirement.
21700         * INSTALL: Regenerated.
21702 2016-02-24  Andreas Schwab  <schwab@suse.de>
21704         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21705         if !NO_LONG_DOUBLE.
21707 2016-02-22  Roland McGrath  <roland@hack.frob.com>
21709         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21710         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21712 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
21714         [BZ #19512]
21715         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21717 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21719         * posix/tst-dir.c: Include libc-internal.h.
21721 2016-02-20  Florian Weimer  <fweimer@redhat.com>
21723         [BZ #19056]
21724         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21725         * manual/filesys.texi (Reading/Closing Directory): Mention
21726         deprecaion.
21727         * posix/tst-dir.c (main): Disable deprecation warning in test.
21729 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
21731         [BZ #19679]
21732         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21733         Renamed to ...
21734         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
21735         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21736         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
21737         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21738         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21739         * sysdeps/x86_64/dl-trampoline.h
21740         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21741         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21743 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21745         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21747 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21749         * elf/elf.h (R_386_GOT32X): New.
21750         (R_386_NUM): Update.
21751         (R_X86_64_GOTPCRELX: New.
21752         (R_X86_64_REX_GOTPCRELX): New.
21753         (R_X86_64_NUM): Update.
21755 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
21757         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21759 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
21761         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21762         assign attr->stackaddr to it, and adjust it down when
21763         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
21764         [_STACK_GROWS_UP]: Delete assert.
21765         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21766         Implement stack grows up logic.
21767         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21768         stack grows up logic.
21770 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21772         * NEWS: Update with 2.24 template.
21774 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #19678]
21777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21778         Ensure +0.0 is returned when taking the next value below the least
21779         positive value.
21781 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21783         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21784         available.  Do not define NO_THREADS.
21785         * malloc/malloc.c: Do not check NO_THREADS.
21786         * malloc/arena.c: Likewise.
21788 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21790         * malloc/malloc.c (__libc_mallinfo): Update comment.
21791         (struct malloc_par): Remove max_total_mem member, it was always 0.
21792         (int_mallinfo): Store 0 into usmblks (no functional change).
21793         * malloc/hooks.c (struct malloc_state): Document that
21794         max_total_mem is always 0.
21795         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21796         always 0.
21797         * manual/memory.texi (Statistics of Malloc): Likewise.
21799 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21801         * malloc/malloc.c (sysmalloc): Do not update arena_max.
21802         * malloc/arena.c (arena_max): Remove.
21803         (heap_trim, _int_new_arena): Do not update arena_max.
21805 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21807         * resolv/res_init.c (res_ninit): Update comment.
21809 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21811         [BZ #19505]
21812         * posix/spawn_int.h: Add headers and include guard.
21813         (__spawn_valid_fd): New function.
21814         * posix/spawn_faction_addopen.c
21815         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21816         * posix/spawn_faction_addclose.c
21817         (posix_spawn_file_actions_addclose): Likewise.
21818         * posix/spawn_faction_adddup2.c
21819         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21820         second file descriptor.
21821         * posix/spawn_valid_fd.c: New file.
21822         * posix/tst-posix_spawn-fd.c: New file.
21823         * posix/Makefile (routines): Add spawn_valid_fd.
21824         (tests): Add tst-posix_spawn-fd.
21826 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21828         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21829         (do_test): Limit the number of arenas, so that we can use fewer
21830         outer threads.  Limit timeout to 3 seconds, in preparation for a
21831         larger TIMEOUT value.
21833 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21835         [BZ #19674]
21836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21837         sign in overflowing and underflowing results when overflow or
21838         underflow is detected early.  Include sign in result before rather
21839         than after scaling.
21841         [BZ #19603]
21842         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21843         (__ieee754_remainderl): Adjust sign of integer version of low part
21844         when taking absolute value of high part.
21845         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21846         * math/libm-test.inc (remainder_test_data): Add another test.
21847         (remquo_test_data): Likewise.
21849 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #19602]
21852         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21853         equal high parts and both low parts zero specially.
21854         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21855         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21856         Add test-fmodl-ldbl-128ibm.
21858         [BZ #19595]
21859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21860         common logic for all cases of shifting subnormal results.  Do not
21861         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21862         exponent to ldbl_insert_mantissa in subnormal case.
21864         [BZ #19594]
21865         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21866         on high and low parts then adjust result and use
21867         ldbl_canonicalize_int if needed.
21869         [BZ #19593]
21870         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21871         on high part and __floor or __ceil on low part then use
21872         ldbl_canonicalize_int if needed.
21874         [BZ #19592]
21875         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21876         high and low parts then use ldbl_canonicalize_int if needed.
21878         [BZ #17899]
21879         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21880         New function.
21881         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21882         on high and low parts then use ldbl_canonicalize_int if needed.
21884 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21886         * configure: Regenerated.
21888         * po/libc.pot: Regenerated.
21890         * po/be.po: Updated translation.
21891         * po/bg.po: Likewise.
21892         * po/ca.po: Likewise.
21893         * po/cs.po: Likewise.
21894         * po/da.po: Likewise.
21895         * po/el.po: Likewise.
21896         * po/eo.po: Likewise.
21897         * po/es.po: Likewise.
21898         * po/fi.po: Likewise.
21899         * po/fr.po: Likewise.
21900         * po/gl.po: Likewise.
21901         * po/hr.po: Likewise.
21902         * po/hu.po: Likewise.
21903         * po/ia.po: Likewise.
21904         * po/id.po: Likewise.
21905         * po/it.po: Likewise.
21906         * po/ja.po: Likewise.
21907         * po/lt.po: Likewise.
21908         * po/nb.po: Likewise.
21909         * po/nl.po: Likewise.
21910         * po/pt_BR.po: Likewise.
21911         * po/rw.po: Likewise.
21912         * po/sk.po: Likewise.
21913         * po/sl.po: Likewise.
21914         * po/sv.po: Likewise.
21915         * po/tr.po: Likewise.
21916         * po/zh_CN.po: Likewise.
21917         * po/zh_TW.po: Likewise.
21919         * version.h (RELEAES): Set to "development".
21920         (VERSION): Set to 2.23.90.
21922         * version.h (RELEASE): Set to "stable".
21923         (VERSION): Set to 2.23.
21924         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21926         * NEWS: Updated fixed bugs.
21928 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21929             Wilco Dijkstra  <wdijkstr@arm.com>
21931         [BZ #19462]
21932         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21933         (_STRING_INLINE_unaligned): This.
21934         * include/string.h: Include <string_private.h>.
21935         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21936         _STRING_INLINE_unaligned.
21937         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21938         (_STRING_INLINE_unaligned): New.
21939         * sysdeps/aarch64/string_private.h: New file.
21940         * sysdeps/generic/string_private.h: Likewise.
21941         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21942         * sysdeps/s390/string_private.h: Likewise.
21943         * sysdeps/x86/string_private.h: Likewise.
21944         * sysdeps/m68k/m680x0/m68020/bits/string.h
21945         (_STRING_ARCH_unaligned): Renamed to ...
21946         (_STRING_INLINE_unaligned): This.
21947         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21948         to ...
21949         (_STRING_INLINE_unaligned): This.
21950         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21951         to ...
21952         (_STRING_INLINE_unaligned): This.
21953         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21954         to ...
21955         (_STRING_INLINE_unaligned): This.
21957 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21958             H.J. Lu  <hongjiu.lu@intel.com>
21960         [BZ #19590]
21961         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21962         relocation.
21964 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21966         [BZ #18665]
21967         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21968         *herrno_p.
21969         (gaih_getanswer): Document functional behviour. Return tryagain
21970         if any result is tryagain.
21971         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21972         when freed.
21973         * resolv/res_send.c: Add copyright text.
21974         (__libc_res_nsend): Document that MAXPACKET is expected.
21975         (send_vc): Document. Remove buffer reuse.
21976         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21977         size of the buffer. Add Dprint for truncated UDP buffer.
21979 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21981         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21982         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21983         * INSTALL: Regenerate.
21985 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21986             Jonathan Wakely  <jwakely@redhat.com>
21987             Carlos O'Donell  <carlos@redhat.com>
21989         [BZ 19439]
21990         * math/Makefile (tests): Add test-math-isinff.
21991         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21992         * math/bits/mathcalls.h [__USE_MISC]: Use
21993         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21994         functions not in C++11 and which don't conflict e.g. isinff,
21995         isinfl etc.
21996         * math/test-math-isinff.cc: New file.
21998 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22000         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22002 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22004         [BZ #19529]
22005         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22007 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22009         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22011 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22013         [BZ #19550]
22014         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22015         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22016         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22017         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22018         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22019         New syscall entry.
22020         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22021         New syscall entry.
22022         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22023         syscall entry.
22025 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22027         [BZ #18240]
22028         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22029         unsigned int wraparound.
22031 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22033         [BZ #18240]
22034         * misc/bug18240.c: New test.
22035         * misc/Makefile (tests): Add it.
22037 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22038             Joseph Myers  <joseph@codesourcery.com>
22040         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22041         load in branch delay slot when less than a word of input left.
22043 2016-01-27  Andreas Schwab  <schwab@suse.de>
22045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22046         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22047         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22048         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22050 2016-01-26  David S. Miller  <davem@davemloft.net>
22052         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22054 2016-01-25  David S. Miller  <davem@davemloft.net>
22056         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22057         __sqrtl_finite.
22058         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22059         instead using versioned_symbol.
22060         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22061         of entries.
22063         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22064         __sqrtl_finite to GLIBC_2.23
22066 2016-01-25  Ricchard Henderson  <rth@redhat.com>
22068         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22070 2016-01-25  Andreas Schwab  <schwab@suse.de>
22072         [BZ #17514]
22073         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22074         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22075         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22076         * nptl/tst-mutex-errorcheck.c: New file.
22078 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22080         [BZ #18560]
22081         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22082         (IPCOP_semop): Likewise.
22083         (IPCOP_semget): Likewise.
22084         (IPCOP_semctl): Likewise.
22085         (IPCOP_msgsnd): Likewise.
22086         (IPCOP_msgrcv): Likewise.
22087         (IPCOP_msgget): Likewise.
22088         (IPCOP_msgctl): Likewise.
22089         (IPCOP_shmat): Likewise.
22090         (IPCOP_shmdt): Likewise.
22091         (IPCOP_shmget): Likewise.
22092         (IPCOP_shmctl): Likewise.
22094 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22096         * string/tst-endian.c: Include <libc-internal.h>.
22097         (do_test): Ignore tautological-compare warnings around
22098         "htobeXX (beXXtoh (i)) != i" and
22099         "htoleXX (leXXtoh (i)) != i" if-statements.
22101 2016-01-24  David S. Miller  <davem@davemloft.net>
22103         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22104         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22105         alias.
22106         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22107         __sqrtl_finite.
22109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22111 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
22113         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22114         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22115         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22117 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22119         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22120         (thread_func): Use new function to simplify barrier check.
22121         (do_test): Use new function to simplify checking barrier exit
22122         code, and actually join the child thread.
22124 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22126         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22127         semicolon.
22128         (__libc_tend): Likewise.
22129         (__libc_tabort): Likewise.
22131 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
22133         * sysdeps/nios2/libm-test-ulps: Update.
22134         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22135         (__gtsf2): Likewise.
22136         (__unorddf2): Likewise.
22137         (__unordsf2): Likewise.
22138         (__ledf2): Likewise.
22140 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
22142         * nis/nis_table.c (__follow_path): Disable diagnostic for
22143         uninitialized variable that is a false positive for gcc 4.7.
22144         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22146 2016-01-20  Roland McGrath  <roland@hack.frob.com>
22148         * sysdeps/nacl/lowlevellock-futex.h
22149         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22150         Always evaluate PRIVATE argument.
22152 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
22154         [BZ #19490]
22155         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22156         (pthread_cond_broadcast): Use ENTRY/END
22157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22158         (pthread_cond_signal): Likewise.
22159         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22160         Likewise.
22161         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22162         Likewise.
22163         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22164         Likewise.
22166 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
22168         * sysdeps/ieee754/dbl-64/s_finite.c
22169         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22170         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22171         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22172         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22173         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22176         (__gtsf2): Add as optional for libc.so.
22177         (__unordsf2): Likewise.
22178         (__signbit): Remove for libc.so.
22179         (__signbitl): Likewise.
22181 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22183         * iconvdata/bug-iconv11.c (test_ibm93x):
22184         Use %zu printf format specifier for size_t argument.
22186 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
22188         * math/gen-libm-test.pl (parse_ulps): Do not reduce
22189         already-recorded ulps.
22190         * sysdeps/arm/libm-test-ulps: Regenerated.
22191         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22192         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22193         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22195 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22196             Paul Pluzhnikov  <ppluzhnikov@google.com>
22198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22199         assembler not supporting AVX-512.
22201 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
22203         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22205 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
22207         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22208         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22210         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22212         * sysdeps/arm/libm-test-ulps: Regenerated.
22214 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22216         [BZ #19451]
22217         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22219 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22221         [BZ #19486]
22222         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22223         * sysdeps/generic/fix-fp-int-convert-overflow.h
22224         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22225         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22226         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22227         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22228         Likewise.
22229         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22230         Avoid conversions to long int where inexact exceptions
22231         could be raised.
22232         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22233         Likewise.
22234         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22235         Avoid conversions to long long int where inexact exceptions
22236         could be raised.
22237         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22238         Likewise.
22240 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
22242         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22243         * configure: Regenerated.
22245 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22247         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22249 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
22251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22252         outside of comment.
22254 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22256         * nptl/tst-barrier1.c: Add description on first line.
22257         * nptl/tst-barrier2.c: Likewise.
22258         * nptl/tst-barrier3.c: Likewise.
22259         * nptl/tst-barrier4.c: Likewise.
22260         * nptl/tst-barrier5.c: Likewise.
22262 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22264         [BZ #18868]
22265         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
22267 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
22270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22271         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
22272         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
22273         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22274         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22275         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22276         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22277         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22278         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22279         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22281 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22283         [BZ #13065]
22284         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22285         new implementation.
22286         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22287         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22288         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22289         (BARRIER_IN_THRESHOLD): New macro.
22290         * nptl/pthread_barrierattr_setpshared.c
22291         (pthread_barrierattr_setpshared): Clean up.
22292         * nptl/tst-barrier4.c: Correct comment.
22293         * nptl/tst-barrier5.c: New file.
22294         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22295         (gen-as-const-headers): Remove lowlevelbarrier.sym.
22296         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22297         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22298         * nptl/lowlevelbarrier.sym: Remove.
22299         * nptl/DESIGN-barrier.txt: Remove.
22300         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22301         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22302         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22303         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22304         error.
22305         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22306         implementation.
22308 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22310         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
22311         (do_child): Mask SIGRTMIN while thr is running.
22313 2016-01-15  Martin Sebor  <msebor@redhat.com>
22315         [BZ #19432]
22316         * iconvdata/Makefile: Add bug-iconv11.
22317         * iconvdata/bug-iconv11.c: New test.
22318         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
22319         * iconvdata/ibm933.c: Same.
22320         * iconvdata/ibm935.c: Same.
22321         * iconvdata/ibm937.c: Same.
22322         * iconvdata/ibm939.c: Same.
22324 2016-01-15  Martin Sebor  <msebor@redhat.com>
22326         [BZ #19443]
22327         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22328         [DEBUG] (_ufc_set_bits): Declare used.
22329         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22330         [DEBUG] (print_all): Declare used.
22331         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22332         operands of the ternary ?: expression to target type.
22333         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22334         calling the undeclared abort.
22335         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22337 2016-01-15  Martin Sebor  <msebor@redhat.com>
22339         [BZ #18755]
22340         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22341         warnings.
22342         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22343         (__gai_create_helper_thread): Same.
22344         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22345         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22346         to suppress -Wmaybe-uninitialized warnings.
22348 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
22350         [BZ #19465]
22351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22352         inside if.
22353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22354         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22357 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
22359         [BZ #19466]
22360         * time/tst-mktime2.c (time_t_max): Removed.
22361         (time_t_min): Likewise.
22362         (TYPE_SIGNED): New.
22363         (TYPE_MINIMUM): Likewise.
22364         (TYPE_MAXIMUM): Likewise.
22365         (TIME_T_MIN): Likewise.
22366         (TIME_T_MAX): Likewise.
22367         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22368         and TIME_T_MIN.
22369         (do_test): Likewise.
22371 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
22373         [BZ #19467]
22374         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22375         index_Fast_Unaligned_Load flag for Excavator family CPUs.
22377 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
22379         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22381 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
22383         * benchtests/Makefile (PYTHON): Define.
22384         (bench-func): Use $(PYTHON) to run python scripts.
22385         ($(objpfx)bench-%.c): Likewise.
22387 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
22389         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22390         leading slash when `file_name' is "/".
22392 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
22394         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22395         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22396         Likewise.
22397         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22398         Likewise.
22399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22400         Likewise.
22401         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22402         enum constant and macro.
22403         (PTRACE_SETSIGMASK): Likewise.
22404         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22405         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22406         (PTRACE_GETSIGMASK): Likewise.
22407         (PTRACE_SETSIGMASK): Likewise.
22408         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22409         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22410         Likewise.
22411         (PTRACE_SETSIGMASK): Likewise.
22412         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22413         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22414         (PTRACE_GETSIGMASK): Likewise.
22415         (PTRACE_SETSIGMASK): Likewise.
22416         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22418         Likewise.
22419         (PTRACE_SETSIGMASK): Likewise.
22420         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22422         Likewise.
22423         (PTRACE_SETSIGMASK): Likewise.
22424         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22425         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22426         Likewise.
22427         (PTRACE_SETSIGMASK): Likewise.
22428         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22430 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22431             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22433         [BZ #19439]
22434         * math/bits/mathcalls.h
22435         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22436         prototype.
22437         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22439 2016-01-11  Andreas Schwab  <schwab@suse.de>
22441         [BZ #19253]
22442         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22443         cache when TZDEFRULES was used.
22444         * time/tst-tzname.c: New file.
22445         * time/Makefile (test): Add tst-tzname.
22446         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22447         * timezone/Makefile (test-zones): Add $(posixrules-file).
22448         ($(testdata)/$(posixrules-file)): New rule.
22450 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22452         Fix doc quoting problems with Texinfo 5
22453         Without this change, in the info file output, Texinfo 5 quotes code
22454         in text with undirected single quotes 'like this' and generates
22455         code examples that with many PDF readers cannot be cut out of PDFs
22456         and pasted into code.
22457         * manual/libc.texinfo: Configure the libc manual like the GNU
22458         Emacs manual, by using @documentencoding and setting
22459         txicodequoteundirected and txicodequotebacktick.  This way,
22460         Texinfo 5 quotes code in text with directed single quotes ‘like
22461         this’ and produces examples that can be cut out of PDFs.  This
22462         change causes Texinfo 5 to generate info files that contain UTF-8
22463         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22464         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22466 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22468         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22469         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22470         barriers to their respective compiler built-ins.
22471         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22472         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22473         * sysdeps/powerpc/sysdep.h: Likewise.
22474         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22475         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22476         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22478 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22480         * scripts/config.guess: Revert previous shebang change.
22481         * scripts/config.sub: Likewise.
22482         * scripts/mkinstalldirs: Likewise.
22484 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22486         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22487         PPC_FEATURE2_HAS_IEEE128.
22488         * sysdeps/powerpc/dl-procinfo.c:
22489         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22491 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22493         [BZ #19415]
22494         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22495         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22496         (_dl_lookup_address): Rewrite using function resolver trampoline.
22497         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22498         two bits in address.
22500 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22502         * longlong.h: Change !__SHMEDIA__ to
22503         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22504         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22506 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22507             Joseph Myers  <joseph@codesourcery.com>
22508             Mark Shinwell  <shinwell@codesourcery.com>
22509             Andrew Stubbs  <ams@codesourcery.com>
22510             Rich Felker <dalias@libc.org>
22512         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22514 2016-01-07  Richard Henderson  <rth@redhat.com>
22516         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22518 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22520         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22521         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22522         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22523         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22524         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22526 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22527             Joseph Myers  <joseph@codesourcery.com>
22529         * timezone/private.h: Update from tzcode 2015g.
22530         * timezone/tzfile.h: Likewise.
22531         * timezone/tzselect.ksh: Likewise.
22532         * timezone/zdump.c: Likewise.
22533         * timezone/zic.c: Likewise.
22534         * timezone/ialloc.c: Remove file.
22535         * timezone/scheck.c: Likewise.
22536         * timezone/Makefile (extra-objs): Remove variable.
22537         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22538         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22539         -Wno-maybe-uninitialized.
22540         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22541         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22542         (CFLAGS-ialloc.c): Remove variable.
22543         (CFLAGS-scheck.c): Likewise.
22544         * timezone/README: Update list of files from tzcode.
22546 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22548         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22549         instead of __fxprintf when _LIBC is undefined.
22551 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22553         * catgets/test-gencat.sh: Remove space after shebang.
22554         * conform/GlibcConform.pm: Likewise.
22555         * conform/check-header-lists.sh: Likewise.
22556         * conform/conformtest.pl: Likewise.
22557         * conform/linknamespace.pl: Likewise.
22558         * conform/list-header-symbols.pl: Likewise.
22559         * debug/catchsegv.sh: Likewise.
22560         * elf/genrtldtbl.awk: Likewise.
22561         * elf/tst-pathopt.sh: Likewise.
22562         * elf/tst-rtld-load-self.sh: Likewise.
22563         * grp/tst_fgetgrent.sh: Likewise.
22564         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22565         * iconvdata/gen-8bit-gap.sh: Likewise.
22566         * iconvdata/gen-8bit.sh: Likewise.
22567         * iconvdata/run-iconv-test.sh: Likewise.
22568         * intl/tst-gettext.sh: Likewise.
22569         * intl/tst-gettext2.sh: Likewise.
22570         * intl/tst-gettext4.sh: Likewise.
22571         * intl/tst-gettext6.sh: Likewise.
22572         * intl/tst-translit.sh: Likewise.
22573         * io/ftwtest-sh: Likewise.
22574         * libio/test-freopen.sh: Likewise.
22575         * locale/gen-translit.pl: Likewise.
22576         * malloc/tst-mtrace.sh: Likewise.
22577         * manual/check-safety.sh: Likewise.
22578         * manual/libc-texinfo.sh: Likewise.
22579         * manual/tsort.awk: Likewise.
22580         * manual/xtract-typefun.awk: Likewise.
22581         * nptl/tst-cancel-wrappers.sh: Likewise.
22582         * nptl/tst-tls6.sh: Likewise.
22583         * posix/globtest.sh: Likewise.
22584         * posix/tst-getconf.sh: Likewise.
22585         * posix/wordexp-tst.sh: Likewise.
22586         * scripts/check-c++-types.sh: Likewise.
22587         * scripts/check-local-headers.sh: Likewise.
22588         * scripts/config.guess: Likewise.
22589         * scripts/config.sub: Likewise.
22590         * scripts/cpp: Likewise.
22591         * scripts/cross-test-ssh.sh: Likewise.
22592         * scripts/documented.sh: Likewise.
22593         * scripts/evaluate-test.sh: Likewise.
22594         * scripts/gen-libc-abis: Likewise.
22595         * scripts/gen-sorted.awk: Likewise.
22596         * scripts/list-fixed-bugs.py: Likewise.
22597         * scripts/merge-test-results.sh: Likewise.
22598         * scripts/mkinstalldirs: Likewise.
22599         * scripts/rellns-sh: Likewise.
22600         * scripts/test-installation.pl: Likewise.
22601         * scripts/update-copyrights: Likewise.
22602         * stdio-common/tst-printf.sh: Likewise.
22603         * stdio-common/tst-unbputc.sh: Likewise.
22604         * stdlib/tst-fmtmsg.sh: Likewise.
22605         * stdlib/tst-setcontext3.sh: Likewise.
22606         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22607         * sysdeps/unix/make-syscalls.sh: Likewise.
22609 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22611         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22612         asm stw with atomic_exchange_rel.  Add explanatory comment.
22613         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22614         Likewise.
22616 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22618         [BZ #19122]
22619         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22620         * sysdeps/generic/dl-unistd.h: New file.
22621         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22623 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22625          [BZ #19122]
22626          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22627          * sysdeps/generic/dl-mman.h: New file.
22628          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22630 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22632         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22633         trailing whitespace removed.
22634         * scripts/config.guess: Update to version 2016-01-01.
22635         * scripts/config.sub: Update to version 2016-01-01.
22636         * scripts/move-if-change: Update from gnulib.
22638 2016-01-04  Anton Blanchard  <anton@samba.org>
22640         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22641         for array indices.
22642         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22644 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22646         * NEWS: Update copyright dates.
22647         * catgets/gencat.c (print_version): Likewise.
22648         * csu/version.c (banner): Likewise.
22649         * debug/catchsegv.sh: Likewise.
22650         * debug/pcprofiledump.c (print_version): Likewise.
22651         * debug/xtrace.sh (do_version): Likewise.
22652         * elf/ldconfig.c (print_version): Likewise.
22653         * elf/ldd.bash.in: Likewise.
22654         * elf/pldd.c (print_version): Likewise.
22655         * elf/sotruss.sh: Likewise.
22656         * elf/sprof.c (print_version): Likewise.
22657         * iconv/iconv_prog.c (print_version): Likewise.
22658         * iconv/iconvconfig.c (print_version): Likewise.
22659         * locale/programs/locale.c (print_version): Likewise.
22660         * locale/programs/localedef.c (print_version): Likewise.
22661         * login/programs/pt_chown.c (print_version): Likewise.
22662         * malloc/memusage.sh (do_version): Likewise.
22663         * malloc/memusagestat.c (print_version): Likewise.
22664         * malloc/mtrace.pl: Likewise.
22665         * manual/libc.texinfo: Likewise.
22666         * nptl/version.c (banner): Likewise.
22667         * nscd/nscd.c (print_version): Likewise.
22668         * nss/getent.c (print_version): Likewise.
22669         * nss/makedb.c (print_version): Likewise.
22670         * posix/getconf.c (main): Likewise.
22671         * scripts/test-installation.pl: Likewise.
22672         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22674         * All files with FSF copyright notices: Update copyright dates
22675         using scripts/update-copyrights.
22676         * intl/plural.c: Regenerated.
22677         * locale/programs/charmap-kw.h: Likewise.
22678         * locale/programs/locfile-kw.h: Likewise.
22680 2016-01-02  Helge Deller  <deller@gmx.de>
22682         [BZ #19285]
22683         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22684         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22685         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22686         (MADV_xxK_PAGES): Remove.
22688 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
22690         [BZ #15421]
22691         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22692         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
22693         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22694         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22696 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
22698         [BZ #19408]
22699         * sysdeps/unix/sysv/linux/personality.c: New file.
22700         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22701         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22702         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22703         (sysdep_routines): Add personality.
22704         (tests): Add tst-personality.
22705         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22707         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22708         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22709         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22710         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22711         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22712         Likewise.
22713         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22714         Likewise.
22715         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22716         Likewise.
22717         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22718         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22719         Likewise.
22721 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
22723         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22724         (PATH_ARM_SYSTYPE): Remove.
22725         (PATH_CPUINFO): Likewise.
22726         (IO_BASE_FOOTBRIDGE): Likewise.
22727         (IO_SHIFT_FOOTBRIDGE): Likewise.
22728         (struct platform): Likewise.
22729         (init_iosys): Remove compatibility code for 2.4 kernels.
22730         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22732 2015-12-29  Florian Weimer  <fweimer@redhat.com>
22734         * malloc/tst-malloc-thread-fail.c: New file.
22735         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22736         (tst-malloc-thread-fail): Link against libpthread.
22738 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
22740         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
22741         (get_parser): New function.
22742         (main): New function.
22744 2015-12-29  Rob Wu  <rob@robwu.nl>
22746         [BZ #19369]
22747         * resolv/res_init.c (__res_vinit): Reset defdname before use.
22749 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
22751         [BZ #19270]
22752         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22754 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
22756         [BZ #15421]
22757         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22759 2015-12-23  Torvald Riegel  <triegel@redhat.com>
22761         [BZ #13690]
22762         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22763         after releasing it.
22764         (__lll_robust_unlock): Likewise.
22765         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22766         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22767         (lll_robust_unlock): Likewise.
22768         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22769         Prevent warnings in callers.
22771 2015-12-23  Florian Weimer  <fweimer@redhat.com>
22773         * malloc/arena.c (list_lock): Update comment.
22775 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22777         * sysdeps/powerpc/hwcapinfo.c: Export symbol
22778         __parse_hwcap_and_convert_at_platform to libc.a.
22780 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22782         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22783         platform and feature support for POWER9.
22784         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22785         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22786         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22787         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22788         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22789         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22790         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22791         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22793 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22795         Harmonize generic stdio-lock support with nptl
22797         This fixes build when _IO_funlockfile is a macro, fixes build where
22798         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22799         stack unwind.
22801         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22802         _IO_release_lock ): Use cleanup attribute on new
22803         _IO_acquire_lock_file variable instead of assuming that
22804         _IO_release_lock will be called.
22805         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22806         _IO_acquire_lock_needs_exceptions_enabled.
22807         (_IO_acquire_lock_clear_flags2): New macro.
22809 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22811         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22813 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22815         [BZ #19182]
22816         * malloc/arena.c (list_lock): Document lock ordering requirements.
22817         (free_list_lock): New lock.
22818         (ptmalloc_lock_all): Comment on free_list_lock.
22819         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22820         (detach_arena): Update comment.  free_list_lock is now needed.
22821         (_int_new_arena): Use free_list_lock around detach_arena call.
22822         Acquire arena lock after list_lock.  Add comment, including FIXME
22823         about incorrect synchronization.
22824         (get_free_list): Switch to free_list_lock.
22825         (reused_arena): Acquire free_list_lock around detach_arena call
22826         and attached threads counter update.  Add two FIXMEs about
22827         incorrect synchronization.
22828         (arena_thread_freeres): Switch to free_list_lock.
22829         * malloc/malloc.c (struct malloc_state): Update comments to
22830         mention free_list_lock.
22832 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22834         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22835         Remove functions.
22836         (sloww, sloww1): Accept argument to offset quadrant.
22837         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22838         quadrant.
22839         (__sin, __cos): Consolidate common code into new functions.
22840         (reduce_sincos_1, do_sincos_1): New functions.
22841         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22844         code to new functions.
22845         (reduce_sincos_2, do_sincos_2): New functions.
22846         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22849         common code for sincos.
22850         (__cos) [!IN_SINCOS]: Likewise.
22851         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22852         New function.
22853         (__sincos): Use it.
22855 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22857         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22858         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22859         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22861 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22863         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22866         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22867         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22868         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22869         index_Prefer_No_VZEROUPPER): New feature.
22870         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22871         Prefer_No_VZEROUPPER for Knights Landing.
22873 015-12-18  Torvald Riegel  <triegel@redhat.com>
22875         * math/atest-exp2.c (mp_exp_m1): Remove.
22877 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22879         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22880         syscalls.
22881         (__SYSCALL0): New macro.
22882         (__SYSCALL1): Likewise.
22883         (__SYSCALL2): Likewise.
22884         (__SYSCALL3): Likewise.
22885         (__SYSCALL4): Likewise.
22886         (__SYSCALL5): Likewise.
22887         (__SYSCALL6): Likewise.
22888         (__SYSCALL_CONCAT_X): Likewise.
22889         (__SYSCALL_CONCAT): Likewise.
22890         (__SYSCALL_DIST): Likewise.
22891         (__SYSCALL_CALL): Likewise.
22893 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22895         [BZ #19363]
22896         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22898 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22900         [BZ #19375]
22901         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22902         negative subnormals.
22904 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22907         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22908         (INTERNAL_SYSCALL_NCS): Use it.
22909         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22911 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22913         [BZ #19243]
22914         * malloc/arena.c (get_free_list): Remove assert and adjust
22915         reference count handling.  Add comment about reused_arena
22916         interaction.
22917         (reused_arena): Add comments abount get_free_list interaction.
22918         * malloc/tst-malloc-thread-exit.c: New file.
22919         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22920         (tst-malloc-thread-exit): Link against libpthread.
22922 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22924         [BZ #19367]
22925         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22926         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22927         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22928         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22929         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22931 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22933         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22934         Silvermont optimizations for Knights Landing.
22936 2015-12-15  Andreas Schwab  <schwab@suse.de>
22938         [BZ #17197]
22939         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22940         immediately after emitting SI.
22941         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22942         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22943         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22944         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22945         * iconvdata/bug-iconv10.c: New file.
22946         * iconvdata/Makefile (tests): Add bug-iconv10.
22947         ($(objpfx)bug-iconv10.out): New rule.
22949 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22951         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22952         aliasing violation.
22954 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22956         [BZ #18472]
22957         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22958         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22959         conditionals for them.
22960         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22961         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22963         sys/kdaemon.h.
22964         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22965         compat-only syscall, obsoleted in glibc 2.23.
22966         (create_module): Likewise.
22967         (get_kernel_syms): Likewise.
22968         (query_module): Likewise.
22969         (uselib): Likewise.
22970         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22972 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22974         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22975         <linux/version.h>.
22976         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22977         conditional code.
22978         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22979         and ioshift_name initialization.
22981 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22984         Fix indentation.
22986 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22988         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22990 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22992         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22994 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22995             Jakub Wilk  <jwilk@debian.org>
22997         [BZ #19347]
22998         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22999         to change the group of the device to the tty group.
23001 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23003         Split large string section; add truncation advice
23004         * manual/examples/strncat.c: Remove.
23005         This example was misleading, as the code would have undefined
23006         behavior if "hello" was longer than SIZE.  Anyway, the manual
23007         shouldn't encourage strncpy+strncat for this sort of thing.
23008         * manual/string.texi (Copying Strings and Arrays): Split into
23009         three sections Copying Strings and Arrays, Concatenating Strings,
23010         and Truncating Strings, as this section was way too long.  All
23011         cross-referenced changed.  Add advice about string-truncation
23012         functions.  Remove misleading strncat example.
23014 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23016         * manual/nss.texi (NSS Modules Interface): Document
23017         NSS_STATUS_NOTFOUND and SUCCESS.
23019 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23021         [BZ 18568]
23022         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23023         201505L, for Unicode 8.
23025 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23027         * locale/C-translit.h: Regenerate.
23029 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23031         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23032         and U+0153.
23034 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23036         [BZ #19351]
23037         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23038         expanding log(1+z), compare z rather than its square with epsilon
23039         to determine when to avoid evaluating the expansion.
23041         [BZ #19350]
23042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23043         Increase overflow threshold.
23045         [BZ #19349]
23046         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23047         when small.
23049         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23051         New macro.
23052         [__LINUX_KERNEL_VERSION >= 0x040300]
23053         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23054         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23055         Likewise.
23056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23057         Likewise.
23058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23059         Likewise.
23060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23061         Likewise.
23062         [__LINUX_KERNEL_VERSION >= 0x040300]
23063         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23064         [__LINUX_KERNEL_VERSION >= 0x040300]
23065         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23066         [__LINUX_KERNEL_VERSION >= 0x040300]
23067         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23068         [__LINUX_KERNEL_VERSION >= 0x040300]
23069         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23070         [__LINUX_KERNEL_VERSION >= 0x040300]
23071         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23073         Likewise.
23074         [__LINUX_KERNEL_VERSION >= 0x040300]
23075         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23076         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23077         Likewise.
23078         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23079         Likewise.
23080         [__LINUX_KERNEL_VERSION >= 0x040300]
23081         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23082         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23083         Likewise.
23084         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23085         Likewise.
23086         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23088         Likewise.
23089         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23090         Likewise.
23091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23092         Likewise.
23093         [__LINUX_KERNEL_VERSION >= 0x040300]
23094         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23095         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23096         Likewise.
23097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23098         Likewise.
23099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23100         Likewise.
23101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23102         Likewise.
23103         [__LINUX_KERNEL_VERSION >= 0x040300]
23104         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23105         [__LINUX_KERNEL_VERSION >= 0x040300]
23106         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23107         [__LINUX_KERNEL_VERSION >= 0x040300]
23108         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23109         [__LINUX_KERNEL_VERSION >= 0x040300]
23110         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23111         [__LINUX_KERNEL_VERSION >= 0x040300]
23112         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23114         Likewise.
23115         [__LINUX_KERNEL_VERSION >= 0x040300]
23116         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23117         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23118         Likewise.
23119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23120         Likewise.
23121         [__LINUX_KERNEL_VERSION >= 0x040300]
23122         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23124         Likewise.
23125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23126         Likewise.
23127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23128         (__ASSUME_SOCKET_SYSCALL): Likewise.
23129         (__ASSUME_BIND_SYSCALL): Likewise.
23130         (__ASSUME_CONNECT_SYSCALL): Likewise.
23131         (__ASSUME_LISTEN_SYSCALL): Likewise.
23132         (__ASSUME_ACCEPT_SYSCALL): Likewise.
23133         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23134         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23135         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23136         (__ASSUME_SEND_SYSCALL): Likewise.
23137         (__ASSUME_SENDTO_SYSCALL): Likewise.
23138         (__ASSUME_RECV_SYSCALL): Likewise.
23139         (__ASSUME_RECVFROM_SYSCALL): Likewise.
23140         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23141         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23142         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23143         (__ASSUME_SENDMSG_SYSCALL): Likewise.
23144         (__ASSUME_RECVMSG_SYSCALL): Likewise.
23145         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23146         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23147         Likewise.
23148         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23149         Likewise.
23150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23151         Likewise.
23152         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23153         Likewise.
23154         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23155         Likewise.
23156         [__LINUX_KERNEL_VERSION >= 0x020625]
23157         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23158         [__LINUX_KERNEL_VERSION >= 0x020625]
23159         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23160         [__LINUX_KERNEL_VERSION >= 0x020625]
23161         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23162         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23163         Likewise.
23164         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23165         Likewise.
23166         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23167         Likewise.
23168         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23169         Likewise.
23170         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23171         Likewise.
23172         [__LINUX_KERNEL_VERSION >= 0x020625]
23173         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23174         [__LINUX_KERNEL_VERSION >= 0x020625]
23175         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23176         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23177         Likewise.
23178         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23179         Likewise.
23181 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23183         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23184         record the current if the current ABI and CPU support the FP64
23185         extension.
23186         (has-modd-spreg): Define to record the current if the current ABI and
23187         CPU support 32-bit floating point values in odd FPU registers.
23188         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23189         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23190         $(has-modd-spreg) equals yes.
23191         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23192         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23193         $(has-modd-spreg) equal yes.
23195 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23197         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23198         basename.
23200 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
23202         * benchtests/Makefile (bench-math): Move ffs and ffsll...
23203         (bench-string): ... here.
23204         (bench): Add bench-string.
23205         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23206         to *-benchset to reflect what they are.
23207         (benchset): Adjust.
23209         * benchtests/sincos-inputs: Add inputs from sin-inputs and
23210         cos-inputs.
23212 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
23214         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23215         __attribute__ ((__simd__)) for vector math function declarations.
23217 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23219         Fix typo in strncat, wcsncat manual entries
23220         * manual/string.texi (Copying and Concatenation): Fix typos in
23221         sample implementations of strncat and wcsncat, by having them use
23222         the old value of the destination length, not the new one.
23224 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
23226         [BZ #16961]
23227         [BZ #16962]
23228         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23229         string on the stack for strtod.
23230         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23231         a string on the stack for strtof.
23232         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23233         constructing a string on the stack for strtold.
23234         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23235         __strtold_nan to GLIBC_PRIVATE.
23236         * math/test-nan-overflow.c: New file.
23237         * math/test-nan-payload.c: Likewise.
23238         * math/Makefile (tests): Add test-nan-overflow and
23239         test-nan-payload.
23241 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23243         Consistency about byte vs character in string.texi
23244         * manual/string.texi (String and Array Utilities):
23245         Distinguish more carefully among bytes, multibyte characters,
23246         and wide characters.  Use "byte" when talking about C 'char',
23247         to distinguish it more clearly from multibyte characters.
23248         Say "wide character" or "multibyte character" instead of
23249         "character", when a wide or multibyte character is intended.
23250         Similarly for "multibyte string" versus "string".
23251         Define these terms more carefully.
23253 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
23255         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23256         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23257         Likewise.
23258         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23259         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23260         * sysdeps/sh/math_private.h: New file.
23261         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
23262         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
23263         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
23264         long double function name.
23265         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23266         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23267         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23271         Remove __finitel, __isinfl, and __isnanl.
23272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23273         Likewise.
23274         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23276         Remove __finitel.
23277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23278         Likewise.
23279         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23281 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
23283         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23284         installed libmvec_nonshared.a.
23286 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23288         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23289         (sysdep_routines): Likewise.
23290         (sysdep-rtld-routines): Likewise.
23291         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23292         [$(subdir) = nptl](tests-static): test-get_hwcap-static
23293         * sysdeps/powerpc/Versions: Added new
23294         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23295         * sysdeps/powerpc/hwcapinfo.c: New file.
23296         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23297         and parse hwcap, hwcap2 and platform number information.
23298         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
23299         to store HWCAP+HWCAP2 and platform number.
23300         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23301         for HWCAP+HWCAP2 and platform number in the TCB.
23302         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
23303         the HWCAP, HWCAP2 and platform number in the TCB.
23304         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23305         (TLS_INIT_TP): Included calls to add the hwcap and
23306         at_platform values in the TCB in TP initialization.
23307         (TLS_DEFINE_INIT_TP): Likewise.
23308         (THREAD_GET_HWCAP): New macro.
23309         (THREAD_SET_HWCAP): Likewise.
23310         (THREAD_GET_AT_PLATFORM): Likewise.
23311         (THREAD_SET_AT_PLATFORM): Likewise.
23312         * sysdeps/powerpc/powerpc32/dl-machine.h:
23313         (dl_platform_init): New function that calls
23314         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
23315         powerpc32.
23316         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
23317         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
23318         this functionality, static linking case.
23319         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
23320         linking case.
23321         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23322         __parse_hwcap_and_convert_at_platform for the static linking case.
23323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23324         Included the new __parse_hwcap_and_convert_at_platform symbol in the
23325         ABI list for GLIBC 2.23.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23327         Likewise.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23329         Likewise.
23331 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
23333         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23334         * configure: Regenerate.
23335         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23336         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
23338 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
23340         * iconvdata/ibm930.c: Add comment explaining encoding uses.
23341         * iconvdata/ibm933.c: Likewise.
23342         * iconvdata/ibm935.c: Likewise.
23343         * iconvdata/ibm937.c: Likewise.
23344         * iconvdata/ibm939.c: Likewise.
23346 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23348         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23349         pthread_join.
23350         * nptl/tst-cancel21.c (tf): Likewise.
23352 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23354         [BZ #19313]
23355         * bits/typesizes.h (__CPU_MASK_TYPE): New.
23356         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23357         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23358         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23359         Likewise.
23360         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23361         Likewise.
23362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23363         Likewise.
23364         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23365         Likewise.
23366         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23367         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23368         unsigned long int with __CPU_MASK_TYPE.
23370 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23372         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23374 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
23376         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23377         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23378         t512.x.
23379         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23381 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
23383         [BZ #19214]
23384         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23385         argument to return extended model.  Update family and model
23386         with extended family and model when family == 0x0f.
23387         (init_cpu_features): Updated.
23389 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23391         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23392         signed off_t, so 32bit bigger than 2GiB values are fine actually.
23394         * sysdeps/mach/hurd/mmap64.c: New file.
23396 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
23398         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23399         rights for its main user thread in NEWTASK.
23401 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
23403         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23404         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23406 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
23408         [BZ #14259]
23409         * Makeconfig: Rename localedir to complocaledir.
23410         Rename inst_localedir to inst_complocaledir.
23411         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23412         * config.make.in: Use complocaledir and libc_cv_complocaledir.
23413         * configure.ac: Use libc_cv_complocaledir.
23414         * configure: Regenerate.
23415         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23416         -DCOMPLOCALEDIR.
23417         * locale/findlocale.c: Use COMPLOCALEDIR.
23418         * locale/loadarchive.c: Likewise.
23419         * locale/programs/locale.c: Likewise.
23420         * locale/programs/localedef.c: Likewise.
23421         * locale/programs/locarchive.c: Likewise.
23422         * localedata/Makefile: Use inst_complocaledir.
23423         * sysdeps/gnu/configure: Regenerate.
23424         * sysdeps/hppa/configure: Regenerate.
23425         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23426         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23428         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23429         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23430         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23431         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23433 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23435         [BZ #19058]
23436         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23437         AS_NEEDED.
23438         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23439         workaround.
23440         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23441         libmvec-static-only-routines): Added new file.
23442         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23444 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23446         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23447         of interrupted RPC instead of restoring it.
23449         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23450         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23451         libc_hidden_def.
23452         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23453         into initialized data instead of common. Define rtld_hidden_data_def.
23454         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23455         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23456         libc_hidden_def.
23457         (if_freenameindex): Add libc_hidden_weak.
23458         (if_nameindex): Add libc_hidden_weak.
23459         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23460         __open64.
23461         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23462         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23463         * sysdeps/mach/nanosleep.c: Include <time.h>
23464         (__nanosleep): Rename to __libc_nanosleep.
23465         (__nanosleep): Add weak_alias.
23466         (nanosleep): Update alias.
23468 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23470         * stdlib/strtod_nan.c: New file.
23471         * stdlib/strtod_nan_double.h: Likewise.
23472         * stdlib/strtod_nan_float.h: Likewise.
23473         * stdlib/strtod_nan_main.c: Likewise.
23474         * stdlib/strtod_nan_narrow.h: Likewise.
23475         * stdlib/strtod_nan_wide.h: Likewise.
23476         * stdlib/strtof_nan.c: Likewise.
23477         * stdlib/strtold_nan.c: Likewise.
23478         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23479         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23480         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23481         * wcsmbs/wcstod_nan.c: Likewise.
23482         * wcsmbs/wcstof_nan.c: Likewise.
23483         * wcsmbs/wcstold_nan.c: Likewise.
23484         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23485         strtold_nan.
23486         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23487         wcstof_nan.
23488         * include/stdlib.h (__strtof_nan): Declare and use
23489         libc_hidden_proto.
23490         (__strtod_nan): Likewise.
23491         (__strtold_nan): Likewise.
23492         (__wcstof_nan): Likewise.
23493         (__wcstod_nan): Likewise.
23494         (__wcstold_nan): Likewise.
23495         * include/wchar.h (____wcstoull_l_internal): Declare.
23496         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23497         (____strtoull_l_internal): Remove declaration.
23498         (STRTOF_NAN): Define macro.
23499         (SET_MANTISSA): Remove macro.
23500         (STRTOULL): Likewise.
23501         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23502         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23503         (STRTOF_NAN): Define macro.
23504         (SET_MANTISSA): Remove macro.
23505         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23506         (SET_MANTISSA): Remove macro.
23507         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23508         macro.
23509         (SET_MANTISSA): Remove macro.
23510         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23511         macro.
23512         (SET_MANTISSA): Remove macro.
23513         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23514         (SET_MANTISSA): Remove macro.
23515         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23516         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23517         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23519         [BZ #19266]
23520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23521         upper case and lower case letters inside NAN(), not using TOLOWER.
23522         * stdlib/tst-strtod-nan-locale-main.c: New file.
23523         * stdlib/tst-strtod-nan-locale.c: Likewise.
23524         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23525         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23526         Depend on $(gen-locales).
23527         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23528         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23529         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23530         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23531         Depend on $(gen-locales).
23532         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23534 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23536         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23538         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23540         __finitel, __isinfl, and __isnanl.
23541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23542         Likewise.
23543         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23545         __finitel.
23546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23547         Likewise.
23548         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23550 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23552         * malloc/memusage.c (me): Remove redundant getenv call.
23554 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23556         [BZ #19143]
23557         [BZ #19164]
23558         * nptl/check-cpuset.h: Remove.
23559         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23560         Remove CPU set size check.
23561         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23562         Likewise.
23563         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23564         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23565         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23566         (__pthread_setaffinity_new): Remove CPU set size check.
23567         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23568         (__kernel_cpumask_size): Remove.
23569         (__sched_setaffinity_new): Remove CPU set size check.
23570         * manual/threads.texi (Default Thread Attributes): Remove stale
23571         reference to check_cpuset_attr, determine_cpumask_size in comment.
23572         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23573         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23574         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23575         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23576         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23577         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23578         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23579         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23580         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23581         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23582         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23583         skeleton test file.
23584         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23585         tst-affinity-pid.
23587 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23589         * scripts/update-abilist.sh: New file.
23590         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23591         * Makerules (update-all-abi-%, update-all-abi)
23592         (subdir_update-all-abi): New targets.
23593         * elf/Makefile (update-all-abi): New target.
23595 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23597         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23598         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23599         (__libc_lock_define_initialized): Use it.
23600         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23601         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23602         * malloc/malloc.c (main_arena): Likewise.
23603         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23604         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23606 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23608         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23609         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23610         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23611         (PTRACE_O_MASK): Update value.
23612         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23613         New value in enum __ptrace_setoptions.
23614         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23615         (PTRACE_O_MASK): Update value.
23616         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23617         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23618         (PTRACE_O_MASK): Update value.
23619         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23620         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23621         (PTRACE_O_MASK): Update value.
23622         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23623         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23624         (PTRACE_O_MASK): Update value.
23625         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23626         New value in enum __ptrace_setoptions.
23627         (PTRACE_O_MASK): Update value.
23628         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23629         New value in enum __ptrace_setoptions.
23630         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23631         (PTRACE_O_MASK): Update value.
23633         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23634         New macro.
23635         (PACKET_AUXDATA): Likewise.
23636         (PACKET_ORIGDEV): Likewise.
23637         (PACKET_VERSION): Likewise.
23638         (PACKET_HDRLEN): Likewise.
23639         (PACKET_RESERVE): Likewise.
23640         (PACKET_TX_RING): Likewise.
23641         (PACKET_LOSS): Likewise.
23642         (PACKET_VNET_HDR): Likewise.
23643         (PACKET_TX_TIMESTAMP): Likewise.
23644         (PACKET_TIMESTAMP): Likewise.
23645         (PACKET_FANOUT): Likewise.
23646         (PACKET_TX_HAS_OFF): Likewise.
23647         (PACKET_QDISC_BYPASS): Likewise.
23648         (PACKET_ROLLOVER_STATS): Likewise.
23649         (PACKET_FANOUT_DATA): Likewise.
23650         (PACKET_MR_UNICAST): Likewise.
23652         [BZ #19242]
23653         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23654         (TOUPPER): Likewise.
23655         * stdlib/tst-strtol-locale-main.c: New file.
23656         * stdlib/tst-strtol-locale.c: Likewise.
23657         * stdlib/Makefile (tests): Add tst-strtol-locale.
23658         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23659         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23660         Depend on $(gen-locales).
23661         * wcsmbs/tst-wcstol-locale.c: New file.
23662         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23663         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23664         tr_TR.ISO-8859-9.
23665         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23666         Depend on $(gen-locales).
23668 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23670         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23671         __glibc_likely instead of __builtin_expect.  After falling back to
23672         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23673         system interface to register the code pages as occupied.
23675 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23677         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23678         [!ARM_MATH_PRIVATE_H].
23679         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23680         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23681         [!HPPA_MATH_PRIVATE_H].
23682         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23683         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23684         to [!I386_MATH_PRIVATE_H].
23685         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23686         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23687         Change guard to [!M68K_MATH_PRIVATE_H].
23688         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23689         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23690         guard to [!MICROBLAZE_MATH_PRIVATE_H].
23691         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23692         macro.
23693         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23694         [!MIPS_MATH_PRIVATE_H].
23695         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23696         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23697         [!NIO2_MATH_PRIVATE_H].
23698         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23699         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23700         [!TILE_MATH_PRIVATE_H].
23701         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23703         [BZ #15421]
23704         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23705         initialize with 0 and define as weak alias of __signgam.
23706         * include/math.h [!_ISOMAC] (__signgam): Declare.
23707         * math/Makefile (libm-calls): Add w_lgamma_compat.
23708         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23709         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23710         test-signgam-ullong-init.
23711         (tests-static): Add test-signgam-uchar-static,
23712         test-signgam-uchar-init-static, test-signgam-uint-static,
23713         test-signgam-uint-init-static, test-signgam-ullong-static and
23714         test-signgam-ullong-init-static.
23715         (CFLAGS-test-signgam-uchar.c): New variable.
23716         (CFLAGS-test-signgam-uchar-init.c): Likewise.
23717         (CFLAGS-test-signgam-uchar-static.c): Likewise.
23718         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23719         (CFLAGS-test-signgam-uint.c): Likewise.
23720         (CFLAGS-test-signgam-uint-init.c): Likewise.
23721         (CFLAGS-test-signgam-uint-static.c): Likewise.
23722         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23723         (CFLAGS-test-signgam-ullong.c): Likewise.
23724         (CFLAGS-test-signgam-ullong-init.c): Likewise.
23725         (CFLAGS-test-signgam-ullong-static.c): Likewise.
23726         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23727         * math/Versions (libm): Add GLIBC_2.23.
23728         * math/lgamma-compat.h: New file.
23729         * math/test-signgam-main.c: Likewise.
23730         * math/test-signgam-uchar-init-static.c: Likewise.
23731         * math/test-signgam-uchar-init.c: Likewise.
23732         * math/test-signgam-uchar-static.c: Likewise.
23733         * math/test-signgam-uchar.c: Likewise.
23734         * math/test-signgam-uint-init-static.c: Likewise.
23735         * math/test-signgam-uint-init.c: Likewise.
23736         * math/test-signgam-uint-static.c: Likewise.
23737         * math/test-signgam-uint.c: Likewise.
23738         * math/test-signgam-ullong-init-static.c: Likewise.
23739         * math/test-signgam-ullong-init.c: Likewise.
23740         * math/test-signgam-ullong-static.c: Likewise.
23741         * math/test-signgam-ullong.c: Likewise.
23742         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23743         wrapper of w_lgamma_main.c.
23744         * math/w_lgamma_compat.c: New file.
23745         * math/w_lgamma_compatf.c: Likewise.
23746         * math/w_lgamma_compatl.c: Likewise.
23747         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
23748         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23749         defining compatibility symbols.
23750         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
23751         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23752         wrapper of w_lgammaf_main.c.
23753         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
23754         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23755         defining compatibility symbols.
23756         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
23757         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23758         wrapper of w_lgammal_main.c.
23759         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
23760         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23761         defining compatibility symbols.
23762         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
23763         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23764         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23765         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
23766         <lgamma-compat.h>.
23767         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
23768         (__ieee754_gamma): Define as alias.
23769         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23770         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
23771         <lgamma-compat.h>.
23772         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
23773         (__ieee754_gammaf): Define as alias.
23774         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23775         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
23776         <lgamma-compat.h>.
23777         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
23778         (__ieee754_gammal): Define as alias.
23779         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23780         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
23781         <math/w_lgamma_compat.c>.
23782         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23783         Define as alias of __lgamma_compat and use in defining lgammal.
23784         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23785         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
23786         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23787         (USE_AS_COMPAT): New macro.
23788         (LGAMMA_OLD_VER): Undefine and redefine.
23789         (lgammal): Do not define here.
23790         (gammal): Only define here if [GAMMA_ALIAS].
23791         * conform/linknamespace.pl (@whitelist): Remove signgam.
23792         * sysdeps/nacl/libm.abilist: Update.
23793         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23794         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23795         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23796         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23797         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23798         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23799         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23800         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23801         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23802         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23803         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23804         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23806         Likewise.
23807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23808         Likewise.
23809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23810         Likewise.
23811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23812         Likewise.
23813         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23814         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23815         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23816         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23817         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23819         Likewise.
23820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23821         Likewise.
23822         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23823         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23824         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23826 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23828         [BZ #16364]
23829         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23830         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23832 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23834         * sysdeps/s390/fpu/bits/mathinline.h:
23835         Use __asm__ [__volatile__] instead of asm [volatile].
23836         * sysdeps/s390/abort-instr.h: Likewise.
23837         * sysdeps/s390/atomic-machine.h: Likewise.
23838         * sysdeps/s390/bits/string.h: Likewise.
23839         * sysdeps/s390/dl-tls.h: Likewise.
23840         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23841         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23842         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23843         * sysdeps/s390/fpu/fesetround.c: Likewise.
23844         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23845         * sysdeps/s390/fpu/s_fma.c: Likewise.
23846         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23847         * sysdeps/s390/memusage.h: Likewise.
23848         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23849         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23850         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23851         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23852         * sysdeps/s390/nptl/tls.h: Likewise.
23853         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23854         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23855         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23856         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23857         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23858         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23859         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23860         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23861         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23862         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23863         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23864         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23865         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23866         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23867         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23868         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23869         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23870         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23871         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23872         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23873         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23875         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23877 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23878             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23880         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23881         Add lwarx hint, and use macro for acquire instruction.
23882         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23883         Likewise.
23884         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23885         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23886         update to use new atomic macros.
23888 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23890         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23891         (__lll_trylock_elision): Fix setting of adapt_count.
23892         * sysdeps/unix/sysv/linux/powerpc/htm.h
23893         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23894         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23895         (_ABORT_SYSCALL): Renumber, and clarify definition.
23896         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23898 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23900         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23901         after system headers to prevent MIN/MAX redefinition.  Define
23902         HAVE_ALLOCA to preserve builtin alloca usage.
23904 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23906         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23907         static and don't set or restore rounding.
23908         (__cos)[IN_SINCOS]: Likewise.
23909         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23910         (__sincos): Set and restore rounding mode.  Remove check for infinite
23911         or NaN input.
23913         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23915         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23916         as used.
23918 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23920         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23922 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23924         * config.make.in (have-glob-dat-reloc): New.
23925         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23926         target supports GLOB_DAT relocaton. AC_SUBST.
23927         * configure: Regenerated.
23928         * elf/Makefile (tests): Add tst-prelink.
23929         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23930         (tst-prelink-ENV): New.
23931         ($(objpfx)tst-prelink-conflict.out): Likewise.
23932         ($(objpfx)tst-prelink-cmp.out): Likewise.
23933         * sysdeps/x86/tst-prelink.c: Moved to ...
23934         * elf/tst-prelink.c: Here.
23935         * sysdeps/x86/tst-prelink.exp: Moved to ...
23936         * elf/tst-prelink.exp: Here.
23937         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23938         (tst-prelink-ENV): Removed.
23939         ($(objpfx)tst-prelink-conflict.out): Likewise.
23940         ($(objpfx)tst-prelink-cmp.out): Likewise.
23941         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23943 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23945         [BZ #14551]
23946         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23947         (__mpn_construct_long_double): If high part overflows to infinity,
23948         set errno and recompute overflowed result of the correct sign.
23949         * sysdeps/ieee754/ldbl-128ibm/Makefile
23950         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23951         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23952         $(libm).
23953         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23955 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23957         [BZ #15479]
23958         [BZ #19238]
23959         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23960         floating-point state after first operation on input.  Restore full
23961         state rather than just rounding mode.
23962         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23963         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23964         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23966         [BZ #19235]
23967         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23968         add 0.5 to integer arguments.
23969         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23970         Likewise.
23971         (.LC2): New object.
23973 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23975         * scripts/pylintrc (reports): Set to no.
23977 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23979         * elf/dl-load.c (open_verify): Take new argument FD.
23980         Skip __open call if passed FD is not -1.
23981         (_dl_map_object, open_path): Update callers.
23982         * elf/dl-sysdep-open.h: New file.
23983         * elf/dl-load.c: Include it.
23984         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23985         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23986         * sysdeps/nacl/dl-sysdep-open.h: New file.
23987         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23988         from libc to rtld.
23990 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #19228]
23993         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23994         and restore full floating-point state.
23995         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23996         Likewise.
23997         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23998         Likewise.
23999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24000         Likewise.
24001         * math/test-nearbyint-except-2.c: New file.
24002         * math/Makefile (tests): Add test-nearbyint-except-2.
24004 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24006         [BZ #19178]
24007         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24008         (tst-prelink-ENV): New.
24009         ($(objpfx)tst-prelink-conflict.out): Likewise.
24010         ($(objpfx)tst-prelink-cmp.out): Likewise.
24011         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24012         * sysdeps/x86/tst-prelink.c: New file.
24013         * sysdeps/x86/tst-prelink.exp: Likewise.
24015 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24017         * math/auto-libm-test-in: Add another test of pow.
24018         * math/auto-libm-test-out: Regenerated.
24019         * math/libm-test.inc (pow_test_data): Add another test.
24021 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24023         [BZ #19219]
24024         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24025         weak_alias to nearbyintl.
24027 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24029         * sysdeps/aarch64/bits/string.h: New file.
24030         (_STRING_ARCH_unaligned): Define.
24032 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24034         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24035         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24036         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24037         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24040 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24042         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24043         for original name of the DSO.  Add it to the name list of the DSO
24044         if it is actually given.
24045         (_dl_map_object): Keep track of whether an audit module rewrote
24046         the file name.  If yes, pass the original name to
24047         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24048         debugging is enabled, log the change of the file name.
24049         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24050         _dl_map_object_from_fd.
24051         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24052         * elf/tst-audit11.c: New file
24053         * elf/tst-auditmod11.c: New file.
24054         * elf/tst-audit11mod1.c: New file.
24055         * elf/tst-audit11mod2.c: New file.
24056         * elf/tst-audit11mod2.map: New file.
24057         * elf/tst-audit12.c: New file
24058         * elf/tst-auditmod12.c: New file.
24059         * elf/tst-audit12mod1.c: New file.
24060         * elf/tst-audit12mod2.c: New file.
24061         * elf/tst-audit12mod2.map: New file.
24062         * elf/tst-audit12mod3.c: New file.
24064 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24066         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24067         Don't create weak aliases,
24068         because versioned symbols are created later.
24069         * sysdeps/s390/s390-32/setjmp.S
24070         (setjmp, _setjmp): Remove weak and rename to an unique name
24071         in SHARED case due to existing versioned symbols.
24072         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24073         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24074         (getcontext): Create weak alias only in non SHARED case.
24075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24077 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24079         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24080         (__ASSUME_*_SYSCALL) Define new macros.
24081         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24082         Remove socketcall syscalls.
24083         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24084         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24085         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24086         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24087         * sysdeps/unix/sysv/linux/send.c (__libc_send):
24088         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24090 2015-11-09  Florian Weimer  <fweimer@redhat.com>
24092         [BZ #12926]
24093         Terminate process on invalid netlink response.
24094         * sysdeps/unix/sysv/linux/netlinkaccess.h
24095         (__netlink_assert_response): Declare.
24096         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24097         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24098         (sysdep_routines): Add netlink_assert_response.
24099         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24100         __netlink_assert_response.
24101         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24102         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24103         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24104         __netlink_assert_response.
24106 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24108         [BZ #19178]
24109         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24110         (RTYPE_CLASS_PLT): Likewise.
24111         (RTYPE_CLASS_COPY): Likewise.
24112         (RTYPE_CLASS_TLS): Likewise.
24113         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24114         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
24115         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24116         DL_DEBUG_PRELINK.
24118 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
24120         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24121         calls with argument -0.5.
24122         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24124         * configure.ac (libc_cv_z_nodelete): Remove configure test.
24125         (libc_cv_z_nodlopen): Likewise.
24126         (libc_cv_z_initfirst): Likewise.
24127         * configure: Regenerated.
24129 2015-11-06  Florian Weimer  <fweimer@redhat.com>
24131         Simplify abilist format to be line-based.
24132         * scripts/abilist.awk: Collect descriptors in the descs variable.
24133         (emit): Write descs variable and sort it
24134         externally, with sort.
24135         * sysdeps/**/*.abilist: Convert to new format.
24137 2015-11-06  Mark Wielaard  <mjw@redhat.com>
24139         [BZ #11460]
24140         * io/Makefile (routines): Add fts64.
24141         (tests): Add tst-fts and tst-fts-lfs.
24142         (CFLAGS-fts64.c): New.
24143         * io/Versions (GLIBC_2.23): New.
24144         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24145         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24146         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24147         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24148         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24149         (FTSENT64): Likewise.
24150         (fts64_children): Likewise.
24151         (fts64_close): Likewise.
24152         (fts64_open): Likewise.
24153         (fts64_read): Likewise.
24154         (fts64_set): Likewise.
24155         * io/fts64.c: New file.
24156         * io/tst-fts.c: New test.
24157         * io/tst-fts-lfs.c: Likewise.
24158         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24159         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24160         fts64_set.
24161         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24162         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24163         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24164         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24165         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24166         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24167         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24168         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24169         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24170         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24171         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24172         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24173         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24175         Likewise.
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24177         Likewise.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24180         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24181         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24182         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24183         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24184         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24187         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24188         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24189         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24190         * sysdeps/wordsize-64/fts.c: New file.
24191         * sysdeps/wordsize-64/fts64.c: Likewise.
24192         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24193         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24194         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24195         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24197 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24199         * math/libm-test.inc (NON_FINITE): New macro.
24200         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24201         * math/gen-libm-test.pl (show_exceptions): Add argument
24202         $non_finite.
24203         (parse_args): Update call to show_exceptions.
24204         * math/test-math-finite.h: New file.
24205         * math/test-math-no-finite.h: Likewise.
24206         * math/test-double-finite.c: Likewise.
24207         * math/test-float-finite.c: Likewise.
24208         * math/test-ldouble-finite.c: Likewise.
24209         * math/test-double.c: Include "test-math-no-finite.h".
24210         * math/test-float.c: Include "test-math-no-finite.h".
24211         * math/test-ldouble.c: Include "test-math-no-finite.h".
24212         * math/test-math-inline.h (TEST_FINITE): New macro.
24213         * math/test-math-vector.h (TEST_FINITE): Likewise.
24214         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24215         (libm-tests): Add test-float-finite and test-double-finite.
24216         ($(objpfx)test-float-finite.o): New dependency on
24217         $(objpfx)libm-test.stmp.
24218         ($(objpfx)test-double-finite.o): Likewise.
24219         ($(objpfx)test-ldouble-finite.o): Likewise.
24220         (libm-test-no-inline-cflags): New variable.
24221         (libm-test-finite-cflags): Likewise.
24222         (CFLAGS-test-float-finite.c): Likewise.
24223         (CFLAGS-test-double-finite.c): Likewise.
24224         (CFLAGS-test-ldouble-finite.c): Likewise.
24225         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24226         (CFLAGS-test-double.c): Likewise.
24227         (CFLAGS-test-ldouble.c): Likewise.
24229 2015-11-05  Roland McGrath  <roland@hack.frob.com>
24231         * io/fcntl.c (__fcntl): Add ... to prototype.
24232         * misc/ioctl.c (__ioctl): Likewise.
24233         * misc/syscall.c (syscall): Likewise.
24235 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24237         * scripts/list-fixed-bugs.py: New file.
24239         [BZ #19213]
24240         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24241         returned for argument 1.
24242         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24243         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24244         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24245         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24246         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24247         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24249         [BZ #19211]
24250         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24251         __USE_XOPEN], not if [!__USE_ISOC99].
24252         (lgammaf): Likewise.
24253         (lgammal): Likewise.
24254         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24255         (gammaf): Likewise.
24256         (gammal): Likewise.
24257         * math/test-signgam-finite-c11.c: New file.
24258         * math/test-signgam-finite-c99.c: Likewise.
24259         * math/test-signgam-finite.c: Likewise.
24260         * math/Makefile (tests): Add test-signgam-finite,
24261         test-signgam-finite-c99 and test-signgam-finite-c11.
24262         (CFLAGS-test-signgam-finite.c): New variable.
24263         (CFLAGS-test-signgam-finite-c99.c): Likewise.
24264         (CFLAGS-test-signgam-finite-c11.c): Likewise.
24266         [BZ #19212]
24267         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
24268         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
24269         500].
24270         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
24271         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
24272         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
24273         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24274         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24275         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24276         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24277         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24278         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24279         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24281         [BZ #19209]
24282         * math/bits/math-finite.h (ldexp): Remove declaration.
24283         (ldexpf): Likewise.
24284         (ldexpl): Likewise.
24286         [BZ #19205]
24287         * math/bits/math-finite.h (acosf): Condition declaration on
24288         [__USE_ISOC99].
24289         (acosl): Likewise.
24290         (acoshf): Likewise.
24291         (acoshl): Likewise.
24292         (asinf): Likewise.
24293         (asinl): Likewise.
24294         (atan2f): Likewise.
24295         (atan2l): Likewise.
24296         (atanhf): Likewise.
24297         (atanhl): Likewise.
24298         (coshf): Likewise.
24299         (coshl): Likewise.
24300         (expf): Likewise.
24301         (expl): Likewise.
24302         (fmodf): Likewise.
24303         (fmodl): Likewise.
24304         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24305         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24306         (j0l): Likewise.
24307         (y0f): Likewise.
24308         (y0l): Likewise.
24309         (j1f): Likewise.
24310         (j1l): Likewise.
24311         (y1f): Likewise.
24312         (y1l): Likewise.
24313         (jnf): Likewise.
24314         (jnl): Likewise.
24315         (ynf): Likewise.
24316         (ynl): Likewise.
24317         (lgammaf_r): Condition declaration on [__USE_ISOC99].
24318         (lgammal_r): Likewise.
24319         (__lgamma_r_finite): New declaration.
24320         (__lgammaf_r_finite): Likewise.
24321         (__lgammal_r_finite): Likewise.
24322         (lgamma): Use __lgamma_r_finite.
24323         (lgammaf): Condition definition on [__USE_ISOC99].  Use
24324         __lgammaf_r_finite.
24325         (lgammal): Condition definition on [__USE_ISOC99].  Use
24326         __lgammal_r_finite.
24327         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
24328         __lgamma_r_finite.
24329         (gammaf): Condition definition on [__USE_ISOC99].  Use
24330         __lgammaf_r_finite.
24331         (gammal): Condition definition on [__USE_ISOC99].  Use
24332         __lgammal_r_finite.
24333         (logf): Condition declaration on [__USE_ISOC99].
24334         (logl): Likewise.
24335         (log10f): Likewise.
24336         (log10l): Likewise.
24337         (ldexpf): Likewise.
24338         (ldexpl): Likewise.
24339         (powf): Likewise.
24340         (powl): Likewise.
24341         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24342         __USE_ISOC99].
24343         (remainderf): Condition declaration on [__USE_ISOC99].
24344         (remainderl): Likewise.
24345         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24346         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24347         (scalbl): Likewise.
24348         (sinhf): Condition declaration on [__USE_ISOC99].
24349         (sinhl): Likewise.
24350         (sqrtf): Likewise.
24351         (sqrtl): Likewise.
24353 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24355         * sysdeps/arm/atomic-machine.h
24356         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24357         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24358         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24359         Remove conditional code.
24360         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24361         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24362         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24363         Change conditional to [__ASSEMBLER__].
24364         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24365         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24366         [!__ASSEMBLER__].
24367         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24368         code.
24369         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24370         conditional macro definitions.
24371         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24372         (__arch_compare_and_exchange_val_16_acq): Likewise.
24373         (__arch_compare_and_exchange_val_32_acq): Likewise.
24374         (atomic_exchange_and_add): Likewise.
24375         (atomic_add): Likewise.
24376         (atomic_add_negative): Likewise.
24377         (atomic_add_zero): Likewise.
24378         (atomic_bit_set): Likewise.
24379         (atomic_bit_test_set): Likewise.
24380         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24381         code unconditional.
24382         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24384         * math/test-math-errno.h: New file.
24385         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24386         empty.
24387         (TEST_ERRNO): New macro.
24388         (TEST_EXCEPTIONS): Likewise.
24389         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24390         (TEST_EXCEPTIONS): Likewise.
24391         * math/test-math-vector.h (TEST_ERRNO): Likewise.
24392         * math/test-double.c: Include "test-math-errno.h".
24393         * math/test-float.c: Likewise.
24394         * math/test-ldouble.c: Likewise.
24395         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24396         code unconditional.
24397         (test_exceptions): Only run code if TEST_EXCEPTIONS.
24398         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24399         unconditional.
24400         (test_errno): Only run code if TEST_ERRNO.
24401         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24403 2015-11-04  Florian Weimer  <fweimer@redhat.com>
24405         * nptl/tst-once5.cc: Remove attribution.
24407 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24409         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24410         sqrt, tan, tanh, y0, y1 and yn.
24411         * math/auto-libm-test-out: Regenerated.
24412         * math/libm-test.inc (scalb_test_data): Add more tests.
24413         (scalbn_test_data): Likewise.
24414         (scalbln_test_data): Likewise.
24415         (signbit_test_data): Likewise.
24416         (sin_test_data): Likewise.
24417         (sincos_test_data): Likewise.
24418         (sinh_test_data): Likewise.
24419         (sqrt_test_data): Likewise.
24420         (tan_test_data): Likewise.
24421         (tanh_test_data): Likewise.
24422         (tgamma_test_data): Likewise.
24423         (y0_test_data): Likewise.
24424         (y1_test_data): Likewise.
24425         (yn_test_data): Likewise.
24426         (significand_test_data): Likewise.
24427         * sysdeps/i386/fpu/libm-test-ulps: Update.
24429 2015-11-03  David Kastrup  <dak@gnu.org>
24431         [BZ #18604]
24432         * assert/assert.h (assert): Don't macro-expand failed assertion
24433         expression in error message.
24434         * malloc/malloc.c (assert): Likewise.
24436 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24438         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24439         test.
24440         * configure: Regenerated.
24442 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24444         * math/libm-test.inc (modf_test_data): Add more tests.
24445         (nearbyint_test_data): Likewise.
24446         (nextafter_test_data): Likewise.
24447         (nexttoward_test_data): Likewise.
24448         (pow_test_data): Likewise.
24449         (remainder_test_data): Likewise.
24450         (remquo_test_data): Likewise.
24451         (rint_test_data): Likewise.
24453         [BZ #19201]
24454         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24455         Check for zero remainder in case of large exponents and ensure
24456         correct sign of result in that case.
24457         * math/libm-test.inc (remainder_test_data): Add more tests.
24459         [BZ #6799]
24460         * math/s_nextafter.c: Include <errno.h>.
24461         (__nextafter): Set errno on overflow and underflow.
24462         * math/s_nexttowardf.c: Include <errno.h>.
24463         (__nexttowardf): Set errno on overflow and underflow.
24464         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24465         (__nextafterl): Set errno on overflow and underflow.
24466         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24467         (__nexttoward): Set errno on overflow and underflow.
24468         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24469         (__nexttowardf): Set errno on overflow and underflow.
24470         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24471         (__nextafterf): Set errno on overflow and underflow.
24472         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24473         (__nextafterl): Set errno on overflow and underflow.
24474         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24475         (__nexttoward): Set errno on overflow and underflow.
24476         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24477         (__nexttowardf): Set errno on overflow and underflow.
24478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24479         (__nextafterl): Set errno on overflow and underflow.
24480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24481         (__nexttoward): Set errno on overflow and underflow.
24482         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24483         (__nexttowardf): Set errno on overflow and underflow.
24484         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24485         (__nexttoward): Set errno on overflow and underflow.
24486         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24487         (__nexttowardf): Set errno on overflow and underflow.
24488         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24489         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24490         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24491         (__nextafterl): Set errno on overflow and underflow.
24492         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24493         setting to be missing on overflow.  Add more tests.
24494         (nexttoward_test_data): Likewise.
24496         * configure.ac (libc_cv_initfini_array): Remove configure test.
24497         * configure: Regenerated.
24499 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24501         [BZ #19189]
24502         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24503         non-finite argument handle arguments with negative sign.
24505         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24506         result from infinite argument.
24507         (j1_test_data): Likewise.
24508         (jn_test_data): Likewise.
24509         (y0_test_data): Likewise.
24510         (y1_test_data): Likewise.
24511         (yn_test_data): Likewise.
24513         [BZ #16171]
24514         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24515         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24516         * math/w_remainderf.c (dremf): Define as weak alias of
24517         __remainderf.
24518         * math/w_remainderl.c (dreml): Define as weak alias of
24519         __remainderl.
24520         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24521         __remainder.
24522         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24523         __remainderf.
24524         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24525         __remainderl.
24526         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24527         weak alias of remainderl.
24528         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24529         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24530         alias of __remainder.
24531         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24532         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24533         strong alias of __remainderl.
24534         (dreml): Use long_double_symbol.
24535         * math/Makefile (libm-calls): Remove w_drem.
24536         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24537         (CFLAGS-nldbl-drem.c): Remove variable.
24538         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24539         * math/w_drem.c: Remove file.
24540         * math/w_dremf.c: Likewise.
24541         * math/w_dreml.c: Likewise.
24542         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24543         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24544         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24546         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24547         * sysdeps/i386/configure: Regenerated.
24548         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24549         * sysdeps/x86_64/configure: Regenerated.
24551         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24552         test.
24553         (libc_cv_visibility_attribute): Likewise.
24554         (libc_cv_protected_data): Test unconditionally.
24555         (libc_cv_broken_visibility_attribute): Remove configure test.
24556         (libc_cv_have_sdata_section): Test unconditionally.
24557         * configure: Regenerated.
24559         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24560         * include/scratch_buffer.h: Include <stddef.h> instead of
24561         <libc-internal.h>.
24562         (struct scratch_buffer): Use max_align_t instead of
24563         libc_max_align_t.
24565 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24567         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24568         instead of extend_alloca.  Change control flow to avoid a goto.
24569         Remove assert which is trivially always true.
24571 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24573         [BZ #16068]
24574         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24575         (FE_ALL_EXCEPT_X86): New macro.
24576         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24577         FE_ALL_EXCEPT.  Ensure precision control is included in
24578         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24579         handle "denormal operand exception" and clear FZ and DAZ bits.
24580         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24581         (FE_ALL_EXCEPT_X86): New macro.
24582         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24583         FE_ALL_EXCEPT.  Ensure precision control is included in
24584         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24585         handle "denormal operand exception" and clear FZ and DAZ bits.
24586         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24587         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24588         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24589         test-fenv-x87 and test-fenv-sse-2.
24590         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24592         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24593         * math/test-double.h (BUILD_COMPLEX): New macro.
24594         * math/test-float.h (BUILD_COMPLEX): Likewise.
24595         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24597         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24598         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24599         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24601         instead of DBL_DENORM_MIN in comment.
24602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24603         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24605         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24607         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24609 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24611         [BZ #19048]
24612         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24613         attached_threads member.
24614         (main_arena): Initialize attached_threads.
24615         * malloc/arena.c (list_lock): Update comment.
24616         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24617         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24618         (deattach_arena): New function.
24619         (_int_new_arena): Initialize arena reference count and deattach
24620         replaced arena.
24621         (get_free_list, reused_arena): Update reference count and deattach
24622         replaced arena.
24623         (arena_thread_freeres): Update arena reference count and only put
24624         unreferenced arenas on the free list.
24626 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24628         [BZ #19181]
24629         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24630         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24631         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24632         * math/test-fenv-clear-main.c: New file.
24633         * math/test-fenv-clear.c: Likewise.
24634         * math/Makefile (tests): Add test-fenv-clear.
24635         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24636         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24637         test-fenv-clear-sse.
24638         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24640         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24641         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24642         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24644 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24646         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24647         static libc.
24649 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24651         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24652         test.
24653         * sysdeps/i386/configure: Regenerated.
24654         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24655         test.
24656         * sysdeps/x86_64/configure: Regenerated.
24657         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24659         memset-avx2 unconditionally instead of conditionally on
24660         [$(config-cflags-avx2) = yes].
24661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24662         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24663         unconditional.
24664         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24665         * sysdeps/x86_64/multiarch/memset_chk.S
24666         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24667         to [IS_IN (libc) && SHARED].
24669 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24671         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24672         configure test.
24673         * sysdeps/arm/configure: Regenerated.
24674         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24675         Define variable if not already defined.
24677         [BZ #17404]
24678         * sysdeps/mips/atomic-machine.h
24679         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24680         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24681         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24683         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24684         unconditional.
24685         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24686         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24687         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24688         unconditional.
24689         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24690         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24691         unconditional.
24692         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24693         * stdlib/setenv.c
24694         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24695         code unconditional.
24696         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24697         Remove conditional code.
24698         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24699         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24700         unconditional.
24701         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24702         code.
24703         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24704         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24705         unconditional.
24706         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24707         code.
24708         * sysdeps/ieee754/ldbl-128/k_tanl.c
24709         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24710         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24711         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24712         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24713         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24714         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24715         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24716         unconditional.
24717         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24718         code.
24719         * sysdeps/ieee754/ldbl-96/k_tanl.c
24720         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24721         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24723         * nptl/tst-initializers1-c11.c: New file.
24724         * nptl/tst-initializers1-gnu11.c: Likewise.
24725         * nptl/Makefile (tests): Add these new tests.
24726         (CFLAGS-tst-initializers1-c11.c): New variable.
24727         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24729         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24730         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24731         instead of -std=gnu99.
24732         * configure.ac (systemtap): Test with -std=gnu11 instead of
24733         -std=gnu99.
24734         * configure: Regenerated.
24735         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24736         in compilation command in comment.
24738         * sysdeps/nptl/configure.ac: Remove file.
24739         * sysdeps/nptl/configure: Remove generated file.
24740         * configure.ac (libc_cv_forced_unwind): Do not substitute.
24741         * configure: Regenerated.
24742         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24743         * config.make.in (have-forced-unwind): Remove variable.
24744         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24745         unconditional.
24746         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24747         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24748         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24749         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24750         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24751         unconditional.
24753 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24755         [BZ #19174]
24756         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24757         .skip_lock_out_of_tbegin_retries.
24758         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24759         (__lll_lock_elision): Likewise, and respect a value of
24760         try_tbegin <= 0.
24762 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24764         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24765         statement.
24767 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24769         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24770         variable.
24771         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24772         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24774         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24775         of -std=c1x -D_ISOC11_SOURCE.
24777         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24778         * configure: Regenerated.
24779         * manual/install.texi (Tools for Compilation): Document
24780         requirement for GCC 4.7 or later.
24781         * INSTALL: Regenerated.
24783 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
24785         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24786         on CNT to a conditional jump to 'puntdata'.
24788 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24790         * configure.ac (libc_cv_gcc___thread): Remove configure test.
24791         (libc_cv_gcc_tls_model_attr): Likewise.
24792         * configure: Regenerated.
24794         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24795         * configure: Regenerated.
24796         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24798 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
24800         * configure.ac (old_glibc_headers): Remove configure test.
24801         * configure: Regenerated.
24802         * config.make.in (old-glibc-headers): Remove variable.
24803         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24804         (install): Remove dependency on remove-old-headers.
24805         (headers2_0): Remove variable.
24806         (remove-old-headers): Remove rule.
24808         * configure.ac (libc_cv_dot_text): Remove configure test.
24809         (libc_cv_asm_set_directive): Use .text instead of
24810         ${libc_cv_dot_text} in configure test.
24811         * configure: Regenerated.
24813 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24815         [BZ #19168]
24816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24818 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24820         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24821         not support static linking.
24822         * configure: Regenerate.
24824 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24826         * math/libm-test.inc (check_float_internal): Do not special-case
24827         errors up to 0.5 ulp.
24829         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24830         log2.
24831         * math/auto-libm-test-out: Regenerated.
24832         * math/libm-test.inc (MAX_EXP): New macro.
24833         (ilogb_test_data): Add more tests.
24834         (isfinite_test_data): Likewise.
24835         (isgreater_test_data): Likewise.
24836         (isgreaterequal_test_data): Likewise.
24837         (isinf_test_data): Likewise.
24838         (isless_test_data): Likewise.
24839         (islessequal_test_data): Likewise.
24840         (islessgreater_test_data): Likewise.
24841         (isnan_test_data): Likewise.
24842         (isnormal_test_data): Likewise.
24843         (issignaling_test_data): Likewise.
24844         (isunordered_test_data): Likewise.
24845         (j0_test_data): Likewise.
24846         (j1_test_data): Likewise.
24847         (jn_test_data): Likewise.
24848         (lgamma_test_data): Likewise.
24849         (log_test_data): Likewise.
24850         (log10_test_data): Likewise.
24851         (log1p_test_data): Likewise.
24852         (log2_test_data): Likewise.
24853         (logb_test_data): Likewise.
24854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24856         [BZ #18611]
24857         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24858         avoid excess range and precision on underflow.
24859         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24860         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24861         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24863         underflow.
24864         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24865         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24866         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24867         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24868         * math/auto-libm-test-in: Do not allow missing errno setting for
24869         tests of j1 and jn.
24870         * math/auto-libm-test-out: Regenerated.
24872 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24874         [BZ #15491]
24875         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24876         floating-point environment instead of clearing all exceptions.
24877         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24878         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24879         merging in "invalid" exceptions from frndint.
24880         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24881         * math/test-nearbyint-except.c: New file.
24882         * math/Makefile (tests): Add test-nearbyint-except.
24884 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24886         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24888         * sysdeps/tile/libm-test-ulps: Regenerated.
24890 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24893         (__NR_sync_file_range2): Assume it is always defined.
24894         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24895         (__NR_sync_file_range): Assume it is always defined.
24897 2015-10-22  Andreas Schwab  <schwab@suse.de>
24899         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24900         INTERNAL_SYSCALL_ERRNO.
24901         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24902         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24903         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24904         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24905         Likewise.
24906         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24908 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24910         * io/tst-fcntl.c (fd): New static variable.
24911         (do_prepare): Open temporary file here....
24912         (do_test): ...not here.
24914         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24916 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24918         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24919         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24920         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24921         Moved before "#ifdef __ASSEMBLER__".
24923 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24925         [BZ #19156]
24926         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24927         arguments very close to 0.
24929 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24931         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24932         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24934 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24936         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24937         New.  Defined for GCC 5 and above when not compiling for
24938         profiling.
24939         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24941         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24942         Renamed to ...
24943         (CFLAGS-epoll_pwait.o): This.
24944         (CFLAGS-mmap.c): Renamed to ...
24945         (CFLAGS-mmap.o): This.
24946         (CFLAGS-mmap64.c): Renamed to ...
24947         (CFLAGS-mmap64.o): This.
24948         (CFLAGS-epoll_pwait.os): New.
24949         (CFLAGS-mmap.os): Likewise.
24950         (CFLAGS-mmap64.os): Likewise.
24951         (CFLAGS-semtimedop.os): Likewise.
24952         (CFLAGS-semtimedop.c): Renamed to ...
24953         (CFLAGS-semtimedop.o): This.
24955 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24957         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24958         warning message.
24960 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24962         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24963         * Makefile ($(objpfx)c++-types-check.out): Filter out
24964         $(+gccwarn-c) instead of -Wstrict-prototypes.
24966         * io/fts.c (fts_open): Convert to prototype-style function
24967         definition.
24968         * malloc/mcheck.c (mcheck): Likewise.
24969         (mcheck_pedantic): Likewise.
24970         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24971         internal_function.
24972         (re_search_internal): Likewise.
24973         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24974         prototype-style function definition.
24975         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24976         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24977         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24978         (xdr_utmpptr): Likewise.
24979         (xdr_utmparr): Likewise.
24980         (xdr_utmpidle): Likewise.
24981         (xdr_utmpidleptr): Likewise.
24982         (xdr_utmpidlearr): Likewise.
24984         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24985         log, log10 and log2.
24986         * math/auto-libm-test-out: Regenerated.
24987         * math/libm-test.inc (fmod_test_data): Add more tests.
24988         (fpclassify_test_data): Likewise.
24989         (frexp_test_data): Likewise.
24990         (hypot_test_data): Likewise.
24991         (ilogb_test_data): Likewise.
24993 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24995         * debug/fortify_fail.c (__fortify_fail): Convert to
24996         prototype-style function definition.  Use internal_function.
24997         * libio/genops.c (save_for_backup): Convert to prototype-style
24998         function definition.
24999         * libio/wgenops.c (save_for_wbackup): Likewise.
25000         * login/grantpt.c (grantpt): Likewise.
25001         * login/ptsname.c (ptsname): Likewise.
25002         (__ptsname_r): Likewise.
25003         * login/unlockpt.c (unlockpt): Likewise.
25004         * mach/msgserver.c (__mach_msg_server): Likewise.
25005         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25006         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25007         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25008         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25009         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25010         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25011         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25012         Likewise.
25013         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25014         internal_function.
25015         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25016         prototype-style function definition.
25017         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25018         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25019         (__pthread_create_2_0): Likewise.
25020         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25021         * nptl/register-atfork.c (__register_atfork): Likewise.
25022         * posix/glob.c (glob): Likewise.
25023         * posix/regcomp.c (re_comp): Likewise.
25024         * posix/regexec.c (re_exec): Likewise.
25025         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25026         [!__STDC__]: Remove conditional code.
25027         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25028         [!__STDC__]: Remove conditional code.
25029         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25030         [!__STDC__]: Remove conditional code.
25031         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25032         [!__STDC__]: Remove conditional code.
25033         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25034         [!__STDC__]: Remove conditional code.
25035         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25036         [!__STDC__]: Remove conditional code.
25037         * stdlib/mul.c [__STDC__]: Make code unconditional.
25038         [!__STDC__]: Remove conditional code.
25039         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25040         [!__STDC__]: Remove conditional code.
25041         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25042         [!__STDC__]: Remove conditional code.
25043         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25044         function definition.
25045         (STRTOF): Likewise.
25046         * stdlib/strtod_l.c (__STRTOF): Likewise.
25047         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25048         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25049         (__strtol_l): Likewise.
25050         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25051         [!__STDC__]: Remove conditional code.
25052         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25053         definition.
25054         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25055         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25056         type.
25057         (__strcasecmp): Convert to prototype-style function definition.
25058         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25059         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25060         type.
25061         (__strncasecmp): Convert to prototype-style function definition.
25062         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25063         * sunrpc/xdr.c (xdr_union): Likewise.
25064         * sunrpc/xdr_array.c (xdr_array): Likewise.
25065         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25066         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25067         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25068         Likewise.
25069         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25070         Likewise.
25071         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25072         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25073         Likewise.
25074         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25075         (LOCALE_PARAM_PROTO): Likewise.
25076         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25077         argument type.
25078         (ut_argument_spec): Remove macro.
25079         (ut_argument_spec_iso): Rename to ut_argument_spec.
25080         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
25081         prototype-style function definition.
25082         (memcpy_uppcase): Likewise.
25083         (__strftime_internal): Likewise.
25084         (my_strftime): Likewise.
25085         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25086         (LOCALE_PARAM_DECL): Likewise.
25087         [_LIBC] (LOCALE_PARAM): Include argument type.
25088         (__strptime_internal): Convert to prototype-style function
25089         definition.
25090         (strptime): Likewise.
25091         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25092         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25093         type.
25094         (__wcscasecmp): Convert to prototype-style function definition.
25095         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25096         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25097         type.
25098         (__wcsncasecmp): Convert to prototype-style function definition.
25100         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25101         function definition.
25102         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25103         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25104         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25105         * elf/dl-minimal.c (_itoa): Likewise.
25106         * hurd/hurdmalloc.c (malloc): Likewise.
25107         (free): Likewise.
25108         (realloc): Likewise.
25109         * inet/inet6_option.c (inet6_option_space): Likewise.
25110         (inet6_option_init): Likewise.
25111         (inet6_option_append): Likewise.
25112         (inet6_option_alloc): Likewise.
25113         (inet6_option_next): Likewise.
25114         (inet6_option_find): Likewise.
25115         * io/ftw.c (FTW_NAME): Likewise.
25116         (NFTW_NAME): Likewise.
25117         (NFTW_NEW_NAME): Likewise.
25118         (NFTW_OLD_NAME): Likewise.
25119         * libio/iofwide.c (_IO_fwide): Likewise.
25120         * libio/strops.c (_IO_str_init_static_internal): Likewise.
25121         (_IO_str_init_static): Likewise.
25122         (_IO_str_init_readonly): Likewise.
25123         (_IO_str_overflow): Likewise.
25124         (_IO_str_underflow): Likewise.
25125         (_IO_str_count): Likewise.
25126         (_IO_str_seekoff): Likewise.
25127         (_IO_str_pbackfail): Likewise.
25128         (_IO_str_finish): Likewise.
25129         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25130         (_IO_wstr_overflow): Likewise.
25131         (_IO_wstr_underflow): Likewise.
25132         (_IO_wstr_count): Likewise.
25133         (_IO_wstr_seekoff): Likewise.
25134         (_IO_wstr_pbackfail): Likewise.
25135         (_IO_wstr_finish): Likewise.
25136         * locale/programs/localedef.c (normalize_codeset): Likewise.
25137         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25138         (add_locales_to_archive): Likewise.
25139         (delete_locales_from_archive): Likewise.
25140         * malloc/malloc.c (__libc_mallinfo): Likewise.
25141         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25142         * misc/tsearch.c (__tfind): Likewise.
25143         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25144         * nptl/pthread_attr_getdetachstate.c
25145         (__pthread_attr_getdetachstate): Likewise.
25146         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25147         Likewise.
25148         * nptl/pthread_attr_getinheritsched.c
25149         (__pthread_attr_getinheritsched): Likewise.
25150         * nptl/pthread_attr_getschedparam.c
25151         (__pthread_attr_getschedparam): Likewise.
25152         * nptl/pthread_attr_getschedpolicy.c
25153         (__pthread_attr_getschedpolicy): Likewise.
25154         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25155         Likewise.
25156         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25157         Likewise.
25158         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25159         Likewise.
25160         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25161         Likewise.
25162         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25163         (__pthread_attr_init_2_0): Likewise.
25164         * nptl/pthread_attr_setdetachstate.c
25165         (__pthread_attr_setdetachstate): Likewise.
25166         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25167         Likewise.
25168         * nptl/pthread_attr_setinheritsched.c
25169         (__pthread_attr_setinheritsched): Likewise.
25170         * nptl/pthread_attr_setschedparam.c
25171         (__pthread_attr_setschedparam): Likewise.
25172         * nptl/pthread_attr_setschedpolicy.c
25173         (__pthread_attr_setschedpolicy): Likewise.
25174         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25175         Likewise.
25176         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25177         Likewise.
25178         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25179         Likewise.
25180         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25181         Likewise.
25182         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25183         Likewise.
25184         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25185         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25186         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25187         use internal_function.
25188         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25189         prototype-style function definition.
25190         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25191         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
25192         internal_function.
25193         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25194         Convert to prototype-style function definition.
25195         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25196         Likewise.
25197         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25198         Likewise.
25199         (__pthread_mutex_unlock): Likewise.
25200         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25201         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25202         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25203         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25204         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25205         * nss/makedb.c (process_input): Likewise.
25206         * posix/fnmatch.c (__strchrnul): Likewise.
25207         (__wcschrnul): Likewise.
25208         (fnmatch): Likewise.
25209         * posix/fnmatch_loop.c (FCT): Likewise.
25210         * posix/glob.c (globfree): Likewise.
25211         (__glob_pattern_type): Likewise.
25212         (__glob_pattern_p): Likewise.
25213         * posix/regcomp.c (re_compile_pattern): Likewise.
25214         (re_set_syntax): Likewise.
25215         (re_compile_fastmap): Likewise.
25216         (regcomp): Likewise.
25217         (regerror): Likewise.
25218         (regfree): Likewise.
25219         * posix/regexec.c (regexec): Likewise.
25220         (re_match): Likewise.
25221         (re_search): Likewise.
25222         (re_match_2): Likewise.
25223         (re_search_2): Likewise.
25224         (re_search_stub): Likewise.  Use internal_function
25225         (re_copy_regs): Likewise.
25226         (re_set_registers): Convert to prototype-style function
25227         definition.
25228         (prune_impossible_nodes): Likewise.  Use internal_function.
25229         * resolv/inet_net_pton.c (inet_net_pton): Convert to
25230         prototype-style function definition.
25231         (inet_net_pton_ipv4): Likewise.
25232         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25233         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25234         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25235         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25236         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25237         Make variadic.
25238         * time/strptime_l.c (localtime_r): Convert to prototype-style
25239         function definition.
25240         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25241         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25242         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25243         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25245         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25246         definition.
25247         (_ufc_doit_r): Likewise.
25248         * crypt/crypt_util.c (_ufc_copymem): Likewise.
25249         (_ufc_output_conversion_r): Likewise.
25250         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25251         * inet/rcmd.c (rcmd_af): Likewise.
25252         (rcmd): Likewise.
25253         (ruserok_af): Likewise.
25254         (ruserok): Likewise.
25255         (ruserok2_sa): Likewise.
25256         (ruserok_sa): Likewise.
25257         (iruserok_af): Likewise.
25258         (iruserok): Likewise.
25259         (__ivaliduser): Likewise.
25260         (__validuser2_sa): Likewise.
25261         * inet/rexec.c (rexec_af): Likewise.
25262         (rexec): Likewise.
25263         * inet/ruserpass.c (ruserpass): Likewise.
25264         * locale/programs/xmalloc.c (xcalloc): Likewise.
25265         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
25266         * math/w_drem.c (__drem): Likewise.
25267         * math/w_dremf.c (__dremf): Likewise.
25268         * math/w_dreml.c (__dreml): Likewise.
25269         * misc/daemon.c (daemon): Likewise.
25270         * resolv/res_debug.c (p_fqnname): Likewise.
25271         * stdlib/div.c (div): Likewise.
25272         * string/memcmp.c (memcmp_bytes): Likewise.
25273         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25274         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25276         * crypt/cert.c (main): Convert to prototype-style function
25277         definition.
25278         * io/pipe.c (__pipe): Likewise.
25279         * io/pipe2.c (__pipe2): Likewise.
25280         * misc/futimesat.c (futimesat): Likewise.
25281         * misc/utimes.c (__utimes): Likewise.
25282         * posix/execve.c (__execve): Likewise.
25283         * posix/execvp.c (execvp): Likewise.
25284         * posix/execvpe.c (__execvpe): Likewise.
25285         * posix/fexecve.c (fexecve): Likewise.
25286         * socket/socketpair.c (socketpair): Likewise.
25287         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25288         * stdlib/erand48.c (erand48): Likewise.
25289         * stdlib/erand48_r.c (__erand48_r): Likewise.
25290         * stdlib/jrand48.c (jrand48): Likewise.
25291         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25292         * stdlib/lcong48.c (lcong48): Likewise.
25293         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25294         * stdlib/nrand48.c (nrand48): Likewise.
25295         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25296         * stdlib/seed48.c (seed48): Likewise.
25297         * stdlib/seed48_r.c (__seed48_r): Likewise.
25298         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25299         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25300         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25302 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25304         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25305         * configure: Regenerated.
25306         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25307         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25308         unconditional.
25309         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25310         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25311         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25312         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
25313         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
25314         unconditional.
25315         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25317         * posix/Makefile (CFLAGS-regex.c): Remove variable.
25318         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25320         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25321         function definition.
25322         * crypt/crypt_util.c (__encrypt_r): Likewise.
25323         * libio/genops.c (_IO_no_init): Likewise.
25324         * libio/iofopncook.c (_IO_fopencookie): Likewise.
25325         (_IO_old_fopencookie): Likewise.
25326         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25327         * libio/iogetline.c (_IO_getline): Likewise.
25328         (_IO_getline_info): Likewise.
25329         * libio/iogetwline.c (_IO_getwline): Likewise.
25330         (_IO_getwline_info): Likewise.
25331         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25332         * libio/vswprintf.c (_IO_vswprintf): Likewise.
25333         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25334         (find_entry): Likewise.
25335         (iterate_table): Likewise.
25336         (lookup): Likewise.
25337         * login/forkpty.c (forkpty): Likewise.
25338         * misc/hsearch_r.c (__hsearch_r): Likewise.
25339         * misc/select.c (__select): Likewise.
25340         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25341         Likewise.
25342         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25343         Likewise.
25344         * nptl/old_pthread_cond_timedwait.c
25345         (__pthread_cond_timedwait_2_0): Likewise.
25346         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25347         * nptl/pthread_barrierattr_getpshared.c
25348         (pthread_barrierattr_getpshared): Likewise.
25349         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25350         Likewise.
25351         * nptl/pthread_mutex_setprioceiling.c
25352         (pthread_mutex_setprioceiling): Likewise.
25353         * nptl/pthread_mutexattr_getprioceiling.c
25354         (pthread_mutexattr_getprioceiling): Likewise.
25355         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25356         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25357         Likewise.
25358         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25359         Likewise.
25360         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25361         Likewise.
25362         * socket/recvfrom.c (__recvfrom): Likewise.
25363         * socket/sendto.c (__sendto): Likewise.
25364         * socket/setsockopt.c (__setsockopt): Likewise.
25365         * stdio-common/_itoa.c (_itoa): Likewise.
25366         * stdio-common/_itowa.c (_itowa): Likewise.
25367         * stdio-common/reg-printf.c (__register_printf_specifier):
25368         Likewise.
25369         (__register_printf_function): Likewise.
25370         * stdio-common/tempname.c (__path_search): Likewise.
25371         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25372         * stdlib/mul_1.c (mpn_mul_1): Likewise.
25373         * stdlib/random_r.c (__initstate_r): Likewise.
25374         * stdlib/setenv.c (__add_to_environ): Likewise.
25375         * stdlib/submul_1.c (mpn_submul_1): Likewise.
25376         * streams/getpmsg.c (getpmsg): Likewise.
25377         * streams/putmsg.c (putmsg): Likewise.
25378         * streams/putpmsg.c (putpmsg): Likewise.
25379         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25380         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25381         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25382         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25383         * sunrpc/pm_getport.c (pmap_getport): Likewise.
25384         * sunrpc/svc_udp.c (cache_get): Likewise.
25385         * sunrpc/xdr_array.c (xdr_vector): Likewise.
25386         * sysdeps/mach/hurd/getcwd.c
25387         (__canonicalize_directory_name_internal): Likewise.
25388         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25389         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25390         * sysdeps/mach/hurd/select.c (__select): Likewise.
25391         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25392         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25393         * sysdeps/sparc/nptl/pthread_barrier_init.c
25394         (__pthread_barrier_init): Likewise.
25395         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25396         (__pthread_cond_timedwait): Likewise.
25397         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25398         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25399         Likewise.
25400         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25401         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25402         Likewise.
25403         * sysvipc/semtimedop.c (semtimedop): Likewise.
25404         * time/setitimer.c (__setitimer): Likewise.
25405         * time/strftime_l.c (emacs_strftime): Likewise.
25407 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25409         * config.make.in (have-ssp): Delete.
25410         (stack-protector): New variable.
25411         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
25412         cache test for -fstack-protector-strong.  Export stack_protector to
25413         the best ssp flag.
25414         * configure: Regenerated.
25415         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25416         * nscd/Makefile (CFLAGS-nscd): Likewise.
25417         * resolv/Makefile (CFLAGS-libresolv): Likewise.
25419 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
25421         [BZ #19122]
25422         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25423         attribute_hidden.
25425 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25427         [BZ #18743]
25428         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25429         code to...
25430         (ELIDE_LOCK): ...here.
25431         (__get_new_count): New function with part of the code from
25432         __elide_lock that updates the value of adapt_count after a
25433         transaction abort.
25434         (__elided_trylock): Moved this code to...
25435         (ELIDE_TRYLOCK): ...here.
25437 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25439         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25440         * configure: Regenerate.
25441         * INSTALL: Regenerate.
25442         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25443         and tweak grammar.
25445 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25447         * login/programs/pt_chown.c: Include signal.h
25448         (main): Clear any signal mask from the parent process.
25450 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25452         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25453         * configure: Regenerated.
25454         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25455         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25456         $(gnu89-inline-CFLAGS).
25458         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25459         test.
25460         (libc_cv_asm_weakext_directive): Likewise.
25461         * configure: Regenerated.
25462         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25463         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25464         * include/libc-symbols.h
25465         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25466         #error.
25467         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25468         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25470         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25471         prototype-style function definition.
25472         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25473         * sysdeps/i386/ffs.c (__ffs): Likewise.
25474         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25475         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25476         Likewise.
25477         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25478         Likewise.
25479         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25480         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25481         Likewise.
25482         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25483         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25484         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25485         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25486         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25487         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25488         * sysdeps/mach/hurd/access.c (__access): Likewise.
25489         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25490         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25491         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25492         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25493         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25494         (cthread_getspecific): Likewise.
25495         (cthread_setspecific): Likewise.
25496         (__libc_getspecific): Likewise.
25497         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25498         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25499         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25500         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25501         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25502         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25503         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25504         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25505         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25506         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25507         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25508         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25509         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25510         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25511         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25512         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25513         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25514         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25515         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25516         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25517         * sysdeps/mach/hurd/link.c (__link): Likewise.
25518         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25519         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25520         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25521         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25522         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25523         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25524         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25525         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25526         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25527         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25528         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25529         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25530         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25531         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25532         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25533         * sysdeps/mach/hurd/send.c (__send): Likewise.
25534         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25535         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25536         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25537         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25538         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25539         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25540         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25541         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25542         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25543         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25544         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25545         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25546         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25547         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25548         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25549         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25550         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25551         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25552         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25553         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25554         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25555         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25556         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25557         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25558         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25559         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25560         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25561         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25562         * sysdeps/posix/alarm.c (alarm): Likewise.
25563         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25564         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25565         * sysdeps/posix/dup.c (__dup): Likewise.
25566         * sysdeps/posix/dup2.c (__dup2): Likewise.
25567         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25568         (main): Likewise.
25569         * sysdeps/posix/flock.c (__flock): Likewise.
25570         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25571         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25572         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25573         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25574         * sysdeps/posix/isatty.c (__isatty): Likewise.
25575         * sysdeps/posix/killpg.c (killpg): Likewise.
25576         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25577         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25578         * sysdeps/posix/raise.c (raise): Likewise.
25579         * sysdeps/posix/remove.c (remove): Likewise.
25580         * sysdeps/posix/rename.c (rename): Likewise.
25581         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25582         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25583         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25584         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25585         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25586         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25587         * sysdeps/posix/sigset.c (sigset): Likewise.
25588         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25589         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25590         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25591         * sysdeps/posix/time.c (time): Likewise.
25592         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25593         (ttyname): Likewise.
25594         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25595         * sysdeps/posix/utime.c (utime): Likewise.
25596         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25597         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25598         Likewise.
25599         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25600         (pthread_spin_trylock): Likewise.
25601         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25602         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25603         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25604         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25605         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25606         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25607         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25608         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25609         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25610         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25611         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25612         * sysdeps/s390/ffs.c (__ffs): Likewise.
25613         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25614         Likewise.
25615         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25616         Likewise.
25617         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25618         Likewise.
25619         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25620         (pthread_barrier_destroy): Likewise.
25621         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25622         (__pthread_barrier_wait): Likewise.
25623         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25624         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25625         (__pthread_barrier_wait): Likewise.
25626         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25627         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25628         (memcmp_not_common_alignment): Likewise.
25629         (MEMCMP): Likewise.
25630         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25631         (_wordcopy_fwd_dest_aligned): Likewise.
25632         (_wordcopy_bwd_aligned): Likewise.
25633         (_wordcopy_bwd_dest_aligned): Likewise.
25634         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25635         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25636         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25637         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25638         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25639         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25640         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25641         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25642         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25643         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25644         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25645         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25646         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25647         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25648         * sysdeps/unix/stime.c (stime): Likewise.
25649         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25650         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25651         Likewise.  Use internal_function.
25652         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25653         Convert to prototype-style function definition.
25654         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25655         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25656         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25657         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25658         Likewise.  Use internal_function.
25659         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25660         prototype-style function definition
25661         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25662         Likewise.
25663         (__getlogin_r): Likewise.
25664         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25665         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25666         (__pthread_cond_broadcast): Likewise.
25667         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25668         (__pthread_cond_destroy): Likewise.
25669         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25670         (__pthread_cond_init): Likewise.
25671         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25672         (__pthread_cond_signal): Likewise.
25673         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25674         (__pthread_cond_wait): Likewise.
25675         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25676         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25677         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25678         Likewise.
25679         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25680         Likewise.
25681         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25682         Likewise.
25683         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25684         Likewise.
25685         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25687         (__ftruncate64): Likewise.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25689         (truncate64): Likewise.
25690         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25691         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25692         (pthread_getcpuclockid): Likewise.
25693         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25694         Likewise.
25695         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25696         Likewise.
25697         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25698         Likewise.
25699         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25700         Likewise.
25701         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25702         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25703         (__libc_sigaction): Likewise.
25704         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25705         Likewise.
25706         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25707         (__sigprocmask): Likewise.
25708         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25709         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25710         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25711         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25712         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25713         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25714         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25715         Likewise.
25716         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25717         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25718         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25719         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25720         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25721         Likewise.
25722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25723         (__sigprocmask): Likewise.
25724         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25725         (cfgetispeed): Likewise.
25726         (cfsetospeed): Likewise.
25727         (cfsetispeed): Likewise.
25728         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25729         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25730         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25731         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25732         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25733         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25734         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25735         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25736         Likewise.
25737         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25738         Likewise.
25739         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25740         Likewise.
25741         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25742         Likewise.
25743         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25745 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25747         sunrpc: Rewrite with explicit TLS access using __thread.
25748         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25749         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25750         directly.
25751         (__rpc_thread_variables): Access thread_rpc_vars directly.
25752         Eliminate redundant assignment of the tvp variable.
25754 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25756         malloc: Rewrite with explicit TLS access using __thread.
25757         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25758         (tsd_setspecific, tsd_getspecific): Remove.
25759         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25760         (tsd_setspecific, tsd_getspecific): Likewise.
25761         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25762         (tsd_setspecific, tsd_getspecific): Likewise.
25763         * malloc/arena.c (thread_arena): New TLS variable.
25764         (arena_key): Remove variable.
25765         (arena_get): Use thread_arena.
25766         (arena_lookup): Remove macro.
25767         (malloc_atfork, free_atfork, ptmalloc_lock_all)
25768         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25769         (_int_new_arena, get_free_list, reused_arena)
25770         (arena_thread_freeres): Use thread_arena.
25771         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25772         tsd_getspecific, tsd_setspecific from safety annotations.
25773         (Allocating Cleared Space): Remove arena_lookup from safety
25774         annotations.
25776 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25778         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25779         struct scratch_buffer instead of extend_alloca.
25781 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25783         * sysdeps/unix/sysv/linux/kernel-features.h
25784         (__ASSUME_SOCK_CLOEXEC): Remove.
25785         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25786         (__have_paccept): Remove unused macro.
25787         * include/unistd.h (__have_sock_cloexec): Remove declaration.
25788         * misc/syslog.c (openlog_internal): Remove fallback code for
25789         !__ASSUME_SOCK_CLOEXEC.
25790         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25791         missing SOCK_CLOEXEC.
25792         * nscd/connections.c (have_sock_cloexec): Remove definition.
25793         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25794         * nscd/nscd_helper.c (open_socket): Remove fallback code for
25795         !__ASSUME_SOCK_CLOEXEC.
25796         * resolv/res_send.c (__have_o_nonblock): Remove definition.
25797         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25798         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25799         definition.
25800         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25801         code for !__ASSUME_SOCK_CLOEXEC.
25803 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25805         [BZ #18982]
25806         * manual/stdio.texi (Variable Arguments Output): Add portability
25807         note, explaining that vfprintf clobbers the va_list pointer.
25809 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25811         * math/libm-test.inc (fabs_test_data): Add more tests.
25812         (fdim_test_data): Likewise.
25813         (fma_test_data): Likewise.
25814         (fmax_test_data): Likewise.
25815         (fmin_test_data): Likewise.
25816         (fmod_test_data): Likewise.
25818 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25820         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25821         data.
25823 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25825         * math/libm-test.inc (ceil_test_data): Add more tests and more
25826         expectations for "inexact".
25827         (floor_test_data): Add more tests.
25828         (round_test_data): Likewise.
25829         (trunc_test_data): Likewise.
25831         * crypt/cert.c (good_bye): Convert to prototype-style function
25832         definition.
25833         (get8): Likewise.
25834         (put8): Likewise.
25835         * crypt/crypt-entry.c (crypt): Likewise.
25836         (__fcrypt): Likewise.
25837         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25838         (_ufc_set_bits): Likewise.
25839         (_ufc_clearmem): Likewise.
25840         (__init_des_r): Likewise.
25841         (shuffle_sb): Likewise.
25842         (shuffle_sb): Likewise.
25843         (_ufc_setup_salt_r): Likewise.
25844         (_ufc_mk_keytab_r): Likewise.
25845         (_ufc_dofinalperm_r): Likewise.
25846         (encrypt): Likewise.
25847         (__setkey_r): Likewise.
25848         (setkey): Likewise.
25849         * crypt/md5.c (md5_init_ctx): Likewise.
25850         (md5_read_ctx): Likewise.
25851         (md5_finish_ctx): Likewise.
25852         (md5_stream): Likewise.
25853         (md5_buffer): Likewise.
25854         (md5_process_bytes): Likewise.
25855         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25856         (__sha256_finish_ctx): Likewise.
25857         (__sha256_process_bytes): Likewise.
25858         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25859         (__sha512_finish_ctx): Likewise.
25860         (__sha512_process_bytes): Likewise.
25861         * ctype/isctype.c (__isctype): Likewise.
25862         * debug/backtrace.c (__backtrace): Likewise.
25863         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25864         * debug/fgets_chk.c (__fgets_chk): Likewise.
25865         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25866         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25867         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25868         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25869         * debug/memset_chk.c (__memset_chk): Likewise.
25870         * debug/strcat_chk.c (__strcat_chk): Likewise.
25871         * debug/strncat_chk.c (__strncat_chk): Likewise.
25872         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25873         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25874         * dirent/dirfd.c (dirfd): Likewise.
25875         * dirent/getdents.c (__getdirentries): Likewise.
25876         * dirent/getdents64.c (getdirentries64): Likewise.
25877         * dirent/rewinddir.c (__rewinddir): Likewise.
25878         * dirent/seekdir.c (seekdir): Likewise.
25879         * dirent/telldir.c (telldir): Likewise.
25880         * elf/sln.c (makesymlinks): Likewise.
25881         (makesymlink): Likewise.
25882         * gmon/gmon.c (__moncontrol): Likewise.
25883         (__monstartup): Likewise.
25884         (write_hist): Likewise.
25885         (write_call_graph): Likewise.
25886         (write_bb_counts): Likewise.
25887         * grp/setgroups.c (setgroups): Likewise.
25888         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25889         * inet/inet_net.c (inet_network): Likewise.
25890         * inet/inet_netof.c (inet_netof): Likewise.
25891         * inet/rcmd.c (rresvport_af): Likewise.
25892         (rresvport): Likewise.
25893         * io/access.c (__access): Likewise.
25894         * io/chdir.c (__chdir): Likewise.
25895         * io/chmod.c (__chmod): Likewise.
25896         * io/chown.c (__chown): Likewise.
25897         * io/close.c (__close): Likewise.
25898         * io/creat.c (creat): Likewise.
25899         * io/creat64.c (creat64): Likewise.
25900         * io/dup.c (__dup): Likewise.
25901         * io/dup2.c (__dup2): Likewise.
25902         * io/dup3.c (__dup3): Likewise.
25903         * io/euidaccess.c (__euidaccess): Likewise.
25904         * io/faccessat.c (faccessat): Likewise.
25905         * io/fchmod.c (__fchmod): Likewise.
25906         * io/fchmodat.c (fchmodat): Likewise.
25907         * io/fchown.c (__fchown): Likewise.
25908         * io/fchownat.c (fchownat): Likewise.
25909         * io/fcntl.c (__fcntl): Likewise.
25910         * io/flock.c (__flock): Likewise.
25911         * io/fts.c (fts_load): Likewise.
25912         (fts_close): Likewise.
25913         (fts_read): Likewise.
25914         (fts_set): Likewise.
25915         (fts_children): Likewise.
25916         (fts_build): Likewise.
25917         (fts_stat): Likewise.
25918         (fts_sort): Likewise.
25919         (fts_alloc): Likewise.
25920         (fts_lfree): Likewise.
25921         (fts_palloc): Likewise.
25922         (fts_padjust): Likewise.
25923         (fts_maxarglen): Likewise.
25924         (fts_safe_changedir): Likewise.
25925         * io/getwd.c (getwd): Likewise.
25926         * io/isatty.c (__isatty): Likewise.
25927         * io/lchown.c (__lchown): Likewise.
25928         * io/link.c (__link): Likewise.
25929         * io/linkat.c (linkat): Likewise.
25930         * io/lseek.c (__libc_lseek): Likewise.
25931         * io/mkdir.c (__mkdir): Likewise.
25932         * io/mkdirat.c (mkdirat): Likewise.
25933         * io/mkfifo.c (mkfifo): Likewise.
25934         * io/mkfifoat.c (mkfifoat): Likewise.
25935         * io/open.c (__libc_open): Likewise.
25936         * io/open64.c (__libc_open64): Likewise.
25937         * io/readlink.c (__readlink): Likewise.
25938         * io/readlinkat.c (readlinkat): Likewise.
25939         * io/rmdir.c (__rmdir): Likewise.
25940         * io/symlink.c (__symlink): Likewise.
25941         * io/symlinkat.c (symlinkat): Likewise.
25942         * io/ttyname.c (ttyname): Likewise.
25943         * io/ttyname_r.c (__ttyname_r): Likewise.
25944         * io/umask.c (__umask): Likewise.
25945         * io/unlink.c (__unlink): Likewise.
25946         * io/unlinkat.c (unlinkat): Likewise.
25947         * io/utime.c (utime): Likewise.
25948         * libio/clearerr.c (clearerr): Likewise.
25949         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25950         * libio/feof.c (_IO_feof): Likewise.
25951         * libio/feof_u.c (feof_unlocked): Likewise.
25952         * libio/ferror.c (_IO_ferror): Likewise.
25953         * libio/ferror_u.c (ferror_unlocked): Likewise.
25954         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25955         * libio/fileno.c (__fileno): Likewise.
25956         * libio/fputc.c (fputc): Likewise.
25957         * libio/fputc_u.c (fputc_unlocked): Likewise.
25958         * libio/fputwc.c (fputwc): Likewise.
25959         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25960         * libio/freopen.c (freopen): Likewise.
25961         * libio/freopen64.c (freopen64): Likewise.
25962         * libio/fseek.c (fseek): Likewise.
25963         * libio/fseeko.c (fseeko): Likewise.
25964         * libio/fseeko64.c (fseeko64): Likewise.
25965         * libio/ftello.c (__ftello): Likewise.
25966         * libio/ftello64.c (ftello64): Likewise.
25967         * libio/fwide.c (fwide): Likewise.
25968         * libio/genops.c (_IO_un_link): Likewise.
25969         (_IO_link_in): Likewise.
25970         (_IO_least_marker): Likewise.
25971         (_IO_switch_to_main_get_area): Likewise.
25972         (_IO_switch_to_backup_area): Likewise.
25973         (_IO_switch_to_get_mode): Likewise.
25974         (_IO_free_backup_area): Likewise.
25975         (_IO_switch_to_put_mode): Likewise.
25976         (__overflow): Likewise.
25977         (__underflow): Likewise.
25978         (__uflow): Likewise.
25979         (_IO_setb): Likewise.
25980         (_IO_doallocbuf): Likewise.
25981         (_IO_default_underflow): Likewise.
25982         (_IO_default_uflow): Likewise.
25983         (_IO_default_xsputn): Likewise.
25984         (_IO_sgetn): Likewise.
25985         (_IO_default_xsgetn): Likewise.
25986         (_IO_sync): Likewise.
25987         (_IO_default_setbuf): Likewise.
25988         (_IO_default_seekpos): Likewise.
25989         (_IO_default_doallocate): Likewise.
25990         (_IO_init): Likewise.
25991         (_IO_old_init): Likewise.
25992         (_IO_default_sync): Likewise.
25993         (_IO_default_finish): Likewise.
25994         (_IO_default_seekoff): Likewise.
25995         (_IO_sputbackc): Likewise.
25996         (_IO_sungetc): Likewise.
25997         (_IO_set_column): Likewise.
25998         (_IO_set_column): Likewise.
25999         (_IO_adjust_column): Likewise.
26000         (_IO_get_column): Likewise.
26001         (_IO_init_marker): Likewise.
26002         (_IO_remove_marker): Likewise.
26003         (_IO_marker_difference): Likewise.
26004         (_IO_marker_delta): Likewise.
26005         (_IO_seekmark): Likewise.
26006         (_IO_unsave_markers): Likewise.
26007         (_IO_nobackup_pbackfail): Likewise.
26008         (_IO_default_pbackfail): Likewise.
26009         (_IO_default_seek): Likewise.
26010         (_IO_default_stat): Likewise.
26011         (_IO_default_read): Likewise.
26012         (_IO_default_write): Likewise.
26013         (_IO_default_showmanyc): Likewise.
26014         (_IO_default_imbue): Likewise.
26015         (_IO_iter_next): Likewise.
26016         (_IO_iter_file): Likewise.
26017         * libio/getc.c (_IO_getc): Likewise.
26018         * libio/getwc.c (_IO_getwc): Likewise.
26019         * libio/iofclose.c (_IO_new_fclose): Likewise.
26020         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26021         * libio/iofflush.c (_IO_fflush): Likewise.
26022         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26023         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26024         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26025         * libio/iofgets.c (_IO_fgets): Likewise.
26026         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26027         * libio/iofgetws.c (fgetws): Likewise.
26028         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26029         * libio/iofopen64.c (_IO_fopen64): Likewise.
26030         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26031         (_IO_cookie_write): Likewise.
26032         (_IO_cookie_seek): Likewise.
26033         (_IO_cookie_close): Likewise.
26034         (_IO_cookie_seekoff): Likewise.
26035         (_IO_old_cookie_seek): Likewise.
26036         * libio/iofputs.c (_IO_fputs): Likewise.
26037         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26038         * libio/iofputws.c (fputws): Likewise.
26039         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26040         * libio/iofread.c (_IO_fread): Likewise.
26041         * libio/iofread_u.c (__fread_unlocked): Likewise.
26042         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26043         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26044         * libio/ioftell.c (_IO_ftell): Likewise.
26045         * libio/iofwrite.c (_IO_fwrite): Likewise.
26046         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26047         * libio/iogets.c (_IO_gets): Likewise.
26048         * libio/iopadn.c (_IO_padn): Likewise.
26049         * libio/iopopen.c (_IO_new_proc_open): Likewise.
26050         (_IO_new_popen): Likewise.
26051         (_IO_new_proc_close): Likewise.
26052         * libio/ioputs.c (_IO_puts): Likewise.
26053         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26054         (_IO_seekoff): Likewise.
26055         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26056         (_IO_seekpos): Likewise.
26057         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26058         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26059         * libio/ioungetc.c (_IO_ungetc): Likewise.
26060         * libio/ioungetwc.c (ungetwc): Likewise.
26061         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26062         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26063         * libio/iowpadn.c (_IO_wpadn): Likewise.
26064         * libio/libc_fatal.c (__libc_fatal): Likewise.
26065         * libio/memstream.c (__open_memstream): Likewise.
26066         (_IO_mem_sync): Likewise.
26067         (_IO_mem_finish): Likewise.
26068         * libio/oldfileops.c (_IO_old_file_init): Likewise.
26069         (_IO_old_file_close_it): Likewise.
26070         (_IO_old_file_finish): Likewise.
26071         (_IO_old_file_fopen): Likewise.
26072         (_IO_old_file_attach): Likewise.
26073         (_IO_old_file_setbuf): Likewise.
26074         (_IO_old_do_write): Likewise.
26075         (old_do_write): Likewise.
26076         (_IO_old_file_underflow): Likewise.
26077         (_IO_old_file_overflow): Likewise.
26078         (_IO_old_file_sync): Likewise.
26079         (_IO_old_file_seekoff): Likewise.
26080         (_IO_old_file_write): Likewise.
26081         (_IO_old_file_xsputn): Likewise.
26082         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26083         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26084         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26085         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26086         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26087         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26088         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26089         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26090         (_IO_old_popen): Likewise.
26091         (_IO_old_proc_close): Likewise.
26092         * libio/oldpclose.c (__old_pclose): Likewise.
26093         * libio/pclose.c (__new_pclose): Likewise.
26094         * libio/peekc.c (_IO_peekc_locked): Likewise.
26095         * libio/putc.c (_IO_putc): Likewise.
26096         * libio/putc_u.c (putc_unlocked): Likewise.
26097         * libio/putchar.c (putchar): Likewise.
26098         * libio/putchar_u.c (putchar_unlocked): Likewise.
26099         * libio/putwc.c (putwc): Likewise.
26100         * libio/putwc_u.c (putwc_unlocked): Likewise.
26101         * libio/putwchar.c (putwchar): Likewise.
26102         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26103         * libio/rewind.c (rewind): Likewise.
26104         * libio/setbuf.c (setbuf): Likewise.
26105         * libio/setlinebuf.c (setlinebuf): Likewise.
26106         * libio/vasprintf.c (_IO_vasprintf): Likewise.
26107         * libio/vscanf.c (_IO_vscanf): Likewise.
26108         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26109         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26110         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26111         * libio/wgenops.c (_IO_least_wmarker): Likewise.
26112         (_IO_switch_to_main_wget_area): Likewise.
26113         (_IO_switch_to_wbackup_area): Likewise.
26114         (_IO_wsetb): Likewise.
26115         (_IO_wdefault_pbackfail): Likewise.
26116         (_IO_wdefault_finish): Likewise.
26117         (_IO_wdefault_uflow): Likewise.
26118         (__woverflow): Likewise.
26119         (__wuflow): Likewise.
26120         (__wunderflow): Likewise.
26121         (_IO_wdefault_xsputn): Likewise.
26122         (_IO_wdefault_xsgetn): Likewise.
26123         (_IO_wdoallocbuf): Likewise.
26124         (_IO_wdefault_doallocate): Likewise.
26125         (_IO_switch_to_wget_mode): Likewise.
26126         (_IO_free_wbackup_area): Likewise.
26127         (_IO_switch_to_wput_mode): Likewise.
26128         (_IO_sputbackwc): Likewise.
26129         (_IO_sungetwc): Likewise.
26130         (_IO_adjust_wcolumn): Likewise.
26131         (_IO_init_wmarker): Likewise.
26132         (_IO_wmarker_delta): Likewise.
26133         (_IO_seekwmark): Likewise.
26134         (_IO_unsave_wmarkers): Likewise.
26135         * libio/wmemstream.c (open_wmemstream): Likewise.
26136         (_IO_wmem_sync): Likewise.
26137         (_IO_wmem_finish): Likewise.
26138         * locale/nl_langinfo.c (nl_langinfo): Likewise.
26139         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26140         * locale/programs/simple-hash.c (init_hash): Likewise.
26141         (delete_hash): Likewise.
26142         (insert_entry): Likewise.
26143         (set_entry): Likewise.
26144         (next_prime): Likewise.
26145         (is_prime): Likewise.
26146         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26147         (xmalloc): Likewise.
26148         (xrealloc): Likewise.
26149         * locale/programs/xstrdup.c (xstrdup): Likewise.
26150         * localedata/collate-test.c (xstrcoll): Likewise.
26151         * localedata/xfrm-test.c (xstrcmp): Likewise.
26152         * login/getlogin_r.c (__getlogin_r): Likewise.
26153         * login/getpt.c (__posix_openpt): Likewise.
26154         * login/login_tty.c (login_tty): Likewise.
26155         * login/setlogin.c (setlogin): Likewise.
26156         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26157         (mach_msg_destroy_port): Likewise.
26158         (mach_msg_destroy_memory): Likewise.
26159         * malloc/mcheck.c (flood): Likewise.
26160         * misc/acct.c (acct): Likewise.
26161         * misc/brk.c (__brk): Likewise.
26162         * misc/chflags.c (chflags): Likewise.
26163         * misc/chroot.c (chroot): Likewise.
26164         * misc/fchflags.c (fchflags): Likewise.
26165         * misc/fstab.c (getfsspec): Likewise.
26166         (getfsfile): Likewise.
26167         * misc/fsync.c (fsync): Likewise.
26168         * misc/ftruncate.c (__ftruncate): Likewise.
26169         * misc/ftruncate64.c (__ftruncate64): Likewise.
26170         * misc/getdomain.c (getdomainname): Likewise.
26171         (getdomainname): Likewise.
26172         * misc/gethostname.c (__gethostname): Likewise.
26173         * misc/getpass.c (getpass): Likewise.
26174         * misc/getttyent.c (skip): Likewise.
26175         (value): Likewise.
26176         * misc/gtty.c (gtty): Likewise.
26177         * misc/hsearch.c (hsearch): Likewise.
26178         (hcreate): Likewise.
26179         * misc/hsearch_r.c (__hcreate_r): Likewise.
26180         (__hdestroy_r): Likewise.
26181         * misc/ioctl.c (__ioctl): Likewise.
26182         * misc/mkdtemp.c (mkdtemp): Likewise.
26183         * misc/mkostemp.c (mkostemp): Likewise.
26184         * misc/mkostemp64.c (mkostemp64): Likewise.
26185         * misc/mkostemps.c (mkostemps): Likewise.
26186         * misc/mkostemps64.c (mkostemps64): Likewise.
26187         * misc/mkstemp.c (mkstemp): Likewise.
26188         * misc/mkstemp64.c (mkstemp64): Likewise.
26189         * misc/mkstemps.c (mkstemps): Likewise.
26190         * misc/mkstemps64.c (mkstemps64): Likewise.
26191         * misc/mktemp.c (__mktemp): Likewise.
26192         * misc/preadv.c (preadv): Likewise.
26193         * misc/preadv64.c (preadv64): Likewise.
26194         * misc/pwritev.c (pwritev): Likewise.
26195         * misc/pwritev64.c (pwritev64): Likewise.
26196         * misc/readv.c (__readv): Likewise.
26197         * misc/revoke.c (revoke): Likewise.
26198         * misc/setdomain.c (setdomainname): Likewise.
26199         * misc/setegid.c (setegid): Likewise.
26200         * misc/seteuid.c (seteuid): Likewise.
26201         * misc/sethostid.c (sethostid): Likewise.
26202         * misc/sethostname.c (sethostname): Likewise.
26203         * misc/setregid.c (__setregid): Likewise.
26204         * misc/setreuid.c (__setreuid): Likewise.
26205         * misc/sstk.c (sstk): Likewise.
26206         * misc/stty.c (stty): Likewise.
26207         * misc/syscall.c (syscall): Likewise.
26208         * misc/syslog.c (setlogmask): Likewise.
26209         * misc/truncate.c (__truncate): Likewise.
26210         * misc/truncate64.c (truncate64): Likewise.
26211         * misc/ualarm.c (ualarm): Likewise.
26212         * misc/usleep.c (usleep): Likewise.
26213         * misc/ustat.c (ustat): Likewise.
26214         * misc/writev.c (__writev): Likewise.
26215         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26216         * nptl/old_pthread_cond_broadcast.c
26217         (__pthread_cond_broadcast_2_0): Likewise.
26218         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26219         Likewise.
26220         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26221         Likewise.
26222         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26223         Likewise.
26224         * nptl/pt-raise.c (raise): Likewise.
26225         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26226         Likewise.
26227         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26228         * nptl/pthread_barrierattr_destroy.c
26229         (pthread_barrierattr_destroy): Likewise.
26230         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26231         Likewise.
26232         * nptl/pthread_barrierattr_setpshared.c
26233         (pthread_barrierattr_setpshared): Likewise.
26234         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26235         Likewise.
26236         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26237         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26238         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26239         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26240         Likewise.
26241         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26242         Likewise.
26243         * nptl/pthread_condattr_getpshared.c
26244         (pthread_condattr_getpshared): Likewise.
26245         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26246         Likewise.
26247         * nptl/pthread_condattr_setpshared.c
26248         (pthread_condattr_setpshared): Likewise.
26249         * nptl/pthread_detach.c (pthread_detach): Likewise.
26250         * nptl/pthread_equal.c (__pthread_equal): Likewise.
26251         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26252         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26253         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26254         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26255         Likewise.
26256         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26257         Likewise.
26258         * nptl/pthread_mutex_getprioceiling.c
26259         (pthread_mutex_getprioceiling): Likewise.
26260         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
26261         Likewise.
26262         * nptl/pthread_mutexattr_getprotocol.c
26263         (pthread_mutexattr_getprotocol): Likewise.
26264         * nptl/pthread_mutexattr_getpshared.c
26265         (pthread_mutexattr_getpshared): Likewise.
26266         * nptl/pthread_mutexattr_getrobust.c
26267         (pthread_mutexattr_getrobust): Likewise.
26268         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26269         Likewise.
26270         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
26271         Likewise.
26272         * nptl/pthread_mutexattr_setprioceiling.c
26273         (pthread_mutexattr_setprioceiling): Likewise.
26274         * nptl/pthread_mutexattr_setprotocol.c
26275         (pthread_mutexattr_setprotocol): Likewise.
26276         * nptl/pthread_mutexattr_setpshared.c
26277         (pthread_mutexattr_setpshared): Likewise.
26278         * nptl/pthread_mutexattr_setrobust.c
26279         (pthread_mutexattr_setrobust): Likewise.
26280         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26281         Likewise.
26282         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26283         Likewise.
26284         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26285         Likewise.
26286         * nptl/pthread_rwlockattr_getkind_np.c
26287         (pthread_rwlockattr_getkind_np): Likewise.
26288         * nptl/pthread_rwlockattr_getpshared.c
26289         (pthread_rwlockattr_getpshared): Likewise.
26290         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26291         Likewise.
26292         * nptl/pthread_rwlockattr_setkind_np.c
26293         (pthread_rwlockattr_setkind_np): Likewise.
26294         * nptl/pthread_rwlockattr_setpshared.c
26295         (pthread_rwlockattr_setpshared): Likewise.
26296         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26297         Likewise.
26298         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26299         Likewise.
26300         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26301         Likewise.
26302         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26303         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26304         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26305         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26306         * nptl/sem_close.c (sem_close): Likewise.
26307         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26308         * nptl/sem_init.c (__old_sem_init): Likewise.
26309         * nptl/sigaction.c (__sigaction): Likewise.
26310         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26311         * posix/_exit.c (_exit): Likewise.
26312         * posix/alarm.c (alarm): Likewise.
26313         * posix/confstr.c (confstr): Likewise.
26314         * posix/fpathconf.c (__fpathconf): Likewise.
26315         * posix/getgroups.c (__getgroups): Likewise.
26316         * posix/getpgid.c (__getpgid): Likewise.
26317         * posix/group_member.c (__group_member): Likewise.
26318         * posix/pathconf.c (__pathconf): Likewise.
26319         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26320         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26321         * posix/setgid.c (__setgid): Likewise.
26322         * posix/setpgid.c (__setpgid): Likewise.
26323         * posix/setuid.c (__setuid): Likewise.
26324         * posix/sleep.c (__sleep): Likewise.
26325         * posix/sysconf.c (__sysconf): Likewise.
26326         * posix/times.c (__times): Likewise.
26327         * posix/uname.c (__uname): Likewise.
26328         * posix/waitid.c (__waitid): Likewise.
26329         * pwd/getpw.c (__getpw): Likewise.
26330         * resolv/base64.c (b64_pton): Likewise.
26331         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26332         * resolv/gethnamaddr.c (Dprintf): Likewise.
26333         (gethostbyname): Likewise.
26334         (gethostbyname2): Likewise.
26335         (gethostbyaddr): Likewise.
26336         (_sethtent): Likewise.
26337         (_gethtbyname): Likewise.
26338         (_gethtbyname2): Likewise.
26339         (_gethtbyaddr): Likewise.
26340         (map_v4v6_address): Likewise.
26341         (map_v4v6_hostent): Likewise.
26342         (addrsort): Likewise.
26343         (ht_sethostent): Likewise.
26344         (ht_gethostbyname): Likewise.
26345         (ht_gethostbyaddr): Likewise.
26346         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26347         (inet_net_ntop_ipv4): Likewise.
26348         * resolv/inet_neta.c (inet_neta): Likewise.
26349         * resolv/inet_ntop.c (inet_ntop): Likewise.
26350         (inet_ntop4): Likewise.
26351         (inet_ntop6): Likewise.
26352         * resolv/inet_pton.c (__inet_pton): Likewise.
26353         (inet_pton4): Likewise.
26354         (inet_pton6): Likewise.
26355         * resolv/res_debug.c (loc_aton): Likewise.
26356         (loc_ntoa): Likewise.
26357         * resource/getpriority.c (__getpriority): Likewise.
26358         * resource/getrusage.c (__getrusage): Likewise.
26359         * resource/nice.c (nice): Likewise.
26360         * resource/setpriority.c (__setpriority): Likewise.
26361         * resource/setrlimit64.c (setrlimit64): Likewise.
26362         * resource/vlimit.c (vlimit): Likewise.
26363         * resource/vtimes.c (vtimes): Likewise.
26364         * rt/aio_error.c (aio_error): Likewise.
26365         * rt/aio_return.c (aio_return): Likewise.
26366         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26367         * signal/kill.c (__kill): Likewise.
26368         * signal/killpg.c (killpg): Likewise.
26369         * signal/raise.c (raise): Likewise.
26370         * signal/sigaction.c (__sigaction): Likewise.
26371         * signal/sigaddset.c (sigaddset): Likewise.
26372         * signal/sigaltstack.c (sigaltstack): Likewise.
26373         * signal/sigandset.c (sigandset): Likewise.
26374         * signal/sigblock.c (__sigblock): Likewise.
26375         * signal/sigdelset.c (sigdelset): Likewise.
26376         * signal/sigempty.c (sigemptyset): Likewise.
26377         * signal/sigfillset.c (sigfillset): Likewise.
26378         * signal/sighold.c (sighold): Likewise.
26379         * signal/sigignore.c (sigignore): Likewise.
26380         * signal/sigintr.c (siginterrupt): Likewise.
26381         * signal/sigisempty.c (sigisemptyset): Likewise.
26382         * signal/sigismem.c (sigismember): Likewise.
26383         * signal/signal.c (signal): Likewise.
26384         * signal/sigorset.c (sigorset): Likewise.
26385         * signal/sigpause.c (__sigpause): Likewise.
26386         * signal/sigpending.c (sigpending): Likewise.
26387         * signal/sigprocmask.c (__sigprocmask): Likewise.
26388         * signal/sigrelse.c (sigrelse): Likewise.
26389         * signal/sigreturn.c (__sigreturn): Likewise.
26390         * signal/sigset.c (sigset): Likewise.
26391         * signal/sigsetmask.c (__sigsetmask): Likewise.
26392         * signal/sigstack.c (sigstack): Likewise.
26393         * signal/sigsuspend.c (__sigsuspend): Likewise.
26394         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26395         * signal/sysv_signal.c (__sysv_signal): Likewise.
26396         * socket/accept.c (accept): Likewise.
26397         * socket/accept4.c (__libc_accept4): Likewise.
26398         * socket/bind.c (__bind): Likewise.
26399         * socket/connect.c (__connect): Likewise.
26400         * socket/getpeername.c (getpeername): Likewise.
26401         * socket/getsockname.c (__getsockname): Likewise.
26402         * socket/getsockopt.c (getsockopt): Likewise.
26403         * socket/listen.c (__listen): Likewise.
26404         * socket/recv.c (__recv): Likewise.
26405         * socket/recvmsg.c (__recvmsg): Likewise.
26406         * socket/send.c (__send): Likewise.
26407         * socket/sendmsg.c (__sendmsg): Likewise.
26408         * socket/shutdown.c (shutdown): Likewise.
26409         * socket/sockatmark.c (sockatmark): Likewise.
26410         * socket/socket.c (__socket): Likewise.
26411         * stdio-common/ctermid.c (ctermid): Likewise.
26412         * stdio-common/cuserid.c (cuserid): Likewise.
26413         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26414         * stdio-common/remove.c (remove): Likewise.
26415         * stdio-common/rename.c (rename): Likewise.
26416         * stdio-common/renameat.c (renameat): Likewise.
26417         * stdio-common/tempname.c (__gen_tempname): Likewise.
26418         * stdio-common/xbug.c (InitBuffer): Likewise.
26419         (AppendToBuffer): Likewise.
26420         (ReadFile): Likewise.
26421         * stdlib/a64l.c (a64l): Likewise.
26422         * stdlib/drand48_r.c (drand48_r): Likewise.
26423         * stdlib/getcontext.c (getcontext): Likewise.
26424         * stdlib/getenv.c (getenv): Likewise.
26425         * stdlib/l64a.c (l64a): Likewise.
26426         * stdlib/llabs.c (llabs): Likewise.
26427         * stdlib/lldiv.c (lldiv): Likewise.
26428         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26429         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26430         * stdlib/putenv.c (putenv): Likewise.
26431         * stdlib/random.c (__srandom): Likewise.
26432         (__initstate): Likewise.
26433         (__setstate): Likewise.
26434         * stdlib/random_r.c (__srandom_r): Likewise.
26435         (__setstate_r): Likewise.
26436         (__random_r): Likewise.
26437         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26438         * stdlib/setcontext.c (setcontext): Likewise.
26439         * stdlib/setenv.c (setenv): Likewise.
26440         (unsetenv): Likewise.
26441         * stdlib/srand48.c (srand48): Likewise.
26442         * stdlib/srand48_r.c (__srand48_r): Likewise.
26443         * stdlib/swapcontext.c (swapcontext): Likewise.
26444         * stdlib/system.c (__libc_system): Likewise.
26445         * stdlib/tst-strtod.c (expand): Likewise.
26446         * stdlib/tst-strtol.c (expand): Likewise.
26447         * stdlib/tst-strtoll.c (expand): Likewise.
26448         * streams/fattach.c (fattach): Likewise.
26449         * streams/fdetach.c (fdetach): Likewise.
26450         * streams/getmsg.c (getmsg): Likewise.
26451         * streams/isastream.c (isastream): Likewise.
26452         * string/ffs.c (__ffs): Likewise.
26453         * string/ffsll.c (ffsll): Likewise.
26454         * string/memcmp.c (memcmp_common_alignment): Likewise.
26455         (memcmp_not_common_alignment): Likewise.
26456         (MEMCMP): Likewise.
26457         * string/memcpy.c (memcpy): Likewise.
26458         * string/memmove.c (MEMMOVE): Likewise.
26459         * string/memset.c (memset): Likewise.
26460         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26461         * string/strchrnul.c (STRCHRNUL): Likewise.
26462         * string/strerror.c (strerror): Likewise.
26463         * string/strndup.c (__strndup): Likewise.
26464         * string/strverscmp.c (__strverscmp): Likewise.
26465         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26466         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26467         (clnttcp_freeres): Likewise.
26468         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26469         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26470         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26471         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26472         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26473         (xdr_callhdr): Likewise.
26474         * sunrpc/rpcinfo.c (udpping): Likewise.
26475         (tcpping): Likewise.
26476         (pstatus): Likewise.
26477         (pmapdump): Likewise.
26478         (brdcst): Likewise.
26479         (deletereg): Likewise.
26480         (getprognum): Likewise.
26481         (getvers): Likewise.
26482         (get_inet_address): Likewise.
26483         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26484         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26485         (svcudp_stat): Likewise.
26486         (svcudp_recv): Likewise.
26487         (svcudp_reply): Likewise.
26488         (svcudp_getargs): Likewise.
26489         (svcudp_freeargs): Likewise.
26490         (svcudp_destroy): Likewise.
26491         * sunrpc/xdr.c (xdr_bytes): Likewise.
26492         (xdr_netobj): Likewise.
26493         (xdr_string): Likewise.
26494         (xdr_wrapstring): Likewise.
26495         * sunrpc/xdr_float.c (xdr_float): Likewise.
26496         (xdr_double): Likewise.
26497         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26498         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26499         * sysvipc/ftok.c (ftok): Likewise.
26500         * sysvipc/msgctl.c (msgctl): Likewise.
26501         * sysvipc/msgget.c (msgget): Likewise.
26502         * sysvipc/msgrcv.c (msgrcv): Likewise.
26503         * sysvipc/msgsnd.c (msgsnd): Likewise.
26504         * sysvipc/semget.c (semget): Likewise.
26505         * sysvipc/semop.c (semop): Likewise.
26506         * sysvipc/shmat.c (shmat): Likewise.
26507         * sysvipc/shmctl.c (shmctl): Likewise.
26508         * sysvipc/shmdt.c (shmdt): Likewise.
26509         * sysvipc/shmget.c (shmget): Likewise.
26510         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26511         * termios/speed.c (cfgetospeed): Likewise.
26512         (cfgetispeed): Likewise.
26513         (cfsetospeed): Likewise.
26514         (cfsetispeed): Likewise.
26515         * termios/tcflow.c (tcflow): Likewise.
26516         * termios/tcflush.c (tcflush): Likewise.
26517         * termios/tcgetattr.c (__tcgetattr): Likewise.
26518         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26519         * termios/tcgetsid.c (tcgetsid): Likewise.
26520         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26521         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26522         * time/adjtime.c (__adjtime): Likewise.
26523         * time/dysize.c (dysize): Likewise.
26524         * time/ftime.c (ftime): Likewise.
26525         * time/getitimer.c (__getitimer): Likewise.
26526         * time/gettimeofday.c (__gettimeofday): Likewise.
26527         * time/gmtime.c (__gmtime_r): Likewise.
26528         (gmtime): Likewise.
26529         * time/localtime.c (__localtime_r): Likewise.
26530         (localtime): Likewise.
26531         * time/offtime.c (__offtime): Likewise.
26532         * time/settimeofday.c (__settimeofday): Likewise.
26533         * time/stime.c (stime): Likewise.
26534         * time/strftime_l.c (tm_diff): Likewise.
26535         (iso_week_days): Likewise.
26536         * time/strptime.c (strptime): Likewise.
26537         * time/time.c (time): Likewise.
26538         * time/timespec_get.c (timespec_get): Likewise.
26539         * time/tzset.c (tzset_internal): Likewise.
26540         (compute_change): Likewise.
26541         (__tz_compute): Likewise.
26542         * wcsmbs/btowc.c (__btowc): Likewise.
26543         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26544         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26545         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26546         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26547         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26548         * wcsmbs/wcscat.c (__wcscat): Likewise.
26549         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26550         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26551         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26552         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26553         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26554         * wcsmbs/wcslen.c (__wcslen): Likewise.
26555         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26556         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26557         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26558         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26559         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26560         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26561         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26562         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26563         * wcsmbs/wcstok.c (wcstok): Likewise.
26564         * wcsmbs/wctob.c (wctob): Likewise.
26565         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26566         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26567         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26568         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26569         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26570         * wcsmbs/wmemset.c (__wmemset): Likewise.
26571         * wctype/wcfuncs.c (__towlower): Likewise.
26572         (__towupper): Likewise.
26574         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26575         (lll_unlock_elision): Add adapt_count parameter.
26577 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26579         * sysdeps/nptl/configure.ac: Do not give errors based on the
26580         results of top-level configure tests.
26581         * sysdeps/nptl/configure: Regenerated.
26583         * configure.ac (libc_cv_Bgroup): Remove configure test.
26584         * configure: Regenerated.
26585         * config.make.in (have-Bgroup): Remove variable.
26587         * configure.ac (sizeof_long_double): Remove configure test.
26588         * configure: Regenerated.
26589         * config.make.in (sizeof-long-double): Remove variable.
26591         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26592         * configure: Regenerated.
26593         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26594         variable.
26595         (exceptions): Likewise.
26596         * sysdeps/arm/configure: Regenerated.
26597         * config.make.in (exceptions): Remove variable.
26598         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26599         $(exceptions).
26600         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26601         (CFLAGS-vdprintf_chk.c): Likewise.
26602         (CFLAGS-printf_chk.c): Likewise.
26603         (CFLAGS-fprintf_chk.c): Likewise.
26604         (CFLAGS-vprintf_chk.c): Likewise.
26605         (CFLAGS-vfprintf_chk.c): Likewise.
26606         (CFLAGS-gets_chk.c): Likewise.
26607         (CFLAGS-fgets_chk.c): Likewise.
26608         (CFLAGS-fgets_u_chk.c): Likewise.
26609         (CFLAGS-fread_chk.c): Likewise.
26610         (CFLAGS-fread_u_chk.c): Likewise.
26611         (CFLAGS-wprintf_chk.c): Likewise.
26612         (CFLAGS-fwprintf_chk.c): Likewise.
26613         (CFLAGS-vwprintf_chk.c): Likewise.
26614         (CFLAGS-vfwprintf_chk.c): Likewise.
26615         (CFLAGS-fgetws_chk.c): Likewise.
26616         (CFLAGS-fgetws_u_chk.c): Likewise.
26617         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26618         (CFLAGS-fputc.c): Likewise.
26619         (CFLAGS-fputwc.c): Likewise.
26620         (CFLAGS-freopen64.c): Likewise.
26621         (CFLAGS-freopen.c): Likewise.
26622         (CFLAGS-fseek.c): Likewise.
26623         (CFLAGS-fseeko64.c): Likewise.
26624         (CFLAGS-fseeko.c): Likewise.
26625         (CFLAGS-ftello64.c): Likewise.
26626         (CFLAGS-ftello.c): Likewise.
26627         (CFLAGS-fwide.c): Likewise.
26628         (CFLAGS-genops.c): Likewise.
26629         (CFLAGS-getc.c): Likewise.
26630         (CFLAGS-getchar.c): Likewise.
26631         (CFLAGS-getwc.c): Likewise.
26632         (CFLAGS-getwchar.c): Likewise.
26633         (CFLAGS-iofclose.c): Likewise.
26634         (CFLAGS-iofflush.c): Likewise.
26635         (CFLAGS-iofgetpos64.c): Likewise.
26636         (CFLAGS-iofgetpos.c): Likewise.
26637         (CFLAGS-iofgets.c): Likewise.
26638         (CFLAGS-iofgetws.c): Likewise.
26639         (CFLAGS-iofputs.c): Likewise.
26640         (CFLAGS-iofputws.c): Likewise.
26641         (CFLAGS-iofread.c): Likewise.
26642         (CFLAGS-iofsetpos64.c): Likewise.
26643         (CFLAGS-iofsetpos.c): Likewise.
26644         (CFLAGS-ioftell.c): Likewise.
26645         (CFLAGS-iofwrite.c): Likewise.
26646         (CFLAGS-iogetdelim.c): Likewise.
26647         (CFLAGS-iogetline.c): Likewise.
26648         (CFLAGS-iogets.c): Likewise.
26649         (CFLAGS-iogetwline.c): Likewise.
26650         (CFLAGS-ioputs.c): Likewise.
26651         (CFLAGS-ioseekoff.c): Likewise.
26652         (CFLAGS-ioseekpos.c): Likewise.
26653         (CFLAGS-iosetbuffer.c): Likewise.
26654         (CFLAGS-iosetvbuf.c): Likewise.
26655         (CFLAGS-ioungetc.c): Likewise.
26656         (CFLAGS-ioungetwc.c): Likewise.
26657         (CFLAGS-oldfileops.c): Likewise.
26658         (CFLAGS-oldiofclose.c): Likewise.
26659         (CFLAGS-oldiofgetpos64.c): Likewise.
26660         (CFLAGS-oldiofgetpos.c): Likewise.
26661         (CFLAGS-oldiofsetpos64.c): Likewise.
26662         (CFLAGS-oldiofsetpos.c): Likewise.
26663         (CFLAGS-peekc.c): Likewise.
26664         (CFLAGS-putc.c): Likewise.
26665         (CFLAGS-putchar.c): Likewise.
26666         (CFLAGS-putwc.c): Likewise.
26667         (CFLAGS-putwchar.c): Likewise.
26668         (CFLAGS-rewind.c): Likewise.
26669         (CFLAGS-wfileops.c): Likewise.
26670         (CFLAGS-wgenops.c): Likewise.
26671         (CFLAGS-oldiofopen.c): Likewise.
26672         (CFLAGS-iofopen.c): Likewise.
26673         (CFLAGS-iofopen64.c): Likewise.
26674         (CFLAGS-oldtmpfile.c): Likewise.
26675         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26676         (CFLAGS-fprintf.c): Likewise.
26677         (CFLAGS-printf.c): Likewise.
26678         (CFLAGS-vfwprintf.c): Likewise.
26679         (CFLAGS-vfscanf.c): Likewise.
26680         (CFLAGS-vfwscanf.c): Likewise.
26681         (CFLAGS-fscanf.c): Likewise.
26682         (CFLAGS-scanf.c): Likewise.
26683         (CFLAGS-isoc99_vfscanf.c): Likewise.
26684         (CFLAGS-isoc99_vscanf.c): Likewise.
26685         (CFLAGS-isoc99_fscanf.c): Likewise.
26686         (CFLAGS-isoc99_scanf.c): Likewise.
26687         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26688         (CFLAGS-isoc99_fwscanf.c): Likewise.
26689         (CFLAGS-isoc99_vwscanf.c): Likewise.
26690         (CFLAGS-isoc99_vfwscanf.c): Likewise.
26692         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26693         after mkstemp64.
26694         * login/tst-utmp.c (do_prepare): Likewise.
26695         * rt/tst-aio.c (do_prepare): Likewise.
26696         * rt/tst-aio64.c (do_prepare): Likewise.
26698 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26700         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26701         (__lll_lock_elision): Remove adapt_count decrement...
26702         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26703         (__lll_trylock_elision): Likewise.
26704         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26705         (__lll_unlock_elision): ... to here. And utilize
26706         new adapt_count parameter.
26707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26708         (__lll_unlock_elision): Update to include adapt_count
26709         parameter.
26710         (lll_unlock_elision): Pass pointer to adapt_count
26711         variable.
26713 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26715         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26716         Add elision adapt_count parameter to list of arguments.
26717         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26718         (lll_unlock_elision): Update with new parameter list
26719         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26720         (lll_unlock_elision): Likewise.
26721         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26722         (lll_unlock_elision): Likewise.
26724 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26726         [BZ #19122]
26727         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26728         attribute_hidden.
26730         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26731         attribute_hidden.
26732         [IS_IN (rtld)] (__strdup): Likewise.
26733         [IS_IN (rtld)] (__strerror_r): Likewise.
26734         [IS_IN (rtld)] (__strsep_g): Likewise.
26735         [IS_IN (rtld)] (memchr): Likewise.
26736         [IS_IN (rtld)] (memcmp): Likewise.
26737         [IS_IN (rtld)] (memcpy): Likewise.
26738         [IS_IN (rtld)] (memmove): Likewise.
26739         [IS_IN (rtld)] (memset): Likewise.
26740         [IS_IN (rtld)] (rawmemchr): Likewise.
26741         [IS_IN (rtld)] (stpcpy): Likewise.
26742         [IS_IN (rtld)] (strchr): Likewise.
26743         [IS_IN (rtld)] (strcmp): Likewise.
26744         [IS_IN (rtld)] (strlen): Likewise.
26745         [IS_IN (rtld)] (strnlen): Likewise.
26746         [IS_IN (rtld)] (strsep): Likewise.
26748         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26749         attribute_hidden.
26750         [IS_IN (rtld)] (__strtoul_internal): Likewise.
26752         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26753         attribute_hidden.
26754         [IS_IN (rtld)] (__libc_sigaction): Likewise.
26756         * include/setjmp.h (__longjmp): Add attribute_hidden.
26757         [IS_IN (rtld)] (__sigsetjmp): Likewise.
26759         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26760         Add attribute_hidden.
26762         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26763         [IS_IN (rtld)] (__open): Likewise.
26764         [IS_IN (rtld)] (__fcntl): Likewise.
26766         * include/dirent.h (__opendirat): Add attribute_hidden.
26767         (__getdents): Likewise.
26768         (__getdents64): Likewise.
26769         (__alloc_dir): Likewise.
26770         [IS_IN (rtld)] (__closedir): Likewise.
26771         [IS_IN (rtld)] (__fdopendir): Likewise.
26772         [IS_IN (rtld)] (__readdir): Likewise.
26773         [IS_IN (rtld)] (__readdir64): Likewise.
26774         [IS_IN (rtld)] (__rewinddir): Likewise.
26776         * include/dlfcn.h (_dl_catch_error): Moved to ...
26777         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26778         attribute_hidden.
26780         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26781         (_itoa_word): Likewise.
26783         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26784         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26785         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26786         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26787         (_dl_higher_prime_number): Likewise.
26788         (_dl_debug_printf_c): Likewise.
26789         (_dl_signal_cerror): Likewise.
26790         (_dl_receive_error): Likewise.
26791         (_dl_reloc_bad_type): Likewise.
26792         (_dl_resolve_conflicts): Likewise.
26793         (_dl_check_all_versions): Likewise.
26794         (_dl_check_map_versions): Likewise.
26795         (_dl_sort_fini): Likewise.
26796         (_dl_debug_initialize): Likewise.
26797         (_dl_init_paths): Likewise.
26798         (_dl_show_auxv): Likewise.
26799         (_dl_next_ld_env_entry): Likewise.
26800         (_dl_important_hwcaps): Likewise.
26801         (_dl_load_cache_lookup): Likewise.
26802         (_dl_update_slotinfo): Likewise.
26803         (_dl_show_scope): Likewise.
26805         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26806         attribute_hidden.
26807         (_wordcopy_fwd_dest_aligned): Likewise.
26808         (_wordcopy_bwd_aligned): Likewise.
26809         (_wordcopy_bwd_dest_aligned): Likewise.
26811         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26812         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26813         Likewise.
26814         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26815         Likewise.
26816         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26818 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26821         GCC 5 requirement.
26823 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26825         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26826         test.
26827         * sysdeps/i386/configure: Regenerated.
26828         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26829         code unconditional.
26831         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26832         test.
26833         (libc_cv_asm_popsection_directive): Likewise.
26834         * configure: Regenerated.
26835         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26836         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26837         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26838         (__make_section_unallocated): Make definition unconditional.
26839         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26840         Remove conditional definition.
26841         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26842         (__make_section_unallocated): Likewise.
26844         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26845         * configure: Regenerated.
26846         * config.make.in (static-libgcc): Remove variable.
26847         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26848         $(static-libgcc).
26849         (build-module-helper): Likewise.
26851         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26852         * configure: Regenerated.
26854 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26856         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26857         (struct char_buffer): New type.
26858         (char_buffer_start, char_buffer_size, char_buffer_error)
26859         (char_buffer_rewind, char_buffer_add): New functions.
26860         (ADDW): Remove macro, replaced by the char_buffer_add function.
26861         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26862         of extend_alloca.  Make control flow more explicit.
26864 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26866         [BZ #19137]
26867         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26868         Add -fomit-frame-pointer.
26869         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26871 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26873         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26874         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26875         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26876         only if !__GNUC_PREREQ (5,0).
26877         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26878         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26879         (INTERNAL_SYSCALL_NCS): Likewise.
26880         (LOADREGS_0): New macro for GCC 5.
26881         (ASMARGS_0): Likewise.
26882         (LOADREGS_1): Likewise.
26883         (ASMARGS_1): Likewise.
26884         (LOADREGS_2): Likewise.
26885         (ASMARGS_2): Likewise.
26886         (LOADREGS_3): Likewise.
26887         (ASMARGS_3): Likewise.
26888         (LOADREGS_4): Likewise.
26889         (ASMARGS_4): Likewise.
26890         (LOADREGS_5): Likewise.
26891         (ASMARGS_5): Likewise.
26892         (LOADREGS_6): Likewise.
26893         (ASMARGS_6): Likewise.
26895 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26897         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26898         -fomit-frame-pointer.
26899         (CFLAGS-mmap64.c): Likewise.
26900         (CFLAGS-semtimedop.c): Likewise.
26901         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26902         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26903         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26904         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26906 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26908         [BZ #18928]
26909         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26910         _dl_pointer_guard member.
26911         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26912         initializer.
26913         (security_init): Always set up pointer guard.
26914         (process_envvars): Do not process LD_POINTER_GUARD.
26916 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26918         [BZ #19134]
26919         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26920         (.LC2): Likewise.
26921         (.LC3): Likewise.
26922         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26924 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26926         [BZ #19129]
26927         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26928         r0 and r1.
26930 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26932         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26934 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26936         * include/stap-probe.h: Fix macro definition formatting.
26938 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26940         [BZ #19074]
26941         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26942         load and store num_ifs.
26944 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26946         [BZ #18822]
26947         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26948         (__sched_getaffinity_new): Add libc_hidden_proto and
26949         libc_hidden_def.
26951 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26953         [BZ #19007]
26954         * scripts/localplt.awk: Also allow GOT references.
26955         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26956         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26957         with "+ REL R_386_GLOB_DAT".
26958         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26959         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26961 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26963         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26964         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26965         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26966         Likewise.
26967         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26968         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26969         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26970         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26971         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26972         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26973         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26974         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26975         Likewise.
26976         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26978 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26980         [BZ #19125]
26981         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26982         <math_private.h> and <stdint.h>.
26983         (__llround): Avoid conversions to and from long long int, and
26984         subtractions, where those might raise spurious exceptions.
26985         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26986         <math_private.h> and <stdint.h>.
26987         (__llroundf): Avoid conversions to and from long long int, and
26988         subtractions, where those might raise spurious exceptions.
26990 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26992         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26993         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26994         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26995         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26996         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26997         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26998         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26999         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27000         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27001         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27002         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27003         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27004         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27005         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27006         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27007         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27008         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27009         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27010         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27011         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27012         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27013         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27014         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27015         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27016         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27017         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27018         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27019         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27020         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27021         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27022         (__xstat64_conv): Likewise.
27023         (__xstat32_conv): Likewise.
27025 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27027         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27028         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27029         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27030         <sysdeps/unix/sysv/linux/sysdep.h>.
27031         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27032         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27033         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27035         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27036         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27037         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27038         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27039         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27044         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27045         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27047         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27048         (sysdep-dl-routines): Add sysdep.
27049         [$(subdir) == nptl] (libpthread-routines): Likewise.
27050         [$(subdir) == rt] (librt-routines): Likewise.
27051         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27052         PIC when branching to SYSCALL_ERROR_LABEL.
27053         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27054         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27055         <sysdeps/unix/sysv/linux/sysdep.h>.
27056         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27057         (SYSCALL_ERROR_ERRNO): Removed.
27058         (SYSCALL_ERROR_HANDLER): Changed to empty.
27059         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27060         (__syscall_error): New prototype.
27061         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27062         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27064 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27066         [BZ #19124]
27067         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27068         (_dl_runtime_resolve_avx512): Make it a hidden alias of
27069         _dl_runtime_resolve_avx.
27070         (_dl_runtime_profile_avx512): Make it a hidden alias of
27071         _dl_runtime_profile_avx.
27073 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27075         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27076         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27077         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27078         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27080         [BZ #16422]
27081         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27082         New configure test.
27083         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27084         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27085         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27086         <math_private.h> and <stdint.h>.
27087         (__llrint): Avoid conversions to long long int where those might
27088         raise spurious exceptions.
27089         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27090         <math_private.h> and <stdint.h>.
27091         (__llrintf): Avoid conversions to long long int where those might
27092         raise spurious exceptions.
27094 2015-10-12  Andreas Schwab  <schwab@suse.de>
27096         [BZ #18969]
27097         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
27098         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27099         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
27100         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27101         $(gen-locales).
27102         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
27103         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27104         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27105         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27106         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27107         $(gen-locales).
27108         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
27109         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27110         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27111         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27112         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27113         ($(objpfx)tst-ftell-active-handler.out)
27114         ($(objpfx)tst-ftell-append.out)
27115         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27116         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27117         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27118         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27119         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
27120         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27121         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27122         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27123         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27124         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27125         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27126         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27127         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27128         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27129         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27130         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27131         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27132         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27133         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
27134         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27135         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27136         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27137         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27138         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
27139         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27140         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27141         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27142         $(gen-locales).
27143         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
27144         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27145         $(gen-locales).
27146         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
27147         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27148         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27149         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27150         $(gen-locales).
27151         * libio/tst_wprintf2.c (main): Use explicit locale.
27152         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27154 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27156         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27157         __msg_sig_post.
27158         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27160 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27162         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27163         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27165         * sysdeps/arm/libm-test-ulps: Regenerated.
27167         [BZ #15470]
27168         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27170         [BZ #16399]
27171         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27172         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27173         and <fix-fp-int-convert-overflow.h>.
27174         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27175         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27176         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27177         and <fix-fp-int-convert-overflow.h>.
27178         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27179         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27180         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27181         <fix-fp-int-convert-overflow.h>.
27182         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27183         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27184         * sysdeps/ieee754/dbl-64/s_lround.c: Include
27185         <fix-fp-int-convert-overflow.h>.
27186         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27187         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27188         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27189         and <fix-fp-int-convert-overflow.h>.
27190         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27191         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27192         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27193         <limits.h> and <fix-fp-int-convert-overflow.h>.
27194         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27195         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27196         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27197         and <fix-fp-int-convert-overflow.h>.
27198         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27199         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27200         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27201         and <fix-fp-int-convert-overflow.h>.
27202         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27203         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27204         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27206 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
27208         [BZ #18589]
27209         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27210         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27211         $(gen-locales).
27213 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27214             Phil Blundell <pb@pbcl.net>
27216         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27217         * nptl/tst-cancel26.c: New file.
27218         * nptl/tst-cancel27.c: Likewise.
27220 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
27222         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27223         __ILP32__ isn't defined.
27224         (lrint): Likewise.
27225         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27226         (lrintf): Likewise.
27227         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27228         (lrintl): Likewise.
27229         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27230         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27231         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27233 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27235         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27236         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27238         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27239         file.
27240         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27241         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27243 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27245         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27246         configure test.
27247         * sysdeps/i386/configure: Regenerated.
27248         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27249         configure test.
27250         * sysdeps/x86_64/configure: Regenerated.
27251         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27252         Make code unconditional.
27254         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27255         test.
27256         * sysdeps/i386/configure: Regenerated.
27257         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
27258         test.
27259         * sysdeps/x86_64/configure: Regenerated.
27260         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
27261         Make code unconditional.
27262         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27263         Likewise.
27264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
27265         Likewise.
27266         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27267         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
27268         code unconditional.
27269         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27270         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
27271         code unconditional.
27272         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27273         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27274         code unconditional.
27275         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27276         code unconditional.
27277         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27278         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27279         code unconditional.
27280         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27281         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27282         code unconditional.
27283         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27284         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27285         code unconditional.
27286         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27287         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27288         code unconditional.
27289         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27290         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27292         [BZ #19095]
27293         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27294         mantissa to long int before shifting left.
27296 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #19094]
27299         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27300         <limits.h>.
27301         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27302         when result overflows but exception would not result from cast.
27303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27304         <limits.h>.
27305         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27306         when result overflows but exception would not result from cast.
27307         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27308         <limits.h>.
27309         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27310         when result overflows but exception would not result from cast.
27311         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
27312         <limits.h>.
27313         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27314         when result overflows but exception would not result from cast.
27315         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
27316         <limits.h>.
27317         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27318         when result overflows but exception would not result from cast.
27319         * math/libm-test.inc (lrint_test_data): Add more tests.
27320         (llrint_test_data): Likewise.
27322 2015-10-08  Roland McGrath  <roland@hack.frob.com>
27324         [BZ #18872]
27325         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27326         Move out from under [$(run-built-tests) = yes] conditional.
27327         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27328         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27330 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
27332         [BZ #18589]
27333         * string/Makefile (tests): Add bug-strcoll2.
27334         (LOCALES): Add cs_CZ.UTF-8.
27335         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27337         [BZ #18589]
27338         * string/bug-strcoll2.c: New file.
27339         * locale/categories.def: Revert commit
27340         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27341         * locale/langinfo.h: Likewise.
27342         * locale/localeinfo.h: Likewise.
27343         * locale/C-collate.c: Likewise.
27344         * locale/programs/ld-collate.c (collate_output): Likewise.
27345         * string/strcoll_l.c (STRDIFF): Likewise.
27346         (STRCOLL): Likewise.
27347         * wcsmbs/wcscoll_l.c: Likewise.
27349 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27351         * math/libm-test.inc (lround_test_data): Do not expect the absence
27352         of "inexact" for some tests with non-integer arguments.
27353         (llround_test_data): Likewise.
27355         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27356         test.
27357         (libc_cv_cc_sse2avx): Likewise.
27358         * sysdeps/i386/configure: Regenerated.
27359         * sysdeps/i386/i686/multiarch/Makefile
27360         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27361         [$(subdir) = math].
27362         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27363         code unconditional.
27364         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27365         Likewise.
27366         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27367         Likewise.
27368         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27369         Likewise.
27370         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27371         test.
27372         (libc_cv_cc_sse2avx): Likewise.
27373         * sysdeps/x86_64/configure: Regenerated.
27374         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27375         unconditional.
27376         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27377         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27378         unconditional.
27379         (_dl_runtime_profile)
27380         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27381         conditional code.
27382         * sysdeps/x86_64/fpu/multiarch/Makefile
27383         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27384         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27385         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27386         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27387         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27388         * sysdeps/x86_64/fpu/multiarch/e_log.c
27389         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27390         * sysdeps/x86_64/fpu/multiarch/s_atan.c
27391         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27392         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27393         Likewise.
27394         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27395         Likewise.
27396         * sysdeps/x86_64/fpu/multiarch/s_sin.c
27397         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27398         * sysdeps/x86_64/fpu/multiarch/s_tan.c
27399         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27400         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27401         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27402         (HAVE_SSE2AVX_SUPPORT): Likewise.
27404 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
27406         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27407         instead of #pragma optimize.
27409 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27411         [BZ #17195]
27412         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27413         as is similarly done in systrim and _int_free already.
27415 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27417         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27419 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27421         [BZ #19088]
27422         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27423         <limits.h>.
27424         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27425         overflows but exception would not result from cast.
27426         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27427         and <limits.h>.
27428         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27429         overflows but exception would not result from cast.
27430         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27431         <limits.h>.
27432         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27433         overflows but exception would not result from cast.
27434         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27435         <limits.h>.
27436         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27437         overflows but exception would not result from cast.
27438         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27439         <limits.h>.
27440         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27441         overflows but exception would not result from cast.
27442         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27443         <limits.h>.
27444         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27445         overflows but exception would not result from cast.
27446         * math/libm-test.inc (lround_test_data): Add more tests.
27447         (llround_test_data): Likewise.
27449 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27451         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27452         (CFLAGS-ialloc.c): Ditto.
27453         (CFLAGS-scheck.c): Ditto.
27455 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27457         [BZ #19086]
27458         * manual/filesys.texi (Storage Allocation): Fix argument order for
27459         posix_fallocate64.
27461 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27463         [BZ #19085]
27464         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27465         exponent below 48 inside case for non-overflowing exponent.
27466         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27468 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27470         * iconvdata/cp737.h (from_idx): Add const.
27471         * iconvdata/cp775.h (from_idx): Likewise.
27473 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27475         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27476         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27477         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27479         [BZ #19079]
27480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27481         file, conditioned on [!_LP64].
27482         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27483         [!_LP64] (__lround): Do not define as function or alias.
27484         [!_LP64] (lround): Likewise.
27485         [!_LP64] (__lroundl): Likewise.
27486         [!_LP64] (lroundl): Likewise.
27487         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27488         macro.
27489         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27490         Likewise.
27492 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27494         * math/libm-test.inc (lrint_test_data): Add more tests.
27495         (llrint_test_data): Likewise.
27496         (lround_test_data): Likewise.
27497         (llround_test_data): Likewise.
27499         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27500         (llrint_test_data): Add tests used for lrint.
27502         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27503         test.
27504         * sysdeps/i386/configure: Regenerated.
27505         * sysdeps/i386/i686/multiarch/Makefile
27506         [$(config-cflags-sse4) = yes]: Make code unconditional.
27507         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27508         Likewise.
27509         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27510         Likewise.
27511         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27512         test.
27513         * sysdeps/x86_64/configure: Regenerated.
27514         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27515         Make code unconditional.
27516         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27517         Likewise.
27518         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27519         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27521         * scripts/rpm2dynsym.sh: Remove file.
27523 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27525         * configure.ac (libc_cv_cxx_thread_local): Define.
27526         * configure: Regenerate.
27527         * config.make.in (have-cxx-thread_local): Define.
27528         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27529         (LDLIBS-tst-thread_local1): Define.
27530         (tests): Add tst-thread_local1.
27531         [have-cxx-thread_local != yes] (tests-unsupported): Add
27532         tst-thread_local1.
27533         * nptl/tst-thread_local1.cc: New file.
27535 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27537         [BZ #19078]
27538         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27539         (u_thres): Likewise.
27540         (__expl): Determine whether to call __kernel_standard_l based on
27541         value of result, not argument.
27543         * math/libm-test.inc (scalb_test_data): Add more expectations for
27544         the "inexact" exception.
27546         [BZ #19077]
27547         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27548         0.0L for argument 1.0L.
27550         [BZ #19076]
27551         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27552         constant 0.0L when computing infinite result.
27554 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27556         [BZ #10432]
27557         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27558         malloc_usable_size.
27560 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27562         [BZ #19018]
27563         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27564         Mangle function pointer before storing it.
27565         (__call_tls_dtors): Demangle function pointer before calling it.
27567 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27569         [BZ #19012]
27570         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27571         Clean up on failure.
27573 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27575         [BZ #19071]
27576         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27577         long int variable to store possibly incremented high part of
27578         mantissa.
27579         * math/libm-test.inc (lround_test_data): Add tests used for
27580         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27581         for tests requiring 64-bit long.  Do not condition tests on
27582         [TEST_FLOAT] unnecessarily.
27583         (llround_test_data): Add tests used for lround.  Add another
27584         expectation for the "inexact" exception.  Do not condition tests
27585         on [TEST_FLOAT] unnecessarily.
27587         [BZ #887]
27588         [BZ #19049]
27589         [BZ #19050]
27590         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27591         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27592         <fix-int-fp-convert-zero.h>.
27593         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27594         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27595         <fix-int-fp-convert-zero.h>.
27596         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27597         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27598         <fix-int-fp-convert-zero.h>.
27599         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27600         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27601         <fix-int-fp-convert-zero.h>.
27602         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27603         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27604         <fix-int-fp-convert-zero.h>.
27605         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27606         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27607         <fix-int-fp-convert-zero.h>.
27608         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27609         * sysdeps/ieee754/flt-32/s_erff.c: Include
27610         <fix-int-fp-convert-zero.h>.
27611         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27612         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27613         <fix-int-fp-convert-zero.h>.
27614         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27616         <fix-int-fp-convert-zero.h>.
27617         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27618         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27619         <fix-int-fp-convert-zero.h>.
27620         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27621         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27622         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27623         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27624         file.
27625         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27627 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27631 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27633         [BZ #19059]
27634         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27635         overflowing computation.
27636         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27637         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27638         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27639         Likewise.
27640         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27641         Likewise.
27642         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27643         Likewise.
27644         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27645         Likewise.
27646         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27647         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27648         Likewise.
27649         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27650         Likewise.
27651         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27653         * nss/rewrite_field.c (__nss_rewrite_field): Use
27654         internal_function.
27655         * nss/valid_field.c (__nss_valid_field): Likewise.
27656         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27658 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27660         [BZ #18724]
27661         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27662         (__nss_invalid_field_characters, __nss_valid_field)
27663         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27664         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27665         tst-field.c: New file.
27666         * nss/Makefile (routines): Add valid_field, rewrite_field.
27667         (tests-static): Define unconditionally.
27668         (tests): Include tests-static.
27669         [build-static-nss] (tests-static): Use append.
27670         [build-static-nss] (tests): Remove modification.
27671         * nss/getent.c (print_group): Call putgrent.  Report error.
27672         (print_gshadow): Call putsgent.  Report error.
27673         (print_passwd): Call putpwent.  Report error.
27674         (print_shadow): Call putspent.  Report error.
27675         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27676         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27677         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27678         name, password, directory, shell fields for valid syntax.  Rewrite
27679         GECOS field to match syntax.
27680         * pwd/Makefile (tests): Add tst-putpwent.
27681         * pwd/tst-putpwent.c: New file.
27682         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27683         Check grName, grpasswd, gr_mem fields for valid syntax.
27684         Change loop variable i to size_t.
27685         * grp/Makefile (tests): Add tst-putgrent.
27686         * grp/tst-putgrent.c: New file.
27687         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27688         valid syntax.
27689         * shadow/Makefile (tests): Add tst-putspent.
27690         * shadow/tst-putspent.c: New file.
27691         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27692         sg_mem fields for valid syntax.
27693         * gshadow/Makefile (tests): Add tst-putsgent.
27694         * gshadow/tst-putsgent.c: New file.
27696 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27698         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27699         assembly instructions.
27701 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27703         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27704         prefix from operands.
27706 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
27708         [BZ #16347]
27709         [BZ #19046]
27710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27711         <libc-internal.h>.
27712         (MAXLGM): Do not use diagnostic control macros.
27713         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27714         threshold for ldbl-128ibm.
27715         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27716         instead of multiplying by log then subtracting.
27717         * math/auto-libm-test-in: Add more tests of lgamma.
27718         * math/auto-libm-test-out: Regenerated.
27720         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27721         (TYPE_HEX_DIG): Likewise.
27722         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27723         precisions when printing floating-point numbers.
27724         (check_float_internal): Likewise.
27726 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27728         [BZ #16620]
27729         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27730         of log (10) rounded downward to 48 bits.
27731         (log10_low): Use corresponding low part of log (10).
27733         [BZ #19032]
27734         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27735         compute result as (x - x) / (x - x) not as 0 / 0.
27736         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27737         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27739         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27740         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27741         and expm1.
27742         * math/auto-libm-test-out: Regenerated.
27743         * math/libm-test.inc (acos_test_data): Add more tests.
27744         (asin_test_data): Likewise.
27745         (asinh_test_data): Likewise.
27746         (atan_test_data): Likewise.
27747         (atanh_test_data): Likewise.
27748         (atan2_test_data): Likewise.
27749         (cbrt_test_data): Likewise.
27750         (ceil_test_data): Likewise.
27751         (copysign_test_data): Likewise.
27752         (cos_test_data): Likewise.
27753         (cosh_test_data): Likewise.
27754         (erf_test_data): Likewise.
27755         (erfc_test_data): Likewise.
27756         (exp_test_data): Likewise.
27757         (exp10_test_data): Likewise.
27758         (exp2_test_data): Likewise.
27759         (expm1_test_data): Likewise.
27760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27762 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
27764         [BZ #19006]
27765         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27766         to ...
27767         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27768         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27769         to ...
27770         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27771         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27772         to ...
27773         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27774         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27775         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27776         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27777         to ...
27778         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27779         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27780         Moved to ...
27781         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27782         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27783         Moved to ...
27784         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27786         to ...
27787         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27788         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27789         Moved to ...
27790         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27791         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27792         to ...
27793         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27794         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27795         Removed.
27796         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27797         Likewise.
27798         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27799         Likewise.
27800         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27801         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27802         Likewise.
27803         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27804         Likewise.
27805         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27806         Likewise.
27807         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27808         Likewise.
27809         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27810         Likewise.
27811         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27812         Likewise.
27813         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27814         Likewise.
27815         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27816         Likewise.
27817         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27818         Likewise.
27819         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27820         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27821         Likewise.
27822         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27823         Likewise.
27824         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27825         Likewise.
27826         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27827         Likewise.
27828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27829         Likewise.
27830         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27831         Replace ../i486/pthread_cond_timedwait.S with
27832         ../pthread_cond_timedwait.S.
27834 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27836         * math/libm-test.inc (acos_test_data): Refine expectations for
27837         errno and "inexact" exceptions.
27838         (acosh_test_data): Likewise.
27839         (asin_test_data): Likewise.
27840         (asinh_test_data): Likewise.
27841         (atan_test_data): Likewise.
27842         (atanh_test_data): Likewise.
27843         (atan2_test_data): Likewise.
27844         (cbrt_test_data): Likewise.
27845         (ceil_test_data): Likewise.
27846         (copysign_test_data): Likewise.
27847         (cosh_test_data): Likewise.
27848         (erf_test_data): Likewise.
27849         (erfc_test_data): Likewise.
27850         (exp_test_data): Likewise.
27851         (exp10_test_data): Likewise.
27852         (exp2_test_data): Likewise.
27853         (expm1_test_data): Likewise.
27854         (fabs_test_data): Likewise.
27855         (floor_test_data): Likewise.
27856         (fma_test_data): Likewise.
27857         (fmax_test_data): Likewise.
27858         (fmin_test_data): Likewise.
27859         (fmod_test_data): Likewise.
27860         (fpclassify_test_data): Likewise.
27861         (frexp_test_data): Likewise.
27862         (hypot_test_data): Likewise.
27863         (ilogb_test_data): Likewise.
27864         (isgreater_test_data): Likewise.
27865         (isgreaterequal_test_data): Likewise.
27866         (isinf_test_data): Likewise.
27867         (isless_test_data): Likewise.
27868         (islessequal_test_data): Likewise.
27869         (islessgreater_test_data): Likewise.
27870         (isnan_test_data): Likewise.
27871         (isnormal_test_data): Likewise.
27872         (issignaling_test_data): Likewise.
27873         (isunordered_test_data): Likewise.
27874         (j0_test_data): Likewise.
27875         (j1_test_data): Likewise.
27876         (jn_test_data): Likewise.
27877         (lgamma_test_data): Likewise.
27878         (lrint_test_data): Likewise.
27879         (llrint_test_data): Likewise.
27880         (log_test_data): Likewise.
27881         (log10_test_data): Likewise.
27882         (log1p_test_data): Likewise.
27883         (log2_test_data): Likewise.
27884         (logb_test_data): Likewise.
27885         (lround_test_data): Likewise.
27886         (llround_test_data): Likewise.
27887         (modf_test_data): Likewise.
27888         (nearbyint_test_data): Likewise.
27889         (nextafter_test_data): Likewise.
27890         (nexttoward_test_data): Likewise.
27891         (pow_test_data): Likewise.
27892         (remainder_test_data): Likewise.
27893         (remquo_test_data): Likewise.
27894         (rint_test_data): Likewise.
27895         (round_test_data): Likewise.
27896         (signbit_test_data): Likewise.
27897         (sinh_test_data): Likewise.
27898         (sqrt_test_data): Likewise.
27899         (tanh_test_data): Likewise.
27900         (tgamma_test_data): Likewise.
27901         (trunc_test_data): Likewise.
27902         (y0_test_data): Likewise.
27903         (y1_test_data): Likewise.
27904         (yn_test_data): Likewise.
27905         (significand_test_data): Likewise.
27907 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27909         * manual/filesys.texi (Storage Allocation): Document that
27910         posix_fallocate emulation fails when fd is open with O_WRONLY.
27912 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27914         [BZ #19016]
27915         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27916         allow more cases with X^2 + Y^2 >= 0.5.
27917         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27918         normal element in sum instead of special-casing based on values of
27919         arguments.
27920         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27921         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27922         -1 as normal element in sum instead of special-casing based on
27923         values of arguments.
27924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27925         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27926         (__x2y2m1): Update comment.
27927         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27928         as normal element in sum instead of special-casing based on values
27929         of arguments.
27930         * math/s_clog.c (__clog): Handle more cases using log1p without
27931         hypot.
27932         * math/s_clog10.c (__clog10): Likewise.
27933         * math/s_clog10f.c (__clog10f): Likewise.
27934         * math/s_clog10l.c (__clog10l): Likewise.
27935         * math/s_clogf.c (__clogf): Likewise.
27936         * math/s_clogl.c (__clogl): Likewise.
27937         * math/auto-libm-test-in: Add more tests of clog and clog10.
27938         * math/auto-libm-test-out: Regenerated.
27939         * sysdeps/i386/fpu/libm-test-ulps: Update.
27940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27942 2015-09-28  Martin Sebor  <msebor@redhat.com>
27944         [BZ #18969]
27945         * string/Makefile (LOCALES): Define.
27946         (gen-locales.mk): Include.
27947         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27948         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27949         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27950         on setlocale failure.
27952 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27954         [BZ #18985]
27955         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27956         (__strftime_internal): Likewise.
27957         * time/tst-strftime.c (do_bz18985): New test.
27958         (do_test): Call it.
27960 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #18956]
27963         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27964         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27965         extracting high part.
27966         * math/auto-libm-test-in: Add another test of pow.
27967         * math/auto-libm-test-out: Regenerated.
27968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27970 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27972         [BZ #18825]
27973         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27974         New macro.
27975         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27976         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27977         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27978         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27979         DBL_NARROW_EVAL, reloading the PIC register as needed.
27980         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27981         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27982         FLT_NARROW_EVAL.  Use separate return path for case when first
27983         argument is NaN.
27984         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27985         DEFINE_LDBL_MIN.
27986         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27987         PIC register.
27988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27989         math_check_force_underflow_nonneg.
27990         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27991         underflow for subnormal result.
27992         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27993         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27994         math_check_force_underflow_nonneg.
27995         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27996         math_check_force_underflow.
27997         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27998         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27999         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28000         DEFINE_LDBL_MIN.
28001         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28002         * math/auto-libm-test-in: Add more tests of pow.
28003         * math/auto-libm-test-out: Regenerated.
28005 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28007         * nss/bug17079.c (init_test_items): Add diagnostic for
28008         inconsistent entries.
28009         (test_buffer_size): Skip inconsistent entries.
28011 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #13304]
28014         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28015         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28016         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28018         [BZ #13304]
28019         * sysdeps/microblaze/s_fma.c: New file.
28020         * sysdeps/microblaze/s_fmaf.c: Likewise.
28021         * sysdeps/microblaze/sfp-machine.h: Likewise.
28023 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28025         [BZ #17250]
28026         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28027         member.
28029 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28031         [BZ #18803]
28032         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28033         (MO): New macro.
28034         (__ieee754_hypot) [PIC]: Load PIC register.
28035         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28036         DBL_NARROW_EVAL.
28037         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28038         math_check_force_underflow_nonneg in case where result might be
28039         tiny.
28040         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28041         Likewise.
28042         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28043         Likewise.
28044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28045         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28046         * math/auto-libm-test-in: Add more tests of hypot.
28047         * math/auto-libm-test-out: Regenerated.
28049 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
28051         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28053 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28055         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28056         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28057         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28058         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28059         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28060         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28061         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28063         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28064         LOAD_PIC_REG.
28066         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28067         (FLT_CHECK_FORCE_UFLOW): Likewise.
28068         (DBL_CHECK_FORCE_UFLOW): Likewise.
28069         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28070         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28071         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28072         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28073         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28074         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28075         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28076         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28077         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28078         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28079         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28080         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28081         (flt_min): Replace with use of DEFINE_FLT_MIN.
28082         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28083         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28084         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28085         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28086         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28087         (flt_min): Replace with use of DEFINE_FLT_MIN.
28088         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28089         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28090         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28091         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28092         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28093         (flt_min): Replace with use of DEFINE_FLT_MIN.
28094         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28095         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28096         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28097         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28098         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28099         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28100         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28101         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28102         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28103         (__atan): Use DBL_CHECK_FORCE_UFLOW.
28104         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28105         (flt_min): Replace with use of DEFINE_FLT_MIN.
28106         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28107         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28108         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28109         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
28110         main computation.
28111         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28112         (flt_min): Replace with use of DEFINE_FLT_MIN.
28113         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
28114         main computation.
28115         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28116         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28117         (MO): New macro.
28118         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28119         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28120         (flt_min): Replace with use of DEFINE_FLT_MIN.
28121         (MO): New macro.
28122         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28123         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28124         (__log1pl): Use MO.
28126         [BZ #19003]
28127         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28128         $(config-cflags-nofma).
28130 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28132         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28134 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
28136         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28137         (TWO127): Likewise.
28139         * sysdeps/generic/math_private.h (fabs_tg): New macro.
28140         (min_of_type): Likewise.
28141         (math_check_force_underflow): Likewise.
28142         (math_check_force_underflow_nonneg): Likewise.
28143         (math_check_force_underflow_complex): Likewise.
28144         * math/e_exp2l.c (__ieee754_exp2l): Use
28145         math_check_force_underflow_nonneg.
28146         * math/k_casinh.c (__kernel_casinh): Likewise.
28147         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28148         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28149         * math/s_catan.c (__catan): Use
28150         math_check_force_underflow_complex.
28151         * math/s_catanf.c (__catanf): Likewise.
28152         * math/s_catanh.c (__catanh): Likewise.
28153         * math/s_catanhf.c (__catanhf): Likewise.
28154         * math/s_catanhl.c (__catanhl): Likewise.
28155         * math/s_catanl.c (__catanl): Likewise.
28156         * math/s_ccosh.c (__ccosh): Likewise.
28157         * math/s_ccoshf.c (__ccoshf): Likewise.
28158         * math/s_ccoshl.c (__ccoshl): Likewise.
28159         * math/s_cexp.c (__cexp): Likewise.
28160         * math/s_cexpf.c (__cexpf): Likewise.
28161         * math/s_cexpl.c (__cexpl): Likewise.
28162         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28163         * math/s_clog10.c (__clog10): Likewise.
28164         * math/s_clog10f.c (__clog10f): Likewise.
28165         * math/s_clog10l.c (__clog10l): Likewise.
28166         * math/s_clogf.c (__clogf): Likewise.
28167         * math/s_clogl.c (__clogl): Likewise.
28168         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28169         * math/s_csinf.c (__csinf): Likewise.
28170         * math/s_csinh.c (__csinh): Likewise.
28171         * math/s_csinhf.c (__csinhf): Likewise.
28172         * math/s_csinhl.c (__csinhl): Likewise.
28173         * math/s_csinl.c (__csinl): Likewise.
28174         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28175         * math/s_csqrtf.c (__csqrtf): Likewise.
28176         * math/s_csqrtl.c (__csqrtl): Likewise.
28177         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28178         * math/s_ctanf.c (__ctanf): Likewise.
28179         * math/s_ctanh.c (__ctanh): Likewise.
28180         * math/s_ctanhf.c (__ctanhf): Likewise.
28181         * math/s_ctanhl.c (__ctanhl): Likewise.
28182         * math/s_ctanl.c (__ctanl): Likewise.
28183         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28184         instead of volatile.
28185         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28186         math_check_force_underflow.
28187         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28188         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28189         volatile when forcing underflow.
28190         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28191         math_check_force_underflow_nonneg.
28192         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28193         Likewise.
28194         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28195         math_check_force_underflow.
28196         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28197         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28198         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28199         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28200         math_check_force_underflow_nonneg.
28201         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28202         math_check_force_underflow.
28203         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28205         instead of volatile.
28206         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28207         math_check_force_underflow.
28208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28209         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28210         math_check_force_underflow_nonneg.
28211         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28212         math_check_force_underflow.
28213         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28214         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28215         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28216         math_check_force_underflow_nonneg.
28217         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28218         Likewise.
28219         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28220         math_check_force_underflow.
28221         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28222         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28223         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28224         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28225         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28226         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28227         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28228         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28229         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28230         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28231         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28232         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28233         Likewise.
28234         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28235         math_check_force_underflow_nonneg.
28236         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28237         Likewise.
28238         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28239         math_check_force_underflow.
28240         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28241         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28242         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28243         Likewise.
28244         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28245         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28246         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28247         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28248         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28249         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28251         instead of volatile.
28252         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28253         math_check_force_underflow.
28254         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28255         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28256         math_check_force_underflow.
28257         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
28258         Likewise.
28259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28260         Use math_check_force_underflow_nonneg.
28261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
28262         math_check_force_underflow.
28263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
28264         Likewise.
28265         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28266         Likewise.
28267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
28272         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28273         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28274         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28275         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28276         math_check_force_underflow_nonneg.
28277         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28278         math_check_force_underflow.
28279         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28280         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28281         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28282         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28283         math_check_force_underflow_nonneg.
28284         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28285         math_check_force_underflow.
28286         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28288         instead of volatile.
28289         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28290         math_check_force_underflow.
28292         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28293         * stdlib/strtod_l.c: Include <math_private.h>.
28294         (overflow_value): Use math_narrow_eval.
28295         (underflow_value): Likewise.
28296         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28297         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28298         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28299         (__ieee754_gamma_r): Likewise.
28300         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28301         Likewise.
28302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28303         Likewise.
28304         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28305         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28306         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28307         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28308         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28309         (__ieee754_gammaf_r): Likewise.
28310         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
28311         Likewise.
28312         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
28313         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
28314         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28315         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28316         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
28317         volatile.
28318         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28319         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28320         math_narrow_eval.
28321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28322         Likewise.
28323         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28324         Likewise.
28325         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28326         Likewise.
28327         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28328         volatile.
28329         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28331         math_narrow_eval.
28332         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28333         Likewise.
28334         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28335         Likewise.
28337 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
28339         * nptl/Versions: Remove ignored symbols.
28341 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28343         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
28344         * nss/Makefile (tests): Update.
28346 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28348         * nss/bug18287.c: New file.
28349         * nss/Makefile (tests): Add bug18287.
28351 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28353         * mach/Versions (__mach_host_self_): Add symbol.
28355 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28357         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28358         vm_page_size.
28360 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28362         Really fix sysdeps/i386/fpu/s_scalbn.S build
28364         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28365         (libc: GLIBC_2_22): Remove unused version set.
28367 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28369         * config.make.in (enable-timezone-tools): New variable.
28370         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28371         (enable_timezone_tools): Export to generated files.
28372         * configure: Regenerate.
28373         * INSTALL: Regenerate.
28374         * manual/install.texi (--disable-timezone-tools): Document new flag.
28375         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28376         ifeq ($(enable-timezone-tools),yes) check.
28378 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28380         * timezone/Makefile: Revert previous change.
28382         [BZ #18980]
28383         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28384         (DEFINE_DBL_MIN): Likewise.
28385         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28386         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28387         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28388         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28389         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28390         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28391         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28392         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28393         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28394         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28395         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28396         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28397         (flt_min): Replace with use of DEFINE_FLT_MIN.
28398         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28399         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28400         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28401         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28402         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28403         (flt_min): Replace with use of DEFINE_FLT_MIN.
28404         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28405         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28406         (flt_min): Replace with use of DEFINE_FLT_MIN.
28407         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28408         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28409         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28410         (__ieee754_hypot): Use DBL_NARROW_EVAL.
28411         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28412         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28413         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28414         (__ieee754_pow): Use DBL_NARROW_EVAL.
28415         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28416         (__ieee754_powf): Use FLT_NARROW_EVAL.
28417         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28418         (__ieee754_expf_sse2): Convert double-precision result to single
28419         precision.
28420         * sysdeps/i386/fpu/libm-test-ulps: Update.
28422 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28424         * timezone/Makefile: Ignore unused variable errors due to private.h
28425         (time_t_min) and (time_t_max).
28426         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28427         Likewise.
28429 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28431         [BZ #18981]
28432         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28433         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28434         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28435         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28436         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28437         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28438         (__scalbn): Use DBL_NARROW_EVAL.
28439         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28440         (__scalbnf): Use FLT_NARROW_EVAL.
28442 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28444         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28445         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28446         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28447         * stdio-common/printf_fp.c (___printf_fp):
28448         Use signbit to get the sign. Use isinf macro to allow inlining.
28449         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28450         * stdio-common/printf_size.c (__printf_size): Likewise.
28452 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28454         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28456 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28458         [BZ #18980]
28459         * sysdeps/generic/math_private.h: Include <float.h>.
28460         (math_narrow_eval): New macro.
28461         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28462         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28463         math_narrow_eval on overflowing return value.
28464         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28465         Likewise.
28466         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28467         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28468         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28469         Likewise.
28470         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28472 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28474         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28475         * math/Makefile: Remove isinf_ns.c.
28476         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28477         * math/multc3.c (__multc3): Likewise.
28478         * math/s_casin.c (__casin): Likewise.
28479         * math/s_casinf.c (__casinf): Likewise.
28480         * math/s_casinl.c (__casinl): Likewise.
28481         * math/s_cproj.c (__cproj): Likewise.
28482         * math/s_cprojf.c (__cprojf): Likewise.
28483         * math/s_cprojl.c (__cprofl): Likewise.
28484         * math/s_ctan.c (__ctan): Likewise.
28485         * math/s_ctanf.c (__ctanf): Likewise.
28486         * math/s_ctanh.c (__ctanh): Likewise.
28487         * math/s_ctanhf.c (__ctanhf): Likewise.
28488         * math/s_ctanhl.c (__ctanhl): Likewise.
28489         * math/s_ctanl.c (__ctanl): Likewise.
28490         * math/w_fmod.c (__fmod): Likewise.
28491         * math/w_fmodf.c (__fmodf): Likewise.
28492         * math/w_fmodl.c (_fmodl): Likewise.
28493         * math/w_remainder.c (__remainder): Likewise.
28494         * math/w_remainderf.c (__remainderf): Likewise.
28495         * math/w_remainderl.c (__remainderl): Likewise.
28496         * math/w_scalb.c (__scalb): Likewise.
28497         * math/w_scalbf.c (__scalbf): Likewise.
28498         * math/w_scalbl.c (__scalbl): Likewise.
28499         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28500         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28501         with isinf.
28502         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28503         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28504         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28505         __isinf_nsf with isinf.
28506         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28507         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28508         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28509         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28510         with isinf.
28511         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28512         __isinf_nsl with isinf.
28513         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28514         with isinf.
28515         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28516         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28517         __isinf_nsl with isinf.
28518         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28519         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28520         with isinf.
28522 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28524         * resolv/base64.c (rcsid): Remove unused static.
28525         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28526         static.  (tqpi1): Likewise.
28527         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28528         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28529         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28530         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28531         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28532         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28533         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28534         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28535         Likewise.
28537 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28539         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28540         <nptl/pthreadP.h>.
28541         (_longjmp_unwind): Use __libc_ptf_call.
28542         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28544 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28546         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28547         * sysdeps/arm/__longjmp.S: Likewise.
28549 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28551         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28552         Use __builtin_signbit.
28553         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28554         Use __builtin_signbitf.
28555         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28556         Use __builtin_signbitl.
28557         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28558         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28560 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28562         [BZ #15367]
28563         [BZ #17441]
28565         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28566         * math/math.h (fpclassify): Use __builtin_fpclassify when
28567         available.  (signbit): Use __builtin_signbit(f/l).
28568         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28569         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28570         (isinf): Use __builtin_isinf_sign.
28572 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28574         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28575         * benchtests/bench-math-inlines.c: New benchmark.
28576         * benchtests/bench-util.h: New file.
28577         * benchtests/bench-util.c: New file.
28578         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28580 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28582         * elf/tst-dlmopen1.c: Define TEST_SO.
28583         (do_test): Use TEST_SO.
28585         * elf/dl-load.c: Include libc-internal.h.
28586         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28588 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28590         [BZ #17887]
28591         * time/strptime_l.c (__strptime_internal): Make %z accept
28592         [+-]HH:MM time zones.
28594 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28596         [BZ #17886]
28597         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28598         valid time zone.
28600 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28602         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28603         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28605         (__ASSUME_FDATASYNC): Delete.
28607 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28609         * conform/linknamespace.pl: Require weak undefined symbols to be
28610         in the standard namespace.
28611         (%strong_syms): Rename to %seen_syms.
28612         (%strong_seen): Rename to %seen_where.
28614 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28616         [BZ #18970]
28617         * misc/error.c (error): Replace pthread_setcancelstate with
28618         __pthread_setcancelstate.
28619         (error_at_line): Likewise.
28620         * posix/wordexp.c (parse_comm): Likewise.
28621         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28622         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28623         (__pthread_setcancelstate): This.
28624         (pthread_setcancelstate): Add an alias.
28625         * nptl/nptl-init.c (pthread_functions): Replace
28626         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28627         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28628         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28629         hidden_proto.
28630         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28631         it with hidden_def.
28632         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28633         (pthread_setcancelstate): Renamed to ...
28634         (__pthread_setcancelstate): This.
28635         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28636         __libc_ptf_call with __pthread_setcancelstate.
28638 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28639             Andreas Schwab  <schwab@suse.de>
28641         [BZ #17118]
28642         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28643         result when imaginary part of argument is infinite using sine and
28644         cosine.
28645         * math/s_ctanf.c (__ctanf): Likewise.
28646         * math/s_ctanl.c (__ctanl): Likewise.
28647         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28648         of result when real part of argument is infinite using sine and
28649         cosine.
28650         * math/s_ctanhf.c (__ctanhf): Likewise.
28651         * math/s_ctanhl.c (__ctanhl): Likewise.
28652         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28653         (ctanh_test_data): Add more tests of ctanh.
28655 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28657         [BZ #15384]
28658         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28659         bit-mask as in subtraction.
28660         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28661         Likewise.
28662         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28663         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28664         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28666         [BZ #18951]
28667         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28668         underflow exception for small results.
28669         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28670         Likewise.
28671         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28672         Likewise.
28673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28674         Likewise.
28675         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28676         Likewise.
28677         * math/auto-libm-test-in: Add more tests of tgamma.
28678         * math/auto-libm-test-out: Regenerated.
28680 2015-09-17  Andreas Schwab  <schwab@suse.de>
28682         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28684 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28686         [BZ #18977]
28687         * math/bits/mathcalls.h
28688         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28689         not declare.
28690         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28691         Likewise.
28692         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28693         Likewise.
28694         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28695         Likewise.
28696         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28697         Likewise.
28698         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28699         Likewise.
28700         * conform/data/math.h-data
28701         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28702         function.
28703         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28704         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28705         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28706         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28707         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28708         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28709         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28710         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28711         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28712         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28713         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28715         [BZ #6803]
28716         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28717         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28718         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28719         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28720         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28721         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28722         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28723         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28724         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28726         Likewise.
28727         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28728         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28729         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28730         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28731         long_double_symbol calls.
28732         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28733         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28734         strong alias of __ldexpl.
28735         (scalbnl): Define using long_double_symbol.
28736         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28737         Remove alias.
28738         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28739         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28740         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28741         (scalbln_test_data): Add more errno expectations.
28743 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
28745         Cache the host port like we cache the task port.  This way we do not
28746         need to call the kernel just to get the port.  Furthermore, we no
28747         longer increase the reference count on every invocation of
28748         `mach_host_self'.
28750         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28751         Protect declarations against the macro expansion.
28752         * mach/mach_init.c (__mach_host_self_): New variable.
28753         (mach_init): Initialize `__mach_host_self_'.
28754         * mach/mach_init.h (__mach_host_self_): New declaration.
28755         (__mach_host_self, mach_host_self): New macros.
28756         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28757         Release reference.
28759 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28761         [BZ #4404]
28762         * po/de.po: Update from Translation Project.
28764         [BZ #16415]
28765         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28766         (__expm1l): Remove code to handle positive infinity and overflow.
28767         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28768         variable.
28769         (__expm1l): Remove code to handle positive infinity and overflow.
28771 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
28772             Paul Pluzhnikov  <ppluzhnikov@google.com>
28774         [BZ #18872]
28775         * stdio-common/Makefile (tst-printf-bz18872): New test.
28776         (tst-printf-bz18872-mem.out): Likewise.
28777         * stdio-common/tst-printf-bz18872.sh: Generate new test.
28778         * stdio-common/vfprintf.c: Fix memory leaks.
28780 2015-09-16  Andreas Schwab  <schwab@suse.de>
28782         [BZ #17244]
28783         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28784         Remove extra va_start/va_end calls.
28786         [BZ #17243]
28787         * posix/execl.c (execl): Add missing va_end.
28788         * posix/execle.c (execle): Likewise.
28789         * posix/execlp.c (execlp): Likewise.
28791 2015-09-15  Roland McGrath  <roland@hack.frob.com>
28793         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28794         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28796 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
28798         [BZ #18967]
28799         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
28800         undefine around includes of <bits/mathcalls.h>.
28801         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28802         not declare function.
28803         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28804         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28805         (scalb): Likewise.
28806         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28807         not define macro.
28808         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28809         variable.
28810         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28811         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28812         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28814         [BZ #18857]
28815         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28816         return non-finite argument without doing ordered comparisons on
28817         it.
28819         [BZ #16296]
28820         * math/fenv.h (fegetround): Use __attribute_pure__.
28821         * include/fenv.h (__fegetround): Likewise.
28823         [BZ #18595]
28824         * math/s_ctan.c (__ctan): Force underflow exception for results
28825         whose real or imaginary part has small absolute value.
28826         * math/s_ctanf.c (__ctanf): Likewise.
28827         * math/s_ctanh.c (__ctanh): Likewise.
28828         * math/s_ctanhf.c (__ctanhf): Likewise.
28829         * math/s_ctanhl.c (__ctanhl): Likewise.
28830         * math/s_ctanl.c (__ctanl): Likewise.
28831         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28832         and ctanh.  Add more tests of ctan and ctanh.
28834         [BZ #15918]
28835         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28836         handling of cases where one argument is an infinity.
28838         [BZ #18875]
28839         [BZ #18966]
28840         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28841         (MO): New macro.
28842         (__ieee754_exp10): For small results, force underflow exception
28843         and remove excess range and precision from return value.
28844         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28845         (MO): New macro.
28846         (__ieee754_exp10f): For small results, force underflow exception
28847         and remove excess range and precision from return value.
28848         * math/auto-libm-test-in: Add more tests of exp10.
28849         * math/auto-libm-test-out: Regenerated.
28851 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28853         [BZ #18875]
28854         [BZ #18961]
28855         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28856         (MO): New macro.
28857         (__ieee754_exp): For small results, force underflow exception and
28858         remove excess range and precision from return value.
28859         (__exp_finite): Likewise.
28860         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28861         (MO): New macro.
28862         (__ieee754_expf): For small results, force underflow exception and
28863         remove excess range and precision from return value.
28864         (__expf_finite): Likewise.
28865         * math/auto-libm-test-in: Add more tests of exp.
28866         * math/auto-libm-test-out: Regenerated.
28868         [BZ #16521]
28869         [BZ #18875]
28870         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28871         small results.
28872         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28873         (MO): New macro.
28874         (__ieee754_exp2): For small results, force underflow exception and
28875         remove excess range and precision from return value.
28876         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28877         (MO): New macro.
28878         (__ieee754_exp2f): For small results, force underflow exception
28879         and remove excess range and precision from return value.
28880         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28881         (MO): New macro.
28882         (__ieee754_exp2l): Force underflow exception for small results.
28883         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28884         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28885         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28886         (MO): New macro.
28887         (__ieee754_exp2l): Force underflow exception for small results.
28888         * math/auto-libm-test-in: Add more tests or exp2.
28889         * math/auto-libm-test-out: Regenerated.
28891 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28893         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28895         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28896         /dev/null.
28898 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28900         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28901         io fs process)): Drop spurious backslash.
28903 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28905         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28906         Use sysinfo system call instead of parsing /proc/meminfo.
28907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28908         Likewise.
28910 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28912         [BZ #16985]
28913         * programs/localedef.c (main): Display argv[remaining] when
28914         output_path is NULL.
28916 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28918         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28919         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28920         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28921         tanh.
28922         * math/auto-libm-test-out: Regenerated.
28923         * sysdeps/i386/fpu/libm-test-ulps: Update.
28924         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28925         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28928 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28930         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28931         Use 'override' keyword to freeze the value here, preventing
28932         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28934 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28936         [BZ #14912]
28937         * sysdeps/aarch64/bits/atomic.h: Move to ...
28938         * sysdeps/aarch64/atomic-machine.h: ...here.
28939         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28940         _AARCH64_ATOMIC_MACHINE_H.
28941         * sysdeps/alpha/bits/atomic.h: Move to ...
28942         * sysdeps/alpha/atomic-machine.h: ...here.
28943         * sysdeps/arm/bits/atomic.h: Move to ...
28944         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28945         * bits/atomic.h: Move to ...
28946         * sysdeps/generic/atomic-machine.h: ...here.
28947         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28948         * sysdeps/i386/bits/atomic.h: Move to ...
28949         * sysdeps/i386/atomic-machine.h: ...here.
28950         * sysdeps/ia64/bits/atomic.h: Move to ...
28951         * sysdeps/ia64/atomic-machine.h: ...here.
28952         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28953         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28954         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28955         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28956         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28957         * sysdeps/microblaze/bits/atomic.h: Move to ...
28958         * sysdeps/microblaze/atomic-machine.h: ...here.
28959         * sysdeps/mips/bits/atomic.h: Move to ...
28960         * sysdeps/mips/atomic-machine.h: ...here.
28961         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28962         * sysdeps/powerpc/bits/atomic.h: Move to ...
28963         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28964         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28965         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28966         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28967         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28968         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28969         <atomic-machine.h> instead of <bits/atomic.h>.
28970         * sysdeps/s390/bits/atomic.h: Move to ...
28971         * sysdeps/s390/atomic-machine.h: ...here.
28972         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28973         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28974         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28975         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28976         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28977         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28978         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28979         * sysdeps/tile/bits/atomic.h: Move to ...
28980         * sysdeps/tile/atomic-machine.h: ...here.
28981         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28982         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28983         <sysdeps/tile/atomic-machine.h> instead of
28984         <sysdeps/tile/bits/atomic.h>.
28985         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28986         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28987         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28988         <sysdeps/tile/atomic-machine.h> instead of
28989         <sysdeps/tile/bits/atomic.h>.
28990         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28991         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28992         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28993         <sysdeps/arm/atomic-machine.h> instead of
28994         <sysdeps/arm/bits/atomic.h>.
28995         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28996         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28997         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28998         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28999         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29000         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29001         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29002         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29003         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29004         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29005         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29006         * sysdeps/x86_64/bits/atomic.h: Move to ...
29007         * sysdeps/x86_64/atomic-machine.h: ...here.
29008         * include/atomic.h: Include <atomic-machine.h> instead of
29009         <bits/atomic.h>.
29011         * sysdeps/mips/mips32/libm-test-ulps: Update.
29012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29014         [BZ #18952]
29015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29016         not convert non-integer negative arguments to int to determine the
29017         value of signgam.
29018         * math/auto-libm-test-in: Add more tests of lgamma.
29019         * math/auto-libm-test-out: Regenerated.
29021         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29022         cosh, csqrt, erfc, expm1 and lgamma.
29023         * math/auto-libm-test-out: Regenerated.
29024         * sysdeps/i386/fpu/libm-test-ulps: Update.
29025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29027 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29029         [BZ #2542]
29030         [BZ #2543]
29031         [BZ #2558]
29032         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29033         __lgamma_neg for arguments from -28.0 to -2.0.
29034         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29035         __lgamma_negf for arguments from -15.0 to -2.0.
29036         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29037         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29038         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29039         Call __lgamma_negl for arguments from -33.0 to -2.0.
29040         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29041         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29042         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29043         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29044         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29045         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29046         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29047         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29048         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29049         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29050         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29051         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29052         (__lgamma_neg): Likewise.
29053         (__lgamma_negl): Likewise.
29054         (__lgamma_product): Likewise.
29055         (__lgamma_productl): Likewise.
29056         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29057         * math/auto-libm-test-in: Add more tests of lgamma.
29058         * math/auto-libm-test-out: Regenerated.
29059         * sysdeps/i386/fpu/libm-test-ulps: Update.
29060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29062 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
29064         [BZ #18675]
29065         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29067 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
29069         [BZ #14912]
29070         * bits/libc-lock.h: Move to ...
29071         * sysdeps/generic/libc-lock.h: ...here.
29072         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29073         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29074         * sysdeps/mach/hurd/libc-lock.h: ...here.
29075         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29076         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29077         * sysdeps/mach/bits/libc-lock.h: Move to ...
29078         * sysdeps/mach/libc-lock.h: ...here.
29079         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29080         * sysdeps/nptl/bits/libc-lock.h: Move to ...
29081         * sysdeps/nptl/libc-lock.h: ...here.
29082         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29083         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29084         * sysdeps/nptl/libc-lockP.h: ...here.
29085         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29086         * crypt/crypt_util.c: Include <libc-lock.h> instead of
29087         <bits/libc-lock.h>.
29088         * dirent/scandir-tail.c: Likewise.
29089         * dlfcn/dlerror.c: Likewise.
29090         * elf/dl-close.c: Likewise.
29091         * elf/dl-iteratephdr.c: Likewise.
29092         * elf/dl-lookup.c: Likewise.
29093         * elf/dl-open.c: Likewise.
29094         * elf/dl-support.c: Likewise.
29095         * elf/dl-writev.h: Likewise.
29096         * elf/rtld.c: Likewise.
29097         * grp/fgetgrent.c: Likewise.
29098         * gshadow/fgetsgent.c: Likewise.
29099         * gshadow/sgetsgent.c: Likewise.
29100         * iconv/gconv_conf.c: Likewise.
29101         * iconv/gconv_db.c: Likewise.
29102         * iconv/gconv_dl.c: Likewise.
29103         * iconv/gconv_int.h: Likewise.
29104         * iconv/gconv_trans.c: Likewise.
29105         * include/link.h: Likewise.
29106         * inet/getnameinfo.c: Likewise.
29107         * inet/getnetgrent.c: Likewise.
29108         * inet/getnetgrent_r.c: Likewise.
29109         * intl/bindtextdom.c: Likewise.
29110         * intl/dcigettext.c: Likewise.
29111         * intl/finddomain.c: Likewise.
29112         * intl/gettextP.h: Likewise.
29113         * intl/loadmsgcat.c: Likewise.
29114         * intl/localealias.c: Likewise.
29115         * intl/textdomain.c: Likewise.
29116         * libidn/idn-stub.c: Likewise.
29117         * libio/libioP.h: Likewise.
29118         * locale/duplocale.c: Likewise.
29119         * locale/freelocale.c: Likewise.
29120         * locale/newlocale.c: Likewise.
29121         * locale/setlocale.c: Likewise.
29122         * login/getutent_r.c: Likewise.
29123         * login/getutid_r.c: Likewise.
29124         * login/getutline_r.c: Likewise.
29125         * login/utmp-private.h: Likewise.
29126         * login/utmpname.c: Likewise.
29127         * malloc/mtrace.c: Likewise.
29128         * misc/efgcvt.c: Likewise.
29129         * misc/error.c: Likewise.
29130         * misc/fstab.c: Likewise.
29131         * misc/getpass.c: Likewise.
29132         * misc/mntent.c: Likewise.
29133         * misc/syslog.c: Likewise.
29134         * nis/nis_call.c: Likewise.
29135         * nis/nis_callback.c: Likewise.
29136         * nis/nss-default.c: Likewise.
29137         * nis/nss_compat/compat-grp.c: Likewise.
29138         * nis/nss_compat/compat-initgroups.c: Likewise.
29139         * nis/nss_compat/compat-pwd.c: Likewise.
29140         * nis/nss_compat/compat-spwd.c: Likewise.
29141         * nis/nss_nis/nis-alias.c: Likewise.
29142         * nis/nss_nis/nis-ethers.c: Likewise.
29143         * nis/nss_nis/nis-grp.c: Likewise.
29144         * nis/nss_nis/nis-hosts.c: Likewise.
29145         * nis/nss_nis/nis-network.c: Likewise.
29146         * nis/nss_nis/nis-proto.c: Likewise.
29147         * nis/nss_nis/nis-pwd.c: Likewise.
29148         * nis/nss_nis/nis-rpc.c: Likewise.
29149         * nis/nss_nis/nis-service.c: Likewise.
29150         * nis/nss_nis/nis-spwd.c: Likewise.
29151         * nis/nss_nisplus/nisplus-alias.c: Likewise.
29152         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29153         * nis/nss_nisplus/nisplus-grp.c: Likewise.
29154         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29155         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29156         * nis/nss_nisplus/nisplus-network.c: Likewise.
29157         * nis/nss_nisplus/nisplus-proto.c: Likewise.
29158         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29159         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29160         * nis/nss_nisplus/nisplus-service.c: Likewise.
29161         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29162         * nis/ypclnt.c: Likewise.
29163         * nptl/libc_pthread_init.c: Likewise.
29164         * nss/getXXbyYY.c: Likewise.
29165         * nss/getXXent.c: Likewise.
29166         * nss/getXXent_r.c: Likewise.
29167         * nss/nss_db/db-XXX.c: Likewise.
29168         * nss/nss_db/db-netgrp.c: Likewise.
29169         * nss/nss_db/nss_db.h: Likewise.
29170         * nss/nss_files/files-XXX.c: Likewise.
29171         * nss/nss_files/files-alias.c: Likewise.
29172         * nss/nsswitch.c: Likewise.
29173         * posix/regex_internal.h: Likewise.
29174         * posix/wordexp.c: Likewise.
29175         * pwd/fgetpwent.c: Likewise.
29176         * resolv/res_hconf.c: Likewise.
29177         * resolv/res_libc.c: Likewise.
29178         * shadow/fgetspent.c: Likewise.
29179         * shadow/lckpwdf.c: Likewise.
29180         * shadow/sgetspent.c: Likewise.
29181         * socket/opensock.c: Likewise.
29182         * stdio-common/reg-modifier.c: Likewise.
29183         * stdio-common/reg-printf.c: Likewise.
29184         * stdio-common/reg-type.c: Likewise.
29185         * stdio-common/vfprintf.c: Likewise.
29186         * stdio-common/vfscanf.c: Likewise.
29187         * stdlib/abort.c: Likewise.
29188         * stdlib/cxa_atexit.c: Likewise.
29189         * stdlib/fmtmsg.c: Likewise.
29190         * stdlib/random.c: Likewise.
29191         * stdlib/setenv.c: Likewise.
29192         * string/strsignal.c: Likewise.
29193         * sunrpc/auth_none.c: Likewise.
29194         * sunrpc/bindrsvprt.c: Likewise.
29195         * sunrpc/create_xid.c: Likewise.
29196         * sunrpc/key_call.c: Likewise.
29197         * sunrpc/rpc_thread.c: Likewise.
29198         * sysdeps/arm/backtrace.c: Likewise.
29199         * sysdeps/generic/ldsodefs.h: Likewise.
29200         * sysdeps/generic/stdio-lock.h: Likewise.
29201         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29202         * sysdeps/i386/backtrace.c: Likewise.
29203         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29204         * sysdeps/m68k/backtrace.c: Likewise.
29205         * sysdeps/mach/hurd/cthreads.c: Likewise.
29206         * sysdeps/mach/hurd/dirstream.h: Likewise.
29207         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29208         * sysdeps/nptl/malloc-machine.h: Likewise.
29209         * sysdeps/nptl/stdio-lock.h: Likewise.
29210         * sysdeps/posix/dirstream.h: Likewise.
29211         * sysdeps/posix/getaddrinfo.c: Likewise.
29212         * sysdeps/posix/system.c: Likewise.
29213         * sysdeps/pthread/aio_suspend.c: Likewise.
29214         * sysdeps/s390/s390-32/backtrace.c: Likewise.
29215         * sysdeps/s390/s390-64/backtrace.c: Likewise.
29216         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29217         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29218         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29219         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29220         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29221         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29222         * sysdeps/unix/sysv/linux/system.c: Likewise.
29223         * sysdeps/x86_64/backtrace.c: Likewise.
29224         * time/alt_digit.c: Likewise.
29225         * time/era.c: Likewise.
29226         * time/tzset.c: Likewise.
29227         * wcsmbs/wcsmbsload.c: Likewise.
29228         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29229         instead of <bits/libc-lock.h> in comment.
29231 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
29233         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29234         Only use .set mips2 if the current ISA is below mips2.
29235         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29236         Likewise.
29237         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29238         mips32r2 if the current ISA is below mips32r2.
29239         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29240         (TLS_IE): Updated to use the TLD_RDHWR macro.
29241         (TLS_LE): Likewise.
29242         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29243         __ASSEMBLER__ condition.
29245 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29247         Fix parallel build of before-compile targets.
29249         * sysdeps/mach/Makefile ($(patsubst
29250         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29251         mach-before-compile target.
29252         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29253         io fs process)): Move rule to dedicated hurd-before-compile target.
29255 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29257         Fix rules generating headers in hurd/ and mach/ when initial make call
29258         has subdir= explicitly set.
29260         * sysdeps/mach/Makefile ($(patsubst
29261         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
29262         calling $(MAKE).
29263         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29264         io fs process)): Force subdir to hurd when calling $(MAKE).
29265         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
29266         subdir to mach when calling $(MAKE).
29268 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
29270         Check sysheaders when looking for Mach and Hurd headers
29272         * sysdeps/mach/configure.ac: Add sysheaders check.
29273         * sysdeps/mach/configure: Regenerate.
29274         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29275         * sysdeps/mach/hurd/configure: Regenerate.
29277 2015-09-04  Roland McGrath  <roland@hack.frob.com>
29279         [BZ #18921]
29280         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29281         Fix inverted sense of test of 'o_directory_works' value.
29282         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29283         Bernhard Voelker <mail@bernhard-voelker.de>.
29285 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29287         [BZ #14912]
29288         * bits/linkmap.h: Move to ...
29289         * sysdeps/generic/linkmap.h: ...here.
29290         * sysdeps/aarch64/bits/linkmap.h: Move to ...
29291         * sysdeps/aarch64/linkmap.h: ...here.
29292         * sysdeps/arm/bits/linkmap.h: Move to ...
29293         * sysdeps/arm/linkmap.h: ...here.
29294         * sysdeps/hppa/bits/linkmap.h: Move to ...
29295         * sysdeps/hppa/linkmap.h: ...here.
29296         * sysdeps/ia64/bits/linkmap.h: Move to ...
29297         * sysdeps/ia64/linkmap.h: ...here.
29298         * sysdeps/mips/bits/linkmap.h: Move to ...
29299         * sysdeps/mips/linkmap.h: ...here.
29300         * sysdeps/s390/bits/linkmap.h: Move to ...
29301         * sysdeps/s390/linkmap.h: ...here.
29302         * sysdeps/sh/bits/linkmap.h: Move to ...
29303         * sysdeps/sh/linkmap.h: ...here.
29304         * sysdeps/x86/bits/linkmap.h: Move to ...
29305         * sysdeps/x86/linkmap.h: ...here.
29306         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29308 2015-09-04  Andreas Schwab  <schwab@suse.de>
29310         [BZ #18635]
29311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
29312         (__makecontext): Terminate FDE before return label.
29313         (__novec_makecontext): Likewise.
29315 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29317         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
29318         first member of struct sv in syscall macro.
29320 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #14912]
29323         * bits/stdio-lock.h: Move to ...
29324         * sysdeps/generic/stdio-lock.h: ...here.
29325         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29326         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29327         * sysdeps/nptl/stdio-lock.h: ...here.
29328         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29329         * include/libio.h: Include <stdio-lock.h> instead of
29330         <bits/stdio-lock.h>.
29331         * sysdeps/nptl/fork.c: Likewise.
29332         * sysdeps/pthread/flockfile.c: Likewise.
29333         * sysdeps/pthread/ftrylockfile.c: Likewise.
29334         * sysdeps/pthread/funlockfile.c: Likewise.
29336         [BZ #14912]
29337         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29338         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29339         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29340         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29341         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29342         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29343         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29345 2015-09-03  Roland McGrath  <roland@hack.frob.com>
29347         * elf/Makefile (test-xfail-tst-protected1a): New variable.
29348         (test-xfail-tst-protected1b): New variable.
29350 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
29352         [BZ #14912]
29353         * bits/libc-tsd.h: Move to ...
29354         * sysdeps/generic/libc-tsd.h: ...here.
29355         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29356         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29357         * sysdeps/mach/hurd/libc-tsd.h: ...here.
29358         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29359         * include/ctype.h: Include <libc-tsd.h> instead of
29360         <bits/libc-tsd.h>.
29361         * include/rpc/rpc.h: Likewise.
29362         * locale/localeinfo.h: Likewise.
29363         * sunrpc/rpc_thread.c: Likewise.
29364         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29365         * sysdeps/nptl/malloc-machine.h: Likewise.
29367         * Makefile (headers): Remove bits/libc-lock.h.
29368         * libio/Makefile (headers): Remove bits/stdio-lock.h.
29370         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29371         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29372         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29373         <bits/stdio-lock.h>.
29374         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29375         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29377 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29379         [BZ #18757]
29380         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29381         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29382         BZ #18757.
29384 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29386         * malloc/mtrace.pl: Filter out NULL entries.
29388 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
29390         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29391         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29392         macro.
29394         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29395         (TCP_CC_INFO): Likewise.
29396         (TCP_SAVE_SYN): Likewise.
29397         (TCP_SAVED_SYN): Likewise.
29399 2015-08-31  Brett Neumeier <brett@neumeier.us>
29401         [BZ #18870]
29402         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29404 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
29406         [BZ #18873]
29407         Fix broken overflow check in posix_fallocate
29408         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29409         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29410         Fix parenthesization typo.
29412 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
29414         [BZ #18887]
29415         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29416         tst-mntent-blank-passno.
29417         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29418         * misc/tst-mntent-blank-corrupt.c: New test.
29419         * misc/tst-mntent-blank-passno.c: New test ripped from ...
29420         * misc/tst-mntent.c (do_test): ... here.
29422 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29424         [BZ #4404]
29425         * po/de.po: Fix SIGALRM typo.
29427 2015-08-28  James Perkins  <james@loowit.net>
29429         * time/tst-strptime2.c (tests): Replace short list of test
29430         strings for strptime %z specifier with code which exhaustively
29431         tests every combination of sign and 0 to 5 digits. Tests for
29432         rejection of invalid strings.
29434 2015-08-28  James Perkins  <james@loowit.net>
29436         [BZ #16141]
29437         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29438         calculation, removing incorrect decimal time rounding, so that
29439         all minute values result in a valid seconds value.
29440         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29441         offset range limits to UTC-99:59 through UTC+99:59 to parse
29442         current and historical use cases.
29443         * time/tst-strptime2.c (tests): Modify and add tests for the
29444         strptime %z input field descriptor, specifically conversion of
29445         minutes to seconds and validating an offset range of -9959 to
29446         +9959.
29448 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29449             Dmitry V. Levin  <ldv@altlinux.org>
29451         [BZ #18877]
29452         * posix/Makefile (tests): Add tst-mmap-offset.
29453         * posix/tst-mmap.c: New file.
29454         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29455         offset calculation for negative values.
29457 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29459         * sysdeps/i386/init-arch.h: New file.
29460         * sysdeps/i386/i586/init-arch.h: Likewise.
29461         * sysdeps/i386/i686/init-arch.h: Likewise.
29462         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29463         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29464         * sysdeps/x86/cpu-features.h (bit_I586): New.
29465         (bit_I686): Likewise.
29466         (bit_CX8): Likewise.
29467         (bit_CMOV): Likewise.
29468         (index_CX8): Likewise.
29469         (index_CMOV): Likewise.
29470         (index_I586): Likewise.
29471         (index_I686): Likewise.
29472         (reg_CX8): Likewise.
29473         (reg_CMOV): Likewise.
29474         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29475         available at compile-time.
29476         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29477         available at compile-time.
29478         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29479         (USE_I686): Likewise.
29481 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29483         * sysdeps/i386/bcopy.S: New file.
29484         * sysdeps/i386/bzero.S: Likewise.
29485         * sysdeps/i386/memcpy.S: Likewise.
29486         * sysdeps/i386/memmove.S: Likewise.
29487         * sysdeps/i386/mempcpy.S: Likewise.
29488         * sysdeps/i386/memset.S: Likewise.
29489         * sysdeps/i386/bzero.c: Removed.
29490         * sysdeps/i386/memset.c: Likewise.
29491         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29492         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29493         * sysdeps/i386/i586/memset_chk.S: Likewise.
29494         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29495         * sysdeps/i386/memcpy_chk.S: Here.
29496         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29497         * sysdeps/i386/memmove_chk.S: Here.
29498         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29499         * sysdeps/i386/mempcpy_chk.S: Likewise.
29500         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29501         * sysdeps/i386/memset_chk.S: Likewise.
29503 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29505         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29506         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29507         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29508         * soft-fp/fmadf4.c: Ditto.
29509         * soft-fp/fmatf4.c: Ditto.
29511 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29513         * sysdeps/i386/i586/Implies: Removed.
29514         * sysdeps/i386/i686/Implies: Likewise.
29516 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29518         * sysdeps/i386/i486/strlen.S: Moved to ...
29519         * sysdeps/i386/strlen.S: Here.
29521 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29523         * sysdeps/i386/i486/strcat.S: Moved to ...
29524         * sysdeps/i386/strcat.S: Here.
29526 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29528         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29529         * sysdeps/i386/pthread_spin_trylock.S: Here.
29530         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29531         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29533 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29535         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29536         * sysdeps/i386/string-inlines.c: Here.
29538 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29540         * sysdeps/i386/i486/htonl.S: Moved ...
29541         * sysdeps/i386/htonl.S: here.
29543 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29545         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29546         * sysdeps/i386/bits/atomic.h: Here.
29548 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29550         * sysdeps/i386/i486/Versions: Removed.
29552 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29554         [BZ #2898]
29555         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29556         Based on patch by Aurelien Jarno.
29558 2015-08-26  Stan Shebs  <stanshebs@google.com>
29560         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29561         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29563 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29565         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29566         * sysdeps/powerpc/dl-procinfo.c:
29567         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29568         feature so it shows when LD_SHOW_AUXV=1.
29570 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29572         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29573         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29574         definition.  ISA 2.07B no longer requires full sync.
29576 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29578         [BZ #18863]
29579         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29580         (si_call_addr): Define.
29581         (si_syscall): Define.
29582         (si_arch): Define.
29584 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29586         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29587         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29588         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29589         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29590         (__memset_zero_constant_len_parameter): New.
29591         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29592         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29593         (__memset_zero_constant_len_parameter): Don't define if
29594         __memset_chk or USE_AS_BZERO are defined.
29596         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29597         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29598         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29600         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29601         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29602         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29603         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29604         comments.
29605         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29606         -mno-mmx for $(all-rtld-routines).
29607         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29608         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29609         i386.
29611 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29613         * sysdeps/generic/unwind.h
29614         (_Unwind_Word): Use __mode__(__unwind_word__)
29615         instead of __mode__(__word__).
29616         (_Unwind_Sword): Likewise.
29618         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29619         (MAX_NEEDED_INPUT): New define.
29620         (MAX_NEEDED_OUTPUT): New define.
29622         * NEWS: New item for IBM z13 string optimizations.
29624         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29625         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29626         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29627         * sysdeps/s390/multiarch/Makefile
29628         (sysdep_routines): Add memrchr functions.
29629         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29630         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29632         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29633         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29634         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29635         * sysdeps/s390/multiarch/Makefile
29636         (sysdep_routines): Add wmemcmp functions.
29637         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29638         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29639         * benchtests/bench-wmemcmp.c: New File.
29640         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29642         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29643         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29644         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29645         * sysdeps/s390/multiarch/Makefile
29646         (sysdep_routines): Add wmemset functions.
29647         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29648         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29649         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29650         * string/test-memset.c: Add wmemset support.
29651         * wcsmbs/test-wmemset.c: New File.
29652         * wcsmbs/Makefile (strop-tests): Add wmemset.
29653         * benchtests/bench-memset.c: Add wmemset support.
29654         * benchtests/bench-wmemset.c: New File.
29655         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29657         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29658         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29659         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29660         * sysdeps/s390/multiarch/Makefile
29661         (sysdep_routines): Add memccpy functions.
29662         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29663         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29664         * string/memccpy.c: Use MEMCCPY if defined.
29666         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29667         * sysdeps/s390/multiarch/memchr.c: Likewise.
29668         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29669         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29670         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29671         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29672         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29673         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29674         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29675         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29676         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29677         and rawmemchr functions.
29678         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29679         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29680         and wmemchr.
29681         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29682         * string/test-memchr.c: Add wmemchr support.
29683         * wcsmbs/test-wmemchr.c: New File.
29684         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29685         * benchtests/bench-memchr.c: Add wmemchr support.
29686         * benchtests/bench-wmemchr.c: New File.
29687         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29689         * sysdeps/s390/multiarch/strcspn-c.c: New File.
29690         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29691         * sysdeps/s390/multiarch/strcspn.c: Likewise.
29692         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29693         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29694         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29696         wcscspn functions.
29697         * sysdeps/s390/multiarch/ifunc-impl-list.c
29698         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29699         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29700         * string/test-strcspn.c: Add wcscspn support.
29701         * wcsmbs/test-wcscspn.c: New File.
29702         * wcsmbs/Makefile (strop-tests): Add wcscspn.
29703         * benchtests/bench-strcspn.c: Add wcscspn support.
29704         * benchtests/bench-wcscspn.c: New File.
29705         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29707         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29708         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29709         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29710         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29711         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29712         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29713         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29714         wcspbrk functions.
29715         * sysdeps/s390/multiarch/ifunc-impl-list.c
29716         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29717         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29718         * string/test-strpbrk.c: Add wcspbrk support.
29719         * wcsmbs/test-wcspbrk.c: New File.
29720         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29721         * benchtests/bench-strpbrk.c: Add wcspbrk support.
29722         * benchtests/bench-wcspbrk.c: New File.
29723         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29725         * sysdeps/s390/multiarch/strspn-c.c: New File.
29726         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29727         * sysdeps/s390/multiarch/strspn.c: Likewise.
29728         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29729         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29730         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29731         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29732         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29733         wcsspn functions.
29734         * sysdeps/s390/multiarch/ifunc-impl-list.c
29735         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29736         * string/test-strspn.c: Add wcsspn support.
29737         * wcsmbs/test-wcsspn.c: New File.
29738         * wcsmbs/Makefile (strop-tests): Add wcsspn.
29739         * benchtests/bench-strspn.c: Add wcsspn support.
29740         * benchtests/bench-wcsspn.c: New File.
29741         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29743         * sysdeps/s390/multiarch/strrchr-c.c: New File.
29744         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29745         * sysdeps/s390/multiarch/strrchr.c: Likewise.
29746         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29747         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29748         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29750         wcsrchr functions.
29751         * sysdeps/s390/multiarch/ifunc-impl-list.c
29752         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29753         * benchtests/bench-wcsrchr.c: New File.
29754         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29756         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29757         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29758         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29759         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29760         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29761         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29762         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29763         wcschrnul functions.
29764         * sysdeps/s390/multiarch/ifunc-impl-list.c
29765         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29766         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29767         * string/test-strchr.c: Add wcschrnul support.
29768         * wcsmbs/test-wcschrnul.c: New File.
29769         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29770         * benchtests/bench-strchr.c: Add wcschrnul support.
29771         * benchtests/bench-wcschrnul.c: New File.
29772         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29774         * sysdeps/s390/multiarch/strchr-c.c: New File.
29775         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29776         * sysdeps/s390/multiarch/strchr.c: Likewise.
29777         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29778         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29779         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29781         wcschr functions.
29782         * sysdeps/s390/multiarch/ifunc-impl-list.c
29783         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29784         * string/strchr.c (STRCHR): Define and use macro.
29785         * benchtests/bench-wcschr.c: New File.
29786         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29788         * sysdeps/s390/multiarch/strncmp-c.c: New File.
29789         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29790         * sysdeps/s390/multiarch/strncmp.c: Likewise.
29791         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29792         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29793         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29794         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29795         wcsncmp functions.
29796         * sysdeps/s390/multiarch/ifunc-impl-list.c
29797         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29798         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29799         * benchtests/bench-strncmp.c: Add wcsncmp support.
29800         * benchtests/bench-wcsncmp.c: New File.
29801         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29803         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29804         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29805         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29806         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29807         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29808         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29809         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29810         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29811         wcscmp functions.
29812         * sysdeps/s390/multiarch/ifunc-impl-list.c
29813         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29814         * string/strcmp.c (STRCMP): Define and use macro.
29815         * benchtests/bench-wcscmp.c: New File.
29816         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29817         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29818         instead of _HAVE_STRING_ARCH_memchr.
29820         * sysdeps/s390/multiarch/strncat-c.c: New File.
29821         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29822         * sysdeps/s390/multiarch/strncat.c: Likewise.
29823         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29824         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29825         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29827         wcsncat functions.
29828         * sysdeps/s390/multiarch/ifunc-impl-list.c
29829         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29830         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29831         * string/test-strncat.c: Add wcsncat support.
29832         * wcsmbs/test-wcsncat.c: New File.
29833         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29834         * benchtests/bench-strncat.c: Add wcsncat support.
29835         * benchtests/bench-wcsncat.c: New File.
29836         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29838         * sysdeps/s390/multiarch/strcat-c.c: New File.
29839         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29840         * sysdeps/s390/multiarch/strcat.c: Likewise.
29841         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29842         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29843         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29844         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29845         wcscat functions.
29846         * sysdeps/s390/multiarch/ifunc-impl-list.c
29847         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29848         * string/strcat.c (STRCAT): Define and use macro.
29849         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29850         * string/test-strcat.c: Add wcscat support.
29851         * wcsmbs/test-wcscat.c: New File.
29852         * wcsmbs/Makefile (strop-tests): Add wcscat.
29853         * benchtests/bench-strcat.c: Add wcscat support.
29854         * benchtests/bench-wcscat.c: New File.
29855         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29857         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29858         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29859         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29860         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29861         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29862         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29863         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29864         wcpncpy functions.
29865         * sysdeps/s390/multiarch/ifunc-impl-list.c
29866         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29867         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29868         * string/test-stpncpy.c: Add wcpncpy support.
29869         * wcsmbs/test-wcpncpy.c: New File.
29870         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29871         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29872         * benchtests/bench-wcpncpy.c: New File.
29873         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29875         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29876         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29877         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29878         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29879         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29880         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29881         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29883         wcsncpy functions.
29884         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29885         * sysdeps/s390/multiarch/ifunc-impl-list.c
29886         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29887         * string/test-strncpy.c: Add wcsncpy support.
29888         * wcsmbs/test-wcsncpy.c: New File.
29889         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29890         * benchtests/bench-strncpy.c: Add wcsncpy support.
29891         * benchtests/bench-wcsncpy.c: New File.
29892         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29894         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29895         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29896         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29897         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29898         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29899         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29900         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29901         wcpcpy functions.
29902         * string/stpcpy.c: Use STPCPY if defined.
29903         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29904         * sysdeps/s390/multiarch/ifunc-impl-list.c
29905         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29906         * string/test-stpcpy.c: Add wcpcpy support.
29907         * wcsmbs/test-wcpcpy.c: New File.
29908         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29909         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29910         * benchtests/bench-wcpcpy.c: New File.
29911         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29913         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29914         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29915         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29916         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29917         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29918         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29919         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29920         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29921         wcscpy functions.
29922         * sysdeps/s390/multiarch/ifunc-impl-list.c
29923         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29924         * benchtests/bench-wcscpy.c: New File.
29925         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29927         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29928         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29929         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29930         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29931         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29932         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29934         wcsnlen functions.
29935         * sysdeps/s390/multiarch/ifunc-impl-list.c
29936         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29937         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29938         * string/test-strnlen.c: Add wcsnlen support.
29939         * wcsmbs/test-wcsnlen.c: New File.
29940         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29941         * benchtests/bench-strnlen.c: Add wcsnlen support.
29942         * benchtests/bench-wcsnlen.c: New File.
29943         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29945         * sysdeps/s390/multiarch/Makefile: New File.
29946         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29947         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29948         * sysdeps/s390/multiarch/strlen.c: Likewise.
29949         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29950         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29951         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29952         * string/strlen.c (STRLEN): Define and use macro.
29953         * sysdeps/s390/multiarch/ifunc-impl-list.c
29954         (IFUNC_VX_IMPL): New macro function.
29955         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29956         * benchtests/Makefile (wcsmbs-bench): New variable.
29957         (string-bench-all): Added wcsmbs-bench.
29958         * benchtests/bench-wcslen.c: New File.
29960         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29961         s390_vx_libc_ifunc2): New macro function.
29963         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29964         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29965         assembler support.
29966         * sysdeps/s390/configure: Regenerated.
29968         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29969         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29971         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29972         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29973         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29975         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29976         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29978         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29979         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29980         (memcmp, bcmp): Use __memcmp_default as alias source.
29981         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29982         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29983         Rename to __memcmp_default.
29984         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29985         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29986         (memcpy): Use __memcpy_default as alias source.
29987         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29988         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29989         Rename to __memcpy_default.
29990         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29991         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29992         (memset): Use __memset_default as alias source.
29993         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29994         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29995         Rename to __memset_default.
29996         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29997         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29998         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29999         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30000         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30001         (memcmp, bcmp): Use __memcmp_default as alias source.
30002         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30003         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30004         Rename to __memcmp_default.
30005         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30006         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30007         (memcpy): Use __memcpy_default as alias source.
30008         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30009         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30010         Rename to __memcpy_default.
30011         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30012         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30013         (memset): Use __memset_default as alias source.
30014         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30015         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30016         Rename to __memset_default.
30017         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30018         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30020         [BZ #18610]
30021         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30022         __ieee_instruction_pointer to __unused.
30023         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30024         __ieee_instruction_pointer.
30025         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30026         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30027         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30028         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30029         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30030         Mark dxc-field as reserved.
30032 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30034         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30035         if the weak reference is not null.
30037 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30039         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30041         [BZ #11214]
30042         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30044 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30046         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30047         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30048         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30049         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30050         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30051         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30052         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30053         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30054         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30055         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30056         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30057         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30058         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30059         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30060         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30061         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30062         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30063         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30065 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30067         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30068         register other than r0 for tabort, it has special meaning.
30069         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30070         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30071         transaction before starting syscall.
30073 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30075         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30077 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30079         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30081         * sysdeps/x86_64/rtld-memcmp.c: Removed.
30082         * sysdeps/x86_64/rtld-memset.S: Likewise.
30083         * sysdeps/x86_64/rtld-strchr.S: Likewise.
30084         * sysdeps/x86_64/rtld-strlen.S: Likewise.
30085         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30086         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30088         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30090 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
30092         * debug/strcpy_chk.c: Improve performance.
30093         * debug/stpcpy_chk.c: Likewise.
30094         * sysdeps/x86_64/strcpy_chk.S: Remove.
30095         * sysdeps/x86_64/stpcpy_chk.S: Remove.
30097         [BZ #18240]
30098         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30100 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30102         [BZ #15128]
30103         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30104         ifuncmain8.
30105         (modules-names): Add ifuncmod8.
30106         ($(objpfx)ifuncmain8): New rule.
30107         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30108         <cpuid.h>.
30109         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30110         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30111         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30112         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30113         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30114         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30115         * sysdeps/x86_64/ifuncmain8.c: New file.
30116         * sysdeps/x86_64/ifuncmod8.c: Likewise.
30117         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30118         Removed.
30119         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30120         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30121         Change rtld_savespace_sse to __glibc_unused2.
30122         (RTLD_CHECK_FOREIGN_CALL): Removed.
30123         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30124         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30125         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30127 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30129         * sysdeps/aarch64/bzero.S (__bzero): Remove.
30131 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30133         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30134         Unconditionally set __fpcr to avoid uninialized warning.
30135         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30137 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30139         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30140         is corrupt.
30142         * malloc/arena.c (arena_get2): Drop unused argument.
30143         (arena_lock): Adjust.
30144         (arena_get_retry): Likewise.
30146 2015-08-24  Andreas Schwab  <schwab@suse.de>
30148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30149         Don't define.
30150         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30151         (__ASSUME_IPC64): Don't undef.
30152         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30153         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30154         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30155         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30156         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30157         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30158         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30159         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30160         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30161         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30162         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30163         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30164         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30165         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30166         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30167         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30168         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30169         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30170         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30171         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30172         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30174 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
30176         * manual/Makefile (install): Only build manual when perl is available.
30178 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30181         '#undef memcpy' by '#undef memchr'.
30183 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30185         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30186         memchr not point to the internal __GI_memchr implementation.
30188 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30190         * timezone/Makefile (CFLAGS-zdump.c): Remove
30191         -Wno-strict-prototypes.
30192         (CFLAGS-zic.c): Likewise.
30193         (CFLAGS-ialloc.c): Likewise.
30194         (CFLAGS-scheck.c): Likewise.
30196         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30197         -Wno-error=undef.
30199 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30201         * i386/i686/multiarch/strcasestr-c.c: Removed.
30202         * x86_64/multiarch/strcasestr.c: Likewise.
30203         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30204         Remove strcasestr.
30206 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30208         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30210         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30211         variables for high and low parts before possibly modifying them.
30213 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30215         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30216         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30217         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30218         of "multiarch/init-arch.h".
30219         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30220         * sysdeps/x86/init-arch.h: This.
30222 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30224         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30225         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30227 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
30229         [BZ #17787]
30230         * manual/macros.texi: Add twoexp macro.
30231         * manual/filesys.texi: Fix exponents.
30232         * manual/llio.texi: Likewise.
30233         * manual/stdio.texi: Likewise.
30235 2015-08-20  Florian Weimer  <fweimer@redhat.com>
30237         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30238         incorrect use.
30240 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30242         [BZ #18370]
30243         * math/s_csqrt.c (__csqrt): Force underflow exception for results
30244         whose real or imaginary part has small absolute value.
30245         * math/s_csqrtf.c (__csqrtf): Likewise.
30246         * math/s_csqrtl.c (__csqrtl): Likewise.
30247         * math/auto-libm-test-in: Add more tests of csqrt.
30248         * math/auto-libm-test-out: Regenerated.
30249         * sysdeps/i386/fpu/libm-test-ulps: Update.
30251 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30253         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30254         __ppc_set_ppr_very_low): New functions.
30255         * manual/platform.texi: Add documentation about
30256         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30258 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
30260         * string/stpncpy.c (stpncpy): Improve performance using
30261         __strnlen/memcpy/memset.
30263 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30265         [BZ #18796]
30266         * scripts/test-installation.pl: Don't add -lmvec to build options if
30267         libmvec wasn't built.
30269 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30271         [BZ #14341]
30272         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
30273         case when there is a gap between DT_REL and DT_JMPREL sections.
30274         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30275         (LDFLAGS-tst-split-dynreloc): New.
30276         (tst-split-dynreloc-ENV): Likewise.
30277         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30278         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30280 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30282         [BZ #18822]
30283         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30284         attribute_hidden.
30285         (__xstat64_conv): Likewise.
30286         (__xstat32_conv): Likewise.
30288 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30290         [BZ #18822]
30291         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30292         Don't load %ebx when calling __setcontext.  Call __setcontext
30293         with HIDDEN_JUMPTARGET.
30294         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30295         libc_hidden_def.
30297 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30299         * sysdeps/i386/i686/Makefile
30300         [$(subdir) == string] (sysdep_routines): Moved to ...
30301         * sysdeps/i386/Makefile: Here.
30302         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30303         * sysdeps/i386/cacheinfo.c: Here.
30304         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30305         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30306         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30307         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30309 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30311         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
30312         __i586__ is defined.
30313         (HAS_I686): Defined to 1 if __i686__ is defined.
30315 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30317         * elf/Makefile [$(have-z-execstack) = yes]
30318         (CPPFLAGS-tst-execstack.c): New variable.
30320         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30321         conditional to [defined UTMPX || _HAVE_UT_TYPE].
30322         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30323         UTMPX || _HAVE_UT_TV].
30324         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30325         UTMPX || _HAVE_UT_TV - 0].
30327 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
30329         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30330         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30331         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30333 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30335         * sysdeps/powerpc/dl-procinfo.c:
30336         (_dl_powerpc_cap_flags): Added missing strings for some
30337         hwcap features.
30338         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30340 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
30342         Port the 0x7efe...feff pattern to GCC 6.
30343         See Steve Ellcey's bug report in:
30344         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30345         * string/memrchr.c (MEMRCHR):
30346         * string/rawmemchr.c (RAWMEMCHR):
30347         * string/strchr.c (strchr):
30348         * string/strchrnul.c (STRCHRNUL):
30349         Rewrite code to avoid issues with signed shift overflow.
30351 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
30353         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30354         whether cpuid is available only if HAS_CPUID is 0.
30355         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30356         (HAS_I586): Likewise.
30357         (HAS_I686): Likewise.
30359 2015-08-18  Zack Weinberg  <zackw@panix.com>
30361         * misc/Versions (libc): Add GLIBC_2.23.
30363 2015-08-18  Alan Modra  <amodra@gmail.com>
30365         [BZ #18421]
30366         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30367         .Lp__global.
30368         (_start): Load %dp via .Lp__global.
30369         [!SHARED]: Use .section .rodata.
30371 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30373         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30374         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30376 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30378         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30379         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30381 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30383         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30384         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30386 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30388         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30389         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30391 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30393         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30394         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30396 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30398         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30399         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30401 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30403         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30405 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30407         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30408         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
30409         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30410         (__ASSUME_LWS_CAS): Delete.
30412 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30414         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30415         * sysdeps/hppa/configure: Regenerated.
30416         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30417         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30418         * sysdeps/hppa/nptl/tls.h: Likewise.
30420 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
30422         [BZ #18823]
30423         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30424         for scaling up small arguments.
30425         * math/s_csqrtf.c (__csqrtf): Likewise.
30426         * math/s_csqrtl.c (__csqrtl): Likewise.
30427         * math/auto-libm-test-in: Add more tests of csqrt.
30428         * math/auto-libm-test-out: Regenerated.
30430 2015-08-17  Andreas Schwab  <schwab@suse.de>
30432         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30433         version set GLIBC_2.19.
30435 2015-08-16  Zack Weinberg  <zackw@panix.com>
30437         [BZ #18681]
30438         * misc/regexp.h: This interface is no longer supported.
30439         Remove all contents, leaving only an #error directive.
30440         * misc/regexp.c (loc1, loc2, locs, step, advance):
30441         Demote to compatibility symbols.
30443 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30445         [BZ #18084]
30446         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30447         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30448         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30449         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30450         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30451         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30452         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30453         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30454         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30456 2015-08-15  Zack Weinberg  <zackw@panix.com>
30458         [BZ #18795]
30459         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30460         buffer length is known to be too large, not if it's known to be
30461         small enough.
30462         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30463         overflow at runtime, involving a length parameter, twice: once
30464         with a compile-time constant length parameter, once without.
30466 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30468         [BZ #18824]
30469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30470         scaling x * y up instead of down.
30471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30473         * math/auto-libm-test-in: Add more tests of fma.
30474         * math/auto-libm-test-out: Regenerated.
30476 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30480 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30482         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30483         unnecessary movq.
30484         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30485         Likewise.
30487 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30489         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30490         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30491         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30492         and tgamma.
30493         * math/auto-libm-test-out: Regenerated.
30494         * sysdeps/i386/fpu/libm-test-ulps: Update.
30495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30497         [BZ #16520]
30498         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30499         (__tanh): Force underflow exception for arguments with small
30500         absolute value.
30501         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30502         (__tanhf): Force underflow exception for arguments with small
30503         absolute value.
30504         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30505         (__tanhl): Force underflow exception for arguments with small
30506         absolute value.
30507         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30508         (__tanhl): Force underflow exception for arguments with small
30509         absolute value.
30510         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30511         (__tanhl): Force underflow exception for arguments with small
30512         absolute value.
30513         * math/auto-libm-test-in: Add more tests of tanh.
30514         * math/auto-libm-test-out: Regenerated.
30515         * sysdeps/i386/fpu/libm-test-ulps: Update.
30517 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30519         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30520         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30522 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30524         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30525         <cpuid.h>.
30527 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30529         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30530         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30532 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30534         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30535         Remove $(objpfx)init-arch.o.
30536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30537         init-arch.
30538         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30539         (INIT_ARCH_EXT): Defined as empty.
30540         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30541         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30542         __init_cpu_features call.  Replace HAS_XXX with
30543         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30544         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30545         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30546         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30547         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30548         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30549         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30550         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30551         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30552         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30553         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30554         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30555         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30556         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30557         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30560         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30561         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30562         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30563         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30570         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30575         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30580 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30582         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30583         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30584         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30585         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30586         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30587         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30588         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30589         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30590         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30591         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30592         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30593         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30594         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30595         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30596         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30597         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30598         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30599         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30600         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30601         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30602         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30603         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30604         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30605         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30606         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30607         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30608         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30609         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30610         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30611         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30614         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30615         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30616         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30617         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30618         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30619         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30620         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30621         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30622         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30623         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30624         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30626 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30628         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30629         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30631         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30632         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30633         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30634         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30635         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30636         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30637         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30638         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30639         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30640         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30641         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30642         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30643         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30644         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30645         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30646         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30647         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30649         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30650         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30651         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30652         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30653         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30654         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30655         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30656         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30657         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30658         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30659         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30660         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30661         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30663         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30664         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30665         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30666         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30667         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30668         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30669         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30670         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30672 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30674         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30675         (dl_platform_init): Call init_cpu_features.
30676         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30677         * sysdeps/i386/i686/cacheinfo.c
30678         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30679         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30680         * sysdeps/i386/i686/multiarch/Versions: Removed.
30681         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30682         Removed.
30683         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30684         * sysdeps/unix/sysv/linux/x86/Makefile
30685         (libpthread-sysdep_routines): Remove init-arch.
30686         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30687         <sysdeps/x86_64/dl-procinfo.c> instead of
30688         sysdeps/generic/dl-procinfo.c>.
30689         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30690         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30691         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30692         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30693         [$(subdir) == elf] (tests-static): Add
30694         tst-get-cpu-features-static.
30695         * sysdeps/x86/Versions: New file.
30696         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30697         * sysdeps/x86/cpu-features.c: Likewise.
30698         * sysdeps/x86/cpu-features.h: Likewise.
30699         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30700         * sysdeps/x86/libc-start.c: Likewise.
30701         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30702         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30703         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30704         * sysdeps/x86_64/dl-procinfo.c: Likewise.
30705         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30706         Assume USE_MULTIARCH is defined and don't check it.
30707         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30708         (is_amd): Likewise.
30709         (max_cpuid): Likewise.
30710         (intel_check_word): Likewise.
30711         (__cache_sysconf): Don't call __init_cpu_features.
30712         (__x86_preferred_memory_instruction): Removed.
30713         (init_cacheinfo): Don't call __init_cpu_features. Replace
30714         __cpu_features with GLRO(dl_x86_cpu_features).
30715         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30716         (dl_platform_init): Call init_cpu_features.
30717         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30718         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30719         * sysdeps/x86_64/multiarch/Versions: Removed.
30720         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30721         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30722         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30723         Removed.
30724         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30726 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30728         [BZ #18820]
30729         * libio/Makefile (test-fmemopen-mem): New test.
30730         * libio/test-fmemopen.c (do_bz18820): New test.
30731         * libio/fmemopen.c (__fmemopen): Fix memory leak.
30732         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30734 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30736         [BZ #16734]
30737         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30738         (FREE_BUF): Delete.
30739         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30740         * libio/genops.c (_IO_setb): Use malloc and free directly.
30741         (_IO_default_doallocate, _IO_default_finish): Likewise.
30742         ( _IO_unbuffer_all): Likewise.
30743         ( libc_freeres_fn): Likewise.
30744         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30745         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30746         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30747         (_IO_wdefault_doallocate): Likewise.
30749 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30751         [BZ #18086]
30752         * sysdeps/posix/nice.c (nice): Restore old errno.
30753         * posix/tst-nice.c (do_test): Add test for BZ #18086.
30755 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
30757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30759 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30761         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30762         __bcopy and add a weak_alias to bcopy.
30763         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30764         for static build.
30766         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30767         cleanup macro usage.
30768         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30769         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30770         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30771         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30772         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30773         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30774         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30775         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30776         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30777         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30779         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30781         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30784         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30785         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30786         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30788         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30789         libc_hidden_def.
30790         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30792         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30793         (sysdep_routines): Add strstr-ppc64.
30794         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30796 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
30798         [BZ #18778]
30799         * elf/Makefile (tests): Add Add tst-nodelete2.
30800         (modules-names): Add tst-nodelete2mod.
30801         (tst-nodelete2mod.so-no-z-defs): New.
30802         ($(objpfx)tst-nodelete2): Likewise.
30803         ($(objpfx)tst-nodelete2.out): Likewise.
30804         (LDFLAGS-tst-nodelete2): Likewise.
30805         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30806         out of loop through all loaded libraries.
30807         * elf/tst-nodelete2.c: New file.
30808         * elf/tst-nodelete2mod.c: Likewise.
30809         * elf/tst-znodelete-zlib.cc: Delete.
30811 2015-08-11  Andreas Schwab  <schwab@suse.de>
30813         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30814         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30815         (__openat64_nocancel): Likewise.
30817 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30819         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30820         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30821         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30822         * math/auto-libm-test-out: Regenerated.
30823         * sysdeps/i386/fpu/libm-test-ulps: Update.
30824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30826 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30828         [BZ #18790]
30829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30830         threshold for returning +/- 1.
30831         * math/auto-libm-test-in: Add more tests of tanh.
30832         * math/auto-libm-test-out: Regenerated.
30833         * sysdeps/i386/fpu/libm-test-ulps: Update.
30835 2015-08-10  Andreas Schwab  <schwab@suse.de>
30837         [BZ #18781]
30838         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30839         MORE_OFLAGS to oflag.
30840         * io/test-lfs.c (do_test): Test openat64.
30842 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30844         [BZ #18789]
30845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30846         smaller threshold for returning the argument.
30847         * math/auto-libm-test-in: Add more tests of sinh.
30848         * math/auto-libm-test-out: Regenerated.
30849         * sysdeps/i386/fpu/libm-test-ulps: Update.
30851 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30853         [BZ #18674]
30854         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30855         break.
30857 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30859         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30860         (generated): Don't add $(addprefix z.,$(tzfiles)).
30862 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30864         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30865         * scripts/sysd-rules.awk: Likewise.
30867 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30869         * iconvdata/tst-tables.sh: Change echo -n to printf.
30870         * nss/db-Makefile: Likewise.
30871         * posix/tst-getconf.sh: Likewise.
30872         * stdio-common/tst-unbputc.sh: Likewise.
30874 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30876         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30877         MADV_*_PAGES defines behind this feature check.
30879 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30881         [BZ #18480]
30882         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30883         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30884         Define.
30885         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30886         LOAD_REGS_5, LOAD_REGS_6): Update.
30887         (INTERNAL_SYSCALL): Update using new LOAD defines.
30888         (INTERNAL_SYSCALL_NCS): Likewise.
30889         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30891 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30893         [BZ #16734]
30894         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30896 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30898         [BZ #17905]
30899         * catgets/Makefile (tst-catgets-mem): New test.
30900         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30901         * catgets/open_catalog.c (__open_catalog): Likewise.
30902         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30904 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30906         [BZ #18787]
30907         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30908         clobber registers.
30909         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30910         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30911         Cast return to __typeof (oldval).
30913 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30915         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30916         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30917         and delete sys/syscall.h include.
30919 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30921         [BZ #16517]
30922         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30923         (tan): Force underflow exception for arguments with small absolute
30924         value.
30925         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30926         (__kernel_tanf): Force underflow exception for arguments with
30927         small absolute value.
30928         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30929         (__kernel_tanl): Force underflow exception for arguments with
30930         small absolute value.
30931         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30932         (__kernel_tanl): Force underflow exception for arguments with
30933         small absolute value.
30934         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30935         (__kernel_tanl): Force underflow exception for arguments with
30936         small absolute value.
30937         * math/auto-libm-test-in: Add more tests of tan.
30938         * math/auto-libm-test-out: Regenerated.
30940 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30942         Fix sysdeps/i386/fpu/s_scalbn.S build
30944         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30946 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30948         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30950 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30952         Fix gcrt0.o compilation
30954         When static-start-installed-name is different from
30955         start-installed-name, we must not use the shared objects.
30957         * csu/Makefile
30958         (extra-objs): Add gmon-start.o when building shared library and
30959         $(static-start-installed-name) is different from
30960         $(start-installed-name).
30961         $(objpfx)g$(static-start-installed-name): When building shared
30962         library and $(static-start-installed-name) is different from
30963         $(static-start-installed-name), revert to non-shared rule,
30964         i.e. using $(objpfx)% and gmon-start.o.
30966 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30968         [BZ #16519]
30969         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30970         (__ieee754_sinh): Force underflow exception for arguments with
30971         small absolute value.
30972         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30973         (__ieee754_sinhf): Force underflow exception for arguments with
30974         small absolute value.
30975         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30976         (__ieee754_sinhl): Force underflow exception for arguments with
30977         small absolute value.
30978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30979         (__ieee754_sinhl): Force underflow exception for arguments with
30980         small absolute value.
30981         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30982         (__ieee754_sinhl): Force underflow exception for arguments with
30983         small absolute value.
30984         * math/auto-libm-test-in: Add more tests of sinh.
30985         * math/auto-libm-test-out: Regenerated.
30986         * sysdeps/i386/fpu/libm-test-ulps: Update.
30988 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30990         * libio/oldfileops.c: Include unistd.h.
30992 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30994         * stdlib/isomac.c: Include ctype.h.
30996 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30998         * dirent/tst-seekdir.c (main): Converted to ...
30999         (do_test): ... this.
31000         (TEST_FUNCTION): New macro.
31001         Include test-skeleton.c.
31002         * elf/tst-dlmodcount.c (main): Converted to ...
31003         (do_test): ... this.
31004         (TEST_FUNCTION): New macro.
31005         Include test-skeleton.c.
31006         * elf/tst-order-main.c (main): Converted to ...
31007         (do_test): ... this.
31008         (TEST_FUNCTION): New macro.
31009         Include test-skeleton.c.
31010         * elf/tst-pie2.c (main): Converted to ...
31011         (do_test): ... this.
31012         (TEST_FUNCTION): New macro.
31013         Include test-skeleton.c.
31014         * inet/tst-ether_aton.c (main): Converted to ...
31015         (do_test): ... this.
31016         (TEST_FUNCTION): New macro.
31017         Include test-skeleton.c.
31018         * misc/tst-mntent.c (main): Converted to ...
31019         (do_test): ... this.
31020         (TEST_FUNCTION): New macro.
31021         Include test-skeleton.c.
31022         * misc/tst-tsearch.c (main): Converted to ...
31023         (do_test): ... this.
31024         (TEST_FUNCTION): New macro.
31025         Include test-skeleton.c.
31026         * posix/tst-regexloc.c (main): Converted to ...
31027         (do_test): ... this.
31028         (TEST_FUNCTION): New macro.
31029         Include test-skeleton.c.
31030         * resolv/tst-aton.c (main): Converted to ...
31031         (do_test): ... this.
31032         (TEST_FUNCTION): New macro.
31033         Include test-skeleton.c.
31034         * stdio-common/test-fwrite.c (main): Converted to ...
31035         (do_test): ... this.
31036         (TEST_FUNCTION): New macro.
31037         Include test-skeleton.c.
31038         * stdio-common/tst-ferror.c (main): Converted to ...
31039         (do_test): ... this.
31040         (TEST_FUNCTION): New macro.
31041         Include test-skeleton.c.
31042         * stdio-common/tst-printf.c (main): Converted to ...
31043         (do_test): ... this.
31044         (TEST_FUNCTION): New macro.
31045         Include test-skeleton.c.
31046         * stdio-common/tst-printfsz.c (main): Converted to ...
31047         (do_test): ... this.
31048         (TEST_FUNCTION): New macro.
31049         Include test-skeleton.c.
31050         * stdlib/tst-strtod.c (main): Converted to ...
31051         (do_test): ... this.
31052         (TEST_FUNCTION): New macro.
31053         Include test-skeleton.c.
31054         * string/tst-strlen.c (main): Converted to ...
31055         (do_test): ... this.
31056         (TEST_FUNCTION): New macro.
31057         Include test-skeleton.c.
31058         * string/tst-svc.c (main): Converted to ...
31059         (do_test): ... this.
31060         (TEST_FUNCTION): New macro.
31061         Include test-skeleton.c.
31062         * time/tst-strptime.c (main): Converted to ...
31063         (do_test): ... this.
31064         (TEST_FUNCTION): New macro.
31065         Include test-skeleton.c.
31066         * timezone/tst-timezone.c (main): Converted to ...
31067         (do_test): ... this.
31068         (TEST_FUNCTION): New macro.
31069         Include test-skeleton.c.
31071 2015-08-05  Zack Weinberg  <zackw@panix.com>
31073         * misc/regexp.h: Update comments.
31075 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
31077         [BZ #18635]
31078         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31079         before return label.
31081 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31083         [BZ #18661]
31084         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31085         when calling __errno_location.
31086         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31087         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31089 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31091         [BZ #18661]
31092         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31093         (__lll_timedwait_tid): Align stack to 16 bytes when calling
31094         __gettimeofday.
31096 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31098         [BZ #18661]
31099         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31100         (__start_context): Don't use pop to restore %rdi so that stack
31101         is aligned to 16 bytes when calling __setcontext.
31103 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31105         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31106         only for libc.
31107         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31109 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31111         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31112         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
31113         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31115 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31117         * string/memccpy.c (memccpy):
31118         Improve performance by using memchr/memcpy/__mempcpy.
31120 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31122         * string/strncpy.c (strncpy):
31123         Improve performance by using __strnlen/memcpy.
31125 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31127         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31128         Optimize to avoid an unnecessary FPCR read.
31130 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31132         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31133         Optimize to reduce FPCR/FPSR accesses.
31135 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31137         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31138         dead->data[category] != NULL.
31140 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
31142         [BZ #18647]
31143         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31144         and |x| close to 1, use absolute value of x when computing log.
31145         * math/auto-libm-test-in: Add more tests of pow.
31146         * math/auto-libm-test-out: Regenerated.
31148 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31150         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31151         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31152         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31154 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
31156         [BZ #18525]
31157         * locales/km_KH: Remove timezone definition.
31158         * locales/lo_LA: Likewise.
31159         * locales/my_MM: Likewise.
31160         * locales/nan_TW@latin: Likewise.
31161         * locales/th_TH: Likewise.
31162         * locales/uk_UA: Likewise.
31164 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31166         [BZ #18265]
31167         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31168         (wcsncat): Likewise.
31169         (wcscmp): Likewise.
31170         (wcsncmp): Likewise.
31172 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31174         * test-skeleton.c (usage): New function.
31175         (main): Call usage when opt is '?'.
31177 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31179         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31180         before first use.
31182 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31184         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31185         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
31186         in there too.
31188 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
31190         * version.h (RELEASE): Set to "development".
31191         (VERSION): Set to "2.22.90"
31193         * version.h (RELEASE): Set to "stable".
31194         (VERSION): Set to "2.22"
31195         * include/features.h (__GLIBC_MINOR__): Set to 22.
31197 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
31199         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31200         Restructure macro to avoid "value computed is not used" warning.
31201         (atomic_compare_and_exchange_val_acq): Likewise.
31203 2015-08-04  Andreas Schwab  <schwab@suse.de>
31205         [BZ #18635]
31206         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31207         ret.
31208         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31210 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
31212         * po/pl.po: Updated translation.
31213         * po/uk.po: Likewise.
31214         * po/fi.po: Likewise.
31215         * po/ko.po: Likewise.
31216         * po/ru.po: Likewise.
31217         * po/vi.po: Likewise.
31219 2015-07-31  Zack Weinberg  <zackw@panix.com>
31221         [BZ #18681]
31222         * regexp.h: Add unconditional #warning stating that this header
31223         will be removed soon.  Revise banner comment to match.
31224         (compile): Consistently use ERROR instead of RETURN to report
31225         errors (partial fix for BZ #18681).
31226         * regexp.c: Don't include regexp.h. Remove some unnecessary
31227         declarations.
31229 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
31231         * po/libc.pot: Regenerated.
31233 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31235         [BZ #18740]
31236         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31237         float-vlen4-arch-ext-cflags): Removed.
31238         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31239         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31241 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31243         [BZ #14113]
31244         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31245         aligned to __aligned__.
31246         (pthread_cond_t, pthread_rwlock_t): Likewise.
31248 2015-07-30  Torvald Riegel  <triegel@redhat.com>
31250         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31252 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31254         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31255         (struct sigaction): Change sa_flags from a long to an int, and add
31256         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31258 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31260         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
31261         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
31262         sysdeps/generic/sysdep.h include.
31263         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
31264         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
31265         sysdeps/hppa/sysdep.h.
31266         (ENTRY, PSEUDO): Undefine before defining.
31268 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31270         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
31271         from scratch to use INTERNAL_SYSCALL.
31273 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
31275         [BZ #18078]
31276         * scripts/check-localplt.awk: Support alternate relocations.
31277         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31278         sections.
31279         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31280         malloc entries with + REL R_386_GLOB_DAT.
31281         * sysdeps/x86_64/localplt.data: New file.
31283 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
31285         [BZ #18731]
31286         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31287         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31288         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31290 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31292         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31294 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31296         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31297         directly in terms of __sync_fetch_and_add and delete (int) cast.
31299 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31301         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31302         the -D_ASM_IA64_CURRENT_H flag.
31304 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31306         [BZ #18641]
31307         * pwd/pwd.h (putpwent): Delete __nonnull markings.
31309 2015-07-27  Andreas Schwab  <schwab@suse.de>
31311         * conform/conformtest.pl (checknamespace): Filter out string
31312         literals while tokenizing.
31314 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31316         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31317         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
31318         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31320 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31322         * nptl/tst-join7mod.c: Add #include <string.h>.
31324 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31326         * sysdeps/nios2/libm-test-ulps: Update.
31328 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31330         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31331         Fix order of arguments to the rt_sigprocmask syscall.
31332         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31333         Likewise.
31335 2015-07-24  Roland McGrath  <roland@hack.frob.com>
31337         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31339 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31341         [BZ #18457]
31342         * nptl/Makefile (tests): New test case tst-join7.
31343         (modules-names): New test case module tst-join7mod.
31344         * nptl/tst-join7.c: New file.
31345         * nptl/tst-join7mod.c: New file.
31346         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31347         all translation units in libc.so, libpthread.so and rtld.
31349 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31353 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31357         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31358         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31363         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31364         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31365         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31366         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31367         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31368         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31370         implementation.
31372 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31374         [BZ #17711]
31375         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31376         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31377         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31378         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31379         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31380         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31382 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31384         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31385         instead of just saying load lock in the comments.
31387 2015-07-23  Roland McGrath  <roland@hack.frob.com>
31389         * sysdeps/unix/Subdirs: Moved ...
31390         * sysdeps/posix/Subdirs: ... here.
31391         * login/pty.h (struct termios, struct winsize): Add forward decls.
31392         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31393         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31394         * sysdeps/arm/nacl/libc.abilist: Updated.
31395         * sysdeps/nacl/libutil.abilist: New file.
31397         * bits/signum.h: Update comments to mention 1003.1-2013 too.
31398         (SIGWINCH): New macro.
31400         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31401         * sysdeps/arm/nacl/libc.abilist: Add it.
31403 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31405         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31407 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31409         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31410         Swap __glibc_reserved0 and sa_flags order.
31412 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31414         [BZ #18657]
31415         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31416         are pending TLS destructor calls.
31417         * include/link.h (struct link_map): Add concurrency note for
31418         L_TLS_DTOR_COUNT.
31419         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31420         Don't touch the link map flag.  Atomically increment
31421         l_tls_dtor_count.
31422         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31423         Avoid taking the load lock and don't touch the link map flag.
31424         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31425         * stdlib/Makefile (tests): Use it.
31426         * stdlib/tst-tls-atexit.c (do_test): dlopen
31427         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31428         to allow tst-tls-atexit-nodelete test case to use it.
31430 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31432         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31433         to bits/types.h.
31434         (msgqnum_t): New typedef.
31435         (msglen_t): Likewise.
31436         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31437         and msg_qbytes type to msglen_t.
31439 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31441         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31442         pad0 to __glibc_reserved0.
31443         (struct stat64): Likewise.
31445 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31447         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31448         Change sa_flags from a long to an int and add __glibc_reserved0 before
31449         it for padding.
31451 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31453         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31454         anonymous by deleting "siginfo" name.
31456 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31458         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31459         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31460         rather than __nacl_irt_filename.
31461         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31463         * NEWS: New item for arm-nacl port.
31464         * sysdeps/arm/nacl/libc.abilist: New file.
31465         * sysdeps/nacl/ld.abilist: New file.
31466         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31467         * sysdeps/nacl/libanl.abilist: New file.
31468         * sysdeps/nacl/libcrypt.abilist: New file.
31469         * sysdeps/nacl/libdl.abilist: New file.
31470         * sysdeps/nacl/libm.abilist: New file.
31471         * sysdeps/nacl/libpthread.abilist: New file.
31472         * sysdeps/nacl/libresolv.abilist: New file.
31473         * sysdeps/nacl/librt.abilist: New file.
31475 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31477         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31478         __startcontext to initialize the new context.
31479         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31480         up CFI directive to forbid further backtracing.
31482 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31484         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31485         reference.
31486         * charmaps/ANSI_X3.4-1968: Likewise.
31487         * charmaps/BS_4730: Likewise.
31488         * charmaps/BS_VIEWDATA: Likewise.
31489         * charmaps/CP1250: Likewise.
31490         * charmaps/CP1251: Likewise.
31491         * charmaps/CP1252: Likewise.
31492         * charmaps/CP1253: Likewise.
31493         * charmaps/CP1254: Likewise.
31494         * charmaps/CP1255: Likewise.
31495         * charmaps/CP1256: Likewise.
31496         * charmaps/CSN_369103: Likewise.
31497         * charmaps/EBCDIC-DK-NO: Likewise.
31498         * charmaps/GB_1988-80: Likewise.
31499         * charmaps/GREEK-CCITT: Likewise.
31500         * charmaps/GREEK7: Likewise.
31501         * charmaps/INIS-8: Likewise.
31502         * charmaps/ISIRI-3342: Likewise.
31503         * charmaps/ISO_2033-1983: Likewise.
31504         * charmaps/ISO_5427-EXT: Likewise.
31505         * locales/POSIX: Likewise.
31506         * locales/ar_SA: Likewise.
31507         * locales/be_BY: Likewise.
31508         * locales/be_BY@latin: Likewise.
31509         * locales/ca_ES: Likewise.
31510         * locales/cs_CZ: Likewise.
31511         * locales/da_DK: Likewise.
31512         * locales/de_BE: Likewise.
31513         * locales/de_CH: Likewise.
31514         * locales/de_LU: Likewise.
31515         * locales/en_AU: Likewise.
31516         * locales/en_BW: Likewise.
31517         * locales/en_CA: Likewise.
31518         * locales/en_DK: Likewise.
31519         * locales/en_GB: Likewise.
31520         * locales/en_IE: Likewise.
31521         * locales/en_NZ: Likewise.
31522         * locales/en_ZA: Likewise.
31523         * locales/en_ZW: Likewise.
31524         * locales/es_AR: Likewise.
31525         * locales/es_BO: Likewise.
31526         * locales/es_CL: Likewise.
31527         * locales/es_CO: Likewise.
31528         * locales/es_DO: Likewise.
31529         * locales/es_EC: Likewise.
31530         * locales/es_ES: Likewise.
31531         * locales/es_HN: Likewise.
31532         * locales/es_MX: Likewise.
31533         * locales/es_PA: Likewise.
31534         * locales/es_PE: Likewise.
31535         * locales/es_PY: Likewise.
31536         * locales/es_SV: Likewise.
31537         * locales/es_US: Likewise.
31538         * locales/es_UY: Likewise.
31539         * locales/es_VE: Likewise.
31540         * locales/et_EE: Likewise.
31541         * locales/fa_IR: Likewise.
31542         * locales/fo_FO: Likewise.
31543         * locales/fr_CA: Likewise.
31544         * locales/fr_CH: Likewise.
31545         * locales/gv_GB: Likewise.
31546         * locales/he_IL: Likewise.
31547         * locales/hr_HR: Likewise.
31548         * locales/id_ID: Likewise.
31549         * locales/is_IS: Likewise.
31550         * locales/it_CH: Likewise.
31551         * locales/iw_IL: Likewise.
31552         * locales/kl_GL: Likewise.
31553         * locales/ko_KR: Likewise.
31554         * locales/kw_GB: Likewise.
31555         * locales/lg_UG: Likewise.
31556         * locales/lt_LT: Likewise.
31557         * locales/lv_LV: Likewise.
31558         * locales/mi_NZ: Likewise.
31559         * locales/nhn_MX: Likewise.
31560         * locales/nl_BE: Likewise.
31561         * locales/pl_PL: Likewise.
31562         * locales/sk_SK: Likewise.
31563         * locales/sl_SI: Likewise.
31564         * locales/sv_FI: Likewise.
31565         * locales/tl_PH: Likewise.
31566         * locales/tr_TR: Likewise.
31567         * locales/vi_VN: Likewise.
31569 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31571         [BZ #17475]
31572         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31573         of tu_IN and bh_IN.
31575 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31577         [BZ #18694]
31578         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31579         bits/wordsize.h.
31580         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31582 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31584         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31585         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31586         (spawn_thread): New function.
31587         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31588         (do_test): ... here.  Use IS_LOADED to test for its
31589         availability.
31591 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31593         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31595 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31597         [BZ #18696]
31598         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31599         si_addr_bnd.
31600         (si_lower): New.
31601         (si_upper): Likewise.
31603 2015-07-16  David S. Miller  <davem@davemloft.net>
31605         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31607 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31609         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31610         buffer.
31611         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31612         fail output information.
31614 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31617         and strstr-ppc64..
31618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31619         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31620         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31621         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31622         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31624 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31626         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31627         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31628         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31629         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31631 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31633         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31634         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31635         rtld_hidden_proto.
31636         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31638 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31640         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31641         the test can fail.
31643         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31645         [BZ #18676]
31646         * elf/tst-nodelete-opened.c: New test case.
31647         * elf/tst-nodelete-opened-lib.c: New test case module.
31648         * elf/Makefile (tests, modules-names): Use them.
31649         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31650         early.
31652 2015-07-15  David S. Miller  <davem@davemloft.net>
31654         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31655         futex-intenal.h
31656         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31657         * sysdeps/sparc/sparc64/Makefile: Likewise.
31658         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31659         Remove space from macro define.
31660         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31662 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31664         [BZ #17475]
31665         * locale/iso-639.def: Update Bhili and Tulu language codes as
31666         per iso639-3.
31668 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31670         * elf/tst-leaks1.c (main): Converted to ...
31671         (do_test): ... this.
31672         (TEST_FUNCTION): New macro.
31673         Include test-skeleton.c.
31674         * localedata/tst-langinfo.c (main): Converted to ...
31675         (do_test): ... this.
31676         (TEST_FUNCTION): New macro.
31677         Include test-skeleton.c.
31678         * math/test-fpucw.c (main): Converted to ...
31679         (do_test): ... this.
31680         (TEST_FUNCTION): New macro.
31681         Include test-skeleton.c.
31682         * math/test-tgmath.c (main): Converted to ...
31683         (do_test): ... this.
31684         (TEST_FUNCTION): New macro.
31685         Include test-skeleton.c.
31686         * math/test-tgmath2.c (main): Converted to ...
31687         (do_test): ... this.
31688         (TEST_FUNCTION): New macro.
31689         Include test-skeleton.c.
31690         * setjmp/tst-setjmp.c (main): Converted to ...
31691         (do_test): ... this.
31692         (TEST_FUNCTION): New macro.
31693         Include test-skeleton.c.
31694         * stdio-common/tst-sscanf.c (main): Converted to ...
31695         (do_test): ... this.
31696         (TEST_FUNCTION): New macro.
31697         Include test-skeleton.c.
31698         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31699         (do_test): ... this.
31700         (TEST_FUNCTION): New macro.
31701         Include test-skeleton.c.
31703         * elf/tst-audit9.c (main): Converted to ...
31704         (do_test): ... this.
31705         (TEST_FUNCTION): New macro.
31706         Include test-skeleton.c.
31708 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
31710         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31712 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31714         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31715         New variable.
31717 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31719         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31721 2015-07-14  Roland McGrath  <roland@hack.frob.com>
31723         * sysdeps/generic/dl-fileid.h: New file.
31724         * sysdeps/posix/dl-fileid.h: New file.
31725         * sysdeps/nacl/dl-fileid.h: New file.
31726         * include/link.h: Include <dl-fileid.h>.
31727         (struct link_map): Replace l_dev and l_ino with l_file_id.
31728         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31729         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
31730         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
31732 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31734         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31736 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31738         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31739         Add iff $CXX is set.
31740         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31741         Likewise.
31742         (tst-nodelete-zmodiff): Likewise.
31743         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31745 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31747         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31749 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31751         * sysdeps/aarch64/fpu/math_private.h
31752         (define math_opt_barrier): Add AArch64 version.
31753         (math_force_eval): Likewise.
31755 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31757         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31759 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
31761         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31762         %ld with %jd and cast to intmax_t.
31763         (do_test_length_zero): Likewise.
31765 2015-07-10  Roland McGrath  <roland@hack.frob.com>
31767         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31769 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
31771         * sysdeps/tile/libm-test-ulps: Regenerated.
31773         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31774         Comment out the whole function, not just its body.
31776 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31778         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31779         locks.
31781         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31783 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31785         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31786         (sem_assume_only_signals_cause_futex_EINTR): Remove.
31788 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31790         * sysdeps/nptl/futex-internal.h: New file.
31791         * sysdeps/nacl/futex-internal.h: New file.
31792         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31793         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31794         error checking.
31795         (setxid_unmark_thread): Likewise.
31796         (__nptl_setxid): Likewise.
31797         (__wait_lookup_done): Likewise.
31798         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31799         * nptl/nptl-init.c (sighandler_setxid): Likewise.
31800         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31801         * nptl/pthread_once.c (clear_once_control): Likewise.
31802         (__pthread_once_slow): Likewise.
31803         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31804         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31805         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31806         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31807         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31808         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31809         Likewise.
31810         (__pthread_rwlock_rdlock): Likewise.
31811         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31812         Likewise.
31813         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31814         Likewise.
31815         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31816         Likewise.
31817         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31818         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31819         Likewise.
31820         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31821         __ASSUME_PRIVATE_FUTEX check.
31822         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31823         Check that shared futexes are supported.
31824         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31825         wrappers with error checking.
31826         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31827         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31828         * nptl/pthread_barrierattr_setpshared.c
31829         (pthread_barrierattr_setpshared): Check that shared futexes are
31830         supported.
31831         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31832         Likewise.
31833         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31834         Likewise.
31835         * nptl/sem_init.c (futex_private_if_supported): Remove.
31836         (__new_sem_init): Adapt and check that shared futexes are supported.
31837         * nptl/sem_open.c (sem_open): Likewise.
31838         * nptl/sem_post.c (futex_wake): Remove.
31839         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31840         (do_futex_wait): Use futex wrappers with error checking.
31841         * nptl/sem_wait.c: Include lowlevellock.h.
31842         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31843         Use futex_supports_pshared.
31844         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31845         Use futex wrappers with error checking.
31846         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31847         Likewise.
31848         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31849         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31850         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31851         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31852         (futex_wake): Likewise.
31853         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31854         (do_futex_wait): Use futex wrappers with error checking.
31855         (__new_sem_wait_slow): Update EINTR handling.
31856         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31858 2015-07-09  Martin Sebor  <msebor@redhat.com>
31860         [BZ #18435]
31861         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31862         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31863         * nptl/Makefile (test-xfail-tst-once5): Define.
31865 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31867         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31868         * elf/dl-minimal.c: For readability, reorder some definitions and
31869         introduce more page breaks.  Include <stdio.h>.
31870         (__libc_fatal): New function.
31872         * include/unistd.h: Add rtld_hidden_proto for _exit.
31873         * posix/_exit.c: Add rtld_hidden_def.
31874         * sysdeps/mach/hurd/_exit.c: Likewise.
31875         * sysdeps/nacl/_exit.c: Likewise.
31876         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31877         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31879 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31881         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31882         bndmov encoding with zero displacement.
31884 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31885             H.J. Lu  <hongjiu.lu@intel.com>
31887         [BZ #18134]
31888         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31889         * sysdeps/i386/configure: Regenerated.
31890         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31891         (_dl_runtime_profile): Save and restore Intel MPX return bound
31892         registers when calling _dl_call_pltexit.  Add
31893         PRESERVE_BND_REGS_PREFIX before return.
31894         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31895         (LRV_BND1_OFFSET): Likewise.
31896         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31897         lrv_bnd1.
31898         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31899         typo in bndmov encoding.
31900         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31901         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31902         branch instructions to preserve bounds.
31904 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31907         [GLIBC_2.22]: Add fmemopen.
31909 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31911         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31912         returns an error, also try to use host port from __mach_host_self for
31913         the __vm_wire call.
31914         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31916 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31918         [BZ #18400]
31919         [BZ #18648]
31920         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31921         Fix pr_uid and pr_gid members.
31922         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31923         definition to elf_greg_t.
31925 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31927         [BZ #18383]
31928         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31929         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31930         * sysdeps/arm/configure: Regenerated.
31931         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31932         (test-xfail-tst-tlsalign-static): Variable removed.
31934         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31935         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31936         rather than explicit 'ln -s'.
31938         * resolv/rpc/netdb.h: New file.
31939         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31941 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31943         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31944         length buffers.
31945         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31946         test-skeleton.c.
31948         [BZ #6544]
31949         [BZ #11216]
31950         [BZ #12836]
31951         [BZ #13151]
31952         [BZ #13152]
31953         [BZ #14292]
31954         * include/stdio.h (fmemopen): Remove hidden prototype.
31955         (__fmemopen): Add new hidden prototype.
31956         * libio/Makefile: Add oldfmemopen object.
31957         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31958         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31959         compliance.
31960         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31961         symbol compatibility.
31962         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31963         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31964         fmemopen.
31965         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31966         on append and read mode.
31967         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31968         fmemopen.
31969         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31970         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31971         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31972         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31973         Likewise.
31974         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31975         [GLIBC_2.22]: Likewise.
31976         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31977         Likewise.
31978         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31979         Likewise.
31980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31981         [GLIBC_2.22]: Likewise.
31982         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31983         [GLIBC_2.22]: Likewise.
31984         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31985         [GLIBC_2.22]: Likewise.
31986         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31987         [GLIBC_2.22]: Likewise.
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31989         [GLIBC_2.22]: Likewise.
31990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31991         [GLIBC_2.22]: Likewise.
31992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31993         [GLIBC_2.22]: Likewise.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31995         Likewise.
31996         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31997         Likewise.
31998         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31999         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32000         [GLIBC_2.22]: Likewise.
32001         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32002         [GLIBC_2.22]: Likewise.
32003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32004         [GLIBC_2.22]: Likewise.
32005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32006         [GLIBC_2.22]: Likewise.
32007         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32008         Likewise.
32009         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32010         Likewise.
32011         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32012         Likewise.
32013         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32014         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32016 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32018         [BZ #18643]
32019         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32020         IPV6_PATHMTU, and IPV6_DONTFRAG.
32022 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32024         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32025         and _IO_UNBUFFERED.
32026         * libio/oldfileops.c: Likewise.
32027         * libio/wfileops.c: Likewise.
32029 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32031         * nscd/selinux.c: Delete selinux/flask.h include.
32033 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32035         [BZ #18641]
32036         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32037         (putpwent): Likewise.
32038         (getpwnam): Likewise.
32039         (getpwent_r): Likewise.
32040         (getpwuid_r): Likewise.
32041         (getpwnam_r): Likewise.
32042         (fgetpwent_r): Likewise.
32044 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32046         [BZ #18557]
32047         * inet/rcmd.c (__validuser2_sa): Check user first to
32048         short-circuit host check.
32050 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
32051             Mikhail Ilin  <m.ilin@samsung.com>
32053         [BZ #17833]
32054         * elf/Makefile (tests): Add tst-nodelete.
32055         (modules-names): Add tst-nodelete-uniquemod.
32056         (tst-nodelete-uniquemod.so-no-z-defs): New.
32057         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32058         (tst-nodelete-zmod.so-no-z-defs): Likewise.
32059         ($(objpfx)tst-nodelete): Likewise.
32060         ($(objpfx)tst-nodelete.out): Likewise.
32061         (LDFLAGS-tst-nodelete): Likewise.
32062         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32063         * elf/dl-close.c (_dl_close_worker): Add a parameter to
32064         implement forced object deletion.
32065         (_dl_close): Pass false to _dl_close_worker.
32066         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32067         * elf/tst-nodelete.cc: New file.
32068         * elf/tst-nodeletelib.cc: Likewise.
32069         * elf/tst-znodeletelib.cc: Likewise.
32070         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32072 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32074         [BZ #18508]
32075         * stdlib/Makefile ($(objpfx)tst-makecontext3):
32076         Depend on $(libdl).
32077         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32078         is not called infinitely times.
32079         (backtrace_helper): New function.
32080         (trace_arg): New struct.
32081         (st1): Enlarge stack size.
32082         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32083         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32084         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32085         Likewise.
32087 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32089         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32091 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32093         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32094         Include sys/types.h instead of bits/types.h.
32095         Remove inclusion of bits/wordsize.h.
32097 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32099         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32100         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32101         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32102         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32103         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32104         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32106 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32108         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32109         link-defines.sym.
32110         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32111         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32112         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32113         and LR_SIZE.
32114         * sysdeps/i386/link-defines.sym: New file.
32116 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32118         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32119         (modules-names): Add tst-auditmod3a tst-auditmod3b.
32120         ($(objpfx)tst-audit3): New rule.
32121         ($(objpfx)tst-audit3.out): Likewise.
32122         * sysdeps/i386/tst-audit3.c: New file.
32123         * sysdeps/i386/tst-audit3.h: Likewise.
32124         * sysdeps/i386/tst-auditmod3a.c: Likewise.
32125         * sysdeps/i386/tst-auditmod3b.c: Likewise.
32127 2015-07-07  Torvald Riegel  <triegel@redhat.com>
32129         [BZ #18633]
32130         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32131         pointer in C code.
32132         (__strcat_c): Likewise.
32133         (__strcat_g): Likewise.
32135 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
32137         [BZ #18592]
32138         * misc/sbrk.c: Set errno to ENOMEM on overflow.
32140 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32142         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32143         New function.  (__ieee754_sqrtf): New function.
32144         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32145         New function.
32146         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32147         New function.
32149 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32151         * sysdeps/ieee754/support.c: Remove unused file.
32153 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32155         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32156         registers instead of d ones so the layout is kernel abi compatible.
32157         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32158         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32159         Likewise.
32161 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32163         * sysdeps/aarch64/libm-test-ulps: Regenerated.
32165 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32167         [BZ #18619]
32168         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32169         and return argument in case of subnormal argument.
32171 2015-07-01  Martin Sebor  <msebor@redhat.com>
32173         [BZ #18435]
32174         * nptl/Makefile: Add tst-once5.cc.
32175         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32176         Remove macro redefinitions.
32177         * nptl/tst-once5.cc: New test.
32179 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32181         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32183         * sysdeps/arm/libm-test-ulps: Regenerated.
32185         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32186         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32188 2015-06-30  Torvald Riegel  <triegel@redhat.com>
32190         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32191         lll_lock_wait_private and lll_futex_wake probes.
32193         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32195         Likewise.
32196         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32197         atomic_spin_nop.
32198         * sysdeps/x86_64/bits/atomic.h: Likewise.
32199         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32200         to atomic_spin_nop and move ...
32201         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32202         ... here and ...
32203         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32204         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32205         atomic_spin_nop instead of BUSY_WAIT_NOP.
32206         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32207         Likewise.
32208         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32209         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32210         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32211         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32212         instead of atomic_delay.
32214 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
32216         [BZ #18613]
32217         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32218         X_ADJ not X when adjusting exponent.
32219         (__ieee754_gamma_r): Do intermediate computations in
32220         round-to-nearest then adjust overflowing and underflowing results
32221         as needed.
32222         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32223         of X_ADJ not X when adjusting exponent.
32224         (__ieee754_gammaf_r): Do intermediate computations in
32225         round-to-nearest then adjust overflowing and underflowing results
32226         as needed.
32227         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32228         log of X_ADJ not X when adjusting exponent.
32229         (__ieee754_gammal_r): Do intermediate computations in
32230         round-to-nearest then adjust overflowing and underflowing results
32231         as needed.  Use 1.0L not 1.0f as numerator of division.
32232         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32233         log of X_ADJ not X when adjusting exponent.
32234         (__ieee754_gammal_r): Do intermediate computations in
32235         round-to-nearest then adjust overflowing and underflowing results
32236         as needed.  Use 1.0L not 1.0f as numerator of division.
32237         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32238         of X_ADJ not X when adjusting exponent.
32239         (__ieee754_gammal_r): Do intermediate computations in
32240         round-to-nearest then adjust overflowing and underflowing results
32241         as needed.  Use 1.0L not 1.0f as numerator of division.
32242         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
32243         to auto-libm-test-in.
32244         (tgamma_test): Use ALL_RM_TEST.
32245         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
32246         tests of tgamma with spurious-overflow.
32247         * math/auto-libm-test-out: Regenerated.
32248         * math/gen-libm-have-vector-test.sh: Do not check for START.
32249         * sysdeps/i386/fpu/libm-test-ulps: Update.
32250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32252         [BZ #18612]
32253         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32254         arguments, just return 0.5 times the argument, with underflow
32255         forced as needed.
32256         * math/auto-libm-test-in: Add more tests of j1.
32257         * math/auto-libm-test-out: Regenerated.
32259         [BZ #16559]
32260         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
32261         (__ieee754_j1): Force underflow exception for small results.
32262         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32263         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
32264         (__ieee754_j1f): Force underflow exception for small results.
32265         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32267         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32268         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
32269         (__ieee754_j1l): Force underflow exception for small results.
32270         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32271         * math/auto-libm-test-in: Add more tests of j1 and jn.
32272         * math/auto-libm-test-out: Regenerated.
32274         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32275         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32276         (PF_MPLS): Likewise.
32277         (AF_IB): Likewise.
32278         (AF_MPLS): Likewise.
32279         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32280         value and macro.
32281         (MS_RMT_MASK): Include MS_LAZYTIME.
32283 2015-06-26  Mel Gorman  <mgorman@suse.de>
32285         [BZ #18502]
32286         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32287         already minimal.
32289 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
32291         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32292         (DT_MIPS_NUM): Update.
32293         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32294         DT_MIPS_RLD_MAP_REL.
32296 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
32298         [BZ #16559]
32299         [BZ #18602]
32300         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32301         round-to-nearest internally then recompute results that
32302         underflowed to zero in the original rounding mode.
32303         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32304         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32307         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32308         * sysdeps/i386/fpu/libm-test-ulps: Update.
32309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32313         * NEWS: Fixed description of link with vector math library.
32315 2015-06-25  Andreas Schwab  <schwab@suse.de>
32317         [BZ #18549]
32318         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
32319         * libio/test-fmemopen.c (do_test): Add test for it.
32321 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32323         [BZ #17841]
32324         * Makeconfig (no-pie-ldflag): New.
32325         (+link): Set to $(+link-pie) if default to PIE.
32326         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32327         * config.make.in (build-pie-default): New.
32328         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
32329         is default.  AC_SUBST.
32330         * configure: Regenerated.
32331         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32333 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32335         * nptl/descr.h (struct pthread): Change type of field setxid_futex
32336         to 'unsigned int'.
32338         * resolv/gai_misc.h (struct waitlist): Change type of field
32339         counterp to 'volatile unsigned int *'.
32340         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32341         FUTEXADDR and OLDVAL.
32342         * resolv/getaddrinfo_a.c (getaddrinfo_a):
32343         Give local variable TOTAL type 'volatile unsigned int'.
32344         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32345         * resolv/gai_suspend.c (gai_suspend):
32346         Give local variable CNTR type 'unsigned int'.
32348         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32349         counterp to 'volatile unsigned int *'.
32350         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32351         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32352         (aio_suspend): Give local variable CNTR type 'unsigned int'.
32353         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32354         Give local variable TOTAL type 'volatile unsigned int'.
32355         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32357 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32359         [BZ #18383]
32360         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32361         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
32362         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32363         comment for i386/x86-64.
32364         (test-xfail-tst-tlsalign-extern-static): Removed.
32366 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32368         * math/test-double.h: New file.
32369         * math/test-float.h: Likewise.
32370         * math/test-ldouble.h: Likewise.
32371         * math/test-math-inline.h: Likewise.
32372         * math/test-math-no-inline.h: Likewise.
32373         * math/test-math-scalar.h: Likewise.
32374         * math/test-math-vector.h: Likewise.
32375         * math/test-vec-loop.h: Remove file.  Contents moved into
32376         test-math-vector.h.
32377         * math/libm-test.inc (MATHCONST): Do not document macro.
32378         * math/test-double.c: Include test-double.h, test-math-no-inline.h
32379         and test-math-scalar.h.
32380         (FUNC): Remove macro.
32381         (FUNC_TEST): Likewise.
32382         (FLOAT): Likewise.
32383         (MATHCONST): Likewise.
32384         (PRINTF_EXPR): Likewise.
32385         (PRINTF_XEXPR): Likewise.
32386         (PRINTF_NEXPR): Likewise.
32387         (TEST_DOUBLE): Likewise.
32388         (TEST_MATHVEC): Likewise.
32389         (__NO_MATH_INLINES): Likewise.
32390         * math/test-float.c: Include test-float.h, test-math-no-inline.h
32391         and test-math-scalar.h.
32392         (FUNC): Remove macro.
32393         (FUNC_TEST): Likewise.
32394         (FLOAT): Likewise.
32395         (MATHCONST): Likewise.
32396         (PRINTF_EXPR): Likewise.
32397         (PRINTF_XEXPR): Likewise.
32398         (PRINTF_NEXPR): Likewise.
32399         (TEST_FLOAT): Likewise.
32400         (TEST_MATHVEC): Likewise.
32401         (__NO_MATH_INLINES): Likewise.
32402         * math/test-idouble.c: Include test-double.h, test-math-inline.h
32403         and test-math-scalar.h.
32404         (FUNC): Remove macro.
32405         (FUNC_TEST): Likewise.
32406         (FLOAT): Likewise.
32407         (MATHCONST): Likewise.
32408         (PRINTF_EXPR): Likewise.
32409         (PRINTF_XEXPR): Likewise.
32410         (PRINTF_NEXPR): Likewise.
32411         (TEST_DOUBLE): Likewise.
32412         (TEST_MATHVEC): Likewise.
32413         (TEST_INLINE): Likewise.
32414         (__NO_MATH_INLINES): Likewise.
32415         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32416         test-math-scalar.h.
32417         (FUNC): Remove macro.
32418         (FUNC_TEST): Likewise.
32419         (FLOAT): Likewise.
32420         (MATHCONST): Likewise.
32421         (PRINTF_EXPR): Likewise.
32422         (PRINTF_XEXPR): Likewise.
32423         (PRINTF_NEXPR): Likewise.
32424         (TEST_FLOAT): Likewise.
32425         (TEST_MATHVEC): Likewise.
32426         (TEST_INLINE): Likewise.
32427         (__NO_MATH_INLINES): Likewise.
32428         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32429         and test-math-scalar.h.
32430         (FUNC): Remove macro.
32431         (FUNC_TEST): Likewise.
32432         (FLOAT): Likewise.
32433         (MATHCONST): Likewise.
32434         (PRINTF_EXPR): Likewise.
32435         (PRINTF_XEXPR): Likewise.
32436         (PRINTF_NEXPR): Likewise.
32437         (TEST_LDOUBLE): Likewise.
32438         (TEST_MATHVEC): Likewise.
32439         (TEST_INLINE): Likewise.
32440         (__NO_MATH_INLINES): Likewise.
32441         * math/test-ldouble.c: Include test-ldouble.h,
32442         test-math-no-inline.h and test-math-scalar.h.
32443         (FUNC): Remove macro.
32444         (FUNC_TEST): Likewise.
32445         (FLOAT): Likewise.
32446         (MATHCONST): Likewise.
32447         (PRINTF_EXPR): Likewise.
32448         (PRINTF_XEXPR): Likewise.
32449         (PRINTF_NEXPR): Likewise.
32450         (TEST_LDOUBLE): Likewise.
32451         (TEST_MATHVEC): Likewise.
32452         (__NO_MATH_INLINES): Likewise.
32453         * math/test-double-vlen2.h: Include test-double.h,
32454         test-math-no-inline.h and test-math-vector.h.
32455         (FLOAT): Remove macro.
32456         (FUNC): Likewise.
32457         (MATHCONST): Likewise.
32458         (PRINTF_EXPR): Likewise.
32459         (PRINTF_XEXPR): Likewise.
32460         (PRINTF_NEXPR): Likewise.
32461         (TEST_DOUBLE): Likewise.
32462         (TEST_MATHVEC): Likewise.
32463         (__NO_MATH_INLINES): Likewise.
32464         (CNCT): Likewise.
32465         (CONCAT): Likewise.
32466         (WRAPPER_NAME): Likewise.
32467         (WRAPPER_DECL): Likewise.
32468         (WRAPPER_DECL_ff): Likewise.
32469         (WRAPPER_DECL_fFF): Likewise.
32470         (VECTOR_WRAPPER): Likewise.
32471         (VECTOR_WRAPPER_ff): Likewise.
32472         (VECTOR_WRAPPER_fFF): Likewise.
32473         (VEC_LEN): New macro.
32474         * math/test-double-vlen4.h: Include test-double.h,
32475         test-math-no-inline.h and test-math-vector.h.
32476         (FLOAT): Remove macro.
32477         (FUNC): Likewise.
32478         (MATHCONST): Likewise.
32479         (PRINTF_EXPR): Likewise.
32480         (PRINTF_XEXPR): Likewise.
32481         (PRINTF_NEXPR): Likewise.
32482         (TEST_DOUBLE): Likewise.
32483         (TEST_MATHVEC): Likewise.
32484         (__NO_MATH_INLINES): Likewise.
32485         (CNCT): Likewise.
32486         (CONCAT): Likewise.
32487         (WRAPPER_NAME): Likewise.
32488         (WRAPPER_DECL): Likewise.
32489         (WRAPPER_DECL_ff): Likewise.
32490         (WRAPPER_DECL_fFF): Likewise.
32491         (VECTOR_WRAPPER): Likewise.
32492         (VECTOR_WRAPPER_ff): Likewise.
32493         (VECTOR_WRAPPER_fFF): Likewise.
32494         (VEC_LEN): New macro.
32495         * math/test-double-vlen8.h: Include test-double.h,
32496         test-math-no-inline.h and test-math-vector.h.
32497         (FLOAT): Remove macro.
32498         (FUNC): Likewise.
32499         (MATHCONST): Likewise.
32500         (PRINTF_EXPR): Likewise.
32501         (PRINTF_XEXPR): Likewise.
32502         (PRINTF_NEXPR): Likewise.
32503         (TEST_DOUBLE): Likewise.
32504         (TEST_MATHVEC): Likewise.
32505         (__NO_MATH_INLINES): Likewise.
32506         (CNCT): Likewise.
32507         (CONCAT): Likewise.
32508         (WRAPPER_NAME): Likewise.
32509         (WRAPPER_DECL): Likewise.
32510         (WRAPPER_DECL_ff): Likewise.
32511         (WRAPPER_DECL_fFF): Likewise.
32512         (VECTOR_WRAPPER): Likewise.
32513         (VECTOR_WRAPPER_ff): Likewise.
32514         (VECTOR_WRAPPER_fFF): Likewise.
32515         (VEC_LEN): New macro.
32516         * math/test-float-vlen4.h: Include test-float.h,
32517         test-math-no-inline.h and test-math-vector.h.
32518         (FLOAT): Remove macro.
32519         (FUNC): Likewise.
32520         (MATHCONST): Likewise.
32521         (PRINTF_EXPR): Likewise.
32522         (PRINTF_XEXPR): Likewise.
32523         (PRINTF_NEXPR): Likewise.
32524         (TEST_FLOAT): Likewise.
32525         (TEST_MATHVEC): Likewise.
32526         (__NO_MATH_INLINES): Likewise.
32527         (CNCT): Likewise.
32528         (CONCAT): Likewise.
32529         (WRAPPER_NAME): Likewise.
32530         (WRAPPER_DECL): Likewise.
32531         (WRAPPER_DECL_ff): Likewise.
32532         (WRAPPER_DECL_fFF): Likewise.
32533         (VECTOR_WRAPPER): Likewise.
32534         (VECTOR_WRAPPER_ff): Likewise.
32535         (VECTOR_WRAPPER_fFF): Likewise.
32536         (VEC_LEN): New macro.
32537         * math/test-float-vlen8.h: Include test-float.h,
32538         test-math-no-inline.h and test-math-vector.h.
32539         (FLOAT): Remove macro.
32540         (FUNC): Likewise.
32541         (MATHCONST): Likewise.
32542         (PRINTF_EXPR): Likewise.
32543         (PRINTF_XEXPR): Likewise.
32544         (PRINTF_NEXPR): Likewise.
32545         (TEST_FLOAT): Likewise.
32546         (TEST_MATHVEC): Likewise.
32547         (__NO_MATH_INLINES): Likewise.
32548         (CNCT): Likewise.
32549         (CONCAT): Likewise.
32550         (WRAPPER_NAME): Likewise.
32551         (WRAPPER_DECL): Likewise.
32552         (WRAPPER_DECL_ff): Likewise.
32553         (WRAPPER_DECL_fFF): Likewise.
32554         (VECTOR_WRAPPER): Likewise.
32555         (VECTOR_WRAPPER_ff): Likewise.
32556         (VECTOR_WRAPPER_fFF): Likewise.
32557         (VEC_LEN): New macro.
32558         * math/test-float-vlen16.h: Include test-float.h,
32559         test-math-no-inline.h and test-math-vector.h.
32560         (FLOAT): Remove macro.
32561         (FUNC): Likewise.
32562         (MATHCONST): Likewise.
32563         (PRINTF_EXPR): Likewise.
32564         (PRINTF_XEXPR): Likewise.
32565         (PRINTF_NEXPR): Likewise.
32566         (TEST_FLOAT): Likewise.
32567         (TEST_MATHVEC): Likewise.
32568         (__NO_MATH_INLINES): Likewise.
32569         (CNCT): Likewise.
32570         (CONCAT): Likewise.
32571         (WRAPPER_NAME): Likewise.
32572         (WRAPPER_DECL): Likewise.
32573         (WRAPPER_DECL_ff): Likewise.
32574         (WRAPPER_DECL_fFF): Likewise.
32575         (VECTOR_WRAPPER): Likewise.
32576         (VECTOR_WRAPPER_ff): Likewise.
32577         (VECTOR_WRAPPER_fFF): Likewise.
32578         (VEC_LEN): New macro.
32579         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32580         test-vec-loop.h.
32581         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32582         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32583         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32584         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32585         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32586         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32587         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32589 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32591         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32592         (__getlogin_r): ... this.
32594 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32596         [BZ #18594]
32597         * math/s_ccosh.c (__ccosh): Compare with least normal value
32598         instead of comparing class with FP_SUBNORMAL.
32599         * math/s_ccoshf.c (__ccoshf): Likewise.
32600         * math/s_ccoshl.c (__ccoshl): Likewise.
32601         * math/s_cexp.c (__cexp): Likewise.
32602         * math/s_cexpf.c (__cexpf): Likewise.
32603         * math/s_cexpl.c (__cexpl): Likewise.
32604         * math/s_csin.c (__csin): Likewise.
32605         * math/s_csinf.c (__csinf): Likewise.
32606         * math/s_csinh.c (__csinh): Likewise.
32607         * math/s_csinhf.c (__csinhf): Likewise.
32608         * math/s_csinhl.c (__csinhl): Likewise.
32609         * math/s_csinl.c (__csinl): Likewise.
32610         * math/s_ctan.c (__ctan): Likewise.
32611         * math/s_ctanf.c (__ctanf): Likewise.
32612         * math/s_ctanh.c (__ctanh): Likewise.
32613         * math/s_ctanhf.c (__ctanhf): Likewise.
32614         * math/s_ctanhl.c (__ctanhl): Likewise.
32615         * math/s_ctanl.c (__ctanl): Likewise.
32616         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32617         csin, csinh, ctan and ctanh.
32618         * math/auto-libm-test-out: Regenerated.
32619         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32620         * sysdeps/i386/fpu/libm-test-ulps: Update.
32621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32623 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32625         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32626         return value is wrong, print the expected value too.
32628 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32630         [BZ #18585]
32631         * elf/readlib.c (is_gdb_python_file): New.
32632         (process_file): Don't issue errors on filenames with -gdb.py
32633         suffix.
32635 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32637         * math/auto-libm-test-in: Add more tests of csin and csinh.
32638         * math/auto-libm-test-out: Regenerated.
32639         * math/libm-test.inc (csin_test_data): Remove tests moved to
32640         auto-libm-test-in.
32641         (csinh_test_data): Likewise.
32643         [BZ #18593]
32644         * math/s_csin.c (__csin): Negate before rather than after possibly
32645         overflowing multiplication.
32646         * math/s_csinf.c (__csinf): Likewise.
32647         * math/s_csinh.c (__csinh): Likewise.
32648         * math/s_csinhf.c (__csinhf): Likewise.
32649         * math/s_csinhl.c (__csinhl): Likewise.
32650         * math/s_csinl.c (__csinl): Likewise.
32651         * math/auto-libm-test-in: Add some tests of csin and csinh.
32652         * math/auto-libm-test-out: Regenerated.
32653         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32654         (csinh_test_data): Likewise.
32655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32657         [BZ #18586]
32658         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32659         underflow exception for small results.
32661 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32663         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32664         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32665         variable and included header.
32666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32667         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32668         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32669         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32670         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32672         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32674         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32675         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32676         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32677         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32678         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32679         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32680         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32681         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32683 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32685         [BZ #16526]
32686         [BZ #16538]
32687         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32688         (__sin): Force underflow exception for arguments with small
32689         absolute value.
32690         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32691         (__kernel_sinf): Force underflow exception for arguments with
32692         small absolute value.
32693         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32694         (__kernel_sincosl): Force underflow exception for arguments with
32695         small absolute value.
32696         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32697         (__kernel_sinl): Force underflow exception for arguments with
32698         small absolute value.
32699         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32700         (__kernel_sincosl): Force underflow exception for arguments with
32701         small absolute value.
32702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32703         (__kernel_sinl): Force underflow exception for arguments with
32704         small absolute value.
32705         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32706         (__kernel_sinl): Force underflow exception for arguments with
32707         small absolute value.
32708         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32709         (__kernel_sinf): Force underflow exception for arguments with
32710         small absolute value.
32711         * math/auto-libm-test-in: Add more tests of sin and sincos.
32712         * math/auto-libm-test-out: Regenerated.
32714         [BZ #18245]
32715         [BZ #18583]
32716         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32717         (__kernel_standard_l): Use feholdexcept and fesetenv around
32718         conversion to double instead of special-casing overflow and
32719         underflow.
32720         * math/libm-test.inc (fmod_test_data): Add more tests.
32721         (remainder_test_data): Likewise.
32722         (sqrt_test_data): Likewise.
32724 2015-06-23  Torvald Riegel  <triegel@redhat.com>
32726         [BZ #17403]
32727         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32728         atomic_read_barrier, atomic_write_barrier): Define.
32729         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32730         atomic_read_barrier, atomic_write_barrier): Define.
32732 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32734         * math/Makefile [$(PERL) != no]
32735         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32736         dependency on libm-test.stmp below the inclusion of Rules.
32738 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
32740         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32741         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32742         and included header.
32743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32745         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32747         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32748         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32749         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32751         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32752         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32753         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32754         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32755         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32756         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32757         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32758         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32759         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32760         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32761         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32763 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32765         [BZ #18371]
32766         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32767         intermediate but not final result might underflow.
32768         * math/s_csqrtf.c (__csqrtf): Likewise.
32769         * math/s_csqrtl.c (__csqrtl): Likewise.
32770         * math/auto-libm-test-in: Add more tests of csqrt.
32771         * math/auto-libm-test-out: Regenerated.
32772         * sysdeps/i386/fpu/libm-test-ulps: Update.
32774         [BZ #18219]
32775         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32776         threshold on absolute value of exponent for which scaling is used.
32777         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32778         * math/auto-libm-test-in: Add more tests of exp2.
32779         * math/auto-libm-test-out: Regenerated.
32781 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
32783         [BZ #17977]
32784         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32785         when initializing interface list, based on the bug analysis
32786         and the patch proposed by Eric Newton.
32787         * resolv/tst-res_hconf_reorder.c: New test.
32788         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32789         tst-res_hconf_reorder.
32790         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32791         and $(shared-thread-library).
32792         (tst-res_hconf_reorder-ENV): New variable.
32794         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32795         in comment.
32797 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
32799         [BZ #16353]
32800         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32801         (__expm1): Force underflow exception for arguments with small
32802         absolute value.
32803         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32804         (__expm1f): Force underflow exception for arguments with small
32805         absolute value.
32806         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32807         (__expm1): Force underflow exception for arguments with small
32808         absolute value.
32809         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32810         (__expm1f): Force underflow exception for arguments with small
32811         absolute value.
32812         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32813         Check for small arguments before calling __expm1.
32814         * math/auto-libm-test-in: Do not mark underflow exceptions as
32815         possibly missing for bug 16353.
32816         * math/auto-libm-test-out: Regenerated.
32818 2015-06-22  Andreas Schwab  <schwab@suse.de>
32820         [BZ #18513]
32821         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32822         PTR queries.
32824 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32826         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32828         * string/strcoll_l.c: Remove unused struct element idxnow.
32830 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32832         [BZ #18569]
32833         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32834         underflow and return argument in case of subnormal argument.
32835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32836         Likewise.
32837         * math/auto-libm-test-in: Add more tests of expm1.
32838         * math/auto-libm-test-out: Regenerated.
32840         [BZ #16361]
32841         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32842         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32843         tiny results.
32844         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32845         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32846         tiny results.
32847         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32848         mark underflow exceptions as possibly missing for bug 16361.
32849         * math/auto-libm-test-out: Regenerated.
32851 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32853         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32854         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32855         Remove variable.
32856         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32857         (test-xfail-XOPEN2K8/utmpx.h/conform).
32859         * conform/conformtest.pl ($xerrors): New variable.
32860         (note_error): New function.
32861         (compiletest): New argument $xfail.  Use not_error.
32862         (runtest): Likewise.
32863         (top level): Handle xfail- lines.  Update calls to compiletest and
32864         runtest.  Handle xfail- and optional- in headers listed with
32865         allow-header.
32866         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32867         (O_EXEC): Likewise.
32868         (O_SEARCH): Likewise.
32869         * conform/data/stropts.h-data (ioctl): Likewise.
32870         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32871         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32872         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32873         (msghdr.msg_controllen): Likewise.
32874         (cmsghdr.cmsg_len): Likewise.
32875         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32876         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32877         variable.
32878         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32879         (test-xfail-XPG4/stropts.h/conform): Likewise.
32880         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32881         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32882         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32883         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32884         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32885         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32886         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32887         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32888         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32889         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32890         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32891         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32892         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32893         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32894         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32895         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32896         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32897         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32898         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32900 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32902         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32903         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32904         definitions for proper unfolding of __MATHDECL_VEC.
32906 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32908         * benchtests/bench-strcoll.c:
32909         Include string.h.
32910         (main): Remove unused variable res.
32912 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32914         * timezone/Makefile (%/UTC %/Universal):
32915         Generate test-result files for UTC and Universal.
32917 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32919         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32921 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32923         [BZ #16350]
32924         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32925         for arguments with small absolute value.
32926         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32927         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32928         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32929         (__asinh): Force underflow exception for arguments with small
32930         absolute value.
32931         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32932         (__asinhf): Force underflow exception for arguments with small
32933         absolute value.
32934         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32935         (__asinhl): Force underflow exception for arguments with small
32936         absolute value.
32937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32938         (__asinhl): Force underflow exception for arguments with small
32939         absolute value.
32940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32941         (__asinhl): Force underflow exception for arguments with small
32942         absolute value.
32943         * math/auto-libm-test-in: Do not mark underflow exceptions as
32944         possibly missing for bug 16350.
32945         * math/auto-libm-test-out: Regenerated.
32947         * include/bits/ipc.h: Remove file.
32948         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32949         variable.
32950         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32951         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32952         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32953         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32954         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32955         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32956         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32957         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32958         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32960         * math/auto-libm-test-in: Remove spurious underflow allowance for
32961         tests of cexp.
32962         * math/auto-libm-test-out: Regenerated.
32964         [BZ #18558]
32965         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32966         unconditional definition.
32967         (MCAST_BLOCK_SOURCE): Likewise.
32968         (MCAST_UNBLOCK_SOURCE): Likewise.
32969         (MCAST_LEAVE_GROUP): Likewise.
32970         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32971         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32972         (MCAST_MSFILTER): Likewise.
32973         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32974         Remove variable.
32975         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32976         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32977         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32978         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32979         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32981 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32983         * NEWS: Mention addition of x86_64 vector sincosf.
32984         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32985         * math/test-float-vlen4.h: Likewise.
32986         * math/test-float-vlen8.h: Likewise.
32987         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32988         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32989         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32990         * sysdeps/x86_64/fpu/Versions: New versions added.
32991         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32992         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32993         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32995         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32996         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32997         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32998         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32999         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33000         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33001         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33002         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33003         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33004         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33005         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33006         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33007         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33008         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33009         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33010         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33011         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33012         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33013         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33014         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33016         * NEWS: Mention addition of x86_64 vector sincos.
33017         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33018         * math/math.h (__MATHDECL_VEC): New macro.
33019         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33020         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33021         declaration under condition.
33022         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33023         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33024         TEST_VEC_LOOP change.
33025         * math/test-double-vlen4.h: Likewise.
33026         * math/test-double-vlen8.h: Likewise.
33027         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33028         * math/test-float-vlen4.h: Likewise.
33029         * math/test-float-vlen8.h: Likewise.
33030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33031         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33032         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33033         * sysdeps/x86_64/fpu/Versions: New versions added.
33034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33035         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33036         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33038         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33039         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33040         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33043         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33044         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33045         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33046         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33047         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33048         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33049         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33050         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33051         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33053         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33054         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33055         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33056         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33057         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33059         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33060         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33061         redirections for powf.
33062         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33063         * sysdeps/x86_64/fpu/Versions: New versions added.
33064         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33065         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33066         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33067         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33069         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33070         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33071         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33072         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33073         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33074         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33075         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33076         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33077         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33078         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33079         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33080         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33081         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33082         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33083         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33084         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33086         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33087         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33088         * math/test-float-vlen16.h: Fixed 2 argument macro.
33089         * math/test-float-vlen4.h: Likewise.
33090         * math/test-float-vlen8.h: Likewise.
33091         * NEWS: Mention addition of x86_64 vector powf.
33093 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
33095         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33096         and redefine.
33097         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33098         and redefine.
33099         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33103         [BZ #18553]
33104         * resource/getpriority.c (getpriority): Rename to __getpriority
33105         and define as weak alias of __getpriority.
33106         * resource/setpriority.c (setpriority): Rename to __setpriority
33107         and define as weak alias of __setpriority.
33108         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33109         __getpriority and define as weak alias of __getpriority.
33110         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33111         __setpriority and define as weak alias of __setpriority.
33112         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33113         strong name.
33114         (setpriority): Use __setpriority as strong name.
33115         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33116         __getpriority and define as weak alias of __getpriority.
33117         * include/sys/resource.h (__getpriority): Declare.  Use
33118         libc_hidden_proto.
33119         (__setpriority): Likewise.
33120         (getpriority): Don't use libc_hidden_proto.
33121         (setpriority): Likewise.
33122         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33123         getpriority.  Call __setpriority instead of setpriority.
33124         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33125         Remove variable.
33127         [BZ #18547]
33128         * misc/getttyent.c (getttynam): Rename to __getttynam and define
33129         as weak alias of __getttynam.  Use prototype function definition.
33130         Call __setttyent, __getttyent and __endttyent instead of
33131         setttyent, getttyent and endttyent.
33132         (getttyent): Rename to __getttyent and define as weak alias of
33133         __getttyent.  Call __setttyent instead of setttyent.  Call
33134         __fgets_unlocked instead of fgets_unlocked.
33135         (setttyent): Rename to __setttyent and define as weak alias of
33136         __setttyent.
33137         (endttyent): Rename to __endttyent and define as weak alias of
33138         __endttyent.
33139         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
33140         (__setttyent): Likewise.
33141         (__endttyent): Likewise.
33142         (getttyent): Don't use libc_hidden_proto.
33143         (setttyent): Likewise.
33144         (endttyent): Likewise.
33145         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33146         __endttyent instead of setttyent, getttyent and endttyent.
33147         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33148         Remove variable.
33150         [BZ #18546]
33151         * socket/recv.c (__recv): Use libc_hidden_def.
33152         * socket/socket.c (__socket): Likewise.
33153         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33154         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33155         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33156         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33157         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33158         libc_hidden_def.
33159         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33160         libc_hidden_weak.
33161         * include/sys/socket.h (__socket): Do not use attribute_hidden.
33162         Use libc_hidden_proto.
33163         (__recv): Likewise.
33164         * socket/Versions (libc): Export __recv and __socket at version
33165         GLIBC_PRIVATE.
33166         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33167         instead of recv.
33168         (init_mq_netlink): Call __socket instead of socket.
33169         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33170         Remove variable.
33172         [BZ #18545]
33173         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33174         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
33175         hidden_weak.
33176         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33177         define as alias of __mq_timedsend.  Use hidden_weak.
33178         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33179         __mq_timedsend as strong name.
33180         (mq_timedreceive): Use __mq_timedreceive as strong name.
33181         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
33182         (__mq_timedreceive): Likewise.
33183         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33184         __mq_timedreceive instead of mq_timedreceive.
33185         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33186         instead of mq_timedsend.
33187         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33188         Remove variable.
33190         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33191         hidden_def and hidden_weak instead of libc_hidden_def and
33192         libc_hidden_weak.
33193         (top level): Refer to hidden_def in comment.
33194         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33195         macro.  Use it instead of libc_hidden_def.
33196         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33197         specify __GI_* name explicitly.
33198         (mq_timedreceive): Likewise.
33199         (mq_setattr): Likewise.
33201         [BZ #18544]
33202         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33203         __pthread_barrier_init and define as weak alias of
33204         __pthread_barrier_init.
33205         * sysdeps/sparc/nptl/pthread_barrier_init.c
33206         (pthread_barrier_init): Likewise.
33207         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33208         __pthread_barrier_wait and define as weak alias of
33209         __pthread_barrier_wait.
33210         * sysdeps/sparc/nptl/pthread_barrier_wait.c
33211         (pthread_barrier_wait): Likewise.
33212         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33213         (pthread_barrier_wait): Likewise.
33214         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33215         (pthread_barrier_wait): Likewise.
33216         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33217         (pthread_barrier_wait): Likewise.
33218         * nptl/Versions (libpthread): Export __pthread_barrier_init and
33219         __pthread_barrier_wait at version GLIBC_PRIVATE.
33220         * include/pthread.h (__pthread_barrier_init): Declare.
33221         (__pthread_barrier_wait): Likewise.
33222         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33223         Call __pthread_barrier_wait instead of pthread_barrier_wait.
33224         (helper_thread): Likewise.
33225         (init_mq_netlink): Call __pthread_barrier_init instead of
33226         pthread_barrier_init.
33228         [BZ #18542]
33229         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33230         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33231         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
33232         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33233         vswscanf.
33234         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33235         Remove variable.
33237         [BZ #18540]
33238         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33239         strong alias of _IO_fflush.  Use libc_hidden_def.
33240         * libio/iofflush_u.c (fflush_unlocked): Rename to
33241         __fflush_unlocked and define as weak alias of __fflush_unlocked.
33242         Use libc_hidden_weak.
33243         * include/stdio.h (__fflush_unlocked): Declare.  Use
33244         libc_hidden_proto.
33245         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33246         fflush_unlocked.
33247         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33248         Remove variable.
33250         [BZ #18539]
33251         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33252         define as weak alias of __addseverity.
33253         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33254         Remove variable.
33255         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33256         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33257         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33259         [BZ #18536]
33260         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
33261         (__tfind): Likewise.
33262         (__tdelete): Likewise.
33263         (__twalk): Likewise.
33264         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
33265         __twalk to GLIBC_PRIVATE.
33266         * include/search.h (__tsearch): Use libc_hidden_proto.
33267         (__tfind): Likewise.
33268         (__tdelete): Likewise.
33269         (__twalk): Likewise.
33270         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
33271         Call __tdelete instead of tdelete.
33272         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
33273         tfind.  Call __tsearch instead of tsearch.
33274         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33275         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33276         Remove variable.
33277         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33279         [BZ #18534]
33280         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33281         (dprintf): Define as a weak alias of __dprintf, not a strong
33282         alias.
33283         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
33284         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33285         dprintf.
33286         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33287         Remove variable.
33288         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33289         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33291         [BZ #18533]
33292         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33293         not a strong alias.
33294         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33295         Remove variable.
33297         [BZ #18532]
33298         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33299         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
33300         (in6addr_loopback): Rename to __in6addr_loopback and define as
33301         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
33302         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
33303         libc_hidden_proto.
33304         (__in6addr_any): Likewise.
33305         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33306         in6addr_any.
33307         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33308         variable.
33309         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33311 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
33313         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
33314         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
33315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33317         redirections for pow.
33318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33319         * sysdeps/x86_64/fpu/Versions: New versions added.
33320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33321         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33322         build of SSE, AVX2 and AVX512 IFUNC versions.
33323         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33324         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33325         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33326         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33330         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33331         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33332         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33333         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33334         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33335         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33336         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33337         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33340         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33342         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33343         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33344         * NEWS: Mention addition of x86_64 vector pow.
33346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33347         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33348         redirections for expf.
33349         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33350         * sysdeps/x86_64/fpu/Versions: New versions added.
33351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33352         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33353         build of SSE, AVX2 and AVX512 IFUNC versions.
33354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33356         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33358         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33359         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33360         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33361         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33362         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33363         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33364         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33365         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33366         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33367         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33368         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33369         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33373         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33374         * NEWS: Mention addition of x86_64 vector expf.
33376         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33377         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33378         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33379         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33380         redirections for exp.
33381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33382         * sysdeps/x86_64/fpu/Versions: New versions added.
33383         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33384         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33385         build of SSE, AVX2 and AVX512 IFUNC versions.
33386         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33387         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33388         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33389         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33390         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33391         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33392         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33393         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33394         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33395         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33396         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33397         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33398         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
33399         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33400         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33401         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33402         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33403         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33404         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33405         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33406         * NEWS: Mention addition of x86_64 vector exp.
33408         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33409         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33410         redirections for logf.
33411         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33412         * sysdeps/x86_64/fpu/Versions: New versions added.
33413         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33414         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33415         build of SSE, AVX2 and AVX512 IFUNC versions.
33416         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
33417         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33418         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33419         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33420         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33421         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33422         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33423         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33424         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33425         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33426         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33427         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33428         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33429         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33431         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33435         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33436         * NEWS: Mention addition of x86_64 vector logf.
33438         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33439         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33440         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33441         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33442         redirections for log.
33443         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33444         * sysdeps/x86_64/fpu/Versions: New versions added.
33445         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33446         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33447         build of SSE, AVX2 and AVX512 IFUNC versions.
33448         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33449         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33450         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33451         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33452         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33453         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33454         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33455         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33456         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33457         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33458         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33459         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33460         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33461         test.
33462         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33463         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33464         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33465         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33466         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33467         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33468         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33469         * NEWS: Mention addition of x86_64 vector log.
33471 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33473         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33474         cfi_adjust_cfa_offset argument.
33475         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33476         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33478         [BZ #18034]
33479         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33480         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33481         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33482         ordering using ldar.
33483         (_dl_tlsdesc_dynamic): Likewise.
33484         (_dl_tlsdesc_return_lazy): Likewise.
33485         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33486         relaxed atomics instead of volatile and synchronize with release store.
33487         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33488         volatile.
33489         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33491 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33494         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33495         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33496         * sysdeps/x86_64/fpu/Versions: New versions added.
33497         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33498         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33499         build of SSE, AVX2 and AVX512 IFUNC versions.
33500         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33501         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33502         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33503         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33504         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33506         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33507         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33508         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33509         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33510         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33511         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33512         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33513         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33514         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33515         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33516         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33517         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33518         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33519         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33520         * NEWS: Mention addition of x86_64 vector sinf.
33522 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33524         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33525         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33526         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33527         Remove variable.
33528         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33529         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33531 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33533         [BZ #18530]
33534         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33535         strong alias of _IO_fputs.  Use libc_hidden_def.
33536         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33537         and define as weak alias of __fputs_unlocked.  Use
33538         libc_hidden_weak.
33539         * include/stdio.h (__fputs_unlocked): Declare.  Use
33540         libc_hidden_proto.
33541         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33542         fputs_unlocked.
33544         [BZ #18529]
33545         * resolv/netdb.h [__USE_POSIX]: Change condition to
33546         [__USE_XOPEN2K].
33547         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33548         not expect.
33549         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33550         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33551         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33552         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33553         [XPG4 || UNIX98] (AI_ALL): Likewise.
33554         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33555         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33556         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33557         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33558         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33559         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33560         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33561         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33562         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33563         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33564         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33565         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33566         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33567         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33568         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33569         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33570         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33571         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33572         [XPG4 || UNIX98] (gai_strerror): Likewise.
33573         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33574         [XPG4 || UNIX98] (getnameinfo): Likewise.
33576         [BZ #18528]
33577         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33578         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33579         __USE_XOPEN2K8].
33580         (getgrent): Likewise.
33581         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33582         expect.
33583         [XPG3 || POSIX2008] (endgrent): Likewise.
33584         [XPG3] (setgrent): Likewise.
33585         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33586         variable.
33587         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33589         [BZ #18527]
33590         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33591         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33592         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33593         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33594         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33595         * include/unistd.h (__getlogin_r): Declare.  Use
33596         libc_hidden_proto.
33597         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33598         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33599         variable.
33600         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33601         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33602         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33604 2015-06-12  Martin Sebor  <msebor@redhat.com>
33606         [BZ #18512]
33607         * Makerules (check-install-supported): New target.
33608         (install): Add check-install-supported as a dependency.
33609         * manual/install.texi (Installing the C Library): Document
33610         that overriding prefix and exec_prefix is not supported.
33611         Mention DESTDIR.
33612         * INSTALL: Regenerate from the above.
33614 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33616         [BZ #18519]
33617         * posix/Versions (libc): Export __libc_pread at version
33618         GLIBC_PRIVATE.
33619         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33620         instead of pread.
33621         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33622         variable.
33624         [BZ #18522]
33625         * misc/efgcvt_r.c
33626         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33627         (cvt_symbol): Use weak_alias instead of strong_alias.
33628         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33629         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33630         Remove variable.
33631         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33632         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33634         [BZ #18520]
33635         * inet/herrno.c (h_errno): Rename to __h_errno.
33636         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33637         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33638         to __h_errno instead of h_errno.
33639         * nptl/herrno.c (h_errno): Rename to __h_errno.
33640         (__h_errno_location): Refer to __h_errno not h_errno.
33641         * resolv/Versions (h_errno): Rename to __h_errno.
33642         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33643         Remove variable.
33644         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33646 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33648         * configure.ac: More strict check for AVX512 assembler support.
33649         * configure: Regenerated.
33651         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33652         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33653         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33654         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33655         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33656         * sysdeps/x86_64/fpu/Versions: New versions added.
33657         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33658         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33659         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33662         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33663         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33665         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33666         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33667         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33668         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33669         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33670         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33671         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33672         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33673         test.
33674         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33675         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33676         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33677         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33678         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33679         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33680         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33681         * NEWS: Mention addition of x86_64 vector sin.
33683 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33685         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33686         comment.
33688 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
33690         [BZ #18479]
33691         * nptl/pt-interp.c: New file.
33692         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33693         Add pt-interp.
33694         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33695         $(common-objpfx)runtime-linker.h.
33697 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
33699         * Makeconfig (+interp): Remove unused variable.
33700         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33701         only.  Depend on $(common-objpfx)runtime-linker.h instead of
33702         $(elf-objpfx)runtime-linker.h.
33703         ($(elf-objpfx)runtime-linker.h): Rename to
33704         $(common-objpfx)runtime-linker.h and move ...
33705         * Makerules [$(build-shared) = yes]: ... here.
33706         * elf/interp.c: Include <runtime-linker.h> instead of
33707         <elf/runtime-linker.h>.
33709 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33711         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33712         (__gettimeofday_syscall): Remove vsyscall fallback.
33713         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33714         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33715         Add syscall fallback function.
33716         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33717         if vDSO is not present.
33718         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33719         fallback function.
33720         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33721         present.
33722         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33723         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33725 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
33727         [BZ #18497]
33728         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33729         of wcscmp.
33730         (wcscmp): Define as weak alias of WCSCMP.
33731         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33732         wcscoll.
33733         (USE_HIDDEN_DEF): Define.
33734         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33735         __wcscoll.  Don't use libc_hidden_weak.
33736         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33737         wcscmp.
33738         * sysdeps/i386/i686/multiarch/wcscmp-c.c
33739         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33740         __GI_wcscmp.
33741         (weak_alias): Undefine and redefine.
33742         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33743         __wcscmp and define as weak alias of __wcscmp.
33744         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33745         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
33746         (__wcscoll): Likewise.
33747         (wcscmp): Don't use libc_hidden_proto.
33748         (wcscoll): Likewise.
33749         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33750         wcscoll.
33751         * posix/regexec.c (check_node_accept_bytes): Likewise.
33752         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33753         variable.
33754         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33755         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33757         [BZ #18507]
33758         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33759         __fstatvfs and define as weak alias of __fstatvfs.  Use
33760         libc_hidden_weak.
33761         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33762         and define as weak alias of __statvfs.  Use libc_hidden_weak.
33763         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33764         Define as alias of __fstatvfs, not fstatvfs.
33765         (fstatvfs64): Likewise.
33766         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33767         Define as alias of __statvfs, not statvfs.
33768         (statvfs64): Likewise.
33769         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33770         Remove variable.
33772 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33775         (HAVE_GETCPU_VSYSCALL): Define.
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33777         (HAVE_GETCPU_VSYSCALL): Likewise.
33778         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33779         * sysdeps/unix/sysv/linux/sched_getcpu.c
33780         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33781         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33782         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33783         prototype.
33784         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33785         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33786         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33788         Define.
33789         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33790         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33791         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33792         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33794 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
33796         * sysdeps/x86_64/fpu/Makefile: New file.
33797         * sysdeps/x86_64/fpu/Versions: New file.
33798         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33799         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33800         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33801         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33802         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33803         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33804         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33806         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33807         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33809         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33810         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33811         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33812         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33813         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33814         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33815         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33816         * sysdeps/x86_64/configure: Regenerated.
33817         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33819         * manual/install.texi (Configuring and compiling): Document
33820         --disable-mathvec.
33821         * INSTALL: Regenerated.
33822         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33824         * math/Makefile: Added rules for vector tests.
33825         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33826         declaration under condition.
33827         * math/test-double-vlen2.h: New file.
33828         * math/test-double-vlen4.h: New file.
33829         * math/test-double-vlen8.h: New file.
33830         * math/test-vec-loop.h: Added initialization macro.
33831         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33833         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33834         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33835         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33837         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33838         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33839         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33840         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33841         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33844         * sysdeps/x86_64/fpu/Versions: New versions added.
33845         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33848         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33849         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33851         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33852         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33855         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33856         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33857         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33858         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33859         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33860         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33861         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33862         * NEWS: Mention addition of x86_64 vector cosf.
33864         * math/Makefile: Added CFLAGS for new tests.
33865         * math/test-float-vlen16.h: New file.
33866         * math/test-float-vlen4.h: New file.
33867         * math/test-float-vlen8.h: New file.
33868         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33869         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33871         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33872         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33873         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33874         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33875         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33876         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33877         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33878         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33880 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33882         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33883         * locale/programs/ld-ctype.c: Likewise.
33885 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33887         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33888         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33889         bit_ZMM16_31_state): New macro.
33890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33891         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33893 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33895         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33897 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33899         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33901 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33903         [BZ #18498]
33904         * libio/memstream.c (open_memstream): Rename to __open_memstream
33905         and define as weak alias of __open_memstream.
33906         * include/stdio.h (__open_memstream): Declare.  Use
33907         libc_hidden_proto.
33908         (open_memstream): Don't use libc_hidden_proto.
33909         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33910         open_memstream.
33911         * posix/getopt.c (_getopt_internal_r): Likewise.
33912         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33913         variable.
33914         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33915         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33916         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33918         [BZ #18496]
33919         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33920         instead of wcrtomb.
33922         [BZ #18483]
33923         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33924         [__USE_XOPEN2K8].  Remove redundant #endif.
33925         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33926         Remove redundant #if.
33927         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33928         Remove variable.
33929         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33930         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33932         [BZ #18495]
33933         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33934         (__iswlower): Likewise.
33935         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33936         (__iswlower): Likewise.
33937         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33938         instead of towlower.
33939         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33940         instead of iswlower.  Call __towupper instead of towupper.
33941         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33942         instead of iswalnum.
33944 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33946         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33947         errors to stderr.
33949 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33951         [BZ #15661]
33952         [BZ #17322]
33953         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33954         Check for overflow properly.  Check for O_APPEND.  Ignore large
33955         file system block sizes.  Add comments about problems.
33956         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33957         * manual/filesys.texi (Storage Allocation): New node.
33959 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33961         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33962         cancellable syscalls.
33963         (SYS_ify): Add guard to no redefine it.
33964         (INLINE_SYSCALL): Likewise.
33965         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33966         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33967         SYSCALL_CANCEL instead.
33968         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33969         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33970         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33971         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33972         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33973         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33974         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33975         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33976         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33977         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33978         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33979         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33980         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33981         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33982         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33984         Likewise.
33985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33986         (__libc_pread64): Likewise.
33987         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33988         (__libc_preadv): Likewise.
33989         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33990         (__libc_readv64): Likewise.
33991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33992         (__libc_pwrite): Likewise.
33993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33994         (__libc_pwrite64): Likewise.
33995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33996         (__libc_pwritev): Likewise.
33997         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33998         (__libc_pwritev64): Likewise.
33999         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34000         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34001         (sync_file_range): Likewise.
34002         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34003         Likewise.
34004         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34005         Likewise.
34006         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34007         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34008         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34009         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34010         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34011         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34012         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34013         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34015         Likewise.
34016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34017         (__libc_read64): Likewise.
34018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34019         Likewise.
34020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34021         Likewise.
34022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34023         Likewise.
34024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34025         Likewise.
34026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34027         (__libc_pread64): Likewise.
34028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34029         Likewise.
34030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34031         (__libc_pwrite64): Likewise.
34032         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34033         (sync_file_range): Likewise.
34034         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34035         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34036         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34037         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34038         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34039         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34040         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34041         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34042         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34043         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34044         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34045         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34046         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34047         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34048         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34049         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34050         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34051         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34052         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34053         Likewise.
34054         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34055         Likewise.
34056         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34057         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34058         Likewise.
34059         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34060         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34061         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34062         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34063         Likewise.
34064         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34065         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34066         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34067         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34068         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34070 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
34072         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34073         Include dl-vdso.
34074         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34075         Use VDSO routines for gettimeofday, clock_gettime if
34076         available.
34077         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34078         Declare VDSO symbols.
34079         * sysdeps/unix/sysv/linux/arm/sysdep.h:
34080         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34081         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34082         * sysdeps/unix/sysv/linux/arm/Versions: Add
34083         __vdso_clock_gettime.
34085 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34087         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34088         be an inline implementation regardless of library is built within.
34089         (open_not_cancel_2): Likewise.
34090         (__read_nocancel): Likewise.
34091         (__write_nocancel): Likewise.
34092         (openat_not_cancel): Likewise.
34093         (openat_not_cancel_3): Likewise.
34094         (openat64_not_cancel): Likewise.
34095         (openat64_not_cancel_3): Likewise.
34096         (__close_nocancel): Likewise.
34097         (pause_not_cancel): Likewise.
34098         (nanosleep_not_cancel): Likewise.
34099         (sigsuspend_not_cancel): Likewise.
34101 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34103         [BZ #14958]
34104         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34105         wake-up.
34106         (__pthread_rwlock_rdlock_slow): Likewise.
34107         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34108         Likewise.
34109         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34110         Likewise.
34111         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34112         * nptl/tst-rwlock16.c: New file.
34113         * nptl/Makefile (tests): Add new test.
34115 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34117         [BZ #18324]
34118         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34119         missing wake-up of readers.
34120         * nptl/tst-rwlock15.c: New file.
34121         * nptl/Makefile (tests): Add new test.
34123 2015-06-03  Roland McGrath  <roland@hack.frob.com>
34125         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34126         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34127         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34128         and __nacl_supply_interface_rtld.
34129         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34130         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34131         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34132         Add __nacl_supply_interface_rtld.
34133         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34135 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34137         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34138         isfinite.
34139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34140         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34142 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34144         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34145         __signbit* with standard C99 macros.
34146         * math/e_exp10l.c: Likewise.
34147         * math/e_exp2l.c: Likewise.
34148         * math/e_scalb.c: Likewise.
34149         * math/e_scalbf.c: Likewise.
34150         * math/e_scalbl.c: Likewise.
34151         * math/s_ldexp.c: Likewise.
34152         * math/s_ldexpf.c: Likewise.
34153         * math/s_ldexpl.c: Likewise.
34154         * math/w_atan2.c: Likewise.
34155         * math/w_atan2f.c: Likewise.
34156         * math/w_atan2l.c: Likewise.
34157         * math/w_cosh.c: Likewise.
34158         * math/w_coshf.c: Likewise.
34159         * math/w_coshl.c: Likewise.
34160         * math/w_exp10.c: Likewise.
34161         * math/w_exp10f.c: Likewise.
34162         * math/w_exp10l.c: Likewise.
34163         * math/w_exp2.c: Likewise.
34164         * math/w_exp2f.c: Likewise.
34165         * math/w_exp2l.c: Likewise.
34166         * math/w_fmod.c: Likewise.
34167         * math/w_fmodf.c: Likewise.
34168         * math/w_fmodl.c: Likewise.
34169         * math/w_hypot.c: Likewise.
34170         * math/w_hypotf.c: Likewise.
34171         * math/w_hypotl.c: Likewise.
34172         * math/w_jnl.c: Likewise.
34173         * math/w_lgamma.c: Likewise.
34174         * math/w_lgamma_r.c: Likewise.
34175         * math/w_lgammaf.c: Likewise.
34176         * math/w_lgammaf_r.c: Likewise.
34177         * math/w_lgammal.c: Likewise.
34178         * math/w_lgammal_r.c: Likewise.
34179         * math/w_pow.c: Likewise.
34180         * math/w_powf.c: Likewise.
34181         * math/w_powl.c: Likewise.
34182         * math/w_remainder.c: Likewise.
34183         * math/w_remainderf.c: Likewise.
34184         * math/w_remainderl.c: Likewise.
34185         * math/w_scalb.c: Likewise.
34186         * math/w_scalbf.c: Likewise.
34187         * math/w_scalbl.c: Likewise.
34188         * math/w_scalbln.c: Likewise.
34189         * math/w_scalblnf.c: Likewise.
34190         * math/w_scalblnl.c: Likewise.
34191         * math/w_sinh.c: Likewise.
34192         * math/w_sinhf.c: Likewise.
34193         * math/w_sinhl.c: Likewise.
34194         * math/w_tgamma.c: Likewise.
34195         * math/w_tgammaf.c: Likewise.
34196         * math/w_tgammal.c: Likewise.
34197         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34198         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34199         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34200         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34201         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34203         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34204         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34205         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34206         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34207         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34208         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34209         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34210         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34211         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34212         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34214         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34215         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34218         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34221         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34222         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34223         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34224         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34225         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34226         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34227         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34228         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34229         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34230         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34231         * stdio-common/printf_fp.c: Likewise.
34232         * stdio-common/printf_fphex.c: Likewise.
34233         * stdio-common/printf_size.c: Likewise.
34235 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
34237         [BZ #18470]
34238         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34239         strnlen.
34240         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34241         Remove variable.
34242         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34243         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34244         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34245         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34246         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34247         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34248         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34249         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34250         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34251         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34253         [BZ #18468]
34254         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34255         weak alias of __wmemchr.  Use libc_hidden_weak.
34256         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
34257         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
34258         instead of wmemchr.
34260 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34262         [BZ #18383]
34263         * elf/tst-tlsalign-extern.c: New file.
34264         * elf/tst-tlsalign-extern-static.c: New file.
34265         * elf/tst-tlsalign-vars.c: New file.
34266         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
34267         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
34268         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
34269         ($(objpfx)tst-tlsalign-extern-static): Likewise.
34270         (test-xfail-tst-tlsalign-extern-static): New variable.
34272 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
34274         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34275         Use variable name _sc_err instead of err.
34276         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34277         instead of ret.
34278         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34279         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34280         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34281         (INLINE_SYSCALL): Likewise.
34283         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34284         * include/string.h (__strnlen): Use libc_hidden_proto.
34285         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34286         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34287         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34288         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34289         (libc_hidden_def): Undefine and redefine.
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34291         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34292         __GI_strnlen.
34293         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34294         libc_hidden_def.
34295         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34297         [BZ #18469]
34298         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34299         weak alias of __towlower.  Use libc_hidden_weak.
34300         (towupper): Rename to __towupper and define as weak alias of
34301         __towupper.  Use libc_hidden_weak.
34302         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
34303         (__towupper): Likewise.
34304         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34305         __towlower instead of towlower.
34307 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34309         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
34310         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
34312 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34314         * sysdeps/aarch64/libm-test-ulps: Update.
34316 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34318         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
34319         Define.
34320         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34322         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34323         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34324         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34325         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34326         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34328 2015-06-01  Martin Sebor  <msebor@redhat.com>
34330         [BZ #18116]
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34332         (__setcontext): Use extended four-operand version of mtsf whenever
34333         possible.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34335         (__novec_swapcontext): Likewise.
34337 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34339         * benchtests/scripts/compare_bench.py: New file.
34340         * benchtests/scripts/import_bench.py (mean): New function.
34341         (split_list): Likewise.
34342         (do_for_all_timings): Likewise.
34343         (compress_timings): Likewise.
34345         * benchtests/scripts/import_bench.py: New file.
34346         * benchtests/scripts/validate_benchout.py: Import import_bench
34347         instead of jsonschema.
34348         (validate_bench): Remove function.
34349         (main): Use import_bench.
34351 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
34353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34354         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34356 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34360 2015-05-28  Roland McGrath  <roland@hack.frob.com>
34362         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34363         set THREAD_SELF->tid to a magic value and futex-wake it.
34364         Pass its address to the thread_exit system call.
34365         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34366         bit is clear.
34367         * sysdeps/nacl/lowlevellock.h: New file.
34368         * sysdeps/nacl/lll_timedwait_tid.c: New file.
34370         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34371         Add TIMEOUT to current time, don't subtract it.
34373 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
34375         [BZ #2981]
34376         [BZ #18422]
34377         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34378         ($(objpfx)tst-audit2.out): Also depend on
34379         $(objpfx)tst-auditmod9b.so.
34380         * elf/tst-audit2.c: Include <dlfcn.h>.
34381         (calloc_called): New.
34382         (calloc): Allow to be called more than once.
34383         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34385 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
34387         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34388         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34390 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
34392         * stdlib/monetary.h: Fix comment.
34394 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
34396         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34397         Avoid using variables in #defines that might cause shadowing.
34398         (INTERNAL_VSYSCALL_CALL): Likewise.
34400 2015-05-26  Roland McGrath  <roland@hack.frob.com>
34402         * sysdeps/nacl/lll_timedlock_wait.c: New file.
34404         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34405         * nptl/lll_timedlock_wait.c: ... to this new file.
34406         * nptl/Makefile (libpthread-routines): Add it.
34407         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34408         * nptl/lll_timedwait_tid.c: ... to this new file.
34409         * nptl/Makefile (libpthread-routines): Add it.
34410         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34411         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34412         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34413         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34414         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34415         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34416         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34417         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34418         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34419         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34421 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34423         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34424         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34425         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34427         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34428         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34429         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34431         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34432         * sysdeps/unix/sysv/linux/tile/sysdep.h
34433         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34434         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34435         using vDSO syscall macro.
34437 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34439         [BZ #17293]
34440         * uk_UA: Fix sorting order for Ukrainian locale
34442 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34444         * stdlib/monetary.h: Fix comment.
34446 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34448         [BZ #18234]
34449         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34450         st_mtim and st_ctim members.
34451         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34452         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34453         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34454         (struct stat64): Likewise.
34455         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34456         (struct stat64): Likewise.
34457         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34458         (struct stat64): Likewise.
34460 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34462         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34463         Define and include sysdep-vdso.h.
34464         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34465         Likewise.
34466         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34467         Likewise.
34468         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34469         Define with VDSO_SYMBOL and use PTR_MANGLE.
34470         (__vdso_clock_gettime): Likewise.
34471         (__vdso_clock_getres): Likewise.
34472         (_libc_vdso_platform_setup): Likewise.
34473         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34474         Likewise.
34475         (_libc_vdso_platform_setup): Likewise.
34476         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34477         Likewise.
34478         (__vdso_clock_gettime): Likewise.
34479         (__vdso_clock_getres): Likewise.
34480         (__vdso_get_tbfreq): Likewise.
34481         (__vdso_getcpu): Likewise.
34482         (__vdso_time): Likewise.
34483         (__vdso_sigtramp_rt64): Likewise.
34484         (__vdso_signtramp32): Likewise.
34485         (__vdso_sigtramp_rt32): Likewise.
34486         (_libc_vdso_platform_setup): Likewise.
34487         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34488         Likewise.
34489         (__vdso_clock_gettime): Likewise.
34490         (__vdso_clock_getres): Likewise.
34491         (_libc_vdso_platform_setup): Likewise.
34492         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34493         Likewise.
34494         (__vdso_clock_gettime): Likewise.
34495         (_libc_vdso_platform_setup): Likewise.
34496         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34497         Likewise.
34498         (__vdso_getcpu): Likewise.
34499         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34500         Use VDSO_SYMBOL macro to define.
34501         (__vdso_clock_gettime): Likewise.
34502         (__vdso_clock_getres): Likewise.
34503         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34504         Likewise.
34505         (__vdso_clock_gettime): Likewise.
34506         (__vdso_clock_getres): Likewise.
34507         (__vdso_get_tbfreq): Likewise.
34508         (__vdso_getcpu): Likewise.
34509         (__vdso_time): Likewise.
34510         (__vdso_sigtramp_rt64): Likewise.
34511         (__vdso_signtramp32): Likewise.
34512         (__vdso_sigtramp_rt32): Likewise.
34513         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34514         Likewise.
34515         (__vdso_clock_gettime): Likewise.
34516         (__vdso_clock_getres): Likewise.
34517         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34518         Likewise.
34519         (__vdso_clock_gettime): Likewise.
34520         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34521         Likewise.
34522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34523         macro.
34524         (INTERNAL_VSYSCALL): Likewise.
34525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34526         Remove macro.
34527         (INTERNAL_VSYSCALL): Likewise.
34528         (INTERNAL_VSYSCALL_NCS): Likewise.
34529         (INTERNAL_VSYSCALL_CALL): New macro.
34530         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34532         Likewise.
34533         (INTERNAL_VSYSCALL): Likewise.
34534         (INTERNAL_VSYSCALL_NCS): Likewise.
34535         (INTERNAL_VSYSCALL_CALL): New macro.
34536         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34538         (INLINE_VSYSCALL): Remove macro.
34539         (INTERNAL_VSYSCALL): Remove macro.
34540         (INTERNAL_VSYSCALL_NCS): Remove macro.
34541         (INTERNAL_VSYSCALL_CALL): New macro.
34542         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34543         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34544         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34545         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34546         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34548         (INLINE_VSYSCALL): Remove macro.
34549         (INTERNAL_VSYSCALL): Likewise.
34550         (INTERNAL_VSYSCALL_NCS): Likewise.
34551         (INTERNAL_VSYSCALL_CALL): New macro.
34552         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34553         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34554         PTR_DEMANGLE on vDSO pointer.
34555         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34556         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34557         macro.
34558         (INTERNAL_SYSCALL): Likewise.
34559         (INTERNAL_VSYSCALL_NCS): Remove macro.
34560         (INTERNAL_VSYSCALL_CALL): New macro.
34561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34562         Remove macro.
34563         (INTERNAL_VSYSCALL): Likewise.
34564         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34565         sysdep-vdso.h instead of libc-vdso.h.
34566         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34567         definition.
34568         (INLINE_VSYSCALL): Likewise.
34569         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34570         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34571         definition.
34572         (INLINE_VSYSCALL): Likewise.
34573         (INTERNAL_VSYSCALL): Likewise.
34574         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34575         * sysdeps/unix/sysv/linux/timespec_get.c
34576         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34577         (timespec_get): Use ANSI prototype.
34578         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34579         and definition for Linux.
34581 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34583         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34584         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34586 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34588         [BZ #2981]
34589         [BZ #18410]
34590         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34591         for missing DT_PLTRELSZ.
34593 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34595         Remove obsolete aliases that broke 'locale -a'
34596         [BZ #18412]
34597         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34598         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34599         breaking some applications that use 'locale -a' output.
34600         Change the encoding of this file from Latin-1 to ASCII to avoid
34601         other potential problems with people grepping this file.
34603 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34605         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34606         -fasynchronous-unwind-tables.
34607         (CFLAGS-sendto.c): Likewise.
34608         (CFLAGS-sendmsg.c): Likewise.
34609         (CFLAGS-connect.c): Likewise.
34610         (CFLAGS-recvmsg.c): Likewise.
34611         (CFLAGS-recvfrom.c): Likewise.
34612         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34613         (SOCKETCALL): New macro: non-cancellable socketcall.
34614         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34615         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34616         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34617         * sysdeps/unix/sysv/linux/accept.c: New file.
34618         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34619         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34620         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34621         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34622         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34623         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34624         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34625         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34626         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34627         * sysdeps/unix/sysv/linux/send.c: Likewise.
34628         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34629         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34630         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34631         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34632         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34633         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34634         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34635         prototype.
34636         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34637         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34638         instead of __internal_xxx function.
34639         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34640         prototype.
34641         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34642         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34643         instead of __internal_xxx function.
34644         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34645         prototype.
34646         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34647         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34648         instead of __internal_xxx function.
34649         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34650         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34651         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34652         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34653         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34654         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34655         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34656         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34657         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34658         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34659         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34660         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34661         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34662         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34663         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34664         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34665         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34666         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34667         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34668         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34671         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34672         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34673         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34674         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34675         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34676         * sysdeps/unix/sysv/linux/send.S: Likewise.
34677         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34678         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34679         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34680         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34681         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34682         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34683         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34684         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34685         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34686         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34687         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34688         socketcall is implemented in GLIBC.
34690 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34692         * soft-fp/fmadf4.c: Include <libc-internal.h>.
34693         (__fma): Ignore uninitialized warnings around packing.
34694         * soft-fp/fmasf4.c: Include <libc-internal.h>.
34695         (__fmaf): Ignore uninitialized warnings around packing.
34696         * soft-fp/fmatf4.c: Include <libc-internal.h>.
34697         (__fmal): Ignore uninitialized warnings around packing.
34699         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34700         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34702         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34704         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34705         switch statement into default case.
34706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34708         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34709         a conditional in forcing "inexact".
34710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34711         Likewise.
34713 2015-05-22  Roland McGrath  <roland@hack.frob.com>
34715         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34716         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34717         for each INTERNAL_SYSCALL use.
34719 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34721         [BZ #438]
34722         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34723         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34724         variable.
34726         [BZ #18444]
34727         * string/basename.c (basename): Rename to __basename and define as
34728         weak alias of __basename.  Use libc_hidden_weak.
34729         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
34730         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34731         __basename instead of basename.
34732         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34733         Remove variable.
34734         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34736 2015-05-18  Florian Weimer  <fweimer@redhat.com>
34738         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34739         (_IO_JUMPS_FILE_plus): New.
34740         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34741         _IO_CAST_FIELD_ACCESS.
34742         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34743         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34744         * libio/freopen.c (freopen): Likewise.
34745         * libio/freopen64.c (freopen64): Likewise.
34746         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34747         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34748         * libio/iofwide.c (_IO_fwide): Likewise.
34749         * libio/memstream.c (open_memstream): Likewise.
34750         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34751         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34752         * libio/oldiopopen.c (_IO_old_popen): Likewise.
34754 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
34756         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34757         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34758         NADJ.
34759         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34760         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34761         NADJ.
34762         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34763         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34764         NADJ.
34766         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34767         (p == 4) case.
34769         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34770         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34771         Remove variable.
34772         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34773         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34774         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34776 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34778         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34779         Adjust jump table label generation macros.
34781 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34783         * stdio-common/vfprintf.c (vfprintf): Move local variables
34784         args_malloced, specs, specs_malloced, and the code after
34785         do_positional to the printf_positional function.
34786         (printf_positional): New function.
34788 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34790         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34791         function.
34792         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34793         STEP4_TABLE, process_arg): Move macro definitions
34794         out of the vfprintf function.  (Cosmetic change only.)
34796 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
34798         * benchtests/Makefile (stdio-common-bench): Define.
34799         (benchset): Add stdio-common-bench.
34800         * sprintf-inputs: New file.
34801         * sprintf-source.c: New file.
34803 2015-05-21  Andreas Schwab  <schwab@suse.de>
34805         [BZ #13028]
34806         [BZ #17053]
34807         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34808         of struct __res_state.
34809         * resolv/res_send.c (__libc_res_nsend): Likewise.
34810         (get_nsaddr): New function.
34811         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34812         statp directly.
34814 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34816         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34817         -D_POSIX_C_SOURCE=199506L.
34819         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34821         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34822         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34823         Do not mention otherwise.
34824         [POSIX] (_XOPEN_VERSION): Do not expect.
34825         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34826         [POSIX] (_POSIX2_C_BIND): Likewise.
34827         [POSIX] (_POSIX2_VERSION): Likewise.
34828         [POSIX] (_XOPEN_XPG2): Likewise.
34829         [POSIX] (_XOPEN_XPG3): Likewise.
34830         [POSIX] (_XOPEN_XPG4): Likewise.
34831         [POSIX] (_XOPEN_UNIX): Likewise.
34832         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34833         [POSIX] (_POSIX_BARRIERS): Likewise.
34834         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34835         [POSIX] (_POSIX_CPUTIME): Likewise.
34836         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34837         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34838         [POSIX] (_POSIX_SHELL): Likewise.
34839         [POSIX] (_POSIX_SPAWN): Likewise.
34840         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34841         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34842         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34843         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34844         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34845         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34846         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34847         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34848         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34849         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34850         [POSIX] (_POSIX2_PBS): Likewise.
34851         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34852         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34853         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34854         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34855         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34856         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34857         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34858         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34859         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34860         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34861         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34862         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34863         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34864         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34865         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34866         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34867         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34868         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34869         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34870         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34871         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34872         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34873         [POSIX] (_SC_2_C_BIND): Likewise.
34874         [POSIX] (_SC_2_C_VERSION): Likewise.
34875         [POSIX] (_SC_2_PBS): Likewise.
34876         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34877         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34878         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34879         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34880         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34881         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34882         [POSIX] (_SC_BARRIERS): Likewise.
34883         [POSIX] (_SC_BASE): Likewise.
34884         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34885         [POSIX] (_SC_DEVICE_IO): Likewise.
34886         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34887         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34888         [POSIX] (_SC_FD_MGMT): Likewise.
34889         [POSIX] (_SC_FIFO): Likewise.
34890         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34891         [POSIX] (_SC_FILE_LOCKING): Likewise.
34892         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34893         [POSIX] (_SC_IOV_MAX): Likewise.
34894         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34895         [POSIX] (_SC_NETWORKING): Likewise.
34896         [POSIX] (_SC_PAGE_SIZE): Likewise.
34897         [POSIX] (_SC_PASS_MAX): Likewise.
34898         [POSIX] (_SC_PIPE): Likewise.
34899         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34900         [POSIX] (_SC_REGEXP): Likewise.
34901         [POSIX] (_SC_SHELL): Likewise.
34902         [POSIX] (_SC_SIGNALS): Likewise.
34903         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34904         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34905         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34906         [POSIX] (_SC_USER_GROUPS): Likewise.
34907         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34908         [POSIX] (_SC_STREAMS): Likewise.
34909         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34910         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34911         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34912         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34913         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34914         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34915         [POSIX] (_PC_FILESIZEBITS): Likewise.
34916         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34917         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34918         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34919         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34920         [POSIX] (uid_t): Likewise.
34921         [POSIX] (gid_t): Likewise.
34922         [POSIX] (off_t): Likewise.
34923         [POSIX] (pid_t): Likewise.
34924         [POSIX] (cuserid): Allow.
34925         (_SC_2_CHAR_TERM): Require constant.
34926         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34927         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34928         variable.
34930 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34932         * sysdeps/nacl/pthread-pids.h: New file.
34933         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34934         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34936         * nptl/pthread-pids.h: New file.
34937         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34938         * nptl/nptl-init.c: Include <pthread-pids.h>.
34939         (__pthread_initialize_minimal_internal):
34940         Call __pthread_initialize_pids instead of set_tid_address syscall.
34942         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34943         * sysdeps/posix/usleep.c: ... here.
34945 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34947         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34948         call_pselect6 object.
34949         [$(subdir) = io]: Remove call_sync_file_range object.
34950         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34951         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34952         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34953         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34955 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34957         * math/s_cproj.c: Add include "math_private.h".
34958         * math/s_cprojf.c: Likewise.
34959         * math/s_cprojl.c: Likewise.
34961 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34963         [BZ #18244]
34964         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34965         high mantissa bit when testing whether P is a NaN.
34966         * math/libm-test.inc (remainder_test_data): Add more tests.
34967         (remquo_test_data): Likewise.
34969         [BZ #18049]
34970         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34971         below -32, return the argument, with underflow if subnormal.
34972         * math/auto-libm-test-in: Add more tests of atanh.
34973         * math/auto-libm-test-out: Regenerated.
34975 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34977         [BZ #18434]
34978         * nptl/tst-sem15.c: New file.
34979         * nptl/Makefile (tests): Add it.
34980         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34981         s/<</>>/ to fix typo in EOVERFLOW check.
34982         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34984 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34986         * manual/strings.texi (envz_remove): Fix typo in safety
34987         annotations.
34989 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34990             Steve Ellcey  <sellcey@imgtec.com>
34992         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34993         in order to avoid strict alias warnings.
34994         (iruserok_af): Ditto for ra.
34996 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34998         [BZ #17581]
34999         * malloc/hooks.c
35000         (magicbyte): Convert to a function and avoid returning 0x01.
35001         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35002         (mem2chunk_check): Fix unsigned comparisons to zero.
35003         Hoist defs of sz and magic.
35005 2015-05-19  Richard Henderson  <rth@redhat.com>
35007         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35009         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35011 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013         [BZ #16159]
35014         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35015         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35016         (reused_arena): Find a non-corrupt arena.
35017         (heap_trim): Pass arena to unlink.
35018         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35019         malloc_printerr.
35020         (top_check): Likewise.
35021         (free_check): Likewise.
35022         (realloc_check): Likewise.
35023         * malloc/malloc.c (malloc_printerr): Add arena argument.
35024         (unlink): Likewise.
35025         (munmap_chunk): Adjust.
35026         (ARENA_CORRUPTION_BIT): New macro.
35027         (arena_is_corrupt): Likewise.
35028         (set_arena_corrupt): Likewise.
35029         (sysmalloc): Use mmap if there are no usable arenas.
35030         (_int_malloc): Likewise.
35031         (__libc_malloc): Don't fail if arena_get returns NULL.
35032         (_mid_memalign): Likewise.
35033         (__libc_calloc): Likewise.
35034         (__libc_realloc): Adjust for additional argument to
35035         malloc_printerr.
35036         (_int_free): Likewise.
35037         (malloc_consolidate): Likewise.
35038         (_int_realloc): Likewise.
35039         (_int_memalign): Don't touch corrupt arenas.
35040         * malloc/tst-malloc-backtrace.c: New test case.
35042         * Makefile (summarize-tests): Fix return value on success.
35044         * manual/string.texi (Envz Functions): Add envz_remove.
35046 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35048         * sysdeps/posix/opendir.c: Include <stdbool.h>.
35049         (invalid_name): New function, broken out of ...
35050         (__opendirat): ... here.  Call it.
35051         (need_isdir_precheck): New function, broken out of ...
35052         (__opendirat): ... here.  Call it.
35053         Use __fxstatat64, not __xstatat64.
35054         (opendir_oflags): New function, broken out of ...
35055         (__opendirat): ... here.  Call it.
35056         (opendir_tail): New function, broken out of ...
35057         (__opendirat): ... here.  Call it.
35058         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35059         opendir_tail, rather than punting to __opendirat.
35060         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35062 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35064         * .gitignore: Ignore generated *.pyc.
35066 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
35068         * include/stdio.h: Define __need_wint_t.
35069         * test-skeleton.c: Avoid `for' loop initial declaration.
35070         * nptl/tst-initializers1.c: Use test-skeleton.c.
35072 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35074         [BZ #18418]
35075         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35077 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35079         [BZ #16352]
35080         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35081         (__ieee754_atanh): Force underflow exception for results with
35082         small absolute value.
35083         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35084         (__ieee754_atanhf): Force underflow exception for results with
35085         small absolute value.
35086         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35087         (__ieee754_atanh): Force underflow exception for results with
35088         small absolute value.
35089         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35090         (__ieee754_atanhf): Force underflow exception for results with
35091         small absolute value.
35092         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35093         (__ieee754_atanhl): Force underflow exception for results with
35094         small absolute value.
35095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35096         (__ieee754_atanhl): Force underflow exception for results with
35097         small absolute value.
35098         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35099         (__ieee754_atanhl): Force underflow exception for results with
35100         small absolute value.
35101         * math/auto-libm-test-in: Do not allow missing underflow
35102         exceptions from atanh.
35103         * math/auto-libm-test-out: Regenerated.
35105         [BZ #18221]
35106         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35107         2**-28 as threshold for returning x or +/- 1/x.
35108         * math/auto-libm-test-in: Add more tests of tan.
35109         * math/auto-libm-test-out: Regenerated.
35111         [BZ #18220]
35112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35113         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35114         * math/auto-libm-test-in: Add another test of lgamma.
35115         * math/auto-libm-test-out: Regenerated.
35117 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
35119         * stdio-common/printf_fp.c (___printf_fp): Use abs.
35120         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
35121         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35122         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35123         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
35124         (ADD2A): Use fabs.  (SUB2A): Use fabs.
35125         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35126         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35128         (log1): Use fabs.  (my_log2): Use fabs.
35129         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35130         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35131         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35132         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35134         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
35135         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
35136         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
35137         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
35138         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35139         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35141 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35143         [BZ #18217]
35144         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35145         as threshold for returning 1 - x.
35146         * math/auto-libm-test-in: Add more tests of erfc.
35147         * math/auto-libm-test-out: Regenerated.
35149 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
35151         [BZ #18196]
35152         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35153         threshold for large arguments.
35154         * math/auto-libm-test-in: Add another test of atan.
35155         * math/auto-libm-test-out: Regenerated.
35157         [BZ #16339]
35158         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35159         (__log1p): Force underflow exception for results with small
35160         absolute value.
35161         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35162         (__log1pf): Force underflow exception for results with small
35163         absolute value.
35164         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35165         (__log1p): Force underflow exception for results with small
35166         absolute value.
35167         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35168         (__log1pf): Force underflow exception for results with small
35169         absolute value.
35170         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35171         (__log1pl): Force underflow exception for results with small
35172         absolute value.
35173         * math/auto-libm-test-in: Do not allow missing underflow
35174         exceptions from log1p.
35175         * math/auto-libm-test-out: Regenerated.
35177 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
35178             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35180         [BZ #16704]
35181         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35183 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
35185         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35186         (libmvec): New variable.
35187         * configure.ac: Added option for mathvec build.
35188         * configure: Regenerated.
35189         * mathvec/Depend: New file.
35190         * mathvec/Makefile: New file.
35191         * shlib-versions: Added libmvec.
35192         * math/Makefile: Added rule for libm.so installation.
35194         * bits/math-vector.h: New file.
35195         * bits/libm-simd-decl-stubs.h: New header.
35196         * math/Makefile (headers): Added new header
35197         libm-simd-decl-stubs.h.
35198         * math/math.h (__MATHCALL_VEC): New macro.
35200         * math/gen-libm-have-vector-test.sh: Script generates series of macros
35201         for conditions in testing functions.
35202         * math/Makefile: Added call of libm-have-vector-test.sh.
35203         * math/libm-test.inc (HAVE_VECTOR): New macros.
35205         * math/libm-test.inc: START refactored.
35206         * math/test-double.c (TEST_MATHVEC): Add define.
35207         * math/test-float.c: Likewise.
35208         * math/test-idouble.c: Likewise.
35209         * math/test-ifloat.c: Likewise.
35210         * math/test-ildoubl.c: Likewise.
35211         * math/test-ldouble.c: Likewise.
35212         * sysdeps/generic/math-tests-arch.h
35213         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35214         architecture check.
35216         * math/test-double.c (FUNC_TEST): New macro.
35217         * math/test-float.c: Likewise.
35218         * math/test-idouble.c: Likewise.
35219         * math/test-ifloat.c: Likewise.
35220         * math/test-ildoubl.c: Likewise.
35221         * math/test-ldouble.c: Likewise.
35222         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35224 2015-05-13  Roland McGrath  <roland@hack.frob.com>
35226         * sysdeps/nacl/fdopendir.c: New file.
35228         * dirent/scandir-tail.c: New file.
35229         * dirent/scandir64-tail.c: New file.
35230         * dirent/Makefile (routines): Add them.
35231         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35232         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35233         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35234         [!SCANDIR] (SCANDIR_TAIL): New macro.
35235         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35236         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35237         (SCANDIRAT): Macro removed.
35238         (SCANDIR_TAIL): New macro.
35239         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35240         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35241         (SCANDIRAT): Just call __opendirat and __scandir_tail.
35242         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35243         (READDIR): Macro removed.
35244         (SCANDIR_TAIL): New macro.
35245         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35246         (SCANDIR_TAIL): New macro.
35248         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35249         * dirent/scandir-cancel.c: ... to this new file.
35250         * dirent/Makefile (routines): Add it.
35251         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35252         * sysdeps/unix/sysv/linux/i386/scandir64.c
35253         (SKIP_SCANDIR_CANCEL): Macro removed.
35254         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35256         * dirent/tst-scandir.c: New file.
35257         * dirent/tst-scandir64.c: New file.
35258         * dirent/Makefile (tests): Add them.
35260 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
35262         [BZ #18409]
35263         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
35265 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35267         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
35268         list.
35270 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
35272         * benchtests/bench-strcoll.c: New benchmark.
35273         * benchtests/Makefile: Generate locales and run benchmark.
35274         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35275         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35276         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35277         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35278         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35279         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35280         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35281         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35282         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35283         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35284         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35285         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35286         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35287         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35288         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35289         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35290         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35291         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35292         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35293         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35294         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35295         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35296         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35297         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35299 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
35301         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35302         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35304 2015-05-12  Roland McGrath  <roland@hack.frob.com>
35306         * posix/uname-values.h: New file.
35307         * posix/uname.c: Include that instead of <config-name.h>.
35308         * sysdeps/nacl/uname-values.h: New file.
35309         * sysdeps/arm/nacl/uname-values.h: New file.
35311 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
35313         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
35314         splitting into fields.
35316 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
35318         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
35319         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35320         * locale/localeinfo.h: Add enum collation_encoding_type.
35321         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35322         * programs/ld-collate.c (collate_output): Add encoding type info.
35323         * string/strcoll_l.c (STRDIFF): New function.
35324         * (STRCOLL): Use STRDIFF to skip over equal prefix.
35325         * wcsmbs/wcscoll_l.c: Define STRDIFF.
35327 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
35329         [BZ #18397]
35330         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35331         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
35332         <fpu_control.h> instead of <math/fpu_control.c>.
35333         * sysdeps/mips/mips32/fpu/Makefile: New file.
35335 2015-05-11  Andreas Schwab  <schwab@suse.de>
35337         [BZ #18007]
35338         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35339         nss_endgrent.
35340         (_nss_compat_endgrent): Call nss_endgrent.
35341         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35342         nss_endpwent.
35343         (_nss_compat_endpwent): Call nss_endpwent.
35344         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35345         needent, call nss_setspent only if non-zero.
35346         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35347         (internal_endspent): Don't call nss_endspent.
35348         (_nss_compat_endspent): Call nss_endspent.
35349         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35350         Remove.  All uses removed.
35351         (internal_setent): Remove parameter stayopen, add parameter
35352         stream.  Use it instead of global variable.
35353         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35354         (internal_endent, internal_getent): Add parameter stream.  Use it
35355         instead of global variable.
35356         (CONCAT(_nss_files_end,ENTNAME))
35357         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35358         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
35359         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
35360         uses removed.
35361         (internal_setent, internal_endent): Add parameter stream.  Use it
35362         instead of global variable.
35363         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35364         stream.
35365         (get_next_alias): Add parameter stream.
35366         (_nss_files_getaliasent_r): Pass global stream.
35367         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
35368         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35369         (_nss_files_gethostbyname4_r): Pass local stream to
35370         internal_setent, internal_getent and internal_endent.  Remove
35371         locking.
35373 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35375         * tst-strfmon1.c (tests): Update expected currency symbol.
35377 2015-05-08  Roland McGrath  <roland@hack.frob.com>
35379         * sysdeps/nacl/gethostname.c: New file.
35381 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
35383         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35384         and sinh.
35385         * math/auto-libm-test-out: Regenerated.
35386         * sysdeps/i386/fpu/libm-test-ulps: Update.
35387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35389 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
35391         [BZ #18125]
35392         * stdlib/tst-setcontext3.c: New file.
35393         * stdlib/tst-setcontext3.sh: New file.
35394         * stdlib/Makefile (tests): Add tst-setcontext3.
35395         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35396         to verify test program created output file.
35397         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35398         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35399         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35400         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35402 2015-05-06  Roland McGrath  <roland@hack.frob.com>
35404         [BZ #18383]
35405         * elf/tst-tlsalign.c: New file.
35406         * elf/tst-tlsalign-static.c: New file.
35407         * elf/tst-tlsalign-lib.c: New file.
35408         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35409         (tests-static): Add tst-tlsalign-static.
35410         (modules-names): Add tst-tlsalign-lib.
35411         (test-xfail-tst-tlsalign): New variable.
35412         (test-xfail-tst-tlsalign-static): New variable.
35414         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35415         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35417 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
35419         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35420         csqrt, erfc, sin and sincos.
35421         * math/auto-libm-test-out: Regenerated.
35422         * sysdeps/i386/fpu/libm-test-ulps: Update.
35423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35425 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35427         * sysdeps/aarch64/libm-test-ulps: Update.
35429 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35431         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35432         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35433         * math/auto-libm-test-out: Regenerated.
35434         * sysdeps/i386/fpu/libm-test-ulps: Update.
35435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35437 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35439         [BZ #18265]
35440         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35441         (wcsncpy): Likewise.
35443 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35445         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35446         Assume __ASSUME_FALLOCATE is always true.
35447         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35448         (__posix_fallocate64_l64): Likewise.
35449         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35450         (posix_fallocate): Likewise.
35451         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35452         (__posix_fallocate64_l64): Likewise.
35453         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35454         [!__ASSUME_FALLOCATE]: Add comment.
35456 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35458         * sysdeps/unix/sysv/linux/i386/Makefile
35459         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35460         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35461         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35462         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35463         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35464         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35465         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35467 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35469         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35470         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35471         tgamma.
35472         * math/auto-libm-test-out: Regenerated.
35473         * sysdeps/i386/fpu/libm-test-ulps: Update.
35474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35476 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35478         * math/auto-libm-test-in: Add more tests of tgamma.
35479         * math/auto-libm-test-out: Regenerated.
35480         * sysdeps/i386/fpu/libm-test-ulps: Update.
35481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35483         * math/auto-libm-test-in: Add more tests of tanh.
35484         * math/auto-libm-test-out: Regenerated.
35485         * sysdeps/i386/fpu/libm-test-ulps: Update.
35486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35488         * math/auto-libm-test-in: Add more tests of tan.
35489         * math/auto-libm-test-out: Regenerated.
35490         * sysdeps/i386/fpu/libm-test-ulps: Update.
35491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35493         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35494         * math/auto-libm-test-out: Regenerated.
35495         * sysdeps/i386/fpu/libm-test-ulps: Update.
35496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35498         * math/auto-libm-test-in: Add another test of pow.
35499         * math/auto-libm-test-out: Regenerated.
35500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35502         * math/auto-libm-test-in: Add more tests of lgamma.
35503         * math/auto-libm-test-out: Regenerated.
35504         * sysdeps/i386/fpu/libm-test-ulps: Update.
35505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35507         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35508         log1p.
35509         * math/auto-libm-test-out: Regenerated.
35510         * sysdeps/i386/fpu/libm-test-ulps: Update.
35511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35513 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35515         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35516         Elf64_Chdr structs and ELFCOMPRESS constants.
35518 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35520         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35521         expm1.
35522         * math/auto-libm-test-out: Regenerated.
35523         * sysdeps/i386/fpu/libm-test-ulps: Update.
35524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35526         * math/auto-libm-test-in: Add more tests of erf and erfc.
35527         * math/auto-libm-test-out: Regenerated.
35528         * sysdeps/i386/fpu/libm-test-ulps: Update.
35529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35531 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35533         * config.h.in (HAVE_AARCH64_BE): Add.
35535 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35537         * math/auto-libm-test-in: Add more tests of csqrt.
35538         * math/auto-libm-test-out: Regenerated.
35539         * sysdeps/i386/fpu/libm-test-ulps: Update.
35540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35542         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35543         * math/auto-libm-test-out: Regenerated.
35544         * sysdeps/i386/fpu/libm-test-ulps: Update.
35545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35547         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35549 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35551         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35552         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35554         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35555         (euidaccess, eaccess): Define as weak aliases.
35557         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35558         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35559         but __suseconds_t is often 'long int' so some sources assume that
35560         type is being used (e.g. they use %ld to print tv_usec).
35562 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35564         [BZ #18007]
35565         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35566         (CVE-2014-8121)
35567         * nss/tst-nss-getpwent.c: New file.
35568         * nss/Makefile (tests): Add new test.
35570 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35572         [BZ #18346]
35573         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35574         exponents less than 48 as cases where high part of mantissa needs
35575         examining to determine whether argument is integral.
35576         * math/libm-test.inc (round_test_data): Add more tests.
35578 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35580         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35582 2015-04-27  David S. Miller  <davem@davemloft.net>
35584         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35585         __tls_get_addr.
35586         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35588 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35590         [BZ #18333]
35591         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35593 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35595         [BZ #18333]
35596         * time/tzset.c (parse_tzname): Return error on memory allocation
35597         failure.
35598         * test-skeleton.c (struct temp_name_list): Change type of name
35599         member to non-const.
35600         (add_temp_file): Create a copy of the file name.
35601         (delete_temp_files): Deallocate memory.
35602         (create_temp_file): Add comment.
35604 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35606         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35607         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35609 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35611         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35612         * sysdeps/arm/configure: Regenerated.
35614 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35616         [BZ #17715]
35617         * time/tzfile.c (__tzfile_read): Check for large values of
35618         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35619         * time/tzset.c (__tzstring_len): New function, based on the old
35620         __tzstring function.
35621         (__tzstring): Call __tzstring_len.
35622         (parse_tzname): New helper function extracted from
35623         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35624         the input string.
35625         (parse_offset): New helper function extracted from
35626         __tzset_parse_tz.  Replace switch with fallthrough with
35627         initialization before sscanf.
35628         (parse_rule): Likewise.
35629         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35630         new-style function definition.
35631         * timezone/Makefile (tests): Add tst-tzset.
35632         (tst-tzset.out): Dependencies on time zone files.
35633         (tst-tzset-ENV): Set TZDIR.
35634         (testdata/XT%): Copy crafted time zone files.
35635         * timezone/README: Mention crafted time zone files.
35636         * timezone/testdata/XT1, timezone/testdata/XT2,
35637         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35638         files.
35639         * timezone/tst-tzset.c: New test.
35641 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35643         * Makeconfig (+gccwarn): Remove -Winline.
35645 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35647         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35649 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35651         * NEWS: Mention sysconf() cache information support for s390.
35652         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35654 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35656         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35657         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35658         (__nearbyint): Likewise.
35659         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35660         (copysignl): Likewise.
35662 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35664         [BZ #18287]
35665         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35666         based on padding.  (CVE-2015-1781)
35668 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35670         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35671         libc-vdso.h.
35672         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35673         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35674         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35675         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35676         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35677         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35680         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35681         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35682         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35683         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35684         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35685         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35686         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35687         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35688         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35689         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35690         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35691         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35692         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35693         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35694         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35696 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
35698         * stdlib/setenv.c (__add_to_environ):
35699         Dump core quickly if setenv (..., NULL, ...) is called.
35700         This time, do it the right way, and pacify GCC with a pragma.
35702 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35704         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35705         IMAP->l_prev cannot be null, and #if out the code for the contrary
35706         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35707         believe that NS (&_dl_ns[NSID]) could point outside the array.
35709         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35710         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35711         before using NSID as an index.
35713 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
35715         [BZ #17825]
35716         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35717         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35718         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35720 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35722         Add preliminary port to Google Native Client on ARM.
35723         * abi-tags (.*-.*-nacl.*): New entry.
35724         * sysdeps/arm/nacl: New directory.
35725         * sysdeps/nacl: New directory.
35727 2015-04-16  David S. Miller  <davem@davemloft.net>
35729         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35730         lowlevellock-futex.h
35732 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
35734         * sysdeps/tile/configure.ac: New file.
35735         * sysdeps/tile/configure: Regenerated.
35737 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35739         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
35740         conditionals for weak_alias and libc_hidden_weak.
35741         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35742         libc_hidden_weak and weak_alias.
35743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35744         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35745         and weak_alias for static one.
35747 2015-04-15  David S. Miller  <davem@davemloft.net>
35749         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35751 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35753         [BZ #18206]
35754         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35755           Use signed comparision instead of substraction to avoid
35756           overflow bug.
35757         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35758           Take the sign of ret.
35759         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35760           Do not expect precise return values. Only the sign matters.
35761         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35762         * wcsmbs/test-wcsncmp.c: New File.
35763         * string/test-strncmp.c: Add wcsncmp support.
35765 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35767         [BZ #6792]
35768         * math/w_log1p.c: New file.
35769         * math/w_log1pf.c: Likewise.
35770         * math/w_log1pl.c: Likewise.
35771         * math/Makefile (libm-calls): Add w_log1p.
35772         * math/s_log1pl.c (log1pl): Remove weak_alias.
35773         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35774         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35775         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35776         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35777         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35778         [NO_LONG_DOUBLE] (log1pl): Likewise.
35779         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35780         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35781         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35782         (log1p): Remove long_double_symbol.
35783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35784         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35785         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35786         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35787         remove weak_alias for corresponding log1p function.
35788         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35789         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35790         * sysdeps/ia64/fpu/w_log1p.c: New file.
35791         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35792         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35793         * math/libm-test.inc (log1p_test_data): Add errno expectations.
35795 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
35797         [BZ #18247]
35798         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35799         decimal exponent by 1.
35800         * stdlib/tst-strtod-round-data: Add more tests.
35801         * stdlib/tst-strtod-round.c (tests): Regenerated.
35803 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35805         * math/auto-libm-test-in: Add more tests of clog and clog10.
35806         * math/auto-libm-test-out: Regenerated.
35807         * sysdeps/i386/fpu/libm-test-ulps: Update.
35808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35810 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35812         * Makeconfig (module-cppflags): Exclude all .v.i files.
35813         (skip-module-cppflags): Variable removed.
35815         * configure.ac (libc_config_ok): Initialize before reading
35816         preconfigure scripts, not after.
35817         * configure: Regenerated.
35819         * test-skeleton.c (TIMEOUT): Move #define to top level.
35820         (main): Grok environment variable TEST_DIRECT.  If set, print
35821         test expectation details into that file and then behave as if
35822         given --direct.
35824 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35826         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35827         warning on 32-bit.
35829 2015-04-08  David S. Miller  <davem@davemloft.net>
35831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35833 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35835         * math/auto-libm-test-in: Add more tests of atanh.
35836         * math/auto-libm-test-out: Regenerated.
35837         * sysdeps/i386/fpu/libm-test-ulps: Update.
35838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35840         * math/auto-libm-test-in: Add more tests of atan.
35841         * math/auto-libm-test-out: Regenerated.
35842         * sysdeps/i386/fpu/libm-test-ulps: Update.
35843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35845 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35847         * elf/pldd.c (main): Rewrite to use struct
35848         scratch_buffer instead of extend_alloca.
35849         * elf/pldd-xx.c (find_maps): Likewise.
35850         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35851         <alloca.h>.
35852         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35853         scratch_buffer instead of extend_alloca.
35854         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35855         grp/compat-initgroups.c.
35856         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35857         Rewrite to use struct scratch_buffer instead of extend_alloca.
35858         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35859         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35861 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35863         * math/auto-libm-test-in: Add more tests of cbrt.
35864         * math/auto-libm-test-out: Regenerated.
35865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35867         * math/auto-libm-test-in: Add more tests of cabs.
35868         * math/auto-libm-test-out: Regenerated.
35869         * sysdeps/i386/fpu/libm-test-ulps: Update.
35870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35872         [BZ #18210]
35873         [BZ #18211]
35874         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35875         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35876         computations.
35877         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35878         clog10.
35879         * math/auto-libm-test-out: Regenerated.
35880         * sysdeps/i386/fpu/libm-test-ulps: Update.
35881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35883         [BZ #18197]
35884         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35885         (atan): Set FE_TONEAREST mode for internal computations.
35886         * math/auto-libm-test-in: Add more tests of atan.
35887         * math/auto-libm-test-out: Regenerated.
35889 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35891         [BZ #17930]
35892         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35894 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35896         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35898 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35900         * include/scratch_buffer.h: New file.
35901         * malloc/scratch_buffer_grow.c: Likewise.
35902         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35903         * malloc/scratch_buffer_set_array_size.c: Likewise.
35904         * malloc/tst-scratch_buffer.c: Likewise.
35905         * malloc/Makefile (routines): Add scratch_buffer_grow.
35906         (tests): Add test case.
35907         * malloc/Versions (GLIBC_PRIVATE): Export
35908         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35909         __libc_scratch_buffer_set_array_size.
35911 2015-04-06  Richard Henderson  <rth@redhat.com>
35913         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35914         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35916         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35917         unsigned int before printing.
35919 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35921         [BZ #17596]
35922         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35923         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35925 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35927         * include/libc-internal.h (libc_max_align_t): Define.
35929 2015-04-02  Andreas Schwab  <schwab@suse.de>
35931         [BZ #16850]
35932         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35934 2015-04-02  Mel Gorman  <mgorman@suse.de>
35936         [BZ #17195]
35937         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35938         as well as the main arena.
35940 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35942         [BZ #18185]
35943         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35944         sharing L2 cache to 2 for Silvermont/Knights Landing.
35946 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35948         [BZ #17711]
35949         * config.make.in (have-protected-data): New.
35950         * configure.ac: Check linker support for protected data symbol.
35951         * configure: Regenerated.
35952         * elf/Makefile (modules-names): Add tst-protected1moda and
35953         tst-protected1modb if $(have-protected-data) is yes.
35954         (tests): Add tst-protected1a and tst-protected1b if
35955         $(have-protected-data) is yes.
35956         ($(objpfx)tst-protected1a): New.
35957         ($(objpfx)tst-protected1b): Likewise.
35958         (tst-protected1modb.so-no-z-defs): Likewise.
35959         * elf/tst-protected1a.c: New file.
35960         * elf/tst-protected1b.c: Likewise.
35961         * elf/tst-protected1mod.h: Likewise.
35962         * elf/tst-protected1moda.c: Likewise.
35963         * elf/tst-protected1modb.c: Likewise.
35965 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35967         [BZ #17711]
35968         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35969         indicates it is called from do_lookup_x on relocation against
35970         protected data, skip the data definion in the executable from
35971         copy reloc.
35972         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35973         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35974         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35975         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35976         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35977         otherwise to 0.
35978         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35979         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35980         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35981         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35982         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35983         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35985 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35987         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35988         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35990 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35992         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35993         THREAD_SETMEM_NC.
35994         * sysdeps/x86_64/nptl/tls.h: Ditto.
35996 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35998         * dlfcn/tststatic.c (main): Converted to ...
35999         (do_test): ... this.
36000         (TEST_FUNCTION): New macro.
36001         Include test-skeleton.c.
36003 2015-03-26  Alan Modra  <amodra@gmail.com>
36005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36006         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36007         zero for undefined weak.
36008         (elf_machine_plt_conflict): Similarly.
36010 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36012         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36013         atanh.
36014         * math/auto-libm-test-out: Regenerated.
36015         * sysdeps/i386/fpu/libm-test-ulps: Update.
36016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36018         * math/auto-libm-test-in: Add another test of asin.
36019         * math/auto-libm-test-out: Regenerated.
36020         * sysdeps/i386/fpu/libm-test-ulps: Update.
36021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36023         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36024         Remove macro.
36025         (LLL_EBX_REG): Likewise.
36026         (LLL_ENTER_KERNEL): Likewise.
36028         * math/auto-libm-test-in: Add more tests of asin.
36029         * math/auto-libm-test-out: Regenerated.
36030         * sysdeps/i386/fpu/libm-test-ulps: Update.
36031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36033         [BZ #18138]
36034         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36035         libc_do_syscall_args): New structure.
36036         (INTERNAL_SYSCALL_MAIN_0): New macro.
36037         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36038         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36039         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36040         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36041         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36042         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36043         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36044         Replace conditional definitions by conditional definitions of ....
36045         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36046         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36047         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36048         (libpthread-sysdep_routines): Add libc-do-syscall.
36049         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36050         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36051         to __NR_futex not 240.
36053 2015-03-25  Alan Modra  <amodra@gmail.com>
36055         * NEWS: Advertise TLS optimization.
36056         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36057         (DT_PPC_NUM): Increment.
36058         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36059         (CHECK_STATIC_TLS): Use here.
36060         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36061         TLS descriptors.
36062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36063         * sysdeps/powerpc/dl-tls.c: New file.
36064         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36065         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36066         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36067         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36072 2015-03-25  Alan Modra  <amodra@gmail.com>
36074         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36075         for overlapping .opd entries" to "support...".
36076         * sysdeps/powerpc/powerpc64/configure: Regenerate
36078 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36080         * math/auto-libm-test-in: Add more tests of acos.
36081         * math/auto-libm-test-out: Regenerated.
36082         * sysdeps/i386/fpu/libm-test-ulps: Update.
36083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36085         * math/auto-libm-test-in: Add more tests of expm1.
36086         * math/auto-libm-test-out: Regenerated.
36087         * sysdeps/i386/fpu/libm-test-ulps: Update.
36088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36090 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
36092         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36093         * math/auto-libm-test-out: Regenerated.
36094         * sysdeps/i386/fpu/libm-test-ulps: Update.
36095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36097         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100         * math/auto-libm-test-in: Add more tests of log2.
36101         * math/auto-libm-test-out: Regenerated.
36102         * sysdeps/i386/fpu/libm-test-ulps: Update.
36103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36105 2015-03-23  Roland McGrath  <roland@hack.frob.com>
36107         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36108         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
36109         _IO_IS_APPENDING bit in READ_WRITE instead.
36111 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36113         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36114         (__determine_cpumask_size): Replace extend_alloca with a
36115         variable-length array.  Do not treat res == 0 as an error.
36117 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36119         [BZ #18100]
36120         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36121         and integer overflow.
36122         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36123         (main): Add integer overflow tests.
36124         * manual/pattern.texi (Calling Wordexp): Document additional use
36125         for WRDE_SYNTAX.
36127 2015-03-23  Alan Modra  <amodra@gmail.com>
36129         * config.h.in: Remove HAVE_ASM_PPC_REL16.
36130         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36131         and false branch of conditional.
36132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36133         Likewise.
36135 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
36137         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36138         libc-modules.h
36139         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36140         unused declaration of _hurd_intr_rpc_msg_in_trap.
36141         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36142         defined instead of whether it is non-zero.
36143         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36144         input constraint instead of both input and output constraint.  Use ecx
36145         clobber instead of %ecx.
36146         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36147         mutex_unlock): Use a statement expression instead of an expression list.
36148         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36149         type to vm_size_t instead of vm_address_t.
36150         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36151         defined instead of whether it is non-zero.
36152         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36153         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36154         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36155         comparisons with mapaddr.
36156         * nscd/nscd-client.h: Include <time.h>.
36157         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36158         9th parameter to __vm_region instead of int.
36159         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36160         * scripts/check-local-headers.sh (exclude): Add device/,
36161         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36162         cthreads.h.
36164 2015-03-19  Roland McGrath  <roland@hack.frob.com>
36166         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36167         to account for alignment padding.
36168         * sysdeps/arm/memmove.S: Likewise.
36170 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
36172         * sysdeps/unix/sysv/linux/generic/README: New file.
36174 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
36176         [BZ #18138]
36177         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36178         (futex_abstimed_wait)
36179         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36180         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36181         of lll_futex_timed_wait.
36183 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
36185         [BZ #17542]
36186         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36188 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
36190         [BZ #17090]
36191         [BZ #17620]
36192         [BZ #17621]
36193         [BZ #17628]
36194         * NEWS: Update.
36195         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36196         entries with Static TLS too.  Skip entries past the end of the
36197         allocated DTV, from Alan Modra.
36198         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
36199         Static TLS DTV entry set up from...
36200         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36201         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36202         * nptl/allocatestack.c (init_one_static_tls): ... and here...
36203         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36204         for Static TLS.
36205         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
36206         that the slot we find is associated with the given map before
36207         using its generation count.
36208         * nptl_db/db_info.c: Include ldsodefs.h.
36209         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36210         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36211         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36212         (link_map::l_tls_offset): New struct field.
36213         (dtv_t::counter): Likewise.
36214         (rtld_global): New struct.
36215         (_rtld_global): New rtld variable.
36216         (dl_tls_dtv_slotinfo_list): New rtld global field.
36217         (dtv_slotinfo_list): New struct.
36218         (dtv_slotinfo): Likewise.
36219         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36220         (td_lookup): Rename to...
36221         (td_mod_lookup): ... this.  Use new mod parameter instead of
36222         LIBPTHREAD_SO.
36223         * nptl_db/td_thr_tlsbase.c: Include link.h.
36224         (dtv_slotinfo_list, dtv_slotinfo): New functions.
36225         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
36226         addresses even if the DTV is out of date or missing them.
36227         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36228         index zero-length arrays.
36229         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36230         (td_lookup): Make it a macro implemented in terms of...
36231         (td_mod_lookup): ... this declaration.
36232         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36233         (DB_MAIN_VARIABLE): Likewise.
36235 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36237         [BZ #18134]
36238         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36240 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
36242         * stdlib/setenv.c (__add_to_environ): Revert previous change.
36244 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
36246         [BZ #18128]
36247         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36248         (atomic_add, atomic_increment_and_test)
36249         (atomic_decrement_and_test): Fix 64-bit arithmetic.
36251 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
36253         * stdlib/setenv.c (__add_to_environ):
36254         Dump core quickly if setenv (..., NULL, ...) is called.
36256 2015-03-13  Roland McGrath  <roland@hack.frob.com>
36258         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
36259         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
36260         all the necessary asm magic in one place.
36261         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
36262         using those.
36264 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
36266         [BZ #14906]
36267         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
36268         traced file mtime. Use consistent log message.
36269         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36270         (register_traced_file): Call install_watches. Always set mtime.
36271         (invalidate_cache): Iterate over all trace files. Call install_watches.
36272         (inotify_check_files): Don't inline. Handle watching parent
36273         directories and configuration file movement in and out.
36274         (handle_inotify_events): New function.
36275         (main_loop_poll): Call handle_inotify_events.
36276         (main_loop_epoll): Likewise.
36277         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36278         (struct traced_file): Use array of inotify fds. Add parent directory,
36279         and basename.
36280         (struct database_dyn): Remove unused file_mtime.
36281         (init_traced_file): New inline function.
36282         (define_traced_file): New macro.
36283         * nss/nss_db/db-init.c: Use define_traced_file.
36284         (_nss_db_init): Use init_traced_file.
36285         * nss/nss_files/files-init.c: Use define_traced_file.
36286         (_nss_files_init): Use init_traced_file.
36288 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
36290         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36291         [_LIBC]: Do not include <stdlib.h>.
36292         [!_LIBC] (abort): Remove declaration.
36293         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36294         _FP_STATIC_ASSERT instead of conditionally calling abort.
36295         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36296         (_FP_EXTEND_CNAN): Likewise.
36297         (FP_TRUNC): Likewise.
36298         (__FP_CLZ): Likewise.
36299         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36301 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
36303         * manual/string.texi (XPG basename): Fix prototype.
36305 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36307         [BZ #18080]
36308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36309         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36310         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
36311         (__setcontext): Likewise.
36312         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
36313         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36314         Call rt_sigprocmask syscall one time to set new signal mask
36315         and retrieve the current signal mask instead of two calls.
36316         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
36317         (__swapcontext): Likewise.
36318         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
36319         * stdlib/tst-setcontext2.c: New file.
36321 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36323         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36325 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
36327         [BZ #18093]
36328         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36329         the wrong size.
36331 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36333         [BZ #18043]
36334         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36336 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36338         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36339         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36340         Remove define.
36341         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36342         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36343         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36344         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36345         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36346         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36347         define.
36348         * nptl_db/td_symbol_list.c (td_lookup): Remove
36349         HAVE_ASM_GLOBAL_DOT_NAME code.
36350         * sysdeps/powerpc/powerpc64/configure.ac: Remove
36351         HAVE_ASM_GLOBAL_DOT_NAME check.
36352         * sysdeps/powerpc/powerpc64/configure: Regenerate.
36353         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36354         (DOT_LABEL): Remove define.
36355         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36356         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36357         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36358         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36359         (__TLS_GET_ADDR): Likewise.
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36361         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36363 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
36365         [BZ #18111]
36366         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36367         (_FPU_SETCW): Initialize cw from fpsr before storing.
36368         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36369         (fesetexceptflag): Rewrite using fpu_control.h.
36370         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36372 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
36374         [BZ #18110]
36375         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36376         asms.
36377         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36379 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
36381         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36382         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36383         abort.
36384         (_FP_FMA): Likewise.
36385         (_FP_DIV): Likewise.
36387 2015-03-10  Roland McGrath  <roland@hack.frob.com>
36389         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36390         with 0 in that case.
36391         * Makefile (summarize-tests): New canned sequence, factored out of
36392         commands for targets tests and xtests.  Display summary lines that
36393         don't start with PASS: or XFAIL: rather than ones that do start with
36394         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
36395         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36396         do start with ERROR: or FAIL:.
36397         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36398         (except for [$(build-shared) = yes]).
36399         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36400         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36401         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36402         * nptl/Makefile: Revert 2015-03-04 changes.
36403         [$(CXX) empty] (tests-unsupported): New variable.
36404         * debug/Makefile: Likewise.
36406         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36407         gnulib file.  Replace __attribute with __attribute__ throughout.
36409 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
36411         * sysdeps/hppa/fpu/libm-test-ulps: Update.
36413 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36415         [BZ #18104]
36416         * math/auto-libm-test-in: Add another test of pow.
36417         * math/auto-libm-test-out: Regenerated.
36419 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36421         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36422         $(config-cflags-nofma).
36424 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36426         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36427         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36428         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36429         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36430         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36431         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36432         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36433         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36434         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36435         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36436         Add comment on closing #endif.
36438 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36440         * posix/wordexp.c (CHAR_IN_SET): New macro.
36441         (parse_param): Use it.
36443 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36445         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36447 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36449         [BZ #18043]
36450         * posix/wordexp.c (parse_param): Fix buffer overflow.
36451         * posix/wordexp-test.c (test_case): Add test case.
36453 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36455         [BZ #18042]
36456         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36457         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36459 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36461         [BZ #18043]
36462         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36463         (do_bz18043): Delete.
36464         (at_page_end): New.
36465         (testit): Refactor to have words at the edge of unreadable page.
36467 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36469         [BZ #16734]
36470         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36471         Cleanup read-only streams as well.
36472         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36474 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36476         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36477         <bits/libc-lockP.h>
36479 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36481         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36482         on [__KERNEL__].
36483         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36484         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36485         * soft-fp/op-common.h (_FP_DECL): Likewise.
36487 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36489         * elf/ifuncdep2.c (global): Replace
36490         __attribute__((visibility("protected"))) with
36491         asm (".protected global").
36492         * elf/ifuncmod1.c (global): Likewise.
36493         * elf/ifuncmod5.c (global): Likewise.
36495 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36497         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36498         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36500 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36502         * manual/install.texi (Configuring and compiling):
36503         Document test-wrapper-env-only.
36504         * INSTALL: Regenerated.
36506 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36508         [BZ #18043]
36509         * posix/wordexp.c (parse_param): Fix buffer overflow.
36510         * posix/wordexp-test.c (do_bz18043): Add test case.
36512 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36514         * time/tst-strptime2.c (do_test): Ensure failing tests are
36515         reported correctly.
36516         * time/tst-strptime3.c (do_test): Likewise.
36518 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36520         Fix aio_error thread-safety.
36521         * sysdeps/pthread/aio_error.c: New file
36522         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36523         synchronization.
36525 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36527         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36528         (group_number, vfprintf): Use it.
36529         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36530         (JUMP, REF): Use it.
36531         (WORK_BUFFER_SIZE): New enum constant.
36532         (process_arg, vfprintf): Use it.
36534 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36536         * manual/errno.texi (Error Messages): Complete example function
36537         by adding missing #define.
36538         (program_invocation_name): Add statement indicating GNU
36539         extension and reference which header file declares the variable.
36540         (program_invocation_short_name): Likewise.
36542 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36544         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36545         compatibility note.
36547 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36549         * Makeconfig (test-wrapper-env-only): New variable.
36550         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36551         then use that with $(test-wrapper-env-only) rather than using
36552         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36554 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36556         [BZ #18082]
36557         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36558         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36559         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36560         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36561         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36562         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36563         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36564         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36565         Likewise.
36566         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36567         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36568         Likewise.
36569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36570         Likewise.
36571         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36572         Likewise.
36573         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36574         Likewise.
36575         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36577         Likewise.
36578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36579         Likewise.
36580         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36581         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36583 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36585         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36586         (ETH_ALEN): New macro.
36587         (struct ether_addr): Use it for length of ether_addr_octet.
36589         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36590         (setdb): Don't call __nss_configure_lookup for "rpc".
36591         (do_test): Don't call test_rpc.
36592         (output_rpcent, test_rpc): Functions moved ...
36593         * sunrpc/test-rpcent.c: ... to this new file.
36594         * sunrpc/Makefile (tests): Add it.
36596         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36597         __xpg_sigpause.
36598         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36599         * nptl/tst-signal6.c: Likewise.
36600         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36601         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36603         * configure.ac (libc_cv_cxx_link_ok): New check.
36604         Reset CXX to empty if it fails to link.
36605         * configure: Regenerated.
36606         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36607         bug-atexit3-lib only if $(CXX) is nonempty.
36608         * nptl/Makefile (tests): Likewise for tst-cancel24.
36609         (tests, tests-static): Likewise for tst-cancel24-static.
36610         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36611         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36612         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36613         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36615 2015-03-04  Andreas Schwab  <schwab@suse.de>
36617         [BZ #17631]
36618         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36619         for non-GCC compilers.
36620         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36621         Likewise.
36623 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36625         [BZ #17776]
36626         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36627         integer before bitwise and assembly operations.
36628         (feclearexcept): Likewise.
36629         * math/test-fenvinline.c: New file.
36630         * math/Makefile: Add test-fenvinline test.
36632 2015-03-03  Alan Modra  <amodra@gmail.com>
36634         [BZ #16512]
36635         * scripts/localplt.awk: Strip off symbol version.
36636         * NEWS: Mention bug fix.
36638 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36640         * sysdeps/pthread/timer_routines.c
36641         (timer_free_list, thread_free_list, thread_active_list): Make static.
36643 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36645         [BZ #17779]
36646         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36647         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36648         Undefine.
36649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36650         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36651         Likewise.
36652         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36653         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36654         Likewise.
36656 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36658         [BZ #18036]
36659         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36660         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36662 2015-03-02  Andreas Schwab  <schwab@suse.de>
36664         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36665         variable name.
36667 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36669         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36670         Return error status.
36672 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36674         [BZ #15969]
36675         * locale/findlocale.c (_nl_find_locale): Introduce const
36676         version of loc_name and drop unsafe type casts.
36678 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36680         * dlfcn/tststatic2.c (main): Converted to ...
36681         (do_test): ... this.
36682         (TEST_FUNCTION): New macro.
36683         Include test-skeleton.c.
36685 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36687         [BZ #17711]
36688         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36689         (tests-pie): Add vismain.
36690         (CFLAGS-vismain.c): New.
36691         * elf/vismain.c: Add comments for PIE requirement.
36693 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36695         [BZ #18046]
36696         [BZ #18047]
36697         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36698         0x1p-56L as threshold for just returning the argument.
36699         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36700         0x1p-32L as threshold for just returning the argument.
36701         * math/auto-libm-test-in: Add more tests of atanh.
36702         * math/auto-libm-test-out: Regenerated.
36703         * sysdeps/i386/fpu/libm-test-ulps: Update.
36704         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36706 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36708         * string/bcopy.c (bcopy): Call memmove for performance.
36710 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36712         * string/bzero.c (__bzero): Call memset for performance.
36714 2015-02-27  John David Anglin  <dave.anglin@bell.net>
36716         [BZ #18068]
36717         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36718         to 00100000.
36720 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36722         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36724 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36726         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36727         (__kernel_standard): Use CSTR macro when setting exc.name.
36728         * sysdeps/ieee754/Makefile [$(subdir) = math]
36729         (CFLAGS-k_standard.c): Remove variable.
36731         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36732         setting p and q from "else if" to "else".
36733         (qzero): Likewise.
36734         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36735         (qone): Likewise.
36736         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36737         (qzerof): Likewise.
36738         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36739         (qonef): Likewise.
36740         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36741         (qzero): Likewise.
36742         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36743         (qone): Likewise.
36745         [BZ #18038]
36746         [BZ #18039]
36747         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36748         return pi/2 for arguments below 0x1p-113L.
36749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36750         return pi/2 for arguments below 0x1p-106L.
36751         * math/auto-libm-test-in: Add more tests of acos.
36752         * math/auto-libm-test-out: Regenerated.
36754         [BZ #16351]
36755         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36756         (MO): New macro.
36757         (__ieee754_asin): Force underflow exception for results with small
36758         absolute value.
36759         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36760         (MO): New macro.
36761         (__ieee754_asinf): Force underflow exception for results with
36762         small absolute value.
36763         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36764         (__ieee754_asin): Force underflow exception for results with small
36765         absolute value.
36766         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36767         (__ieee754_asinf): Force underflow exception for results with
36768         small absolute value.
36769         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36770         (__ieee754_asinl): Force underflow exception for results with
36771         small absolute value.
36772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36773         (__ieee754_asinl): Force underflow exception for results with
36774         small absolute value.
36775         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36776         (__ieee754_asinl): Force underflow exception for results with
36777         small absolute value.
36778         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36779         Include <math.h>.
36780         * math/auto-libm-test-in: Do not mark underflow exceptions as
36781         possibly missing for bug 16351.
36782         * math/auto-libm-test-out: Regenerated.
36784         [BZ #18030]
36785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36786         of power of 2 down when low part has opposite sign.
36787         * math/libm-test.inc (logb_test_data): Add more tests.
36789 2015-02-26  Andreas Schwab  <schwab@suse.de>
36791         [BZ #18032]
36792         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36793         over collating symbol inside a bracket expression.  Minor cleanup.
36794         * posix/tst-fnmatch3.c (do_test): Add test case.
36796 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36798         [BZ #18029]
36799         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36800         Adjust exponent of power of 2 down when low part has opposite
36801         sign.
36802         * math/libm-test.inc (ilogb_test_data): Add more tests.
36804 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36806         [BZ #15969]
36807         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36808         the previous change.
36810         [BZ #15969]
36811         * locale/findlocale.c (_nl_find_locale): Retry archive search
36812         after alias expansion.
36814 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36816         * iconv/tst-iconv3.c (main): Converted to ...
36817         (do_test): ... this.
36818         (TEST_FUNCTION): New macro.
36819         Include test-skeleton.c.
36821         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36822         (convert): Make function static.
36823         (test_unalign): Likewise.  Add const to argument pointee types.
36824         (main): Replace with static function do_test.
36825         Print "Succeeded." only if RET is zero.
36826         (TEST_FUNCTION): New macro.
36827         Include test-skeleton.c.
36829         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36830         returns a null pointer.
36832 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36834         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36835         to __memcpy_ppc only for static builds.
36837 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36839         [BZ #18020]
36840         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36841         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36842         * math/auto-libm-test-in: Add more tests of asinh.
36843         * math/auto-libm-test-out: Regenerated.
36844         * sysdeps/i386/fpu/libm-test-ulps: Update.
36845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36847 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36849         [BZ #15850]
36850         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36851         and ip6_mtuinfo definitions here.
36852         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36853         in this define too.  Update comment.
36855 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36857         * elf/sprof.c (load_shobj): Tweak error message to match others.
36859 2015-02-24  Kevin Easton  <kevin@guarana.org>
36861         [BZ #16145] (partial fix)
36862         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36863         to reduce lock contention.
36865 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36867         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36868         (struct timex): Update time comment.
36869         (ADJ_SETOFFSET): Define.
36871 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36873         [BZ #18019]
36874         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36875         2**56 not 2**28 as threshold for log (2x) formula.
36876         * math/auto-libm-test-in: Add more tests of acosh.
36877         * math/auto-libm-test-out: Regenerated.
36878         * sysdeps/i386/fpu/libm-test-ulps: Update.
36879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36881 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36883         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36884         parenthesis around the buf assignment.
36885         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36887 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36889         [BZ #16783]
36890         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36891         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36892         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36893         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36894         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36895         * math/libm-test.inc (scalb_test_data): Add more tests.
36897 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36899         [BZ #17916]
36900         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36901         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36903 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36905         [BZ #17523]
36906         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36907         * io/bits/fcntl2.h (open): Use it.
36908         (openat): Likewise.
36909         * io/open.c (__libc_open): Likewise.
36910         * io/open64.c (__libc_open64): Likewise.
36911         * io/open64_2.c (__open64_2): Likewise.
36912         * io/open_2.c (__open_2): Likewise.
36913         * io/openat.c (__openat): Likewise.
36914         * io/openat64.c (__openat64): Likewise.
36915         * io/openat64_2.c (__openat64_2): Likewise.
36916         * io/openat_2.c (__openat_2): Likewise.
36917         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36918         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36919         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36920         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36921         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36922         (__open_nocancel): Likewise.
36923         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36924         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36925         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36927 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36929         [BZ #14841]
36930         * resolv/gethnamaddr.c (getanswer): Skip logging if
36931         RES_USE_DNSSEC is set.
36932         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36934 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36936         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36938 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36940         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36941         201304L, for Unicode 7.
36943 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36945         [BZ #17836]
36946         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36947         shared library.  Add gmon-start.os otherwise.
36948         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36949         $(objpfx)gmon-start.os if builing shared library.
36950         ($(objpfx)g$(static-start-installed-name)): Likewise.
36952 2015-02-23  Andreas Schwab  <schwab@suse.de>
36954         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36956 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36958         [BZ #17269]
36959         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36960         (enlarge_userbuf): Likewise.
36962 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36964         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36965         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36966         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36967         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36969 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36971         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36972         expression inside statement expression.
36974 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36976         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36977         <sysdeps/nptl/lowlevellock.h> and remove macros and
36978         functions that are now defined there.
36979         (SYS_futex): Remove.
36980         (lll_compare_and_swap): Remove.
36981         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36983 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36985         [BZ #17999]
36986         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36987         instead of scandirat.
36988         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36989         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36990         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36991         __scandirat.
36992         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36993         (__scandirat): Declare.  Use libc_hidden_proto.
36994         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36995         Remove variable.
36996         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36998 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37000         [BZ #15319]
37001         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37002         (MO): New macro.
37003         (__ieee754_atan2): For results with small absolute value, force
37004         underflow exception and remove excess range and precision from
37005         return value.
37006         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37007         (MO): New macro.
37008         (__ieee754_atan2f): For results with small absolute value, force
37009         underflow exception and remove excess range and precision from
37010         return value.
37011         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37012         (MO): New macro.
37013         (__atan): For results with small absolute value, force underflow
37014         exception and remove excess range and precision from return value.
37015         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37016         (MO): New macro.
37017         (__atanf): For results with small absolute value, force underflow
37018         exception and remove excess range and precision from return value.
37019         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37020         <math.h>.
37021         (__ieee754_atan2): Force underflow exception for results with
37022         small absolute value.
37023         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37024         <math_private.h>.
37025         (atan): Force underflow exception for results with small absolute
37026         value.
37027         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37028         (__atanf): Force underflow exception for results with small
37029         absolute value.
37030         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37031         <math.h>.
37032         (__atanl): Force underflow exception for results with small
37033         absolute value.
37034         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37035         (__atanl): Force underflow exception for results with small
37036         absolute value.
37037         * sysdeps/x86/fpu/bits/mathinline.h
37038         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37039         (__ieee754_atan2): Only define inline for long double.
37040         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37041         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37042         * math/auto-libm-test-in: Do not mark underflow exceptions as
37043         possibly missing for bug 15319.  Add more tests of atan2.
37044         * math/auto-libm-test-out: Regenerated.
37045         * math/libm-test.inc (casin_test_data): Do not mark underflow
37046         exceptions as possibly missing for bug 15319.
37047         (casinh_test_data): Likewise.
37048         * sysdeps/i386/fpu/libm-test-ulps: Update.
37050 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
37052         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37053         * sysdeps/mips/bits/endian.h: Fix comments.
37055 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37057         [BZ #17996]
37058         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37059         (hdestroy_r): Likewise.
37060         (hsearch_r): Likewise.
37061         (__hcreate_r): Declare and use libc_hidden_proto.
37062         (__hdestroy_r): Likewise.
37063         (__hsearch_r): Likewise.
37064         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37065         (hcreate): Call __hcreate_r instead of hcreate_r.
37066         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37067         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37068         as weak alias of __hcreate_r.
37069         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37070         __hdestroy_r.
37071         (hsearch_r): Rename to __hsearch_r and define as weak alias of
37072         __hsearch_r.
37073         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37074         Remove variable.
37075         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37076         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37077         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37078         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37080 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37082         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37083         arena_lock into a single arena_get.
37085 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
37087         * dl-reloc.c: Inlucde libc-internal.h.
37088         (_dl_try_allocate_static_tls): Call ALIGN_UP.
37089         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37090         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37091         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37092         (grow_heap): Likewise.
37093         * malloc/malloc.c: Include libc-internal.h.
37094         (do_check_malloc): Call powerof2.
37095         (sysmalloc): Use pagesize. Call ALIGN_UP.
37096         (systrim): Use pagesize.
37097         (mremap_chunk): Use pagesize. Call ALIGN_UP.
37098         (__libc_valloc): Use pagesize.
37099         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37101 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37103         [BZ #17991]
37104         * include/sys/resource.h (__getrlimit64): Declare.  Use
37105         libc_hidden_proto.
37106         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37107         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
37108         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37109         getrlimit64.
37110         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37111         __getrlimit64.
37112         [!getrlimit64] (getrlimit64): Define as weak alias of
37113         __getrlimit64.  Use libc_hidden_weak.
37114         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37115         using __getrlimit64 not __new_getrlimit64.
37116         (__GI_getrlimit64): Likewise.
37117         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37118         Likewise.
37119         (__GI_getrlimit64): Likewise.
37120         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37122         (getrlimit): Add __getrlimit64 alias.
37123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37124         Likewise.
37125         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37126         Remove variable.
37127         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37128         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37130 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
37132         * libio/fileops.c: Add missing sys/mman.h
37133         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37135 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37137         * manual/math.texi (Errors in Math Functions): Clarify goals
37138         regarding inexact and underflow exceptions.
37140 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37142         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37143         * sysdeps/mips/memset.S: Ditto.
37145 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37147         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37149 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37151         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37152         (__v1longjmp): Remove versioned symbol.
37153         (__v1siglongjmp): Remove alias and versioned symbol.
37154         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37155         (__v2siglongjmp): Likewise.
37157 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37159         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37161 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
37163         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37165 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37167         [BZ #17987]
37168         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37169         zero result does not depend on the sign resulting from
37170         subtraction.
37171         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37172         Likewise.
37173         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37174         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37175         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37176         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37177         * math/libm-test.inc (remquo_test_data): Add more tests.
37179 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37181         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37182         Problem reported by J William Piggott.
37184 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37186         [BZ #17978]
37187         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37188         products 4 * y and 2 * y where those would overflow.
37189         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37190         Likewise.
37191         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37192         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37193         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37194         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37195         * math/libm-test.inc (remquo_test_data): Add more tests.
37197         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37199         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37200         [defined _COMPILING_NEWLIB].
37201         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37202         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37204         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37205         [!defined __mips_isa_rev || __mips_isa_rev < 6].
37207 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37209         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37210         acquired.
37212 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
37214         [BZ #17792]
37215         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37216         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37217         HOST_STACK_END_ADDR): Likewise.
37219 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
37221         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37222         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37223         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37225 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37227         * sysdeps/generic/c++-types.data: New file.
37228         * sysdeps/generic/ld.abilist: New file.
37229         * sysdeps/generic/libBrokenLocale.abilist: New file.
37230         * sysdeps/generic/libanl.abilist: New file.
37231         * sysdeps/generic/libc.abilist: New file.
37232         * sysdeps/generic/libcrypt.abilist: New file.
37233         * sysdeps/generic/libdl.abilist: New file.
37234         * sysdeps/generic/libm.abilist: New file.
37235         * sysdeps/generic/libpthread.abilist: New file.
37236         * sysdeps/generic/libresolv.abilist: New file.
37237         * sysdeps/generic/librt.abilist: New file.
37239 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37241         [BZ #17569]
37242         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37243         Compute absolute value of x as modified by fmod, not original
37244         value of x.
37245         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37246         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
37247         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
37248         RUN_TEST_ffI_f1_mod8.
37249         (remquo_test_data): Add more tests.
37251 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37253         * sysdeps/init_array/pt-crti.S: New file.
37255 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37257         [BZ #17967]
37258         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
37259         __builtin_fmaf instead of relying on contraction of a * b + c.
37261 2015-02-12  J William Piggott  <elseifthen@gmx.com>
37263         [BZ #17969]
37264         * manual/time.texi: correct the zoneinfo path in the TZ Variable
37265         node.
37267 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37269         [BZ #17964]
37270         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
37271         __builtin_fma instead of relying on contraction of a * b + c.
37273 2015-02-12  Roland McGrath  <roland@hack.frob.com>
37275         * Makeconfig (ASFLAGS): Add -Werror=undef.
37276         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37277         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37278         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37280         * Makeconfig (after-link): New variable.
37281         (+link-pie, +link-pie-tests): Use it.
37282         (+link-static, +link-static-tests): Likewise.
37283         (+link, +link-tests): Likewise.
37284         * Makerules (build-module, build-module-asneeded): Likewise.
37285         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37286         Likewise.
37287         * elf/Makefile ($(objpfx)ld.so): Likewise.
37289 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
37291         [BZ #17965]
37292         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37293         both struct timeval and struct timespec.
37295 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37297         [BZ #16560]
37298         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37299         and redefine.
37300         (__ieee754_exp2l): Do not multiply small fractional parts by
37301         M_LN2l.
37302         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37303         small argument.
37304         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37305         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37306         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37307         * math/auto-libm-test-in: Add more tests of exp2.
37308         * math/auto-libm-test-out: Regenerated.
37310 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37312         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
37313         unaligned path.
37315 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37317         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
37318         little endian.
37320 2015-02-12  Andreas Schwab  <schwab@suse.de>
37322         [BZ #15790]
37323         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37324         Filter out elision flags from value returned in kind.
37325         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37326         * nptl/tst-pthread-mutexattr.c: New file.
37328 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37330         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37331         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37332         into gnu-gnu, and update comment to refer to abi-tags.
37334 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
37336         [BZ #15467]
37337         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37338         (__sincos): Set errno to EDOM for infinite argument.
37339         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37340         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37341         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37342         (__sincosl): Set errno to EDOM for infinite argument.
37343         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37344         (__sincosl): Set errno to EDOM for infinite argument.
37345         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37346         (__sincosl): Set errno to EDOM for infinite argument.
37347         * math/libm-test.inc (sincos_test_data): Test errno setting.
37349 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
37351         * string/strxfrm_l.c: Remove #define STRCMP.
37352         * string/strcoll_l.c: Remove #define STRLEN.
37353         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37354         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37356 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
37358         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37359         * sysdeps/mips/mips32/sfp-machine.h: ... here.
37360         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37361         * sysdeps/mips/mips64/Makefile: ... here.
37362         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37363         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37364         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37365         * sysdeps/mips/mips64/sfp-machine.h: ... here.
37366         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37367         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37368         * sysdeps/mips/mips64/n64/Implies: Likewise.
37370 2015-02-10  Roland McGrath  <roland@hack.frob.com>
37372         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37373         <sys/time.h>, <string.h>, and <errno.h>.
37374         (dest_offset, dest_address, value, zero): Remove unused variables.
37375         (ldouble): Remove typedef.
37376         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37377         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
37378         1).  Fix code style.
37379         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37380         (check): Function removed.
37381         (CHECK): New macro.
37382         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
37383         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37384         Don't call set_sigaction_FP and remove_sigaction_FP here.
37385         (ldouble_test): Just use 'long double' as macro argument, no need for
37386         the 'ldouble' typedef.
37387         (do_test): Set up SIGFPE handler at start, using plain signal rather
37388         than sigaction.  Fix code style.
37390 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
37392         [BZ #17949]
37393         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37394         jump label.
37396 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37398         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37399         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37401         * sysdeps/powerpc/configure.ac: Remove file.
37402         * sysdeps/powerpc/configure: Likewise.
37404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37405         [sysdep_routines]: Remove wordcopy-power6 object.
37406         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37407         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37408         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37409         (__memmove_ppc32): Likewise.
37410         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37411         file.
37412         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37414         Remove preprocessor.
37416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37417         [sysdep_routines]: Remove wide chars objects.
37418         [wcsmbs]: New rule for wide char objects.
37420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37421         Remove wordcopy-power6 obejct.
37422         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37423         Use local call for wordcopy and memcpy symbols.
37424         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37425         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37426         implementation for loader.
37427         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37429         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37430         Remove wordcopy-power7 object.
37431         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37432         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37433         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37434         (_wordcopy_fwd_dest_aligned): Likewise.
37435         (_wordcopy_bwd_aligned): Likewise.
37436         (_wordcopy_bwd_dest_aligned): Likewise.
37438         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37439         Rewrite to call __memmove_ppc instead of include default
37440         implementation.
37442         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37443         Remove wide chars objects.
37444         [wcsmbs]: New rule for wide char objects.
37446 2015-02-09  Andreas Schwab  <schwab@suse.de>
37448         [BZ #17912]
37449         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37450         in terms of __O_DIRECTORY.
37452 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37454         * time/getdate.c: Include <stdbool.h>.
37455         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37456         call PTR_MANGLE.
37457         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37458         PTR_DEMANGLE.
37460 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37462         Add ersatz _Static_assert on older C hosts
37463         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37464         pre-C11 C platform that is not known to support _Static_assert.
37466 2015-02-07  Richard Braun  <rbraun@sceen.net>
37468         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37469         sigstate.
37470         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37472 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37474         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37475         priority against unexistent AIO_PRIO_DELTA_MAX.
37476         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37477         instead of int.
37478         * misc/fchflags.c (fchflags): Likewise.
37479         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37480         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37481         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37482         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37483         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37484         Declare macros.
37485         [__USE_MISC] (chflags, fchflags): Declare functions.
37486         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37487         EINVAL when nfds is greater than FD_SETSIZE.
37488         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37489         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37490         45.
37491         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37492         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37493         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37494         MACH_RCV_TIMED_OUT.
37495         * hurd/hurd/signal.h (_hurd_self_sigstate,
37496         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37497         Explicit casts from void *.
37498         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37499         * abi-tags: Rename gnu-gnu os into gnu.
37501         [BZ #4719]
37502         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37503         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37504         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37505         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37506         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37507         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37509         [BZ #17944]
37510         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37511         duplicates ADDR->sun_path with sockaddr LEN limitation.
37512         * sysdeps/mach/hurd/connect.c: Include <string.h>
37513         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37514         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37515         * sysdeps/mach/hurd/sendto.c: Likewise.
37516         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37517         implementing it by hand.
37519 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37521         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37522         Use sfi_breg on ldr.
37523         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37524         Likewise.
37526         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37527         it's defined.
37528         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37529         Test SIGSETXID only if it's defined.
37531         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37533         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37534         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37536         * nptl/tst-align2.c: Moved ...
37537         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37538         * nptl/Makefile (tests): Remove tst-align2.
37539         * sysdeps/unix/sysv/linux/Makefile
37540         [$(subdir) = nptl] (tests): Add tst-align-clone.
37541         * nptl/tst-getpid1.c: Moved ...
37542         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37543         * nptl/tst-getpid2.c: Moved ...
37544         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37545         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37546         * sysdeps/unix/sysv/linux/Makefile
37547         [$(subdir) = nptl] (tests): ... here.
37548         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37549         * sysdeps/unix/sysv/linux/Makefile
37550         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37552         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37553         Drop trailing \n from perror argument.  Use return rather than exit.
37555         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37556         on [SA_SIGINFO].
37557         * nptl/tst-cancel21.c (do_test): Likewise.
37558         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37559         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37560         [!SA_SIGINFO]: Make it a stub test.
37562         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37563         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37565         * posix/tst-getlogin.c: Move to ...
37566         * login/tst-getlogin.c: ... here.
37567         * posix/Makefile (tests): Move tst-getlogin to ...
37568         * login/Makefile (tests): ... here.
37570         * libio/tst-atime.c (do_test): Move local variables SV and E
37571         inside [ST_NOATIME] conditional.
37573         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37575         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37577         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37578         (wait_code): New function replaces macro.
37579         Call nanosleep rather than syscall.
37581         * nptl/pt-system.c: Rewritten.  Put everything under
37582         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37583         Use IFUNC to redirect when possible.
37585         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37586         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37587         Use IFUNC to redirect when possible.
37589         * nptl/pt-fork.c: Rewritten.  Put everything under
37590         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37591         Use IFUNC to redirect when possible.
37592         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37594         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37595         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37596         unconditionally nowadays.  This included the only reference to
37597         __vdso_clock_gettime that appears outside libc proper.
37598         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37599         Remove version set (containing only __vdso_clock_gettime).
37600         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37601         Add attribute_hidden.
37602         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37603         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37604         libc_hidden_data_def.
37605         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37606         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37608         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37609         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37610         setrpcent, and getrpcport to ...
37611         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37612         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37613         getrpcbynumber_r, and getrpcent_r to ...
37614         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37615         * inet/getrpcbyname.c: Moved ...
37616         * sunrpc/getrpcbyname.c: ... here.
37617         * inet/getrpcbyname_r.c: Moved ...
37618         * sunrpc/getrpcbyname_r.c: ... here.
37619         * inet/getrpcbynumber.c: Moved ...
37620         * sunrpc/getrpcbynumber.c: ... here.
37621         * inet/getrpcbynumber_r.c: Moved ...
37622         * sunrpc/getrpcbynumber_r.c: ... here.
37623         * inet/getrpcent.c: Moved ...
37624         * sunrpc/getrpcent.c: ... here.
37625         * inet/getrpcent_r.c: Moved ...
37626         * sunrpc/getrpcent_r.c: ... here.
37627         * inet/Makefile (routines): Move those to ...
37628         * sunrpc/Makefile (routines): ... here.
37629         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37630         the $(subdirs) list.
37631         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37632         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37633         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37634         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37636         * elf/Makefile (routines): Include $(all-dl-routines), not just
37637         $(dl-routines).
37638         (rtld-routines): Likewise.  Use = rather than :=.
37639         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37640         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37641         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37642         * sysdeps/arm/Makefile: Likewise.
37643         * sysdeps/i386/Makefile: Likewise.
37644         * sysdeps/x86_64/Makefile: Likewise.
37645         * sysdeps/hppa/Makefile [$(subdir) = elf]
37646         (sysdep_routines, sysdep-rtld-routines): Don't add
37647         $(sysdep-dl-routines) to these.
37648         * sysdeps/ia64/Makefile: Likewise.
37649         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37650         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37651         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37652         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37653         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37654         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37655         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37656         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37657         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37658         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37659         these; sysdep-dl-routines alone is enough.
37661 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37663         [BZ #17932]
37664         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37665         where multiplication results in zero and third argument is finite
37666         and nonzero.
37667         * math/auto-libm-test-in: Add more tests of fma.
37668         * math/auto-libm-test-out: Regenerated.
37670         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37671         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37672         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37673         (_FP_CMP_EQ): Likewise.
37674         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37676         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37677         extra argument CHECK_NAN.  Redefine as wrapper around
37678         _FP_EXTEND_CNAN.
37680 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37682         * version.h (RELEASE): Set to "stable".
37683         (VERSION): Set to "2.21"
37684         * include/features.h (__GLIBC_MINOR__): Set to 21.
37686         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37688 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37689             Paul Eggert  <eggert@cs.ucla.edu>
37691         [BZ #16618]
37692         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37693         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37694         size in bytes. Store needed elements in wpmax. Use needed size
37695         in bytes for extend_alloca.
37697 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
37699         * manual/install.texi: Latest tested versions are GCC 4.9.2,
37700         binutls 2.25, and texinfo 5.2.
37701         * INSTALL: Regenerate.
37702         * sysdeps/nios2/configure: Regenerate.
37703         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37704         * manual/contrib.texi: Update.
37705         * po/be.po: Update.
37706         * po/bg.po: Update.
37707         * po/ca.po: Update.
37708         * po/cs.po: Update.
37709         * po/da.po: Update.
37710         * po/de.po: Update.
37711         * po/el.po: Update.
37712         * po/eo.po: Update.
37713         * po/es.po: Update.
37714         * po/fi.po: Update.
37715         * po/fr.po: Update.
37716         * po/gl.po: Update.
37717         * po/hr.po: Update.
37718         * po/hu.po: Update.
37719         * po/ia.po: Update.
37720         * po/id.po: Update.
37721         * po/it.po: Update.
37722         * po/ja.po: Update.
37723         * po/ko.po: Update.
37724         * po/lt.po: Update.
37725         * po/nb.po: Update.
37726         * po/nl.po: Update.
37727         * po/pl.po: Update.
37728         * po/pt_BR.po: Update.
37729         * po/ru.po: Update.
37730         * po/rw.po: Update.
37731         * po/sk.po: Update.
37732         * po/sl.po: Update.
37733         * po/sv.po: Update.
37734         * po/tr.po: Update.
37735         * po/uk.po: Update.
37736         * po/vi.po: Update.
37737         * po/zh_CN.po: Update.
37738         * po/zh_TW.po: Update.
37740         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37741         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37742         * sysdeps/hppa/dl-irel.h: Remove #warning.
37743         * sysdeps/hppa/entry.h: Provide prototype for
37744         __canonicalize_funcptr_for_compare and cast argument.
37745         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37746         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37747         * sysdeps/hppa/sotruss-lib.c: New file.
37748         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37749         (atomic_compare_and_exchange_val_acq): Use __typeof__.
37750         (atomic_compare_and_exchange_bool_acq): Likewise.
37751         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37752         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37754         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37755         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37756         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37758 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
37760         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37761         called function in non-PIC case.
37763 2015-01-31  David S. Miller  <davem@davemloft.net>
37765         * sysdeps/sparc/sparc32/bits/atomic.h
37766         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37767         unlock not after it.
37768         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37769         volatile register usage warnings from the compiler.
37771         * sysdeps/sparc/nptl/sem_init.c: Delete.
37772         * sysdeps/sparc/nptl/sem_post.c: Delete.
37773         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37774         * sysdeps/sparc/nptl/sem_wait.c: Delete.
37775         * sysdeps/sparc/sparc32/sem_init.c: New file.
37776         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37777         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37778         padding explicitly initialized.
37779         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37780         padding for in-semaphore spinlock.
37781         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37782         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37783         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37784         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37785         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37786         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37787         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37788         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37789         version.
37790         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37791         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37793 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
37795         [BZ #17801]
37796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37797         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37798         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37799         New.
37800         (index_AVX_Fast_Unaligned_Load): Likewise.
37801         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37802         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37803         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37804         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37805         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37806         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37807         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37808         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37809         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37811 2015-01-29  Andreas Schwab  <schwab@suse.de>
37813         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37815 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37817         [BZ #17892]
37818         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37820 2015-01-28  Martin Sebor  <msebor@redhat.com>
37822         * math/README.libm-test: Clarify. Add "How to read the test output."
37824 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37826         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37827         Define to 0.
37829 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37831         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37832         (__HAVE_64B_ATOMICS): Define to 0.
37834 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37836         [BZ #17885]
37837         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37838         value to set as new flag.
37840         [BZ #16576]
37841         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37842         and use _ARCH_PPCSQ instead.
37843         (__ieee754_sqrt): Likewise.
37844         (__ieee754_sqrtf): Likewise.
37845         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37846         _ARCH_PPCSQ is defined.
37847         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37848         fsqrt instruction.
37849         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37850         _ARCH_PPCSQ is defined.
37851         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37852         fsqrts instruction.
37853         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37855 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37857         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37858         bug (GCC BZ #64739).
37860 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37862         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37863         Mark _retval as used.
37864         (lll_futex_wake_unlock): Likewise.
37865         (lll_futex_timed_wait_requeue_pi): Likewise.
37867         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37868         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37869         register variables.
37871         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37872         libm_hidden_def.
37874         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37875         (__bswap_64): Mark as __always_inline.
37877 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37879         [BZ #15378]
37880         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37881         when none of the search directories exist.
37883 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37885         [BZ #17869]
37886         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37887         power8 in .machine directive.
37889         [BZ #17868]
37890         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37891         set dependency from opd value.
37893 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37896         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37897         architecture.
37899 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37901         [BZ #17870]
37902         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37903         with uint64_t.
37904         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37905         (uint64_t) 1.
37906         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37907         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37908         Replace 1UL with (uint64_t) 1.
37909         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37910         int with uint64_t.
37912 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37914         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37915         (if_freenameindex): Likewise.
37917         * resource/getrlimit64.c: Add missing libc_hidden_def.
37919 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37921         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37922         __label__.
37923         (_FP_FMA): Likewise.
37924         (_FP_TO_INT_ROUND): Likewise.
37925         (_FP_FROM_INT): Likewise.
37927 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37929         [BZ #16418]
37930         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37931         Make code racy and cancel safe.
37933 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37935         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37936         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37937         attribution.
37939         * pwd/tst-getpw.c: Rewrite.
37941         [BZ #17702]
37942         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37943         (modules-names): Add moddummy1 and moddummy2.
37944         ($(objpfx)tst-rec-dlopen): Define.
37945         * dlfcn/moddummy1.c: New file.
37946         * dlfcn/moddummy2.c: New file.
37947         * dlfcn/tst-rec-dlopen.c: New file.
37948         * elf/dl-cache.c (_dl_load_cache_lookup):
37949         Return char*. Copy result with alloca/strcpy/strdup.
37950         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37951         returns char*. Free cached. If not saving realname
37952         free cached.
37953         * elf/dl-open.c (dl_open_worker): Do not assert that
37954         _r_debug->r_state is RT_CONSISTENT.
37955         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37956         returns char*.
37958 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37959             Carlos O'Donell  <carlos@redhat.com>
37961         [BZ #12674]
37962         * nptl/sem_waitcommon.c: New file.
37963         * nptl/sem_wait.c: Include sem_waitcommon.c.
37964         (__sem_wait_cleanup, do_futex_wait): Remove.
37965         (__new_sem_wait): Adapt.
37966         (__new_sem_trywait): New function.
37967         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37968         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37969         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37970         (sem_timedwait): Adapt.
37971         * nptl/sem_post.c (__new_sem_post): Adapt.
37972         (futex_wake): New function.
37973         (__old_sem_post): Add release MO fence.
37974         * nptl/sem_open.c (sem_open): Adapt.
37975         * nptl/sem_init.c (__new_sem_init): Adapt.
37976         (futex_private_if_supported): New function.
37977         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37978         (__old_sem_getvalue): Add using previous code.
37979         * sysdeps/nptl/internaltypes.h: Adapt.
37980         * nptl/tst-sem13.c (do_test): Adapt.
37981         * nptl/tst-sem11.c (main): Adapt.
37982         * nptl/sem_trywait.c: Remove.
37983         * nptl/DESIGN-sem.txt: Remove.
37984         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37985         (gen-as-const-headers): Remove structsem.sym.
37986         * nptl/structsem.sym: Remove.
37987         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37988         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37989         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37990         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37991         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37992         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37993         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37994         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37995         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37996         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37997         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37998         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37999         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38000         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38001         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38002         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38003         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38004         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38005         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38006         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38007         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38008         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38010 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38012         * INSTALL: Regenerated.
38014         * po/libc.pot: Regenerated.
38016 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38017             Sandra Loosemore  <sandra@codesourcery.com>
38018             Andrew Jenner  <andrew@codesourcery.com>
38019             Joseph Myers  <joseph@codesourcery.com>
38020             Nathan Sidwell  <nathan@codesourcery.com>
38022         * NEWS: Mention new Nios II port.
38023         * sysdeps/nios2/Implies: New file.
38024         * sysdeps/nios2/Makefile: New file.
38025         * sysdeps/nios2/Subdirs: New file.
38026         * sysdeps/nios2/Versions: New file.
38027         * sysdeps/nios2/__longjmp.S: New file.
38028         * sysdeps/nios2/abort-instr.h: New file.
38029         * sysdeps/nios2/backtrace.c: New file.
38030         * sysdeps/nios2/bits/endian.h: New file.
38031         * sysdeps/nios2/bits/fenv.h: New file.
38032         * sysdeps/nios2/bits/link.h: New file.
38033         * sysdeps/nios2/bits/setjmp.h: New file.
38034         * sysdeps/nios2/bsd-_setjmp.S: New file.
38035         * sysdeps/nios2/bsd-setjmp.S: New file.
38036         * sysdeps/nios2/configure: New generated file.
38037         * sysdeps/nios2/configure.ac: New file.
38038         * sysdeps/nios2/crti.S: New file.
38039         * sysdeps/nios2/crtn.S: New file.
38040         * sysdeps/nios2/dl-init.c: New file.
38041         * sysdeps/nios2/dl-machine.h: New file.
38042         * sysdeps/nios2/dl-sysdep.h: New file.
38043         * sysdeps/nios2/dl-tls.h: New file.
38044         * sysdeps/nios2/dl-trampoline.S: New file.
38045         * sysdeps/nios2/gccframe.h: New file.
38046         * sysdeps/nios2/gmp-mparam.h: New file.
38047         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38048         * sysdeps/nios2/jmpbuf-unwind.h: New file.
38049         * sysdeps/nios2/ldsodefs.h: New file.
38050         * sysdeps/nios2/libc-tls.c: New file.
38051         * sysdeps/nios2/libm-test-ulps: New file.
38052         * sysdeps/nios2/machine-gmon.h: New file.
38053         * sysdeps/nios2/math-tests.h: New file.
38054         * sysdeps/nios2/math_private.h: New file.
38055         * sysdeps/nios2/memusage.h: New file.
38056         * sysdeps/nios2/nptl/Makefile: New file.
38057         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38058         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38059         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38060         * sysdeps/nios2/nptl/pthreaddef.h: New file.
38061         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38062         * sysdeps/nios2/nptl/tls.h: New file.
38063         * sysdeps/nios2/preconfigure: New file.
38064         * sysdeps/nios2/s_fma.c: New file.
38065         * sysdeps/nios2/s_fmaf.c: New file.
38066         * sysdeps/nios2/setjmp.S: New file.
38067         * sysdeps/nios2/sfp-machine.h: New file.
38068         * sysdeps/nios2/sotruss-lib.c: New file.
38069         * sysdeps/nios2/stackguard-macros.h: New file.
38070         * sysdeps/nios2/stackinfo.h: New file.
38071         * sysdeps/nios2/start.S: New file.
38072         * sysdeps/nios2/sysdep.h: New file.
38073         * sysdeps/nios2/tls-macros.h: New file.
38074         * sysdeps/nios2/tst-audit.h: New file.
38075         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38076         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38077         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38078         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38079         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38080         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38081         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38082         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38083         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38084         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38085         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38086         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38087         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38088         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38089         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38090         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38091         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38092         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38093         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38094         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38095         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38096         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38097         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38098         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38099         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38100         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38101         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38102         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38103         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38104         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38105         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38106         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38107         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38108         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38109         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38110         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38111         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38112         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38113         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38114         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38115         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38116         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38117         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38118         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38120 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38122         [BZ #17844]
38123         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38124         (getutent): Use weak_alias in non SHARED case
38125         and default_symbol_version in SHARED case.
38126         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38127         (getutent_r, pututline): Likewise.
38128         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38129         (getutid): Likewise.
38130         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38131         (getutid_r): Likewise.
38132         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38133         (getutline): Likewise.
38134         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38135         (getutline_r): Likewise.
38136         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38137         (updwtmp): Likewise.
38139 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38141         [BZ #17848]
38142         * sysdeps/s390/s390-32/memcmp.S
38143         (memcmp_g5): Rename to __memcmp_g5.
38144         * sysdeps/s390/s390-32/memcpy.S
38145         (memcpy_g5): Rename to __memcpy_g5.
38146         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38147         (memcpy_mvcle) Rename to __memcpy_mvcle.
38148         * sysdeps/s390/s390-32/memset.S
38149         (memset_g5): Rename to __memset_g5.
38150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38151         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38152         and use prefixed functions.
38153         * sysdeps/s390/s390-32/multiarch/memcmp.S
38154         (memcmp_z196): Rename to __memcmp_z196.
38155         (memcmp_z10): Rename to __memcmp_z10.
38156         (memcmp): Set alias to __memcmp_g5.
38157         (bcmp): Set alias to __memcmp_g5.
38158         * sysdeps/s390/s390-32/multiarch/memcpy.S
38159         (memcpy_z196): Rename to __memcpy_z196.
38160         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38161         (memcpy_z10): Rename to __memcpy_z10.
38162         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38163         (memcpy): Set alias to __memcpy_g5.
38164         * sysdeps/s390/s390-32/multiarch/memset.S
38165         (memset_z196): Rename to __memset_z196.
38166         Jump to __memset_mvcle instead of memset_mvcle.
38167         (memset_z10): Rename to __memset_z10.
38168         Jump to __memset_mvcle instead of memset_mvcle.
38169         (memset_mvcle) Rename to __memset_mvcle.
38170         (memset): Set alias to __memset_g5.
38171         * sysdeps/s390/s390-64/memcmp.S
38172         (memcmp_z900): Rename to __memcmp_z900.
38173         * sysdeps/s390/s390-64/memcpy.S
38174         (memcpy_z900): Rename to __memcpy_z900.
38175         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38176         (memcpy_mvcle) Rename to __memcpy_mvcle.
38177         * sysdeps/s390/s390-64/memset.S
38178         (memset_z900): Rename to __memset_z900.
38179         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38180         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38181         and use prefixed functions.
38182         * sysdeps/s390/s390-64/multiarch/memcmp.S
38183         (memcmp_z196): Rename to __memcmp_z196.
38184         (memcmp_z10): Rename to __memcmp_z10.
38185         (memcmp): Set alias to __memcmp_z900.
38186         (bcmp): Set alias to __memcmp_z900.
38187         * sysdeps/s390/s390-64/multiarch/memcpy.S
38188         (memcpy_z196): Rename to __memcpy_z196.
38189         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38190         (memcpy_z10): Rename to __memcpy_z10.
38191         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38192         (memcpy): Set alias to __memcpy_z900.
38193         * sysdeps/s390/s390-64/multiarch/memset.S
38194         (memset_z196): Rename to __memset_z196.
38195         Jump to __memset_mvcle instead of memset_mvcle.
38196         (memset_z10): Rename to __memset_z10.
38197         Jump to __memset_mvcle instead of memset_mvcle.
38198         (memset_mvcle) Rename to __memset_mvcle.
38199         (memset): Set alias to __memset_z900.
38201 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
38203         [BZ #17748]
38204         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38205         __fesetenv instead of fesetenv.
38207 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38209         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38210         macro.
38212 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38214         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38215         regression on LE.
38217         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38218         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38220         strncmp-power8 object.
38221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38222         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38223         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38224         * NEWS: Update.
38226 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38227             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38229         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38230         trailing byte check.
38232 2015-01-13  David S. Miller  <davem@davemloft.net>
38234         * include/signal.h (__sigreturn): Guard with __USE_MISC.
38236 2015-01-13  Roland McGrath  <roland@hack.frob.com>
38238         * login/logout.c (logout): Use memset rather than bzero.
38239         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38240         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38241         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38242         (_gethtbyaddr): Likewise.
38243         * locale/programs/simple-hash.c (bcopy): Macro removed.
38245 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38248         Add strcmp-power8 object.
38249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38250         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38251         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38252         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38253         __strcmp_power8 implementation.
38254         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38255         * NEWS: Update.
38257         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38258         Add strncpy-power8 and stpncpy-power8 objects.
38259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38260         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
38261         implementations.
38262         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38263         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
38264         __stpncpy_power8 implementation.
38265         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
38266         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
38267         __strncpy_power8 implementation.
38268         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
38269         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
38270         * NEWS: Update.
38272         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38273         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38274         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38277         strncat-power8 object.
38278         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38279         __strcat_power8 implementation.
38280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38281         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38282         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38283         optimized strcat for power8.
38285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38286         strcpy-power8 and stpcpy-power8 objects.
38287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38288         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38289         implementations.
38290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38291         multiarch stpcpy implementation for POWER8.
38292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38293         multiarch strcpy implementation for POWER8.
38294         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38295         __strcpy_power8 function.
38296         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38297         stpcpy for POWER8.
38298         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38299         strcpy for POWER8.
38300         * NEWS: Update.
38302 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
38304         [BZ #16009]
38305         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38306         weights and rules. Use do_xfrm_cached if data fits in cache,
38307         do_xfrm otherwise.  Moved former main loop to...
38308         * (do_xfrm_cached): New function.
38309         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
38310         find_idx, find_position and stack_push.
38311         * (find_idx): New function.
38312         * (find_position): Likewise.
38313         * localedata/sort-test.sh: Added test run for do_xfrm.
38314         * localedata/xfrm-test.c (main): Added command line option
38315         -nocache to run the test with strings that are too large for
38316         the STRXFRM cache.
38318 2015-01-13  Torvald Riegel  <triegel@redhat.com>
38320         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38321         variable to lll_futex_wake call, not the value itself.
38323 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
38325         [BZ #17803]
38326         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38327         twom64.  Adjust value to 0x1p-64L.
38328         (__scalblnl): Only return standard underflowing result for K <=
38329         -64 not K <= -63; adjust exponent for underflowing result by 64
38330         not 63.
38331         * math/libm-test.inc (scalbn_test_data): Add more tests.
38332         (scalbln_test_data): Likewise.
38334         [BZ #17834]
38335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38336         0x1p63L.
38337         (__scalblnl): Get new exponent of adjusted subnormal value from ES
38338         not HX.
38339         * math/libm-test.inc (scalbn_test_data): Add more tests.
38340         (scalbln_test_data): Likewise.
38342 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38343             Stefani Seibold  <stefani@seibold.net>
38345         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38346         (sysdep_routines): Add dl-vdso here, ...
38347         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38348         (sysdep_routines): ... not here.
38349         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38350         fallback when vDSO is not presented.
38351         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38352         Define with libc_hidden_proto/libc_hidden_data_def definitions.
38353         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38354         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38355         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38356         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38357         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38358         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38359         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38361         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
38362         fallback configurable symbol when vDSO is not available.
38363         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38364         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
38365         be able to redefine fallback symbol when vDSO is not available.
38366         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38367         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38369 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38371         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38372         (TLS_INIT_TP): Add tm_capable initialization.
38373         (TLS_DEFINE_INIT_TP): Likewise.
38374         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38375         TCB.
38376         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38377         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38378         calculation.
38379         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38380         transactoion is lock elision is built and TCB tm_capable is set.
38381         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38383         (INTERNAL_SYSCALL_NCS): Likewise.
38384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38385         (INTERNAL_SYSCALL_NCS): Likewise.
38386         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38388         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38389         for powerpc.
38390         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38391         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38392         and remove it for 32 bits case.
38393         [pthread_rwlock_t] (__rwelision): New field for lock elision.
38394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38395         initialization.
38396         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38397         Disable lock elision with rdlocks if elision is not available.
38399         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38400         (sysdep_routines): Add lock elision objects.
38401         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38402         [pthread_mutex_t] (__spins): Rework to add lock elision field.
38403         [pthread_mutex_t] (__elision): Add field.
38404         [__PTHREAD_SPINS]: Adjust to init lock elision field.
38405         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38406         elision definitions for powerpc.
38407         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38408         implementation of lock elision for powerpc.
38409         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38410         implementation of timed lock elision for powerpc.
38411         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38412         implementation of trylock with lock elision for powerpc.
38413         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38414         implementaion of unlock for lock elision for powerpc.
38415         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38416         automatic enable lock elision for mutexes.
38417         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38418         transaction execution definitions for powerpc.
38419         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38420         definitions.
38421         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38422         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38423         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38424         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38425         * NEWS: Update.
38427 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38429         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38430         for #include of <shm-directory.h>.
38432 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38434         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38435         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38437 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38439         [BZ #17791]
38440         * NEWS: Mention bug fix.
38441         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38442         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38443         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38445 2015-01-09  Torvald Riegel <triegel@redhat.com>
38447         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38449 2015-01-09  Torvald Riegel <triegel@redhat.com>
38451         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38453 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38455         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38456         pointer and cast to uintptr_t.
38458 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38460         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38461         removed.
38462         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38464 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38466         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38467         of 0.
38469 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38471         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38472         <nptl/pthreadP.h> instead.
38473         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38475         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38476         already defined.
38477         [__SIGRTMIN] (init): Function removed.
38478         [__SIGRTMIN] (initialized): Variable removed.
38479         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38480         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38481         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38482         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38483         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38484         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38485         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38486         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38487         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38488         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38489         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38490         * sysdeps/nptl/allocrtsig.c: New file.
38491         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38492         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38493         * sysdeps/generic/testrtsig.h: File removed.
38495         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38496         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38498         * nptl/nptl-init.c (pthread_functions): Conditionalize
38499         .ptr__nptl_setxid initialization on [SIGSETXID].
38501         * sysdeps/nptl/sys/procfs.h: New file.
38502         * nptl_db/Makefile (headers): Add it.
38503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38505         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38506         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38507         * nptl/pthread_attr_setaffinity.c: Include it.
38508         * nptl/pthread_setattr_default_np.c: Likewise.
38509         * nptl/check-cpuset.h: New file.
38511 2015-01-08  Richard Henderson  <rth@redhat.com>
38513         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38514         (CFLAGS-tst-execstack-prog.c): Likewise.
38515         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38517 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38518             Sandra Loosemore  <sandra@codesourcery.com>
38519             Andrew Jenner  <andrew@codesourcery.com>
38520             Joseph Myers  <joseph@codesourcery.com>
38521             Nathan Sidwell  <nathan@codesourcery.com>
38523         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38524         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38525         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38526         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38527         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38528         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38529         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38530         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38531         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38532         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38533         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38534         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38535         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38536         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38537         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38538         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38539         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38541 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38543         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38544         timespec struct member in syscall macro.
38545         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38546         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38547         first timeval struct member in syscall macro.
38548         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38550 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38552         [BZ #17748]
38553         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38554         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38555         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38556         __feupdateenv and define as weak alias of __feupdateenv.  Use
38557         libm_hidden_weak.
38558         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38559         libm_hidden_def.
38560         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38561         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38562         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38563         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38564         libm_hidden_def.
38565         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38566         __feupdateenv and define as weak alias of __feupdateenv.  Use
38567         libm_hidden_weak.
38568         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38569         libm_hidden_def.
38570         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38571         __feupdateenv and define as weak alias of __feupdateenv.  Use
38572         libm_hidden_weak.
38573         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38574         libm_hidden_def.
38575         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38576         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38577         (__feupdateenv): Likewise.
38578         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38579         __feupdateenv and define as weak alias of __feupdateenv.  Use
38580         libm_hidden_weak.
38581         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38582         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38583         libm_hidden_def.
38584         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38585         function.
38586         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38587         libm_hidden_def.
38588         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38589         __feupdateenv instead of feupdateenv.
38590         (default_libc_feupdateenv_test): Likewise.
38591         (libc_feresetround_ctx): Likewise.
38593 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38595         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38596         prototype.
38598 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38600         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38601         COLL_SYM in a couple of places to avoid uninitialized variable
38602         wanings on tilegx gcc 4.8.2.
38604 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38606         * sysdeps/aarch64/strcpy.S: New file.
38607         * sysdeps/aarch64/stpcpy.S: New file.
38608         * NEWS: Updated.
38610 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38612         * sysdeps/aarch64/strrchr.S: New file.
38613         * NEWS: Updated.
38615 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38617         [BZ #17658]
38618         * stdlib/setenv.c: Fix memory leak when setting large,
38619         duplicate string.
38621 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38623         [BZ #17273]
38624         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38625         and tabs from buffer before parsing fstab entry.
38626         * misc/tst-mntent.c (main): Add test for mount entry with
38627         trailing spaces and tabs.
38629 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38631         [BZ #17748]
38632         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38633         * math/fesetround.c (fesetround): Rename to __fesetround and
38634         define as weak alias of __fesetround.  Use libm_hidden_weak.
38635         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38636         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38637         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38638         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38639         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38640         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38641         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38642         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38643         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38644         __fesetround_inline.
38645         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38646         __fesetround_inline instead of __fesetround.
38647         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38648         __fesetround and define as weak alias of __fesetround.  Use
38649         libm_hidden_weak.  Call __fesetround_inline instead of
38650         __fesetround.
38651         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38652         __fesetround and define as weak alias of __fesetround.  Use
38653         libm_hidden_weak.
38654         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38655         Likewise.
38656         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38657         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38658         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38659         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38660         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38661         __fesetround and define as weak alias of __fesetround.  Use
38662         libm_hidden_weak.
38663         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38664         __fesetround instead of fesetround.
38665         (default_libc_feholdexcept_setround): Likewise.
38666         (libc_feholdsetround_ctx): Likewise.
38667         (libc_feholdsetround_noex_ctx): Likewise.
38669         [BZ #17748]
38670         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38671         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38672         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38673         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38674         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38675         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38676         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38677         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38678         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38679         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38680         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38681         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38682         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38683         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38684         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38685         libm_hidden_def.
38686         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38687         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38688         Likewise.
38689         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38690         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38691         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38692         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38693         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38694         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38695         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38696         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38697         __fesetenv instead of fesetenv.
38698         (libc_feresetround_noex_ctx): Likewise.
38699         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38700         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38701         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38702         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38703         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38704         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38705         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38706         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38707         (__feupdateenv): Likewise.
38708         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38709         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38710         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38711         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38713 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38715         [BZ #17806]
38716         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38717         addresses have been freed.
38719 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38721         * resolv/res_init.c (__res_vinit): Improve comments about nserv
38722         and nservall.
38724 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
38726         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38727         Clean up check_pf allocation pattern. addresses
38729 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38731         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38732         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38733         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38734         * nptl/pthread_exit.c (__pthread_exit): Likewise.
38735         * nptl/pthread_join.c (pthread_join): Likewise.
38736         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38737         * sysdeps/posix/waitid.c (__waitid): Likewise.
38738         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38739         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38740         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38741         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38743         Likewise.
38744         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38745         (__libc_pread64): Likewise.
38746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38747         (__libc_pwrite): Likewise.
38748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38749         (__libc_pwrite64): Likewsie.
38750         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38751         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38752         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38753         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38754         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38755         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38756         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38758         Likewise.
38759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38760         (__libc_pread64): Likewise.
38761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38762         Likewise.
38763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38764         (__libc_pwrite64): Likewise.
38765         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38766         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38767         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38768         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38769         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38770         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38771         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38772         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38773         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38774         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38775         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38776         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38777         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38778         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38779         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38781         Likewise.
38783 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38785         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38786         (CFLAGS-test-double.c): Likewise.
38787         (CFLAGS-test-ldouble.c): Likewise.
38788         (CPPFLAGS-test-ifloat.c): Likewise.
38789         (CPPFLAGS-test-idouble.c): Likewise.
38790         (CPPFLAGS-test-ildoubl.c): Likewise.
38791         (CFLAGS-test-test-fenv.c): Remove variable.
38792         (CFLAGS-test-misc.c): Likewise.
38794 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
38796         [BZ #17797]
38797         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38798         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38799         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38800         CLOCKS_PER_SEC == 1000000.
38801         * time/clocktest.c (main): Replace %ld with %jd and cast to
38802         intmax_t.
38804 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38806         * sysdeps/generic/unwind-resume.h: New file.
38807         * sysdeps/gnu/unwind-resume.c: Include it.
38808         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38809         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38810         argument list.
38811         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38812         global rather than static.
38813         (_Unwind_Resume): Update user.
38814         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38815         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38816         rather than static.  Add __attribute__ ((cold)).
38817         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38818         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38819         * sysdeps/arm/arm-unwind-resume.S: New file.
38820         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38821         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38822         * sysdeps/arm/Makefile [$(subdir) = csu]
38823         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38824         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38825         Add rt-arm-unwind-resume.
38826         [$(subdir) = nptl]
38827         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38828         Add pt-arm-unwind-resume.
38829         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38830         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38832 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #17748]
38835         * include/fenv.h (__feholdexcept): Declare.  Use
38836         libm_hidden_proto.
38837         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38838         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38839         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38840         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38841         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38842         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38843         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38844         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38845         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38846         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38847         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38848         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38849         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38850         (feholdexcept): Likewise.
38851         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38852         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38853         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38854         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38855         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38856         __feholdexcept instead of feholdexcept.
38857         (default_libc_feholdexcept_setround): Likewise.
38859 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38861         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38862         to avoid using stl/str to align destination.
38864 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38866         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38868 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38870         [BZ #17796]
38871         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38872         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38873         Define as weak alias not strong alias.
38875 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38877         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38878         bltzal with addiupc.
38879         (RTLD_START): Ditto.
38881 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38883         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38884         for __vdso_* functions in declarations.
38885         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38886         definitions.
38887         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38888         INTERNAL_VSYSCALL): Use struct return types to check for error.
38890         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38891         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38892         function with cast from llround().
38893         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38894         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38895         Define.
38897 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38899         [BZ #17793]
38900         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38901         Define as weak alias not strong alias.
38903         [BZ #17635]
38904         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38905         ...
38906         * ctype/ctype-extn.c: ... here.
38907         (__isblank_l): Move to ...
38908         * ctype/ctype-c99_l.c: ... here.  New file.
38909         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38910         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38911         Remove variable.
38912         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38913         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38914         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38915         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38916         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38918         [BZ #17777]
38919         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38920         (posix_fadvise64): Define as weak alias not strong alias.
38921         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38922         (posix_fallocate64): Likewise.
38923         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38924         Remove variable.
38925         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38926         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38927         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38928         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38929         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38931 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38933         [BZ #16191]
38934         * NEWS: Mention bug fix.
38935         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38936         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38937         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38938         (HOST_STACK_END_ADDR): Likewise.
38940 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38942         [BZ #17748]
38943         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38944         * math/fegetround.c (fegetround): Rename to __fegetround and
38945         define as weak alias of __fegetround.  Use libm_hidden_weak.
38946         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38947         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38948         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38949         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38950         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38951         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38952         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38953         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38954         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38955         Undefine after rather than before function definition; use
38956         parentheses around function name in definition.
38957         (__fegetround): Also undefine macro after function definition.
38958         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38959         __fegetround and define as weak alias of __fegetround.  Use
38960         libm_hidden_weak.  Do not undefine as macro.
38961         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38962         Likewise.
38963         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38964         __fegetround and define as weak alias of __fegetround.  Use
38965         libm_hidden_weak.
38966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38967         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38968         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38969         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38970         __fegetround and define as weak alias of __fegetround.  Use
38971         libm_hidden_weak.
38972         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38973         __fegetround instead of fegetround.
38975         [BZ #17782]
38976         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38977         Condition macro definition on [__USE_MISC].
38979         [BZ #17781]
38980         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38981         (struct sigaction): Change type of sa_flags field to int.
38983         [BZ #17780]
38984         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38985         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38986         __glibc_reserved0.
38988         * nptl/version.c (banner): Use single year in copyright notice.
38990         * NEWS: Update copyright dates.
38991         * catgets/gencat.c (print_version): Likewise.
38992         * csu/version.c (banner): Likewise.
38993         * debug/catchsegv.sh: Likewise.
38994         * debug/pcprofiledump.c (print_version): Likewise.
38995         * debug/xtrace.sh (do_version): Likewise.
38996         * elf/ldconfig.c (print_version): Likewise.
38997         * elf/ldd.bash.in: Likewise.
38998         * elf/pldd.c (print_version): Likewise.
38999         * elf/sotruss.sh: Likewise.
39000         * elf/sprof.c (print_version): Likewise.
39001         * iconv/iconv_prog.c (print_version): Likewise.
39002         * iconv/iconvconfig.c (print_version): Likewise.
39003         * locale/programs/locale.c (print_version): Likewise.
39004         * locale/programs/localedef.c (print_version): Likewise.
39005         * login/programs/pt_chown.c (print_version): Likewise.
39006         * malloc/memusage.sh (do_version): Likewise.
39007         * malloc/memusagestat.c (print_version): Likewise.
39008         * malloc/mtrace.pl: Likewise.
39009         * manual/libc.texinfo: Likewise.
39010         * nptl/version.c (banner): Likewise.
39011         * nscd/nscd.c (print_version): Likewise.
39012         * nss/getent.c (print_version): Likewise.
39013         * nss/makedb.c (print_version): Likewise.
39014         * posix/getconf.c (main): Likewise.
39015         * scripts/test-installation.pl: Likewise.
39016         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39018 2015-01-02  Will Newton  <will.newton@linaro.org>
39020         * sysdeps/arm/armv7/configure: Removed.
39021         * sysdeps/arm/armv7/configure.ac: Likewise.
39023 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39025         * All files with FSF copyright notices: Update copyright dates
39026         using scripts/update-copyrights.
39027         * intl/plural.c: Regenerated.
39028         * locale/programs/charmap-kw.h: Likewise.
39029         * locale/programs/locfile-kw.h: Likewise.
39031 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39033         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39035 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39037         [BZ #17748]
39038         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39039         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39040         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39041         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39042         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39043         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39044         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39045         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39046         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39047         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39048         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39049         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39050         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39051         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39052         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39053         libm_hidden_def.
39054         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39055         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39056         Likewise.
39057         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39058         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39059         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39060         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39061         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39062         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39063         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39064         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39065         __fegetenv instead of fegetenv.
39066         (libc_feholdsetround_noex_ctx): Likewise.
39068 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39070         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39071         (Elf_MIPS_ABIFlags_v0): New structure.
39072         (EF_MIPS_FP64): Define.
39073         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39074         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39075         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39076         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39077         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39078         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39079         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39080         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39081         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39082         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39083         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39084         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39085         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39086         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39087         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39088         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39089         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39090         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39091         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39092         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39093         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39094         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39095         field.
39096         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39097         EF_MIPS_FP64.
39098         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39099         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39100         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39101         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39102         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39103         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39104         * sysdeps/mips/tst-abi-interlink.c: Likewise.
39105         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39106         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39107         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39108         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39109         record the current FP ABI extension.
39110         (mips-mode-switch): Define to show if kernel headers support mode
39111         switching.
39112         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39113         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39114         supported SYSV ABI version to 3.
39115         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39116         feature.
39118 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39119             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39121         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39122         path.
39123         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39125 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39127         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39128         __fegetround and redefine to call __fegetround.  Remove condition
39129         on [!__NO_MATH_INLINES].
39130         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39131         function.
39132         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39133         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39134         Remove macro.
39135         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39136         instead of <fenv_libc.h>.
39137         (__llrintl): Call fegetround instead of __fegetround.
39138         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39139         instead of <fenv_libc.h>.
39140         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39141         (__lrintl): Call fegetround instead of __fegetround.
39142         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39143         instead of <fenv_libc.h>.
39144         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39145         (__rintl): Call fegetround instead of __fegetround.
39147 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39149         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39150         arrays.
39152 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39154         [BZ #17775]
39155         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39156         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39157         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39159 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39161         * sysdeps/i386/tls-macros.h: Include <features.h>.
39162         (TLS_LE): Use non-PIC version for GCC >= 5.0.
39163         (TLS_IE): Likewise.
39164         (TLS_LD): Likewise.
39165         (TLS_GD): Likewise.
39166         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39167         define for GCC >= 5.0.
39169 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
39171         * math/test-fenv.c (test_single_exception, set_single_exc,
39172         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39173         feexcp_mask_test, feenable_test, fe_single_test): Add
39174         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39175         case where they are not used.
39176         * math/libm-test.inc: Likewise.
39177         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39178         unused in the absence of FP rounding/exception support.
39179         * stdio-common/tst-printf-round.c: Likewise.
39180         * stdlib/tst-strtod-round.c: Likewise.
39181         * stdlib/tst-strtod-underflow.c: Likewise.
39183 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
39185         [BZ #17723]
39186         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39187         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39188         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39189         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39190         libm_hidden_weak.
39191         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39192         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39193         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39194         libm_hidden_def.
39195         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39196         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39197         libm_hidden_weak.
39198         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39199         Likewise.
39200         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39201         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39202         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39203         libm_hidden_weak.
39204         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39205         libm_hidden_def.
39206         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39207         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39208         (__feraiseexcept): Likewise.
39209         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39210         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39211         libm_hidden_weak.
39212         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39213         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39214         libm_hidden_def.
39215         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39216         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39217         Use libm_hidden_def.
39218         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39219         libm_hidden_def.
39220         (feraiseexcept): Define as weak not strong alias.  Use
39221         libm_hidden_weak.
39222         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39223         New inline function.  Factored out of ...
39224         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
39225         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39226         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39227         feraiseexcept.
39228         * math/w_acos.c (__acos): Likewise.
39229         * math/w_asin.c (__asin): Likewise.
39230         * math/w_ilogb.c (__ilogb): Likewise.
39231         * math/w_j0.c (y0): Likewise.
39232         * math/w_j1.c (y1): Likewise.
39233         * math/w_jn.c (yn): Likewise.
39234         * math/w_log.c (__log): Likewise.
39235         * math/w_log10.c (__log10): Likewise.
39236         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39237         * sysdeps/aarch64/fpu/math_private.h
39238         (libc_feupdateenv_test_aarch64): Likewise.
39239         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39240         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39241         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39242         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39243         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39244         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39245         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39246         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39247         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39248         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39250 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39252         [BZ #17732]
39253         * io/test-utime.c (main): Replace %ld with %jd and cast to
39254         intmax_t.
39255         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39256         * nptl/tst-mutex5.c: Include <stdint.h>.
39257         (do_test): Replace %ld with %jd and cast to intmax_t.
39258         * posix/tst-regex.c (run_test): Likewise.
39259         (run_test_backwards): Likewise.
39260         * rt/tst-clock.c: Include <stdint.h>.
39261         (clock_test): Replace %ld with %jd and cast to intmax_t.
39262         * rt/tst-cpuclock1.c: Include <stdint.h>.
39263         (do_test): Replace %lu with %ju and cast to uintmax_t.
39264         * rt/tst-cpuclock2.c: Include <stdint.h>.
39265         (do_test): Replace %lu with %ju and cast to uintmax_t.
39266         * rt/tst-mqueue1.c: Include <stdint.h>.
39267         (check_attrs): Replace %ld with %jd and cast to intmax_t.
39268         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
39269         intmax_t.
39270         * rt/tst-mqueue4.c (do_test): Likewise.
39271         * rt/tst-timer4.c: Include <stdint.h>.
39272         (check_ts): Replace %ld with %jd and cast to intmax_t.
39273         (do_test): Likewise.
39274         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39275         and cast to intmax_t.
39276         * sysdeps/pthread/tst-timer.c (main): Likewise.
39277         * time/clocktest.c (main): Likewise.
39278         * time/tst-posixtz.c (do_test): Likewise.
39279         * timezone/tst-timezone.c (main): Likewise.
39281 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39282             H.J. Lu  <hongjiu.lu@intel.com>
39284         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39285         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39286         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39287         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39288         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39289         version if bit_Fast_Unaligned_Load is set.
39290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39297         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39298         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39299         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39300         to 4.
39301         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39302         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39303         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39304         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39306 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
39308         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39309         instead of #if to avoid a Wundef warning.
39310         * stdlib/tst-limits.c (do_test): Likewise.
39312         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
39313         parallel other exception macros.
39314         (fegetenv): Convert from macro to extern inline so that it applies
39315         retroactively to inline functions already seen by the compiler.
39316         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
39318         * posix/Makefile (before-compile): Use $(objpfx) for
39319         posix-conf-vars-def.h.
39321 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39323         * posix/getconf.c (main): Use size_t for type of I.
39324         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39325         NSPEC.
39327         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39328         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39329         * posix/posix-envs.def: Likewise.
39330         * sysdeps/posix/sysconf.c: Likewise.
39331         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39332         (specs): Remove array.
39333         * scripts/gen-posix-conf-vars.awk: Support generation of specs
39334         array.
39336         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39337         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39338         (__sysconf): Use CONF_IS_* macros.
39340         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39341         ($(objpfx)posix-conf-vars-def.h): New target.
39342         * posix/posix-conf-vars.list: New file.
39343         * posix/posix-conf-vars.h: New file.
39344         * posix/confstr.c: Include posix-conf-vars.h.
39345         (confstr): Use CONF_IS_* macros.
39346         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
39347         CONF_IS_* macros.
39348         * scripts/gen-posix-conf-vars.awk: New file.
39350 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
39352         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39353         fegetround): Add no-op macros to avoid linknamespace issues.
39355         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39356         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39358         * sysdeps/unix/sysv/linux/tile/sysdep.h
39359         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39360         assembly-specific section to avoid a redefinition warning.
39362         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39363         long before casting to pointer to avoid a cast warning.
39365 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
39367         * sysdeps/tile/tilegx/Implies: New file.
39369 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
39371         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39373 2014-12-23  Florian Weimer  <fweimer@redhat.com>
39375         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39377 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39379         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39380         not define.
39381         * sysdeps/unix/sysv/linux/utimes.c: Do not include
39382         <kernel-features.h>.
39383         (__utimes) [__NR_utimes]: Make code unconditional.
39384         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39385         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39386         (__ASSUME_UTIMES): Do not undefine.
39387         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39388         (__ASSUME_UTIMES): Likewise.
39389         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39390         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39391         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39392         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39394 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39396         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39398 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
39400         [BZ #17747]
39401         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39402         alias to weak alias for j0l, y0l.
39403         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39404         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39406         [BZ #17746]
39407         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39408         conversion.
39410 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39412         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39413         to zero if not already defined.
39415 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39417         [BZ #17724]
39418         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39419         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
39420         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
39421         (char *) casts added.
39422         * sysdeps/ieee754/k_standardf.c: New file.
39423         * sysdeps/ieee754/k_standardl.c: Likewise.
39424         * math/Makefile (libm-support): Remove k_standard.
39425         (libm-calls): Add k_standard.
39427 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39429         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39430         Optimize to avoid an unnecessary FPCR read.
39432 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39434         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39435         Optimize to reduce FPCR/FPSR accesses.
39437 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39439         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39440         Call libc_fetestexcept_aarch64.
39442 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39444         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39445         Call libc_fesetround_aarch64.
39447 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39449         [BZ #17733]
39450         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39451         (__bind): Do not define as weak alias.
39452         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39453         define.
39454         (__getsockname): Do not define as weak alias.
39456 2014-12-22  Will Newton  <will.newton@linaro.org>
39458         * manual/install.texi: Document that we require bison 2.7
39459         or above.
39460         * INSTALL: Regenerate.
39461         * configure.ac: Use AC_CHECK_PROG_VER instead of
39462         AC_PATH_PROG when checking for bison and check for
39463         version 2.7 or above.
39464         * configure: Regenerate.
39466 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39468         [BZ #17745]
39469         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39470         * sysdeps/tile/ffsll.c (ffsll): To here.
39472         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39474 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39476         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39477         if not defined.
39478         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39479         definition.
39480         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39481         hidden ___tls_get_addr.
39482         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39483         hidden __tls_get_addr.
39484         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39485         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39486         Likewise.
39488 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39490         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39491         _dl_init call.
39493 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39495         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39496         from "call _dl_init@PLT".
39497         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39499 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39501         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39502         guarantees.
39504 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39506         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39508 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39510         [BZ #17744]
39511         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39512         strnlen.
39514 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39516         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39517         of multu on MIPSr6.
39518         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39519         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39520         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39521         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39522         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39524 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39526         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39527         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39528         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39529         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39530         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39531         mips32r6/mips64r6.
39532         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39534 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39536         * string/strncat.c (STRNCAT): Simplify implementation.
39538 2014-12-19  David S. Miller  <davem@davemloft.net>
39540         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39541         access the quad as both a long double and as a series of 4 words.
39543         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39544         link_map->l_info array access.
39546 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39548         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39550         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39551         * math/atest-exp2.c (TIMEOUT): Likewise.
39552         * math/atest-sincos.c (TIMEOUT): Likewise.
39554 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39556         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39557         -Wno-error with -fno-builtin-lround.
39559 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39561         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39562         Contains futex constants and functions moved over from ...
39563         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39564         <lowlevellock-futex.h>.
39565         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39566         (lll_timedwait_tid): Add comments and parentheses around macro
39567         arguments.
39569 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39571         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39572         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39573         (__lll_private_flag): Remove.
39574         (lll_futex_wait): Likewise.
39575         (lll_futex_timed_wait): Likewise.
39576         (lll_futex_wake): Likewise.
39577         (lll_futex_requeue): Likewise.
39578         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39579         (__lll_timedwait_tid): Spell out argument names.
39580         (lll_timedwait_tid): Add comments and parentheses around macro
39581         arguments.
39582         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39583         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39585 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39587         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39590         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39591         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39592         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39593         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39594         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39595         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39596         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39597         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39598         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39599         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39600         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39601         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39602         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39603         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39604         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39605         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39607 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39609         * sysdeps/x86_64/x32/Makefile: New file.
39611 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39613         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39614         1L with (mp_limb_t) 1.
39616 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39618         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39619         * nptl/libc_pthread_init.c: ... here.
39620         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39621         * nptl/register-atfork.c: ... here.
39623         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39624         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39625         Use assert_perror to check its return value.
39626         (__gai_create_helper_thread): Likewise.
39628         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39630         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39632 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39634         [BZ #17725]
39635         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39636         __profil_counter.
39637         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39638         Likewise.
39639         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39640         Likewise.
39641         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39642         Likewise.
39643         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39644         (profil_counter): Likewise.
39645         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39646         (profil_counter): Likewise.
39647         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39648         Likewise.
39649         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39650         Likewise.
39651         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39652         (profil_counter): Likewise.
39653         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39654         Likewise.
39655         [!__profil_counter] (profil_counter): Define as weak alias of
39656         __profil_counter.
39657         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39658         (profil_counter): Rename to __profil_counter.
39659         [!__profil_counter] (profil_counter): Define as weak alias of
39660         __profil_counter.
39661         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39662         (profil_counter): Rename to __profil_counter.
39663         [!__profil_counter] (profil_counter): Define as weak alias of
39664         __profil_counter.
39665         * sysdeps/posix/profil.c: Update comment referring to
39666         profil_counter.
39667         (__profil): Use __profil_counter instead of profil_counter.
39668         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39669         __profil_counter.  Use __profil_counter_ushort and
39670         __profil_counter_uint in definitions.
39671         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39672         instead of profil_counter_uint and profil_counter_ushort.
39674         [BZ #17722]
39675         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39676         define as weak alias of __inet_makeaddr.
39677         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39678         as weak alias of __inet_addr.
39679         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39680         as weak alias of __inet_pton.  Use libc_hidden_weak.
39681         * include/arpa/inet.h (__inet_pton): Declare.  Use
39682         libc_hidden_proto.
39683         (inet_makeaddr): Don't use libc_hidden_proto.
39684         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39685         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39686         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39687         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39688         Remove variable.
39689         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39690         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39692 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
39694         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39696 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39698         * stdio-common/bug-vfprintf-nargs.c (do_test):
39699         Cast value to intptr_t to avoid format warning
39700         for usage with PRIdPTR printing macro.
39702 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39704         * libio/tst-widetext.c (do_test):
39705         Use format type %td instead of %Zd for ptrdiff_t
39706         in order to avoid format warning.
39708 2014-12-17  Andreas Schwab  <schwab@suse.de>
39710         * nscd/mem.c (gc): Add size_t cast to match printf format.
39712 2014-12-16  Roland McGrath  <roland@hack.frob.com>
39714         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39715         (init): Apply PTR_MANGLE to pointers before storing them.
39716         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39717         before using them.
39719 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
39721         [BZ #17719]
39722         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39723         define as weak alias of __memrchr.
39724         (__memrchr): Do not define as strong alias of memrchr.
39725         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39726         Remove variable.
39727         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39728         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39729         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39731         [BZ #17717]
39732         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39733         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
39734         (if_indextoname): Rename to __if_indextoname and define as weak
39735         alias of __if_indextoname.  Use libc_hidden_weak.
39736         (if_freenameindex): Rename to __if_freenameindex and define as
39737         weak alias of __if_freenameindex.
39738         (if_nameindex): Rename to __if_nameindex and define as weak alias
39739         of __if_nameindex.
39740         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39741         __if_nametoindex and define as weak alias of __if_nametoindex.
39742         Use libc_hidden_weak.
39743         (if_freenameindex): Rename to __if_freenameindex and define as
39744         weak alias of __if_freenameindex.
39745         (if_nameindex): Rename to __if_nameindex and define as weak alias
39746         of __if_nameindex.
39747         (if_indextoname): Rename to __if_indextoname and define as weak
39748         alias of __if_indextoname.  Use libc_hidden_weak.
39749         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39750         __if_nametoindex and define as weak alias of __if_nametoindex.
39751         Use libc_hidden_weak.
39752         (if_freenameindex): Rename to __if_freenameindex and define as
39753         weak alias of __if_freenameindex.  Use libc_hidden_weak.
39754         (if_nameindex_netlink): Use __if_freenameindex instead of
39755         if_freenameindex.
39756         (if_nameindex): Rename to __if_nameindex and define as weak alias
39757         of __if_nameindex.  Use libc_hidden_weak.
39758         (if_indextoname): Rename to __if_indextoname and define as weak
39759         alias of __if_indextoname.  Use libc_hidden_weak.
39760         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39761         libc_hidden_proto.
39762         [!_ISOMAC] (__if_freenameindex): Likewise.
39763         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39764         if_nametoindex.
39765         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39766         variable.
39767         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39768         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39769         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39770         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39771         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39772         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39773         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39775         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39776         Remove variable.
39777         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39778         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39780 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39782         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39783         subscript above bounds'
39785         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39786         bounds.
39788 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
39790         * libio/tst-fopenloc.c: Use test-skeleton.c.
39792         * stdlib/tst-bsearch.c: Use test-skeleton.c.
39793         (entry): Rename to ITEM.
39794         (do_test, comp): Adjust.
39796         * stdio-common/tst-fseek.c: Use test-skeleton.c.
39798 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39800         * string/tester.c: Include <libc-internal.h>.
39801         (test_memset): Ignore -Wmemset-transposed-args.
39803 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39805         * misc/tst-mntent2.c (do_test): Fix warning.
39807 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39809         * elf/tst-unique4lib.cc(a): Mark as used.
39811 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39813         [BZ #17630]
39814         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39815         names.
39817 2014-12-16  Allan McRae  <allan@archlinux.org>
39819         * stdio-common/Makefile (tests): Re-add bug26.
39821 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39823         [BZ #17657]
39824         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39825         static array.
39827 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39829         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39830         (__lll_lock_wait): Likewise.
39831         (__lll_timedlock_wait): Likewise.
39832         (__lll_timedwait_tid): Likewise.
39833         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39834         (__lll_robust_timedlock_wait): Likewise.
39835         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39836         (lll_cond_trylock): Likewise.
39837         (__lll_lock): Likewise.
39838         (__lll_robust_lock): Likewise.
39839         (__lll_cond_lock): Likewise.
39840         (lll_robust_cond_lock): Likewise.
39841         (__lll_timedlock): Likewise.
39842         (__lll_robust_timedlock): Likewise.
39843         (__lll_unlock): Likewise.
39844         (__lll_robust_unlock): Likewise.
39845         (lll_wait_tid): Likewise.
39846         (lll_timedwait_tid): Likewise.
39848 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39850         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39852 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39854         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39856 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39858         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39859         * stdio-common/tst-sprintf.c: Likewise.
39861 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39863         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39865 2014-12-15  Jeff Law  <law@redhat.com>
39867         [BZ #16617]
39868         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39869         on the heap.  (CVE-2012-3406)
39870         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39871         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39872         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39874 2014-12-15  Will Newton  <will.newton@linaro.org>
39876         * manual/install.texi: Bump required version of texinfo
39877         to 4.7 from 4.5.
39878         * INSTALL: Regenerated.
39879         * configure.ac: Check for makeinfo version 4.7 and above.
39880         * configure: Regenerated.
39882 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39884         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39885         PREFIX, string constant to insert between directory and name.
39886         * sysdeps/posix/shm_open.c: Update caller.
39887         * sysdeps/posix/shm_unlink.c: Likewise.
39888         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39889         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39890         (SEM_SHM_PREFIX): New macro.
39891         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39892         [$(have-thread-library) = no].
39893         * nptl/Makefile (libpthread-routines): Add shm-directory.
39894         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39895         * sysdeps/nptl/shm-directory.h: New file.
39896         * sysdeps/posix/shm-directory.c
39897         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39898         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39899         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39900         INTERNAL_SYSCALL.
39901         (__where_is_shmfs): Function removed.
39902         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39903         Variables removed.
39904         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39905         Use SHM_GET_NAME.
39906         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39908         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39909         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39910         unconditional for use inside libpthread.
39911         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39913 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39915         * nptl/pthread_getaffinity.c: New file.
39916         * nptl/pthread_setaffinity.c: New file.
39917         * nptl/pthread_getname.c: New file.
39918         * nptl/pthread_setname.c: New file.
39920         * nptl/pthread_create.c (START_THREAD_DEFN)
39921         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39923 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39924             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39926         * resolv/res_send.c (send_vc): Disable warning resplen may
39927         be used uninitialized.
39929 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39931         * nptl/tst-mutex6.c
39932         (ATTR_NULL): New define checks ATTR against NULL.
39933         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39934         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39936 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39938         [BZ #17581]
39939         * malloc/hooks.c
39940         (mem2mem_check): Revert my previous change.
39941         (malloc_check_get_size): Revert my previous change.
39942         (mem2chunk_check): Revert my previous change.
39944 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39946         * sysdeps/posix/shm-directory.c: New file.
39947         * sysdeps/posix/shm-directory.h: New file.
39948         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39949         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39950         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39951         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39952         Transmute EPERM to EACCES.
39953         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39954         from ...
39955         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39956         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39958 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39960         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39961         pointer and cast to uintptr_t.
39962         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39963         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39964         Add cast to avoid warning.
39965         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39967 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39969         * nptl/semaphore.h: Move to ...
39970         * sysdeps/pthread/semaphore.h: ... here.
39971         * Makefile (installed-headers): Change nptl/semaphore.h to
39972         sysdeps/pthread/semaphore.h.
39974 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39976         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39977         generated error format strings.
39979         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39980         -Wformat-extra-args warnings for scanf formats.
39981         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39982         test of zero-length format (duh).
39983         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39984         corner-case scanf format test.
39985         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39986         generated fprintf format string.
39987         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39988         corner-case sprintf format tests.
39989         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39990         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39991         -Wformat-extra-args warnings throughout.
39992         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39993         (CFLAGS-scanf4.c): Likewise.
39994         (CFLAGS-scanf7.c): Likewise.
39995         (CFLAGS-tst-sprintf.c): Likewise.
39996         (CFLAGS-tst-printf.c): Likewise.
39997         (CFLAGS-tst-printfsz.c): Likewise.
39999 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40001         * include/cpio.h: New file.
40002         * include/fmtmsg.h: Likewise.
40004         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40005         corresponding format argument to size_t.
40006         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40007         arguments.
40008         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40009         corresponding format argument to size_t.
40010         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40011         arguments.
40012         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40013         corresponding format argument to size_t.
40014         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40015         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40016         (CFLAGS-tst-mbswcs2.c): Likewise.
40017         (CFLAGS-tst-mbswcs3.c): Likewise.
40018         (CFLAGS-tst-mbswcs4.c): Likewise.
40019         (CFLAGS-tst-mbswcs5.c): Likewise.
40020         (CFLAGS-tst-trans.c): Likewise.
40022 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40024         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40025         rather than assuming they won't contain any '%'s.
40027 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40029         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40030         inhibit_loop_to_libcall to avoid recursive calls.
40031         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40032         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40034 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40036         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40037         prototype.
40039 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40041         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40042         integer value instead of boolean.
40044 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40046         * malloc/malloc.c: Fix powerof2 check.
40048 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40050         * locale/programs/locfile.h (maybe_swap_uint32):
40051         Remove inline and add unused attribute.
40053 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40055         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40056         Truncating assembler expression to a .long expression.
40058 2014-12-11  Andreas Schwab  <schwab@suse.de>
40060         * elf/rtld.c (struct map_args): Constify str member.
40061         (do_preload): Constify fname argument.
40063 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40066         constants definition.
40068 2014-12-11  Andreas Schwab  <schwab@suse.de>
40070         [BZ #16657]
40071         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40072         FORCE_ELISION instead of DO_ELISION.
40073         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40074         Remove.
40075         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40076         Likewise.
40078         * iconvdata/gconv-modules: Remove duplicate entry.
40080 2014-12-11  Will Newton  <will.newton@linaro.org>
40082         Merge gettext 0.19.3 into intl/.
40084         This involves a number of cosmetic changes to comments
40085         and ANSI function definitions and prototypes throughout
40086         all the files. The gettext copyright header is used but
40087         with the date ranges taken from the glibc copy.
40089         * NEWS: Add gettext merge to 2.21.
40090         * intl/bindtextdom.c: Switch to gettext copyright.
40091         Use ANSI definitions and prototypes.
40092         Use gl_* locking primitives rather than __libc_* ones.
40093         Use __builtin_expect rather than __glibc_likely/unlikely.
40094         * intl/dcgettext.c: Switch to gettext copyright.
40095         Use ANSI definitions and prototypes.
40096         * intl/dcigettext.c: Switch to gettext copyright.
40097         Use ANSI definitions and prototypes.
40098         (INTDIV0_RAISES_SIGFPE): New define.
40099         Use gl_* locking primitives rather than __libc_* ones.
40100         Include eval-plural.h instead of plural-eval.c.
40101         Use __builtin_expect rather than __glibc_likely/unlikely.
40102         * intl/dcngettext.c: Switch to gettext copyright.
40103         Use ANSI definitions and prototypes.
40104         * intl/dgettext.c: Likewise.
40105         * intl/dngettext.c: Likewise.
40106         * intl/plural-eval.c: Renamed to...
40107         * intl/eval-plural.h: ...this.
40108         * intl/explodename.c: Switch to gettext copyright.
40109         Use ANSI definitions and prototypes.
40110         (_nl_explode_name): Use strchr instead of __rawmemchr.
40111         * intl/finddomain.c: Switch to gettext copyright.
40112         Use ANSI definitions and prototypes.
40113         Use gl_* locking primitives rather than __libc_* ones.
40114         (_nl_find_domain): Use malloc rather than alloca for
40115         allocation of temporary locale name.
40116         * intl/gettext.c: Switch to gettext copyright.
40117         Use ANSI definitions and prototypes.
40118         * intl/gettextP.h: Switch to gettext copyright.
40119         Use ANSI definitions and prototypes.
40120         Use gl_* locking primitives rather than __libc_* ones.
40121         * intl/gmo.h: Switch to gettext copyright.
40122         (struct sysdep_string): Move struct segment_pair outside of
40123         struct definition.
40124         * intl/hash-string.c: Use ANSI definitions and prototypes.
40125         * intl/hash-string.h: Switch to gettext copyright.
40126         Use ANSI definitions and prototypes.
40127         * intl/l10nflist.c: Switch to gettext copyright.
40128         Use ANSI definitions and prototypes.
40129         (_nl_normalize_codeset): Avoid integer overflow.
40130         * intl/loadinfo.h: Switch to gettext copyright.
40131         Use ANSI definitions and prototypes.
40132         (LIBINTL_DLL_EXPORTED): New define.
40133         (PATH_SEPARATOR): New define.
40134         * intl/loadmsgcat.c: Switch to gettext copyright.
40135         * intl/localealias.c: Switch to gettext copyright.
40136         Use ANSI definitions and prototypes.
40137         (_nl_expand_alias): Use PATH_SEPARATOR.
40138         * intl/ngettext.c: Switch to gettext copyright.
40139         Use ANSI definitions and prototypes.
40140         * intl/plural-exp.c: Likewise.
40141         * intl/plural-exp.h: Switch to gettext copyright.
40142         Use ANSI definitions and prototypes.
40143         (struct expression): Move definition of enum operator outside
40144         of struct definition.
40145         * intl/plural.c: Regenerate.
40146         * intl/plural.y: Switch to gettext copyright.
40147         Use ANSI definitions and prototypes.
40148         Port to bison 3.0.
40149         * intl/textdomain.c: Switch to gettext copyright.
40150         Use ANSI definitions and prototypes.
40151         Use gl_* locking primitives rather than __libc_* ones.
40153 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
40155         * debug/warning-nop.c: Add used atrribute.
40157 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40159         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40161         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40162         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40163         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40165 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40166             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40168         [BZ #17634]
40169         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40170         Undefine after defining function.  Define as weak alias of
40171         __wcschr.  Use libc_hidden_weak.
40172         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
40173         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40174         (libc_hidden_def): Also define __GI___wcschr alias.
40175         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40176         __wcschr and define as weak alias of __wcschr.
40177         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40178         __wcschr.
40179         [!WCSCHR] (DEFAULT_WCSCHR): Define.
40180         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40181         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
40182         libc_hidden_weak.  Do not use libc_hidden_def.
40183         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40184         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40185         __GI___wcschr alias.
40186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40187         [IS_IN (libc)] (wcschr): Define as macro expanding to
40188         __redirect_wcschr.
40189         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40190         [IS_IN (libc)] (__wcschr_power6): Likewise.
40191         [IS_IN (libc)] (__wcschr_power7): Likewise.
40192         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
40193         instead of wcschr.
40194         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40195         __libc_wcschr.
40196         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40197         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40198         __wcschr and define as weak alias of __wcschr.  Use
40199         libc_hidden_builtin_def.
40200         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40201         as weak alias of __wcschr.  Use libc_hidden_weak.
40202         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40203         wcschr.
40204         * time/era.c (_nl_init_era_entries): Likewise.
40205         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40206         variable.
40207         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40208         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40210 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40212         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40213         format for long int variable.
40215 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
40217         [BZ #10672]
40218         * manual/search.texi: (Array Sort Function): Remove claim how to make
40219         qsort stable.
40221 2014-12-10  Andreas Schwab  <schwab@suse.de>
40223         [BZ #12847]
40224         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40225         user-controlled locks.
40227 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
40229         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40230         register.
40232 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40234         * configure.ac (--disable-werror): New configure option.
40235         (enable_werror): New AC_SUBST.
40236         * configure: Regenerated.
40237         * config.make.in (enable-werror): New variable.
40238         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40239         -Wno-error=undef.
40240         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40241         * manual/install.texi (Configuring and compiling): Document
40242         --disable-werror.
40243         * INSTALL: Regenerated.
40244         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40245         (CFLAGS-tst-chk2.c): Likewise.
40246         (CFLAGS-tst-chk3.c): Likewise.
40247         (CFLAGS-tst-chk4.cc): Likewise.
40248         (CFLAGS-tst-chk5.cc): Likewise.
40249         (CFLAGS-tst-chk6.cc): Likewise.
40250         (CFLAGS-tst-lfschk1.c): Likewise.
40251         (CFLAGS-tst-lfschk2.c): Likewise.
40252         (CFLAGS-tst-lfschk3.c): Likewise.
40253         (CFLAGS-tst-lfschk4.cc): Likewise.
40254         (CFLAGS-tst-lfschk5.cc): Likewise.
40255         (CFLAGS-tst-lfschk6.cc): Likewise.
40257         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
40258         (main): Disable -Wdeprecated-declarations around calls to
40259         register_printf_function.
40261         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
40262         (do_test): Disable -Wdiv-by-zero around some calls to
40263         fwrite_unlocked and fread_unlocked.
40265         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
40266         (DIAG_POP_NEEDS_COMMENT): Likewise.
40267         (_DIAG_STR1): Likewise.
40268         (_DIAG_STR): Likewise.
40269         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
40270         * stdio-common/bug21.c: Include <libc-internal.h>.
40271         (do_test): Disable -Wformat around call to sscanf.
40272         * stdio-common/scanf14.c: Include <libc-internal.h>.
40273         (main): Disable -Wformat around some calls to scanf functions.
40275 2014-12-09  Torvald Riegel  <triegel@redhat.com>
40277         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40279 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40281         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40282         stack variable alignment.
40284 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
40286         [BZ #17682]
40287         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40288         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40289         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40290         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40291         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40292         __getrlimit instead of getrlimit.
40293         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40294         __gettimeofday instead of gettimeofday.
40295         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40296         Likewise.
40297         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40298         Likewise.
40299         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40300         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40301         Remove variable.
40302         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40303         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40305 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40307         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40308         for wide-character tests.
40310 2014-12-04  Roland McGrath  <roland@hack.frob.com>
40312         * io/openat64.c: #include <libc-internal.h>
40313         (__openat64): Prototypify.  Use ignore_value on MODE.
40314         * io/openat.c: Likewise.
40315         * misc/reboot.c: #include <libc-internal.h>
40316         (reboot): Prototypify.  Use ignore_value on HOWTO.
40317         * misc/ptrace.c: #include <libc-internal.h>
40318         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
40320 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
40322         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40323         XPG4, UNIX98 and XOPEN2K.
40324         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40325         Remove variable.
40326         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40328 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40330         * libio/fileops.c: Use ISO C style for function definitions.
40331         * libio/iofopen.c: Likewise.
40332         * libio/wfileops.c: Likewise.
40334         [BZ #17653]
40335         * libio/fileops.c (_IO_new_file_underflow): Unset cached
40336         offset on EOF.
40337         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40338         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40339         (fgets_func): Function pointer to fgets and fgetws.
40340         (do_ftell_test): Add test to verify ftell value after read
40341         EOF.
40342         (do_test): Set fgets_func.
40344         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40345         O_TRUNC flag for w and w+ modes.
40346         (do_rewind_test): Likewise.
40347         (do_ftell_test): Likewise.
40348         (do_write_test): Likewise.
40350         [BZ #17647]
40351         * libio/fileops.c (do_ftell): Seek only when there are
40352         unflushed writes.
40353         * libio/wfileops.c (do_ftell_wide): Likewise.
40354         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40355         test case.
40356         (do_one_test): Call it.
40358 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
40360         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40361         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40362         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40363         Remove variable.
40364         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40365         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40366         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40368 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40370         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40371         Remove variable.
40372         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40374         [BZ #17668]
40375         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40376         as weak alias of __getifaddrs.  Use libc_hidden_weak.
40377         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40378         __freeifaddrs.  Use libc_hidden_weak.
40379         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40380         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
40381         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40382         __freeifaddrs.  Use libc_hidden_weak.
40383         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40384         __getifaddrs and define as weak alias of __getifaddrs.  Use
40385         libc_hidden_weak.
40386         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40387         __freeifaddrs.  Use libc_hidden_weak.
40388         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40389         Remove variable.
40390         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40391         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40393 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
40395         [BZ #17601]
40396         * sysdeps/mips/start.S (__start): Use indirect jump to call
40397         __libc_start_main.
40399 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40401         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40403         * nptl/tst-mutex1.c: Include <stdbool.h>.
40404         [!ATTR] (ATTR_NULL): New macro.
40405         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40406         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40407         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40409         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40410         to char *.
40412         [BZ #17665]
40413         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40414         Change conditional to [__USE_MISC].
40416         [BZ #17664]
40417         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40418         fgets_unlocked.
40419         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40420         __fgets_unlocked.
40421         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40422         fgets_unlocked.
40423         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40424         Remove variable.
40425         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40426         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40427         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40428         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40429         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40430         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40431         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40432         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40433         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40435         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40437 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40440         Remove strpbrk objects.
40441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40442         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40443         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40444         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40445         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40446         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40448         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40449         Remove strcspn objects.
40450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40451         (__libc_ifunc_impl_list): Remove strcspn implementation.
40452         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40453         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40454         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40455         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40457         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40458         Remove strspn objetcs.
40459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40460         (__libc_ifunc_impl_list): Remove strspn implementation.
40461         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40462         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40463         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40464         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40466 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40468         [BZ #17581]
40469         * malloc/hooks.c
40470         (mem2mem_check): Add a terminator to the chain of checking blocks.
40471         (malloc_check_get_size): Use it here.
40472         (mem2chunk_check): Ditto.
40474 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40476         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40477         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40479 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40481         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40483         * nptl/nptl-init.c: Include libc-internal.h.
40484         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40486         * elf/ldconfig.c (search_dir): Expand comment.
40488 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40490         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40491         variable.
40492         (linknamespace-symlist-stdlibs-tests): Likewise.
40493         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40494         instead of $(objpfx)symlist-stdlibs.
40495         (linknamespace-libs-isoc): New variable.
40496         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40497         (linknamespace-libs-ISO): New variable.
40498         (linknamespace-libs-ISO99): Likewise.
40499         (linknamespace-libs-ISO11): Likewise.
40500         (linknamespace-libs-XPG3): Likewise.
40501         (linknamespace-libs-XPG4): Likewise.
40502         (linknamespace-libs-POSIX): Likewise.
40503         (linknamespace-libs-UNIX98): Likewise.
40504         (linknamespace-libs-XOPEN2K): Likewise.
40505         (linknamespace-libs-POSIX2008): Likewise.
40506         (linknamespace-libs-XOPEN2K8): Likewise.
40507         ($(objpfx)symlist-stdlibs): Replace by
40508         $(linknamespace-symlist-stdlibs-tests).  Use
40509         $(linknamespace-libs-$*) as set of libraries.
40510         ($(linknamespace-header-tests)): Update dependencies.  Use
40511         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40512         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40513         * conform/linknamespace.pl: Remove comment about considering
40514         definitions of symbols from irrelevant libraries.
40516 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40518         [BZ #13862]
40519         * elf/dl-tls.c: Include <atomic.h>.
40520         (oom): Remove #ifdef SHARED/#endif.
40521         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40522         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40523         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40524         big enough.
40525         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40526         * nptl/Makefile (tests): Add tst-stack4.
40527         (modules-names): Add tst-stack4mod.
40528         ($(objpfx)tst-stack4): New.
40529         (tst-stack4mod.sos): Likewise.
40530         ($(objpfx)tst-stack4.out): Likewise.
40531         ($(tst-stack4mod.sos)): Likewise.
40532         (clean): Likewise.
40533         * nptl/tst-stack4.c: New file.
40534         * nptl/tst-stack4mod.c: Likewise.
40536 2014-11-27  J. Brown  <jb999@gmx.de>
40538         * sysdeps/x86/bits/string.h: Add recent CPUs.
40540 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40542         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40543         sigblock.
40545         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40546         feof.
40548         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40549         variable.
40551 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40553         * nscd/connections.c: Include libc-internal.h because of macro
40554         usage ignore_value.
40556 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40558         * string/bits/string3.h (__warn_memset_zero_len): Don't
40559         declare for gcc newer than 5.0.
40560         (memset): Don't test for zero-length __LEN for gcc newer than
40561         5.0.
40563 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40565         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40566         size_t for %zu format.
40568         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40569         difference, not %ju.
40571 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40573         * include/libc-internal.h (ignore_value): New macro.
40574         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40575         with ignore_value.
40577         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40578         definition.
40580         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40581         pthread_cleanup_push to void *.
40583         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40584         Undefine.
40586         [BZ #16619]
40587         [BZ #16740]
40588         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40589         instead of 1L << 52.
40591         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40592         * libio/bug-rewind2.c (do_test): Likewise.
40594         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40595         * debug/test-strcpy_chk-ifunc.c: Likewise.
40596         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40597         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40598         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40599         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40600         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40601         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40602         * Rules [$(multi-arch) = no] (tests): Do not filter out
40603         $(tests-ifunc).
40604         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40605         * debug/Makefile (tests-ifunc): Remove variable.
40606         (tests): Do not add $(tests-ifunc).
40607         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40608         (tests): Do not add $(tests-ifunc).
40609         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40610         [TEST_IFUNC]: Remove conditionals.
40611         * string/test-string.h (TEST_IFUNC): Remove macro.
40612         [TEST_IFUNC]: Remove conditionals.
40614         * string/test-strchr.c [!WIDE] (L): New macro.
40615         [WIDE] (L): Likewise.
40616         (check1): Use CHAR instead of char.  Use L on string and character
40617         constants.
40619 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40621         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40622         tests.
40623         * sysdeps/powerpc/bits/atomic.h
40624         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40625         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40626         (atomic_exchange_and_add_acq): Likewise.
40627         (atomic_exchange_and_add_rel): Likewise.
40628         * sysdeps/powerpc/powerpc32/bits/atomic.h
40629         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40630         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40631         * sysdeps/powerpc/powerpc64/bits/atomic.h
40632         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40633         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40635 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40637         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40638         Change synchronization of __sched_fifo_min_prio and
40639         __sched_fifo_max_prio.
40640         * nptl/pthread_mutexattr_getprioceiling.c
40641         (pthread_mutexattr_getprioceiling): Likewise.
40642         * nptl/pthread_mutexattr_setprioceiling.c
40643         (pthread_mutexattr_setprioceiling): Likewise.
40644         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40645         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40646         Likewise.
40648 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40650         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40651         void.
40653 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40655         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40656         third argument const.
40658 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40660         fnmatch: work around GCC compiler warning bug with uninit var
40661         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40662         This works around a bug with x86-64 GCC 4.9.2 and earlier
40663         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40664         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40665         used uninitialized in this function [-Wmaybe-uninitialized]".
40667 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40669         * posix/bug-regex31.c (main): Return RES not 0.
40671 2014-11-25  Anton Blanchard <anton@samba.org>
40673         * sysdeps/powerpc/bits/atomic.h
40674         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40676 2014-11-24  Sterling Augustine  <saugustine@google.com>
40678         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40680 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40682         [BZ #17608]
40683         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40685 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40687         [BZ #17633]
40688         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40689         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40690         variable.
40691         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40692         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40694 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40696         * string/strncpy.c (strncpy): Improve performance by using memset.
40698 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40700         * string/strcpy.c (strcpy):
40701         Improve performance by using strlen and memcpy.
40703 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
40705         * string/strcoll_l.c (get_next_seq): __always_inline.
40706         * string/strcoll_l.c (do_compare): __always_inline.
40708 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40710         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40711         defined.
40712         * include/mqueue.h: Likewise.
40713         * include/stdlib.h: Likewise.
40715         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40716         (get_null_defines): Adjust.
40717         * sunrpc/Makefile: Adjust comment.
40718         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40719         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40720         (CFLAGS-interp.c): Likewise.
40721         (CFLAGS-ldconfig.c): Likewise.
40722         (CPPFLAGS-.os): Likewise.
40723         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40724         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40725         * extra-modules.mk (extra-modules.mk): Likewise.
40726         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40727         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40728         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40729         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40730         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40731         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40732         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40733         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40734         * iconvdata/Makefile (CPPFLAGS): Likewise.
40735         (cpp-srcs-left): Add libof for all iconvdata routines.
40736         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40737         * include/assert.h: Likewise.
40738         * include/ctype.h: Likewise.
40739         * include/errno.h: Likewise.
40740         * include/libc-symbols.h: Likewise.
40741         * include/math.h: Likewise.
40742         * include/netdb.h: Likewise.
40743         * include/resolv.h: Likewise.
40744         * include/stdio.h: Likewise.
40745         * include/stdlib.h: Likewise.
40746         * include/string.h: Likewise.
40747         * include/sys/stat.h: Likewise.
40748         * include/wctype.h: Likewise.
40749         * intl/l10nflist.c: Likewise.
40750         * libidn/idn-stub.c: Likewise.
40751         * libio/libioP.h: Likewise.
40752         * nptl/libc_multiple_threads.c: Likewise.
40753         * nptl/pthreadP.h: Likewise.
40754         * posix/regex_internal.h: Likewise.
40755         * resolv/res_hconf.c: Likewise.
40756         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40757         * sysdeps/arm/memmove.S: Likewise.
40758         * sysdeps/arm/sysdep.h: Likewise.
40759         * sysdeps/generic/_itoa.h: Likewise.
40760         * sysdeps/generic/symbol-hacks.h: Likewise.
40761         * sysdeps/gnu/errlist.awk: Likewise.
40762         * sysdeps/gnu/errlist.c: Likewise.
40763         * sysdeps/i386/i586/memcpy.S: Likewise.
40764         * sysdeps/i386/i586/memset.S: Likewise.
40765         * sysdeps/i386/i686/memcpy.S: Likewise.
40766         * sysdeps/i386/i686/memmove.S: Likewise.
40767         * sysdeps/i386/i686/mempcpy.S: Likewise.
40768         * sysdeps/i386/i686/memset.S: Likewise.
40769         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40770         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40771         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40772         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40773         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40774         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40775         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40776         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40777         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40778         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40779         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40780         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40781         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40782         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40783         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40784         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40785         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40786         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40787         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40788         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40789         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40790         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40791         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40792         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40793         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40795         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40796         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40797         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40798         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40799         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40800         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40802         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40803         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40805         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40806         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40807         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40808         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40809         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40810         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40811         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40812         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40813         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40814         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40815         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40816         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40817         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40818         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40819         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40820         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40821         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40822         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40823         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40824         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40825         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40826         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40827         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40830         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40831         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40832         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40833         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40834         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40835         * sysdeps/posix/closedir.c: Likewise.
40836         * sysdeps/posix/opendir.c: Likewise.
40837         * sysdeps/posix/readdir.c: Likewise.
40838         * sysdeps/posix/rewinddir.c: Likewise.
40839         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40840         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40841         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40842         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40843         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40844         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40845         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40850         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40851         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40852         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40853         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40854         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40855         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40857         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40858         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40859         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40860         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40861         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40862         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40867         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40874         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40875         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40876         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40877         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40878         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40879         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40880         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40881         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40883         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40884         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40885         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40886         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40887         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40888         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40889         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40890         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40891         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40894         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40895         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40896         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40897         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40898         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40899         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40900         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40901         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40902         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40903         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40904         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40905         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40906         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40907         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40908         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40909         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40910         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40911         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40912         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40913         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40914         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40915         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40916         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40917         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40918         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40919         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40921         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40922         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40923         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40924         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40925         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40926         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40927         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40928         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40929         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40930         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40931         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40932         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40935         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40936         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40937         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40938         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40939         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40940         * sysdeps/unix/alpha/sysdep.S: Likewise.
40941         * sysdeps/unix/alpha/sysdep.h: Likewise.
40942         * sysdeps/unix/make-syscalls.sh: Likewise.
40943         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40945         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40946         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40947         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40948         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40949         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40950         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40951         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40952         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40953         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40954         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40956         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40957         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40958         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40959         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40960         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40961         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40962         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40963         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40965         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40966         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40967         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40968         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40969         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40972         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40973         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40974         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40977         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40981         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40982         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40983         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40984         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40985         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40986         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40987         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40990         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40993         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40994         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40995         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40996         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40998         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40999         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41001         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41002         * sysdeps/x86_64/memcpy.S: Likewise.
41003         * sysdeps/x86_64/memmove.c: Likewise.
41004         * sysdeps/x86_64/memset.S: Likewise.
41005         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41006         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41007         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41008         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41009         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41012         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41013         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41014         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41015         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41016         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41017         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41018         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41019         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41020         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41022         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41023         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41024         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41025         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41026         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41027         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41028         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41029         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41030         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41031         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41032         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41033         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41034         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41035         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41036         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41037         * sysdeps/x86_64/strcmp.S: Likewise.
41039         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41041         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41042         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41043         * elf/rtld-Rules: Likewise.
41044         * elf/setup-vdso.h: Likewise.
41045         * include/assert.h: Likewise.
41046         * include/bits/stdlib-float.h: Likewise.
41047         * include/errno.h: Likewise.
41048         * include/sys/stat.h: Likewise.
41049         * include/unistd.h: Likewise.
41050         * sysdeps/aarch64/setjmp.S: Likewise.
41051         * sysdeps/alpha/setjmp.S: Likewise.
41052         * sysdeps/arm/__longjmp.S: Likewise.
41053         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41054         * sysdeps/arm/setjmp.S: Likewise.
41055         * sysdeps/arm/sysdep.h: Likewise.
41056         * sysdeps/generic/_itoa.h: Likewise.
41057         * sysdeps/generic/dl-sysdep.h: Likewise.
41058         * sysdeps/generic/ldsodefs.h: Likewise.
41059         * sysdeps/i386/dl-tls.h: Likewise.
41060         * sysdeps/i386/setjmp.S: Likewise.
41061         * sysdeps/m68k/setjmp.c: Likewise.
41062         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41063         * sysdeps/mach/hurd/opendir.c: Likewise.
41064         * sysdeps/posix/getcwd.c: Likewise.
41065         * sysdeps/posix/opendir.c: Likewise.
41066         * sysdeps/posix/profil.c: Likewise.
41067         * sysdeps/powerpc/dl-procinfo.h: Likewise.
41068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41069         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41070         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41071         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41072         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41074         * sysdeps/s390/dl-tls.h: Likewise.
41075         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41076         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41077         * sysdeps/sh/sh3/setjmp.S: Likewise.
41078         * sysdeps/sh/sh4/setjmp.S: Likewise.
41079         * sysdeps/unix/alpha/sysdep.h: Likewise.
41080         * sysdeps/unix/arm/sysdep.S: Likewise.
41081         * sysdeps/unix/i386/sysdep.S: Likewise.
41082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41083         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41084         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41086         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41087         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41088         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41089         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41090         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41091         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41092         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41094         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41097         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41099         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41100         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41101         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41102         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41105         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41106         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41107         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41109         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41110         * sysdeps/x86_64/setjmp.S: Likewise.
41112         * include/math.h: Use IS_IN instead of IS_IN_libm.
41113         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41125         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41126         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41133         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41134         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41135         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41136         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41137         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41138         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41140         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41141         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41142         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41143         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41144         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41145         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41147         Likewise.
41148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41149         Likewise.
41150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41151         Likewise.
41152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41153         Likewise.
41154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41155         Likewise.
41156         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41157         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41158         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41159         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41160         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41161         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41167         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41168         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41169         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41170         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41171         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41172         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41173         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41174         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41175         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41176         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41177         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41178         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41180         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41182         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41184         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41185         * nptl/pthreadP.h: Likewise.
41186         * nptl_db/structs.def: Likewise.
41187         * sysdeps/arm/sysdep.h: Likewise.
41188         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41189         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41190         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41191         * sysdeps/unix/alpha/sysdep.h: Likewise.
41192         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41194         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41195         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41196         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41197         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41199         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41200         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41201         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41202         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41203         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41204         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41205         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41208         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41210         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41213         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41214         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41215         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41216         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41217         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41219         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41220         * nptl/pthreadP.h: Likewise.
41221         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41222         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41223         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41224         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41225         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41226         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41227         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41228         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41229         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41230         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41231         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41232         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41234         Likewise.
41235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41236         Likewise.
41237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41239         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41242         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41243         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41244         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41246         * dlfcn/dladdr.c: Use IS_IN.
41247         * dlfcn/dladdr1.c: Likewise.
41248         * dlfcn/dlclose.c: Likewise.
41249         * dlfcn/dlerror.c: Likewise.
41250         * dlfcn/dlinfo.c: Likewise.
41251         * dlfcn/dlmopen.c: Likewise.
41252         * dlfcn/dlopen.c: Likewise.
41253         * dlfcn/dlsym.c: Likewise.
41254         * dlfcn/dlvsym.c: Likewise.
41256         * include/ifaddrs.h: Use IS_IN.
41257         * inet/check_pf.c: Likewise.
41258         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41259         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
41261         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
41262         IS_IN_ldconfig.
41263         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
41264         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
41266         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
41267         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
41268         IS_IN (libc).
41270         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
41272         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
41273         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41274         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41275         * include/libc-symbols.h (IS_IN_LIB): New macro.
41276         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41277         * include/netdb.h: Likewise.
41278         * include/stap-probe.h: Remove all uses of IN_LIB.
41280         * Makeconfig (module-cppflags-real): Define MODULE_NAME
41281         instead of IN_MODULE.
41282         * include/libc-symbols.h (IN_MODULE): Define using
41283         MODULE_NAME.
41284         (PASTE_NAME, PASTE_NAME1): New macros.
41285         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41286         of IN_LIB.
41287         (STAP_PROBE_ASM): Likewise.
41289 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41291         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41292         __mach_init in dlopened libc.
41294 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
41296         * sysdeps/arm/preconfigure.ac: Delete EABI check.
41297         * sysdeps/arm/preconfigure: Regenerate.
41299 2014-11-21  Roland McGrath  <roland@hack.frob.com>
41301         * nptl/pthread_create.c (__pthread_create_2_1): Set
41302         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41303         when copying values from IATTR into PD.
41305 2014-11-21  Will Newton  <will.newton@linaro.org>
41306             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
41308         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41309         Refactor inline-asm.  Also add comment.
41311         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
41312         ElfW macro instead of hardcoded Elf64 types.
41313         (la_aarch64_gnu_pltenter): Likewise.
41314         * sysdeps/aarch64/dl-machine.h
41315         (elf_machine_runtime_setup): Use ElfW(Addr).
41317         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41318         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
41319         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41320         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41321         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41322         (R_AARCH64_TLS_DTPMOD64): Rename to ..
41323         (R_AARCH64_TLS_DTPMOD): This.
41324         (R_AARCH64_TLS_DTPREL64): Rename to ...
41325         (R_AARCH64_TLS_DTPREL): This.
41326         (R_AARCH64_TLS_TPREL64): Rename to ...
41327         (R_AARCH64_TLS_TPREL): This.
41328         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41329         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41330         R_AARCH64_TLS_TPREL64.
41331         (elf_machine_rela): Likewise.
41333 2014-11-21  Torvald Riegel  <triegel@redhat.com>
41335         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41336         by setting it to 0.  64b atomics are not supported currently.
41338 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41340         [BZ #16469]
41341         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41342         search domain names.
41344 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41346         [BZ #16469]
41347         * NEWS: Update.
41348         * resolv/res_query.c (__libc_res_nquerydomain): Retain
41349         trailing dot.
41350         * posix/tst-getaddrinfo5.c: New.
41351         * posix/Makefile (tests): Add it.
41353 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41355         [BZ #14498]
41356         * NEWS: Fixed.
41357         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41358         after parsing line but before break_if_match.
41359         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41360         if there is a protocol mismatch.
41362 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41364         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41365         because the potential race is on the user-supplied stream.
41367 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41369         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41370         string literal if not passed a buffer.
41371         * manual/job.texi (ctermid): Update reasoning, note deviation
41372         from posix, suggest mtasurace when not passed a buffer, for
41373         future non-preliminary safety notes.
41375 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41377         * manual/users.texi (cuserid): Fix MT-Safety note for the case
41378         of not passing it a buffer.
41379         Reported by Peng Haitao.
41381 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41383         * manual/Makefile ($(objpfx)stamp-summary): Require
41384         check-safety.sh to pass.
41385         * manual/check-safety.sh: Wish for verification that every
41386         @deftypefn and @deftypefun is followed by a @safety remark.
41388 2014-11-20  Roland McGrath  <roland@hack.frob.com>
41390         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41392         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41393         PTHREAD_CANCEL_ASYNCHRONOUS.
41394         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41395         send SIGCANCEL.
41397         * nptl/default-sched.h: New file.
41398         * sysdeps/unix/sysv/linux/default-sched.h: New file.
41399         * nptl/pthread_create.c: Include it.
41400         (__pthread_create_2_1): Use collect_default_sched instead of making
41401         Linux syscalls here directly.
41403 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41405         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41406         __pthread_once): Use C11 atomics.
41408 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41410         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41412 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41414         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41415         atomic_thread_fence_acquire, atomic_thread_fence_release,
41416         atomic_thread_fence_seq_cst, atomic_load_relaxed,
41417         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41418         atomic_compare_exchange_weak_relaxed,
41419         atomic_compare_exchange_weak_acquire,
41420         atomic_compare_exchange_weak_release,
41421         atomic_exchange_acquire, atomic_exchange_release,
41422         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41423         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41424         atomic_fetch_and_acquire,
41425         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41427 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41429         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41430         USE_ATOMIC_COMPILER_BUILTINS): Define.
41431         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41433         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41435         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41437         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41439         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41441         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41443         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41445         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41447         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41449         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41451         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41453         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41455         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41457         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41459         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41461         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41462         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41463         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41465         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41466         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41467         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41469         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41472 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41474         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41475         the sched_priority value here.  It was already checked when the user
41476         called pthread_attr_setschedparam.
41478         * nptl/tst-bad-schedattr.c: New file.
41479         * nptl/Makefile (tests): Add it.
41481 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41482             Florian Weimer  <fweimer@redhat.com>
41483             Joseph Myers  <joseph@codesourcery.com>
41484             Adam Conrad  <adconrad@0c3.net>
41485             Andreas Schwab  <schwab@suse.de>
41486             Brooks  <bmoses@google.com>
41488         [BZ #17625]
41489         * wordexp-test.c (__dso_handle): Add prototype.
41490         (__register_atfork): Likewise.
41491         (__app_register_atfork): New function.
41492         (registered_forks): New global.
41493         (register_fork): New function.
41494         (test_case): Add 3 new tests for WRDE_CMDSUB.
41495         (main): Call __app_register_atfork.
41496         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41497         fork count is non-zero fail the test.
41498         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41499         is set.
41500         (parse_dollars): Remove check for WRDE_NOCMD.
41501         (parse_dquote): Likewise.
41503 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41505         * Makeconfig (built-modules): List non-library modules to be
41506         built.
41507         (module-cppflags): Include libc-modules.h for
41508         everything except shlib-versions.v.i.
41509         (CPPFLAGS): Use it.
41510         (before-compile): Add libc-modules.h.
41511         ($(common-objpfx)libc-modules.h,
41512         $(common-objpfx)libc-modules.stmp): New targets.
41513         (common-generated): Add libc-modules.h and libc-modules.stmp.
41514         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41515         * include/libc-symbols.h: Don't include libc-modules.h.
41516         * include/libc-modules.h: Remove file.
41517         * scripts/gen-libc-modules.awk: New script to generate
41518         libc-modules.h.
41519         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41520         Depend on libc-modules.stmp.
41522         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41524         * Makeconfig (in-module): Get value of libof set for the
41525         translation unit.
41526         (CPPFLAGS): Use $(in-module).
41527         * Makerules: Don't suffix routine names for nonlib.
41528         * include/libc-modules.h: New file.
41529         * include/libc-symbols.h: Include libc-modules.h
41530         (IS_IN): New macro to replace IS_IN_* macros.
41531         * elf/Makefile: Set libof-* for each routine.
41532         * elf/rtld-Rules: Likewise.
41533         * extra-modules.mk: Likewise.
41534         * iconv/Makefile: Likewise.
41535         * iconvdata/Makefile: Likewise.
41536         * locale/Makefile: Likewise.
41537         * malloc/Makefile: Likewise.
41538         * nss/Makefile: Likewise.
41539         * sysdeps/gnu/Makefile: Likewise.
41540         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41541         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41542         * sysdeps/s390/s390-64/Makefile: Likewise.
41543         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41544         CPPFLAGS for nscd instead of nonlib.
41546 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41548         * nptl/createthread.c: New file.
41550         * nptl/createthread.c: Moved ...
41551         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41553         * nptl/createthread.c: Add proper top-line comment.
41554         (do_clone): Folded into ...
41555         (create_thread): ... here.  Take new arguments STOPPED_START and
41556         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41557         increment __nptl_threads, do event-reporting logic, do
41558         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41559         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41560         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41561         just send SIGCANCEL.
41562         * nptl/pthread_create.c: Forward-declare create_thread before
41563         including createthread.c.
41564         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41565         declaration, and new macro START_THREAD_SELF to replace argument.
41566         Remove return statement.
41567         (report_thread_creation): New function.
41568         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41569         synchronization logic, and __nptl_nthreads increment here, around
41570         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41571         PD->parent_cancelhandling here, before create_thread.  When
41572         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41573         __deallocate_stack, and ENOMEM translation here.
41575 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41577         [BZ #17616]
41578         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41579         (mptwo): Rename to __mptwo.
41580         (__inv): Use __mptwo instead of mptwo.
41581         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41582         (mptwo): Rename to __mptwo.
41583         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41584         of mpone and __mptwo instead of mptwo.
41585         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41586         instead of mpone.
41587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41588         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41589         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41590         of mpone and __mptwo instead of mptwo.
41591         (__mpranred): Use __mpone instead of mpone.
41592         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41593         variable.
41594         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41595         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41596         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41597         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41598         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41599         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41600         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41601         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41602         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41603         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41604         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41605         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41606         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41607         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41608         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41609         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41610         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41611         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41612         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41614 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41616         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41617         replace BSD Handler xref with BSD Signal Handling.
41619 2014-11-17  Richard Henderson  <rth@redhat.com>
41621         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41622         (_FP_PACK_RAW_2): Remove.
41623         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41624         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41625         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41626         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41627         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41628         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41629         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41630         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41631         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41632         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41633         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41634         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41635         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41636         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41637         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41638         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41640 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41642         * signal/signal.h [__USE_MISC]
41643         (struct sigvec): Remove type.
41644         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41645         (sigvec): Remove declaration.
41646         * sysdeps/posix/sigvec.c: Moved ...
41647         * signal/sigvec.c: ... here, replacing old file.
41648         (struct sigvec): New type, copied from old signal.h definition.
41649         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41650         (__sigvec): Convert definition to prototype.
41651         (sigvec): Replace weak_alias with compat_symbol.
41652         * signal/Versions (libc: GLIBC_2.21): New version set.
41653         * include/signal.h: Remove __sigvec declaration.
41654         * sysdeps/unix/bsd/sigvec.c: Remove file.
41655         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41656         * manual/signal.texi (BSD Handler): Remove subsection.
41657         Move siginterrupt up to ...
41658         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41659         (Blocking in BSD): Fold subsection into its parent.
41660         * NEWS: Mention sigvec removal.
41662 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41664         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41665         (DLA_FMS): Make definition conditional only on [__FMA4__].
41666         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41667         definition.
41669         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41670         Make definition conditional only on [PROF].
41671         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41672         definition.
41673         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41674         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41676         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41677         !__GNUC__].
41678         * include/signal.h (__sigpause): Move declaration above call to
41679         libc_hidden_proto.
41680         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41681         variable.
41682         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41683         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41685 2014-11-14  David S. Miller  <davem@davemloft.net>
41687         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41688         Define before including <string/memcpy.c> and <string/mempcpy.c>.
41690 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41692         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41693         * configure: Regenerated.
41694         * manual/install.texi (Tools for Compilation): Document a
41695         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41696         compiler verified to work.
41697         * INSTALL: Regenerated.
41699         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41700         redeclare with asm name.
41701         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41702         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41703         including <string.h>.
41704         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41705         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41706         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41707         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41708         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41710         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41712 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
41714         * stdlib/strtol.c (__strtol): Use prototype definition.
41716         [BZ #17594]
41717         * stdlib/strtol.c (SYM__): New macro.
41718         (SYM__1): Likewise.
41719         (__strtol): Likewise.
41720         (strtol): Rename to __strtol and define as weak alias of
41721         __strtol.  Use libc_hidden_weak.
41723 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41725         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41726         Use numbered labels in inline assembly.
41728 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41730         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41731         Add setjmp LIBC_PROBE.
41732         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41733         Likewise.
41734         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41735         Add longjmp, longjmp_target LIBC_PROBE.
41736         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41737         Likewise.
41739 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41741         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41742         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41743         to get rid of unused variable warning.
41745 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41747         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41748         Check for unwind_backtrace ==  NULL only in SHARED case.
41749         (__backchain_backtrace): Compile only in SHARED case.
41750         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41751         Likewise.
41752         (__backchain_backtrace): Declare as static.
41754 2014-11-12  Roland McGrath  <roland@hack.frob.com>
41756         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41757         (__libc_multiple_threads_ptr): Variable moved ...
41758         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41760 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
41762         * conform/GlibcConform.pm: New file.
41763         * conform/conformtest.pl: Use GlibcConform module.
41764         * conform/linknamespace.pl: New file.
41765         * conform/list-header-symbols.pl: Likewise.
41766         * conform/Makefile (linknamespace-symlists-base): New variable.
41767         (linknamespace-symlists-tests): Likewise.
41768         (linknamespace-header-base): Likewise.
41769         (linknamespace-header-tests): Likewise.
41770         (tests-special): Add new tests.
41771         ($(linknamespace-symlists-tests)): New rule.
41772         (linknamespace-libs): New variable.
41773         ($(objpfx)symlist-stdlibs): New rule.
41774         ($(linknamespace-header-tests)): Likewise.
41775         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41776         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41777         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41778         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41779         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41780         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41781         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41782         (test-xfail-ISO/math.h/linknamespace): Likewise.
41783         (test-xfail-ISO/signal.h/linknamespace): Likewise.
41784         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41785         (test-xfail-ISO/time.h/linknamespace): Likewise.
41786         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41787         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41788         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41789         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41790         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41791         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41792         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41793         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41794         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41795         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41796         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41797         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41798         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41799         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41800         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41801         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41802         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41803         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41804         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41805         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41806         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41807         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41808         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41809         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41810         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41811         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41812         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41813         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41814         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41815         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41816         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41817         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41818         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41819         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41820         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41821         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41822         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41823         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41824         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41825         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41826         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41827         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41828         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41829         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41830         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41831         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41832         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41833         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41834         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41835         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41836         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41837         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41838         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41839         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41840         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41841         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41842         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41843         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41844         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41845         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41846         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41847         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41848         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41849         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41850         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41851         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41852         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41853         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41854         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41855         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41856         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41857         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41858         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41859         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41860         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41861         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41862         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41863         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41864         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41865         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41866         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41867         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41868         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41869         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41870         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41871         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41872         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41873         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41874         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41875         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41876         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41877         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41878         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41879         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41880         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41881         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41882         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41883         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41884         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41885         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41886         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41887         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41888         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41889         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41890         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41891         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41892         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41893         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41894         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41895         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41896         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41897         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41898         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41899         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41900         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41901         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41902         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41903         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41904         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41905         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41906         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41907         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41908         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41909         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41910         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41911         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41912         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41913         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41914         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41915         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41916         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41917         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41918         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41919         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41920         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41921         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41922         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41923         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41924         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41925         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41926         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41927         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41928         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41929         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41930         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41931         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41932         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41933         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41934         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41935         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41937         [BZ #17589]
41938         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41939         of fgets_unlocked.
41941         [BZ #17585]
41942         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41943         (memmem): Rename to __memmem and define as weak alias of
41944         __memmem.  Use libc_hidden_weak.
41945         (__memmem): Use libc_hidden_def.
41946         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41947         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41948         memmem.
41950         [BZ #17582]
41951         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41952         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41953         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41954         and define as weak alias of __fgets_unlocked.  Use
41955         libc_hidden_weak.
41956         (__fgets_unlocked): Use libc_hidden_def.
41957         * include/stdio.h (__fgets_unlocked): Declare.  Use
41958         libc_hidden_proto.
41959         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41960         __fgets_unlocked instead of fgets_unlocked.
41961         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41962         (GET_NPROCS_CONF_PARSER): Likewise.
41963         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41964         (GET_NPROCS_CONF_PARSER): Likewise.
41966         [BZ #17574]
41967         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41968         weak alias of __wmemset.  Use libc_hidden_weak.
41969         (__wmemset): Use libc_hidden_def.
41970         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41971         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41972         of wmemset.
41974         [BZ #17573]
41975         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41976         with asm name __mempcpy.
41977         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41979         [BZ #17572]
41980         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41981         and define as weak alias of __rawmemchr.
41982         (__rawmemchr): Do not define as strong alias of rawmemchr.
41984         [BZ #17571]
41985         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41986         alias of __qsort_r.
41987         (qsort): Call __qsort_r instead of qsort_r.
41988         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41989         (__qsort_r): Declare.  Call libc_hidden_proto.
41990         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41991         instead of qsort_r.
41992         * nscd/gai.c (__qsort_r): Define to qsort_r.
41993         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41994         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41995         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41997         [BZ #17570]
41998         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41999         define as weak alias of __malloc_info.
42001         [BZ #17584]
42002         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42003         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42004         (__rewinddir): Use libc_hidden_def.
42005         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42006         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42007         (__rewinddir): Use libc_hidden_def.
42008         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42009         weak alias of __rewinddir.  Don't use libc_hidden_def.
42010         (__rewinddir): Use libc_hidden_def.
42011         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42012         (__rewinddir): Use libc_hidden_proto.
42013         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42014         rewinddir.
42015         (__getcwd): Use __rewinddir instead of rewinddir.
42017         [BZ #17583]
42018         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42019         alias of __fileno.  Use libc_hidden_weak.
42020         (__fileno): Use libc_hidden_def.
42021         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42022         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42023         alias of __ftello.
42024         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42025         __ftello.
42026         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42027         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42028         libc_hidden_def.
42029         (fread_unlocked): Don't use libc_hidden_ver.
42030         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42031         and define as weak alias of __fread_unlocked.  Don't use
42032         libc_hidden_def.
42033         (__fread_unlocked): Use libc_hidden_def.
42034         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42035         (ftello): Don't use libc_hidden_proto.
42036         (__ftello): Declare.  Use libc_hidden_proto.
42037         (fread_unlocked): Don't use libc_hidden_proto.
42038         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42039         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42040         and __ftello instead of fileno, fread_unlocked and ftello.
42042 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42044         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42045         GOT12.
42046         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42047         Likewise.
42048         (_dl_start_user): Likewise.
42049         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42051 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
42052             Siddhesh Poyarekar  <siddhesh@redhat.com>
42054         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42055         Move argv and envp down instead of moving argc up.
42056         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42058 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
42060         [BZ #17506]
42061         * test-skeleton.c (main): Return successful if one of
42062         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42063         * string/tst-strcoll-overflow.c: Define expected status.
42065 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
42067         [BZ #17475]
42068         * locale/iso-639.def: Define Bhili and Tulu language codes.
42070 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
42072         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42074 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
42076         [BZ #17555]
42077         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42079 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
42081         * configure.ac: Updated check of minimal required version to
42082         2.22.
42083         * manual/install.texi (Tools for Compilation): Updated version
42084         number.
42085         * configure: Regenerated.
42086         * INSTALL: Likewise.
42088 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
42090         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42091         __tls_get_addr.
42093 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
42095         * include/sys/wait.h (__libc_waitpid): Remove declaration.
42096         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42097         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42098         libc_hidden_weak.
42099         (waitpid): Define as alias of __waitpid.
42100         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42101         __waitpid.
42102         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42103         libc_hidden_weak.
42104         (waitpid): Define as alias of __waitpid.
42105         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42106         __libc_waitpid alias.
42107         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42108         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42109         Likewise.
42110         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42111         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42112         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42113         alias.
42114         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42115         __waitpid.
42116         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42117         libc_hidden_weak.
42118         (waitpid): Define as alias of __waitpid.
42120 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
42122         * manual/llio.texi: Add comment that write safety has been
42123         fixed in Linux.
42125         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42126         (localplt-build-dso): Add elf/ld.so.
42127         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42128         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42129         and free for ld.so.
42130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42131         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42133         Likewise.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42135         Likewise.
42136         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42137         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42138         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42139         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42140         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42141         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42142         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42143         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42144         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42145         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42146         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42148 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
42150         [BZ #14132]
42151         * include/libc-symbols.h (INTUSE): Remove macro.
42152         (INTDEF): Likewise.
42153         (INTVARDEF): Likewise.
42154         (_INTVARDEF): Likewise.
42155         (INTDEF2): Likewise.
42156         (INTVARDEF2): Likewise.
42157         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42158         rtld_hidden_def instead of INTVARDEF.
42159         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42160         (_dl_starting_up_internal): Remove declaration.
42161         (_dl_starting_up): Use rtld_hidden_proto.
42162         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42163         declaration.
42164         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42165         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42166         _dl_starting_up.
42167         * elf/dl-writev.h (_dl_writev): Likewise.
42168         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42169         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42170         _dl_starting_up_internal.
42172 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42174         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42175         test-skeleton.c.
42177 2014-11-05  Will Newton  <will.newton@linaro.org>
42179         * benchtests/Makefile: (bench-malloc): Add malloc thread
42180         scalability benchmark.
42181         * benchtests/bench-malloc-threads.c: New file.
42183 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
42185         * sysdeps/aarch64/strchrnul.S: New file.
42187 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42189         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42190         definition.
42191         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42192         Likewise.
42193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42194         Likewise.
42195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42196         Likewise.
42197         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42198         Likewise.
42199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42200         Likewise.
42202 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
42204         * catgets/test-gencat.c: Use test-skeleton.c.
42205         * catgets/tst-catgets.c: Likewise.
42206         * csu/tst-empty.c: Likewise.
42207         * elf/tst-audit2.c: Likewise.
42208         * elf/tst-global1.c: Likewise.
42209         * elf/tst-pathopt.c: Likewise.
42210         * elf/tst-piemod1.c: Likewise.
42211         * elf/tst-tls10.c: Likewise.
42212         * elf/tst-tls11.c: Likewise.
42213         * elf/tst-tls12.c: Likewise.
42214         * gnulib/tst-gcc.c: Likewise.
42215         * iconvdata/tst-e2big.c: Likewise.
42216         * iconvdata/tst-loading.c: Likewise.
42217         * iconv/tst-iconv1.c: Likewise.
42218         * iconv/tst-iconv2.c: Likewise.
42219         * inet/test-inet6_opt.c: Likewise.
42220         * inet/tst-gethnm.c: Likewise.
42221         * inet/tst-network.c: Likewise.
42222         * inet/tst-ntoa.c: Likewise.
42223         * intl/tst-codeset.c: Likewise.
42224         * intl/tst-gettext2.c: Likewise.
42225         * intl/tst-gettext3.c: Likewise.
42226         * intl/tst-ngettext.c: Likewise.
42227         * intl/tst-translit.c: Likewise.
42228         * io/test-stat.c: Likewise.
42229         * libio/test-fmemopen.c: Likewise.
42230         * libio/tst-freopen.c: Likewise.
42231         * libio/tst-sscanf.c: Likewise.
42232         * libio/tst-ungetwc1.c: Likewise.
42233         * libio/tst-ungetwc2.c: Likewise.
42234         * libio/tst-widetext.c: Likewise.
42235         * localedata/tst-ctype.c: Likewise.
42236         * localedata/tst-digits.c: Likewise.
42237         * localedata/tst-leaks.c: Likewise.
42238         * localedata/tst-mbswcs1.c: Likewise.
42239         * localedata/tst-mbswcs2.c: Likewise.
42240         * localedata/tst-mbswcs3.c: Likewise.
42241         * localedata/tst-mbswcs4.c: Likewise.
42242         * localedata/tst-mbswcs5.c: Likewise.
42243         * localedata/tst-setlocale.c: Likewise.
42244         * localedata/tst-trans.c: Likewise.
42245         * localedata/tst-wctype.c: Likewise.
42246         * localedata/tst-xlocale1.c: Likewise.
42247         * login/tst-grantpt.c: Likewise.
42248         * malloc/tst-calloc.c: Likewise.
42249         * malloc/tst-malloc.c: Likewise.
42250         * malloc/tst-mallocstate.c: Likewise.
42251         * malloc/tst-mcheck.c: Likewise.
42252         * malloc/tst-mtrace.c: Likewise.
42253         * malloc/tst-obstack.c: Likewise.
42254         * math/atest-exp2.c: Likewise.
42255         * math/atest-exp.c: Likewise.
42256         * math/atest-sincos.c: Likewise.
42257         * math/test-matherr.c: Likewise.
42258         * math/test-misc.c: Likewise.
42259         * math/test-powl.c: Likewise.
42260         * math/tst-definitions.c: Likewise.
42261         * misc/tst-dirname.c: Likewise.
42262         * misc/tst-efgcvt.c: Likewise.
42263         * misc/tst-fdset.c: Likewise.
42264         * misc/tst-hsearch.c: Likewise.
42265         * misc/tst-mntent2.c: Likewise.
42266         * nptl/tst-sem7.c: Likewise.
42267         * nptl/tst-sem8.c: Likewise.
42268         * nptl/tst-sem9.c: Likewise.
42269         * nss/test-netdb.c: Likewise.
42270         * posix/tst-fnmatch.c: Likewise.
42271         * posix/tst-getlogin.c: Likewise.
42272         * posix/tst-gnuglob.c: Likewise.
42273         * posix/tst-mmap.c: Likewise.
42274         * pwd/tst-getpw.c: Likewise.
42275         * resolv/tst-inet_ntop.c: Likewise.
42276         * rt/tst-timer.c: Likewise.
42277         * stdio-common/test-fseek.c: Likewise.
42278         * stdio-common/test-popen.c: Likewise.
42279         * stdio-common/test-vfprintf.c: Likewise.
42280         * stdio-common/tst-cookie.c: Likewise.
42281         * stdio-common/tst-fileno.c: Likewise.
42282         * stdio-common/tst-gets.c: Likewise.
42283         * stdio-common/tst-obprintf.c: Likewise.
42284         * stdio-common/tst-perror.c: Likewise.
42285         * stdio-common/tst-sprintf2.c: Likewise.
42286         * stdio-common/tst-sprintf3.c: Likewise.
42287         * stdio-common/tst-sprintf.c: Likewise.
42288         * stdio-common/tst-swprintf.c: Likewise.
42289         * stdio-common/tst-tmpnam.c: Likewise.
42290         * stdio-common/tst-unbputc.c: Likewise.
42291         * stdio-common/tst-wc-printf.c: Likewise.
42292         * stdlib/tst-environ.c: Likewise.
42293         * stdlib/tst-fmtmsg.c: Likewise.
42294         * stdlib/tst-limits.c: Likewise.
42295         * stdlib/tst-rand48-2.c: Likewise.
42296         * stdlib/tst-rand48.c: Likewise.
42297         * stdlib/tst-random2.c: Likewise.
42298         * stdlib/tst-random.c: Likewise.
42299         * stdlib/tst-strtol.c: Likewise.
42300         * stdlib/tst-strtoll.c: Likewise.
42301         * stdlib/tst-tls-atexit.c: Likewise.
42302         * stdlib/tst-xpg-basename.c: Likewise.
42303         * string/test-ffs.c: Likewise.
42304         * string/tst-bswap.c: Likewise.
42305         * string/tst-inlcall.c: Likewise.
42306         * string/tst-strtok.c: Likewise.
42307         * string/tst-strxfrm.c: Likewise.
42308         * sysdeps/x86_64/tst-audit10.c: Likewise.
42309         * sysdeps/x86_64/tst-audit3.c: Likewise.
42310         * sysdeps/x86_64/tst-audit4.c: Likewise.
42311         * sysdeps/x86_64/tst-audit5.c: Likewise.
42312         * time/tst-ftime_l.c: Likewise.
42313         * time/tst-getdate.c: Likewise.
42314         * time/tst-mktime3.c: Likewise.
42315         * time/tst-mktime.c: Likewise.
42316         * time/tst-posixtz.c: Likewise.
42317         * time/tst-strptime2.c: Likewise.
42318         * time/tst-strptime3.c: Likewise.
42319         * wcsmbs/tst-btowc.c: Likewise.
42320         * wcsmbs/tst-mbrtowc.c: Likewise.
42321         * wcsmbs/tst-mbsrtowcs.c: Likewise.
42322         * wcsmbs/tst-wchar-h.c: Likewise.
42323         * wcsmbs/tst-wcpncpy.c: Likewise.
42324         * wcsmbs/tst-wcrtomb.c: Likewise.
42325         * wcsmbs/tst-wcsnlen.c: Likewise.
42326         * wcsmbs/tst-wcstof.c: Likewise.
42328 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
42330         [BZ #14132]
42331         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42332         INTDEF.
42333         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42334         declaration.
42335         (_dl_mcount): Use rtld_hidden_proto.
42336         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42337         _dl_mcount.
42338         * elf/rtld.c (_rtld_global_ro): Likewise.
42340         [BZ #14132]
42341         * elf/dl-init.c (_dl_init): Don't use INTDEF.
42342         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42343         of _dl_init_internal.
42344         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42345         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42346         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42347         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42348         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42349         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42350         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42351         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42352         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42353         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42354         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42355         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42356         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42357         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42358         * sysdeps/tile/dl-start.S (_start): Likewise.
42359         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42360         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42362         [BZ #14132]
42363         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42364         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42365         (rtld_progname): Make macro definition unconditional.
42366         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42367         INTDEF.
42368         (dlmopen_doit): Do not use INTUSE with _dl_argv.
42369         (dl_main): Likewise.
42370         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42371         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42372         instead of _dl_argv_internal.
42373         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42374         __GI__dl_argv instead of INTUSE(_dl_argv).
42375         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42376         __GI__dl_argv instead of _dl_argv_internal.
42378         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42379         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42380         macro.
42381         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42382         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42383         New macro.
42384         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42385         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42386         macro.
42387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42388         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42390 2014-11-04  Andreas Schwab  <schwab@suse.de>
42392         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42394 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42396         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42397         mtvsrd instruction in binary form.
42399 2014-11-03  Andreas Schwab  <schwab@suse.de>
42401         [BZ #17522]
42402         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42403         for less than MB_LEN_MAX use a local buffer of that size.
42404         * libio/tst-fputws.c: New file.
42405         * libio/Makefile (tests): Add tst-fputws.
42407 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
42409         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42410         the size of the fpu_fr.fpu_dregs[] array.
42412 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
42414         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42415         (__nanosleep): Do not define as alias.
42416         (nanosleep): Define as alias of __nanosleep.
42417         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42418         __libc_nanosleep name.
42420 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42422         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42423         install.texi in comment.
42425 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42427         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42428         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42429         ... add here and use lwsync or sync ...
42430         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42431         ... and add here using lwsync.
42433 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42435         * elf/dl-machine-reject-phdr.h: New file.
42436         * elf/dl-load.c: #include that.
42437         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42438         if that returned true.
42440 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42442         [BZ #17496]
42443         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42444         gen-as-const-headers chunk.  Add a big scare comment after the last
42445         safe place to touch before-compile.
42447 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42449         * manual/install.texi (Tools for Compilation): Update autoconf
42450         version requirements.
42451         * INSTALL: Regenerated.
42453         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42454         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42455         (__libc_pselect): Likewise.
42457         [BZ #14138]
42458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42463 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42465         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42466         correct barrier instruction.
42467         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42468         Likewise.
42469         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42470         Likewise.
42472 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42474         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42475         after defining inlines.  Instead, just use parens to defeat macro
42476         expansion of __isctype in its declaration.
42478 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42480         * include/sys/uio.h (__libc_readv): Remove declaration.
42481         (__libc_writev): Likewise.
42482         * misc/readv.c (__libc_readv): Rename to __readv.
42483         (__readv): Do not define as alias.
42484         (readv): Define as alias of __readv.
42485         * misc/writev.c (__libc_writev): Rename to __writev.
42486         (__writev): Do not define as alias.
42487         (writev): Define as alias of __writev.
42488         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42489         (__readv): Do not define as alias.
42490         (readv): Define unconditionally as alias of __readv.
42491         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42492         (__writev): Do not define as alias.
42493         (writev): Define unconditionally as alias of __writev.
42494         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42495         name.
42496         (writev): Do not define __libc_writev name.
42498 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42500         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42501         (convert_charseq): New function, broken out of ...
42502         (use_from_charmap): ... here.  Call it.
42503         (use_to_charmap): Use convert_charseq and free instead of duplicating
42504         its code with a variable-length stack struct.
42506 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42508         * include/fcntl.h (__libc_creat): Remove declaration.
42509         * io/creat.c (__libc_creat): Rename to creat.
42510         (creat): Do not define as alias.
42511         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42512         of creat instead of __libc_creat.
42513         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42514         to creat.
42515         (creat): Do not define as alias.
42516         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42517         __libc_creat.
42518         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42519         __libc_creat name.
42520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42521         Likewise.
42523 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42525         * manual/llio.texi: Add comments discussing why write() may be
42526         considered MT-unsafe on Linux.
42528 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42530         * dl-load.c (local_strdup): Remove.
42531         (expand_dynamic_string_token): Use __strdup.
42532         (decompose_rpath): Likewise.
42533         (_dl_map_object): Likewise.
42535 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42537         [BZ #14132]
42538         * sysdeps/generic/unwind-dw2-fde.c
42539         (__register_frame_info_bases_internal): Do not declare.
42540         (__register_frame_info_table_bases_internal): Likewise.
42541         (__deregister_frame_info_bases_internal): Likewise.
42542         (__register_frame_info_bases): Declare and use hidden_proto before
42543         definition.  Use hidden_def instead of INTDEF.
42544         (__register_frame_info_table_bases): Likewise.
42545         (__deregister_frame_info_bases): Likewise.
42546         (__register_frame_info): Do not use INTUSE.
42547         (__register_frame): Likewise.
42548         (__register_frame_info_table): Likewise.
42549         (__register_frame_table): Likewise.
42550         (__deregister_frame_info): Likewise.
42551         (__deregister_frame): Likewise.
42553 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42556         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42557         not undefine.
42558         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42559         Likewise.
42560         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42561         Likewise.
42563 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42565         [BZ #14138]
42566         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42567         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42568         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42569         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42570         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42571         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42572         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42573         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42574         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42575         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42576         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42577         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42578         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42579         syscall.
42580         (setfsuid): Likewise.
42581         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42582         (setfsuid): Likewise.
42583         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42584         (setfsuid): Likewise.
42585         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42586         Likewise.
42587         (setfsuid): Likewise.
42588         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42589         (setfsuid): Likewise.
42590         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42591         Likewise.
42592         (setfsuid): Likewise.
42594 2014-10-27  Andreas Schwab  <schwab@suse.de>
42596         [BZ #17501]
42597         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42598         check for Slow_SSE4_2 feature bit.
42599         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42600         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42601         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42602         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42604 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42606         * configure.ac: Validate compiler version with a empirical test of
42607         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42608         $CC -v output.
42609         * configure: Regenerated.
42611         * inet/htons.c (htons): Prototypify.
42612         * inet/htonl.c (htonl): Likewise.
42614 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42616         * string/strncat.c (strncat): Improve performance by using strlen.
42618 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42620         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42622 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42624         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42625         Call libc_fetestexcept_aarch64.
42627 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42629         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42630         Call libc_feholdexcept_aarch64.
42632 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42634         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42635         Call get_rounding_mode.
42637 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42639         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42640         Simplify logic.
42642 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42644         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42645         Simplify logic.
42647 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42649         [BZ #14138]
42650         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42651         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42652         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42653         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42654         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42655         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42656         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42657         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42658         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42659         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42660         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42661         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42662         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42663         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42664         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42665         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42666         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42667         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42668         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42669         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42670         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42671         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42672         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42673         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42674         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42675         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42676         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42677         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42678         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42679         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42680         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42681         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42682         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42683         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42684         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42685         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42686         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42687         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42688         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42689         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42690         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42691         syscall.
42692         (geteuid): Likewise.
42693         (getgid): Likewise.
42694         (getuid): Likewise.
42695         (getresgid): Likewise.
42696         (getresuid): Likewise.
42697         (getgroups): Likewise.
42698         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42699         (geteuid): Likewise.
42700         (getgid): Likewise.
42701         (getuid): Likewise.
42702         (getresgid): Likewise.
42703         (getresuid): Likewise.
42704         (getgroups): Likewise.
42705         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42706         (geteuid): Likewise.
42707         (getgid): Likewise.
42708         (getuid): Likewise.
42709         (getresgid): Likewise.
42710         (getresuid): Likewise.
42711         (getgroups): Likewise.
42712         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42713         Likewise.
42714         (geteuid): Likewise.
42715         (getgid): Likewise.
42716         (getuid): Likewise.
42717         (getresgid): Likewise.
42718         (getresuid): Likewise.
42719         (getgroups): Likewise.
42720         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42721         (geteuid): Likewise.
42722         (getgid): Likewise.
42723         (getuid): Likewise.
42724         (getresgid): Likewise.
42725         (getresuid): Likewise.
42726         (getgroups): Likewise.
42727         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42728         Likewise.
42729         (geteuid): Likewise.
42730         (getgid): Likewise.
42731         (getuid): Likewise.
42732         (getgroups): Likewise.
42734         [BZ #14138]
42735         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42736         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42737         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42738         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42739         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42740         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42741         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42742         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42743         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42744         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42745         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42746         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42747         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42748         __chown.
42749         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42750         (lchown): Likewise.
42751         (fchown): Likewise.
42752         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42753         Likewise.
42754         (lchown): Likewise.
42755         (fchown): Likewise.
42756         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42757         (lchown): Likewise.
42758         (fchown): Likewise.
42759         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42760         Likewise.
42761         (lchown): Likewise.
42762         (fchown): Likewise.
42764 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42766         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42767         Simplify logic.
42769 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42771         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42772         Cleanup logic.
42774 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42776         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42777         Remove unused include.
42779 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42781         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42782         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42783         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42784         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42786 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
42787             Helge Deller <deller@gmx.de>
42789         [BZ #17508]
42790         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42791         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42792         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42794 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
42796         [BZ #14132]
42797         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42798         Remove macro definition.
42799         (__ashrdi3_v_glibc20): Likewise.
42800         (__lshrdi3_v_glibc20): Likewise.
42801         (__cmpdi2_v_glibc20): Likewise.
42802         (__ucmpdi2_v_glibc20): Likewise.
42803         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42804         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42805         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42806         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42807         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42808         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42810 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42812         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42813         old GNU extension [0] syntax.
42814         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42815         alloca rather than an array member with variable length.
42816         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42817         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42818         (parse_opt): ... here.  Likewise use alloca there.
42819         Validate the -i argument before checking for rootness.
42820         (send_shutdown): New function, broken out of ...
42821         (parse_opt): ... here.
42823 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42825         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42826         macro to get at the _rt_local_ro field.
42827         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42828         ([PIC] case) or _dl_hwcap ([!PIC] case).
42829         * sysdeps/arm/setjmp.S: Likewise.
42831         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42832         * sysdeps/arm/configure.ac: New check to define it.
42833         * sysdeps/arm/configure: Regenerated.
42834         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42835         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42836         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42837         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42838         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42839         Use move/movt pair instead of a load.
42840         (LDST_GLOBAL): Macro removed.
42841         (LDR_GLOBAL): New macro replaces it.
42842         (LDR_HIDDEN): New macro.
42843         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42844         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42846         * setjmp/tst-setjmp-static.c: New file.
42847         * setjmp/Makefile (tests): Add it.
42848         (tests-static): New variable.
42850 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42852         [BZ #17485]
42853         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42855 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42857         [BZ #14132]
42858         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42860 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42862         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42864 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42866         * io/fts.c (dirent_not_directory): New function.
42867         (fts_build): Call it.
42869 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42871         * nptl/version.c (__nptl_main): Use normal __write rather than
42872         INTERNAL_SYSCALL.
42873         (banner): Update copyright years.
42875         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42876         gettimeofday.
42877         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42878         * nptl/pthread_cond_timedwait.c: Likewise.
42879         * nptl/pthread_mutex_timedlock.c: Likewise.
42880         * nptl/sem_timedwait.c: Likewise.
42882         * sysdeps/nptl/bits/libc-lock.h
42883         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42884         (__libc_lock_init_recursive): Return void, not 0.
42885         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42886         (__libc_rwlock_init): Likewise.
42887         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42889 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42891         [BZ #15215]
42892         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42893         (__pthread_once_slow): ... here.
42894         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42895         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42897 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42899         [BZ #15215]
42900         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42901         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42902         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42903         * nptl/pthread_once.c (__pthread_once): Likewise.
42904         Update comments.
42906 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42908         [BZ #14138]
42909         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42910         name.
42911         (writev): Use __libc_writev as strong name.
42912         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42913         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42915 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42917         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42919         * sysdeps/i386/nptl/tls.h
42920         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42921         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42922         New macros.
42923         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42924         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42925         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42926         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42927         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42928         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42930         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42931         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42932         on [__NR_futex].
42933         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42934         broken out of ...
42935         (__pthread_mutex_init): ... here.  Call it.
42936         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42937         Conditionalize PI cases on [__NR_futex].
42938         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42939         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42940         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42942         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42943         conditional on [SIGSETXID].
42944         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42945         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42946         is defined.  Likewise for SIGSETXID.
42947         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42948         Conditionalize definitions on [SIGSETXID].
42949         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42950         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42951         unblocking on [SIGCANCEL].
42953         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42954         [__NR_set_robust_list].
42956 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42958         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42959         (do_compare): Likewise.
42961 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42963         [BZ #15884]
42964         * string/strcoll_l.c: Don't include stdio.h.
42965         (coll_seq): Remove members idxarr and rulearr.
42966         (get_next_seq_cached): Remove function.
42967         (get_next_seq): Likewise.
42968         (get_next_seq_nocache): Rename to get_next_seq.
42969         (do_compare): Remove function.
42970         (do_compare_nocache): Rename to do_compare.
42971         (STRCOLL): Remove weight and rules cache.
42973 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42975         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42976         * sysdeps/arm/sfp-machine.h: ... to here.
42977         * sysdeps/arm/Implies: Remove arm/soft-fp.
42979 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42981         * conform/data/sys/utsname.h-data (*_t): Allow.
42982         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42983         [POSIX] (WEXITED): Do not expect constant.
42984         [POSIX] (WSTOPPED): Likewise.
42985         [POSIX] (WNOHANG): Likewise.
42986         [POSIX] (WNOWAIT): Likewise.
42987         [POSIX] (siginfo_t): Do not expect type or elements.
42988         [POSIX] (pid_t): Do not expect type.
42989         [POSIX] (signal.h): Do not allow header.
42990         [POSIX] (sys/resource.h): Likewise.
42991         [POSIX] (si_*): Do not allow pattern.
42992         [POSIX] (W*): Likewise.
42993         [POSIX] (P_*): Likewise.
42994         [POSIX] (BUS_*): Likewise.
42995         [POSIX] (CLD_*): Likewise.
42996         [POSIX] (FPE_*): Likewise.
42997         [POSIX] (ILL_*): Likewise.
42998         [POSIX] (POLL_*): Likewise.
42999         [POSIX] (SEGV_*): Likewise.
43000         [POSIX] (SI_*): Likewise.
43001         [POSIX] (TRAP_*): Likewise.
43002         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43003         variable.
43005 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43007         [BZ #12926]
43008         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43009         infinite loop when __recvmsg returns 0.
43011 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43013         * CANCEL-FCT-WAIVE: Remove file.
43014         * CANCEL-FILE-WAIVE: Likewise.
43016         [BZ #14132]
43017         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43018         instead of INTVARDEF.
43019         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43020         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43021         rtld_hidden_data_def instead of INTVARDEF.
43022         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43023         * elf/dl-deps.c (expand_dst): Likewise.
43024         * elf/dl-load.c (_dl_dst_count): Likewise.
43025         (_dl_dst_substitute): Likewise.
43026         (decompose_rpath): Likewise.
43027         (_dl_init_paths): Likewise.
43028         (open_path): Likewise.
43029         (_dl_map_object): Likewise.
43030         * elf/rtld.c (dl_main): Likewise.
43031         (process_dl_audit): Likewise.
43032         (process_envvars): Likewise.
43033         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43034         Remove declaration.
43035         (__libc_enable_secure): Use rtld_hidden_proto.
43037 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43039         * elf/dl-load.c
43040         (add_path): New function broken out of _dl_rtld_di_serinfo.
43041         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43043 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43045         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43046         parentheses around macro arguments.
43047         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43048         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43049         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43051         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43058         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43059         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43060         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43061         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43062         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43063         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43064         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43065         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43066         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43067         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43076         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43077         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43078         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43079         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43080         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43081         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43082         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43083         Likewise.
43084         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43085         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43087         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43088         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43091         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43092         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43093         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43094         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43095         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43096         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43097         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43098         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43099         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43104         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43105         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43106         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43107         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43108         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43109         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43110         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43111         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43112         (_FP_FRAC_SRS_1): Likewise.
43113         (_FP_FRAC_CLZ_1): Likewise.
43114         (_FP_MUL_MEAT_1_imm): Likewise.
43115         (_FP_MUL_MEAT_1_wide): Likewise.
43116         (_FP_MUL_MEAT_1_hard): Likewise.
43117         (_FP_SQRT_MEAT_1): Likewise.
43118         (_FP_FRAC_ASSEMBLE_1): Likewise.
43119         (_FP_FRAC_DISASSEMBLE_1): Likewise.
43120         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43121         (__FP_CLZ_2): Likewise.
43122         (_FP_MUL_MEAT_2_wide): Likewise.
43123         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43124         (_FP_MUL_MEAT_2_gmp): Likewise.
43125         (_FP_MUL_MEAT_2_120_240_double): Likewise.
43126         (_FP_SQRT_MEAT_2): Likewise.
43127         (_FP_FRAC_ASSEMBLE_2): Likewise.
43128         (_FP_FRAC_DISASSEMBLE_2): Likewise.
43129         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43130         (_FP_FRAC_CLZ_4): Likewise.
43131         (_FP_MUL_MEAT_4_wide): Likewise.
43132         (_FP_MUL_MEAT_4_gmp): Likewise.
43133         (_FP_SQRT_MEAT_4): Likewise.
43134         (_FP_FRAC_ASSEMBLE_4): Likewise.
43135         (_FP_FRAC_DISASSEMBLE_4): Likewise.
43136         * soft-fp/op-common.h (_FP_CMP): Likewise.
43137         (_FP_CMP_EQ): Likewise.
43138         (_FP_CMP_UNORD): Likewise.
43139         (_FP_TO_INT): Likewise.
43140         (_FP_FROM_INT): Likewise.
43141         [!__FP_CLZ] (__FP_CLZ): Likewise.
43142         (_FP_DIV_HELP_imm): Likewise.
43143         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43144         Likewise.
43145         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43146         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43147         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43148         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43149         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43156         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43157         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43158         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43160         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43161         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43164         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43165         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43167         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43172         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43174         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43175         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43176         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43177         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43178         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43179         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43180         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43181         (FP_UNPACK_RAW_SP): Likewise.
43182         (FP_PACK_RAW_S): Likewise.
43183         (FP_PACK_RAW_SP): Likewise.
43184         (FP_UNPACK_S): Likewise.
43185         (FP_UNPACK_SP): Likewise.
43186         (FP_UNPACK_SEMIRAW_S): Likewise.
43187         (FP_UNPACK_SEMIRAW_SP): Likewise.
43188         (FP_PACK_S): Likewise.
43189         (FP_PACK_SP): Likewise.
43190         (FP_PACK_SEMIRAW_S): Likewise.
43191         (FP_PACK_SEMIRAW_SP): Likewise.
43192         (_FP_SQRT_MEAT_S): Likewise.
43193         (FP_CMP_S): Likewise.
43194         (FP_CMP_EQ_S): Likewise.
43195         (FP_CMP_UNORD_S): Likewise.
43196         (FP_TO_INT_S): Likewise.
43197         (FP_FROM_INT_S): Likewise.
43199         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43201         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43202         (FP_EX_INVALID_IMZ): Likewise.
43203         (FP_EX_INVALID_IMZ_FMA): Likewise.
43204         (FP_EX_INVALID_ISI): Likewise.
43205         (FP_EX_INVALID_ZDZ): Likewise.
43206         (FP_EX_INVALID_IDI): Likewise.
43207         (FP_EX_INVALID_SQRT): Likewise.
43208         (FP_EX_INVALID_CVI): Likewise.
43209         (FP_EX_INVALID_VC): Likewise.
43210         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43211         "invalid" exceptions.
43212         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43213         (_FP_ADD_INTERNAL): Likewise.
43214         (_FP_MUL): Likewise.
43215         (_FP_FMA): Likewise.
43216         (_FP_DIV): Likewise.
43217         (_FP_CMP_CHECK_NAN): Likewise.
43218         (_FP_SQRT): Likewise.
43219         (_FP_TO_INT): Likewise.
43220         (FP_EXTEND): Likewise.
43222 2014-10-09  Allan McRae  <allan@archlinux.org>
43224         * po/fr.po: Update French translation from translation project.
43226 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43228         [BZ #14132]
43229         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43230         of INTDEF.
43231         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43232         (__cxa_atexit): Use libc_hidden_proto.
43233         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43235         [BZ #14132]
43236         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43237         declaration.
43238         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43239         [!_ISOMAC] (__iswspace_l_internal): Likewise.
43240         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43241         [!_ISOMAC] (__iswctype_internal): Likewise.
43242         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43243         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43244         alias.
43245         (fcntl): Remove __fcntl_internal alias.
43246         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43247         __connect_internal alias.
43248         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43249         Likewise.
43251         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43252         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43253         FP_DENORM_ZERO.
43254         (_FP_CHECK_FLUSH_ZERO): New macro.
43255         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43256         (_FP_CMP): Likewise.
43257         (_FP_CMP_EQ): Likewise.
43258         (_FP_TO_INT): Do not set inexact for subnormal arguments if
43259         FP_DENORM_ZERO.
43260         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
43261         (FP_TRUNC): Likewise.
43263         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43264         treated as invalid conversion, not as normal exponent.
43266         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
43267         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
43268         (_FP_CMP_EQ): Likewise.
43269         (_FP_CMP_UNORD): Likewise.
43270         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
43271         (FP_CMP_EQ_D): Likewise.
43272         (FP_CMP_UNORD_D): Likewise.
43273         * soft-fp/extended.h (FP_CMP_E): Likewise.
43274         (FP_CMP_EQ_E): Likewise.
43275         (FP_CMP_UNORD_E): Likewise.
43276         * soft-fp/quad.h (FP_CMP_Q): Likewise.
43277         (FP_CMP_EQ_Q): Likewise.
43278         (FP_CMP_UNORD_Q): Likewise.
43279         * soft-fp/single.h (FP_CMP_S): Likewise.
43280         (FP_CMP_EQ_S): Likewise.
43281         (FP_CMP_UNORD_S): Likewise.
43282         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43283         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43284         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43285         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43286         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43287         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43288         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43289         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43290         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43291         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43292         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43293         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43294         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43295         to FP_CMP_Q.
43296         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43297         FP_CMP_Q.
43298         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43299         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43300         FP_CMP_EQ_Q.
43301         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43302         FP_CMP_Q.
43303         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43304         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43305         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43306         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43307         FP_CMP_EQ_Q.
43308         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43309         FP_CMP_Q.
43310         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
43311         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
43312         FP_CMP_EQ_Q.
43313         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
43314         FP_CMP_Q.
43315         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
43316         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
43317         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
43318         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
43319         FP_CMP_EQ_Q.
43321         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43322         a subnormal result, set the underflow exception if trapping on
43323         underflow is enabled.
43324         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43325         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43326         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43327         redefine to 0.
43328         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43329         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43330         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43331         * soft-fp/extendxftf2.c (__extendxftf2): Use
43332         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43334         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43335         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43336         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43337         FP_HANDLE_EXCEPTIONS.
43338         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43339         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43340         FP_HANDLE_EXCEPTIONS.
43341         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43342         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43343         FP_HANDLE_EXCEPTIONS.
43344         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43345         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43346         FP_HANDLE_EXCEPTIONS.
43348 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
43350         [BZ #14132]
43351         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43352         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43353         use INTUSE.
43354         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43355         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43356         Remove alias.
43357         (__adjtimex): Define using libc_hidden_ver.
43358         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43359         Remove declaration.
43360         (ntp_gettime): Call __adjtimex directly.
43361         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43362         Remove declaration.
43363         (ntp_gettimex): Call __adjtimex directly.
43364         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43365         __adjtimex_internal alias.
43367 2014-10-08  Roland McGrath  <roland@hack.frob.com>
43369         [BZ #17460]
43370         * nscd/nscd.c (more_help): Rewrite list of tables collection
43371         using xstrdup and asprintf.
43373         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43375 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43376             Roland McGrath  <roland@hack.frob.com>
43378         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43379         (do_lookup_unique): ... local function 'enter' here; update callers.
43381 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
43383         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43384         compat_symbol calls on [SHARED].
43385         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43386         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43387         Remove.
43388         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43389         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43390         (oldsetrlimit): Remove.
43391         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43393         (lchown): New syscall entry.
43394         (oldsetrlimit): Remove.
43395         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43396         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43397         (oldsetrlimit): Remove.
43398         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43400         [BZ #14138]
43401         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43402         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43403         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43404         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43405         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43406         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43407         (fchown): Likewise.
43408         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43409         (fchown): Likewise.
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43411         Likewise.
43413 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43416         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43417         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43418         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43419         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43420         Likewise.
43421         (__old_sem_post): Likewise.
43423 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43425         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43426         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43427         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43428         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43429         Use INLINE_VSYSCALL macro.
43430         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43431         __vdso_clock_gettime.
43432         * sysdeps/unix/sysv/linux/tile/init-first.c
43433         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43434         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43435         __vdso_clock_gettime.
43437         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43438         to set up frame more cleanly.
43440         * sysdeps/tile/memcmp.c: New file.
43442         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43444         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43445         * sysdeps/tile/tilegx/strcasestr.c: New file.
43446         * sysdeps/tile/tilegx/strnlen.c: New file.
43447         * sysdeps/tile/tilegx/strstr.c: New file.
43449         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43451 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43453         * nptl/tst-setuid3.c: Write errors to stdout.
43455 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43457         * elf/dl-deps.c
43458         (preload): New functions broken out of _dl_map_object_deps.
43459         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43461 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43463         [BZ #14138]
43464         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43465         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43467 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43469         * sysdeps/mips/strcmp.S: New.
43471 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43473         [BZ #14138]
43474         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43475         (linkat): Likewise.
43476         (mkdirat): Likewise.
43477         (readlinkat): Likewise.
43478         (renameat): Likewise.
43479         (symlinkat): Likewise.
43480         (unlinkat): Likewise.
43481         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43482         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43483         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43484         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43485         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43486         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43487         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43489 2014-09-30  Will Newton  <will.newton@linaro.org>
43491         * math/math.h: Define long double math functions if
43492         _LIBC_TEST is defined.
43493         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43495         * localedata/Makefile: Move assignment to tests-special
43496         into an ifdef testing run-built-tests.
43497         * timezone/Makefile: Likewise.
43499 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43501         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43502         with $(BASH) not $(SHELL).
43504 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43505             Matthew LeGendre  <legendre1@llnl.gov>
43507         [BZ #17411]
43508         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43509         l_reloc_result.
43511 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43513         * stdio-common/printf_fp.c
43514         (hack_digit): New function, broken out of ...
43515         (__printf_fp): ... local function here.  Update call sites.
43516         hack_digit now takes an additional parameter that is a pointer
43517         to a struct of the referenced locals.  Those locals moved inside
43518         the struct and references updated.
43520 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43522         * aclocal.m4: Require autoconf 2.69.
43523         * configure: Regenerated.
43524         * sysdeps/aarch64/configure: Likewise.
43525         * sysdeps/alpha/configure: Likewise.
43526         * sysdeps/arm/armv7/configure: Likewise.
43527         * sysdeps/arm/configure: Likewise.
43528         * sysdeps/ia64/configure: Likewise.
43529         * sysdeps/mach/configure: Likewise.
43530         * sysdeps/mips/configure: Likewise.
43531         * sysdeps/s390/configure: Likewise.
43532         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43535         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43536         file.
43537         * sysdeps/ia64/configure.ac: Likewise.
43539 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43542         specify symbol version for ld.so.  Do not include entry for
43543         libpthread.
43544         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43545         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43546         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43548         [BZ #14171]
43549         * Makeconfig [$(build-shared) = yes]
43550         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43551         makefiles.
43552         [$(build-shared) = yes && $(soversions.mk-done) = t]
43553         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43554         [$(build-shared) = yes && $(soversions.mk-done) = t]
43555         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43556         to Makerules.
43557         [$(build-shared) = yes && $(soversions.mk-done) = t]
43558         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43559         here.
43560         [$(build-shared) = yes && $(soversions.mk-done) = t]
43561         (common-generated): Don't append gnu/lib-names.h and
43562         gnu/lib-names.stmp here.
43563         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43564         (lib-names-h-abi): New variable.
43565         [$(build-shared) = yes && $(soversions.mk-done) = t]
43566         (lib-names-stmp-abi): Likewise.
43567         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43568         abi-variants] (before-compile): Append
43569         $(common-objpfx)$(lib-names-h-abi).
43570         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43571         abi-variants] (common-generated): Append gnu/lib-names.h.
43572         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43573         abi-variants] (install-others-nosubdir): Depend on
43574         $(inst_includedir)/$(lib-names-h-abi).
43575         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43576         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43577         [$(build-shared) = yes && $(soversions.mk-done) = t]
43578         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43579         [$(build-shared) = yes && $(soversions.mk-done) = t]
43580         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43581         [$(build-shared) = yes && $(soversions.mk-done) = t]
43582         (common-generated): Append $(lib-names-h-abi) and
43583         $(lib-names-stmp-abi).
43584         * scripts/lib-names.awk: Do not handle multi being set.
43585         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43586         Remove variable.
43587         (abi-lp64_be-ld-soname): Likewise.
43588         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43589         Likewise.
43590         (abi-hard-ld-soname): Likewise.
43591         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43592         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43593         Remove variable.
43594         (abi-o32_hard-ld-soname): Likewise.
43595         (abi-o32_soft_2008-ld-soname): Likewise.
43596         (abi-o32_hard_2008-ld-soname): Likewise.
43597         (abi-n32_soft-ld-soname): Likewise.
43598         (abi-n32_hard-ld-soname): Likewise.
43599         (abi-n32_soft_2008-ld-soname): Likewise.
43600         (abi-n32_hard_2008-ld-soname): Likewise.
43601         (abi-n64_soft-ld-soname): Likewise.
43602         (abi-n64_hard-ld-soname): Likewise.
43603         (abi-n64_soft_2008-ld-soname): Likewise.
43604         (abi-n64_hard_2008-ld-soname): Likewise.
43605         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43606         Likewise.
43607         (abi-64-v2-ld-soname): Likewise.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43609         ld.so entries.
43610         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43611         variable.
43612         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43613         entry.
43614         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43615         variable.
43616         (abi-64-ld-soname): Likewise.
43617         (abi-x32-ld-soname): Likewise.
43618         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43619         entry.
43620         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43622 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43624         [BZ #14138]
43625         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43626         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43627         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43628         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43629         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43630         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43631         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43632         syscall entry for GLIBC_2.2 symbol version.
43633         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43634         Likewise.
43635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43636         (setrlimit): Likewise.
43637         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43638         Likewise.
43640 2014-09-23  Will Newton  <will.newton@linaro.org>
43642         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43643         _LINUX_ARM_SYSDEP_H include guard too.
43644         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43645         define.
43647 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43649         * sysdeps/unix/sysv/linux/eventfd.c:
43650         Make first argument unsigned.
43651         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43652         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43654 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43656         [BZ #16852]
43657         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43658         * socket/sys/socket.h: Likewise.
43659         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43661 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43663         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43665 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43667         * time/tst-ftime.c: New test.
43668         * time/Makefile (tests): Add tst-ftime.
43670 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43672         * soft-fp/extended.h: Fix comment formatting.
43673         * soft-fp/op-1.h: Likewise.
43674         * soft-fp/op-2.h: Likewise.
43675         * soft-fp/op-4.h: Likewise.
43676         * soft-fp/op-8.h: Likewise.
43677         * soft-fp/op-common.h: Likewise.
43678         * soft-fp/soft-fp.h: Likewise.
43680         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43682 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43684         [BZ #6652]
43685         * Makeconfig (soversions-default-setname): Remove variable.
43686         ($(common-objpfx)soversions.i): Don't pass default_setname to
43687         soversions.awk.
43688         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43689         oldest_abi to abi-versions.awk.
43690         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43691         * config.make.in (oldest-abi): Remove variable.
43692         * configure.ac (--enable-oldest-abi): Remove configure option.
43693         * configure: Regenerated.
43694         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43695         text.
43696         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43697         * scripts/soversions.awk: Do not handle default_setname variable.
43698         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43699         variable.
43700         * sysdeps/mach/hurd/configure: Regenerated.
43701         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43702         variable.
43703         * sysdeps/unix/sysv/linux/configure: Regenerated.
43705 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43707         * elf/Makefile (CFLAGS-interp.c): Remove.
43708         ($(elf-objpfx)runtime-linker.h): Generate header with linker
43709         path string.
43710         * elf/interp.c: Include generated runtime-linker.h
43712         * Makerules (lib%.so): Don't include $(+interp) in
43713         prerequisites.
43714         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43715         * dlfcn/eval.c: Remove file.
43717         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43718         macros.
43720         [BZ #17266]
43721         * misc/sys/cdefs.h: Define __extern_always_inline for clang
43722         4.2 and newer.
43724         [BZ #17370]
43725         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43727 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43728             Jakub Jelinek  <jakub@redhat.com>
43730         [BZ #17266]
43731         * libio/stdio.h: Check definition of __fortify_function
43732         instead of __extern_always_inline to include bits/stdio2.h.
43733         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43734         check if __extern_always_inline is defined.
43735         [__USE_MISC || __USE_XOPEN]: Likewise.
43736         [__USE_ISOC99] Likewise.
43737         * misc/sys/cdefs.h (__fortify_function): Define only if
43738         __extern_always_inline is defined.
43739         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43740         __extern_always_inline and __extern_inline only for g++-4.3
43741         and newer or a compatible gcc.
43743 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
43745         [BZ #17371]
43746         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43747         last change to handle zero prefix length.
43749 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43751         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43752         _SC_REGEX_VERSION.
43754         * posix/getconf.c (vars): Add _POSIX_IPV6 and
43755         _POSIX_RAW_SOCKETS.
43757 2014-09-13  Allan McRae  <allan@archlinux.org>
43759         * po/ru.po: Update Russian translation from translation project.
43761 2014-09-12  Roland McGrath  <roland@hack.frob.com>
43763         * locale/programs/locale.c (show_locale_vars): Inline local function
43764         into its sole call site.  Clean up some style nits.
43765         (print_item): New function, broken out of ...
43766         (show_info): ... local function here.  Clean up style nits.
43768         * locale/programs/ld-ctype.c (set_one_default): New function, broken
43769         out of ...
43770         (set_class_defaults): ... local function set_default here.
43771         Define set_default as a macro locally to pass constant parameters.
43772         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43773         rather than a shared local.
43775         * stdlib/rpmatch.c (try): New function, broken out of ...
43776         (rpmatch): ... local function here.  Also, prototypify definition.
43778 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
43780         * scripts/soversions.awk: Do not handle configuration names.
43781         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43782         vendor and os variables to soversions.awk.
43783         * configure.ac: Do not modify gnu-* host_os.
43784         * configure: Regenerated
43785         * shlib-versions: Remove first column with configuration names.
43786         * nptl/shlib-versions: Likewise.
43787         * nptl_db/shlib-versions: Likewise.
43788         * sysdeps/hppa/shlib-versions: Likewise.
43789         * sysdeps/m68k/shlib-versions: Likewise.
43790         * sysdeps/mach/hurd/shlib-versions: Likewise.
43791         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43792         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43793         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43794         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43795         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43796         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43797         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43798         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43800         Likewise.
43801         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43802         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43803         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43804         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43805         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43806         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43807         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43808         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43811         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43813         Regenerated.
43814         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43816         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43818         * shlib-versions: Remove OS-specific entries.  Moved to files in
43819         sysdeps.
43820         * sysdeps/mach/hurd/shlib-versions: New file.
43821         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43823         * nptl/shlib-versions: Remove architecture-specific entries.
43824         Moved to files in sysdeps.
43825         * shlib-versions: Likewise.
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43827         file.
43828         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43829         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43830         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43831         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43833         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43834         (UDP_NO_CHECK6_RX): Likewise.
43836 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43838         * sysdeps/posix/sysconf.c (__sysconf): Spell
43839         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43841 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43843         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43844         loading.
43845         * iconv/Versions (__gconv_transliterate): Export for use from
43846         gconv modules.
43847         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43848         (struct __gconv_trans_data, __gconv_trans_fct,
43849         __gconv_trans_context_fct, __gconv_trans_query_fct,
43850         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43851         definitions.
43852         (struct __gconv_step_data): Remove __trans member.
43853         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43854         longer hidden.  Remove unused trans_data argument.
43855         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43856         (__gconv_translit_find): Remove declaration.
43857         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43858         prototype.
43859         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43860         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43861         trans_data argument.  Add hidden definition.
43862         (__gconv_translit_find): Remove.
43863         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43864         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43865         * iconv/skeleton.c: Remove transliteration initialization.
43866         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43867         __gconv_step_data initialization.
43868         * libio/iofwide.c (__libio_translit_): Remove.
43869         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43870         * wcsmbs/btowc.c (__btowc): Likewise.
43871         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43872         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43873         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43874         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43875         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43876         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43877         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43878         * wcsmbs/wctob.c (wctob): Likewise.
43880 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43882         [BZ #16194]
43883         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43884         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43885         register usage.
43886         * sysdeps/x86/Makefile: Adjust.
43888 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43889             Roland McGrath  <roland@hack.frob.com>
43891         * locale/weight.h: Add include guard.
43892         (findidx): Make static rather than auto; take new parameters
43893         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43894         * locale/weightwc.h: Likewise.
43895         * posix/fnmatch_loop.c
43896         (FCT): Change type of EXTRA from int32_t to wint_t.
43897         Don't include either header inside the function.
43898         Call FINDIDX rather than findidx, and pass new arguments.
43899         #undef FINDIDX at the end of the file.
43900         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43901         FINDIDX before including fnmatch_loop.c for the non-wide version.
43902         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43903         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43904         for the wide version.
43905         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43906         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43907         Pass new arguments to findidx.
43908         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43909         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43910         Don't #include it inside the function.  Pass new arguments to findidx.
43911         * posix/regex_internal.h
43912         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43913         (re_string_elem_size_at): Don't #include it inside the function.
43914         Pass new arguments to findidx.
43915         * string/strcoll_l.c: #include WEIGHT_H at top level.
43916         (get_next_seq): Don't #include it inside the function.
43917         Pass new arguments to findidx.
43918         (get_next_seq_nocache): Likewise.
43919         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43920         (STRXFRM): Don't #include it inside the function.
43921         Pass new arguments to findidx.
43923 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43925         [BZ #17344]
43926         * malloc/malloc.c (unlink): Turn asserts into a call to
43927         malloc_printerr.
43929 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43931         [BZ #17370]
43932         * libio/wfileops (do_ftell_wide): Free OUT.
43934 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43936         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43938 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43940         [BZ #17363]
43941         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43942         group if the current group is empty.
43944 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43946         * benchtests/bench-memset.c (test_main): Add more test from size
43947         from 32 to 512 bytes.
43948         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43949         Add POWER8 memset object.
43950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43951         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43952         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43953         implementation.
43954         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43955         Likewise.
43956         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43957         multiarch POWER8 memset optimization.
43958         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43959         POWER8 memset optimization.
43961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43962         Remove bzero multiarch objects.
43963         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43964         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43965         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43966         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43967         Remove define.
43968         [__bzero]: Redefine to specific name.
43969         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43970         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43971         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43972         define.
43973         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43974         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43976 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43978         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43979         warnings into errors.
43981         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43982         __cxa_thread_atexit_impl prototype.
43984 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43986         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43987         Fix capitalization of error message.
43989 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43991         * sysdeps/mips/preconfigure: Modify ABI tests.
43993 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43995         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43997 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43998             Carlos O'Donell  <carlos@systemhalted.org>
44000         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44002         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44003         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44004         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44005         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44006         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44007         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44008         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44009         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44010         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44011         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44012         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44013         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44014         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44015         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44016         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44017         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44018         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44019         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44020         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44021         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44022         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44023         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44024         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44025         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44026         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44027         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44028         Deconditionalize the code that was previously under [RESET_PID].
44029         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44030         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44031         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44032         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44033         include sysdep.h.
44035 2014-09-08  Allan McRae  <allan@archlinux.org>
44037         * version.h (RELEASE): Set to "development".
44038         (VERSION): Set to "2.20.90"
44040 2014-09-07  Allan McRae  <allan@archlinux.org
44042         * version.h (RELEASE): Set to "stable".
44043         (VERSION): Set to "2.20"
44044         * include/features.h (__GLIBC_MINOR__): Set to 20.
44046         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44047         Liebler.
44049         * po/ko.po: Update Korean translation from translation project.
44051 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
44053         [BZ #17354]
44054         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44055         macro for handling signed relocations.
44057 2014-09-03  Florian Weimer  <fweimer@redhat.com>
44059         [BZ #17325]
44060         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44061         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44062         assert.
44063         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44064         * iconvdata/ibm935.c (BODY): Likewise.
44065         * iconvdata/ibm937.c (BODY): Likewise.
44066         * iconvdata/ibm939.c (BODY): Likewise.
44067         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44068         assert.
44069         * iconvdata/Makefile (iconv-test.out): Pass module list to test
44070         script.
44071         * iconvdata/run-iconv-test.sh: New test loop for checking for
44072         decoder crashers.
44074 2014-09-02  Khem Raj  <raj.khem@gmail.com>
44076         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44077         libm_hidden_ver.
44079 2014-09-01  Allan McRae  <allan@archlinux.org>
44081         * po/eo.po: Update Esperanto translation from translation project.
44083         * po/ca.po: Update Catalan translation from translation project.
44085 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44087         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44088         __proc_dostop call.
44090 2014-08-27  Mark Wielaard  <mjw@redhat.com>
44092         [BZ #17319]
44093         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44094         to call set_thread_area instead of hand written asm.
44095         (__NR_set_thread_area): Removed define.
44096         (TLS_FLAG_WRITABLE): Likewise.
44097         (__ASSUME_SET_THREAD_AREA): Remove check.
44098         (TLS_EBX_ARG): Remove define.
44099         (TLS_LOAD_EBX): Likewise.
44101 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44103         Simplify atomicity of socket creation in bind.
44105         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44106         looking up the name after linking the file.
44108 2014-08-27  Allan McRae  <allan@archlinux.org>
44110         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44112 2014-08-26  Florian Weimer  <fweimer@redhat.com>
44114         [BZ #17187]
44115         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44116         trans_compare, open_translit, __gconv_translit_find):
44117         Remove module loading code.
44119 2014-08-26  Allan McRae  <allan@archlinux.org>
44121         * po/vi.po: Update Vietnamese translation from translation project.
44123         * po/uk.po: Update Ukrainian translation from translation project.
44125         * po/fr.po: Update French translation from translation project.
44127         * po/ru.po: Update Russian translation from translation project.
44129         * po/pl.po: Update Polish translation from translation project.
44131         * po/cs.po: Update Czech translation from translation project.
44133         * po/de.po: Update German translation from translation project.
44135         * po/bg.po: Update Bulgarian translation from translation project.
44137         * po/sv.po: Update Sweedish translation from translation project.
44139         * po/nl.po: Update Dutch translation from translation project.
44141         * po/es.po: Update Spanish translation from translation project.
44143 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44145         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44147         * catgets/Makefile (CPPFLAGS-gencat): Remove.
44148         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44149         (CPPFLAGS-iconvconfig): Likewise.
44150         * timezone/Makefile (CPPFLAGS-zic): Likewise.
44152         * include/libc-symbols.h: Remove unnecessary check for
44153         NOT_IN_libc.
44154         * nptl/pthreadP.h: Likewise.
44155         * sysdeps/aarch64/setjmp.S: Likewise.
44156         * sysdeps/alpha/setjmp.S: Likewise.
44157         * sysdeps/arm/sysdep.h: Likewise.
44158         * sysdeps/i386/setjmp.S: Likewise.
44159         * sysdeps/m68k/setjmp.c: Likewise.
44160         * sysdeps/posix/getcwd.c: Likewise.
44161         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44162         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44163         * sysdeps/s390/s390-32/setjmp.S: Likewise.
44164         * sysdeps/s390/s390-64/setjmp.S: Likewise.
44165         * sysdeps/sh/sh3/setjmp.S: Likewise.
44166         * sysdeps/sh/sh4/setjmp.S: Likewise.
44167         * sysdeps/unix/alpha/sysdep.h: Likewise.
44168         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44170         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44171         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44176         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44179         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44181         * sysdeps/x86_64/setjmp.S: Likewise.
44183 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
44185         [BZ #17263]
44186         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44187         <stdint.h>.
44188         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44189         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44191 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44193         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44195         [BZ #17262]
44196         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44197         and __x86_64__ when disabling x87 inline functions.
44199 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44201         [BZ #17259]
44202         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44203         asm statement with __cpuid_count.
44205 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
44207         * configure.ac: Change __ehdr_start code to dereference the struct.
44208         Run readelf on the output to look for relocations.
44209         * configure: Regenerated.
44211 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
44213         [BZ #17261]
44214         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44215         value to 0.
44216         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44218 2014-08-12  Roland McGrath  <roland@hack.frob.com>
44220         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44222 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
44224         [BZ #16892]
44225         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44226         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44228 2014-08-12  Sean Anderson  <seanga2@gmail.com>
44230         * malloc/malloc.c: Fix typo in comment.
44232 2014-08-09  Allan McRae  <allan@archlinux.org>
44234         * Regenerate libc.po.
44236 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
44238         * intl/tst-gettext2.sh: Check every lang file for creation.
44240 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44242         * sysdeps/aarch64/fpu/math_private.h
44243         (libc_feholdsetround_noex_aarch64_ctx): New function.
44245 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44247         * sysdeps/arm/armv6/strcpy.S (strcpy):
44248         Fix performance issue in misaligned cases.
44250 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44252         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44253         Move definition from termios.h.
44254         (struct termio): Likewise.
44255         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44256         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44257         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44258         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44259         Likewise.
44260         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44261         Move definition to ioctl-types.h
44262         (struct termio): Likewise.
44263         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44264         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44265         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44266         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44267         Likewise.
44269 2014-08-05  Richard Henderson  <rth@redhat.com>
44271         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
44272         exceptions.
44273         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44274         Add fraiseexcpt.
44275         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44276         Use __feraiseexcept.
44277         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44278         Protect libm symbols with IS_IN_libm.
44280         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44282 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
44284         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44286 2014-08-04  Will Newton  <will.newton@linaro.org>
44288         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44289         file.
44291 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
44293         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44294         variants for each function.
44296 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44298         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44299         appended ...
44300         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44301         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44302         appended ...
44303         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44304         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44305         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44306         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44307         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44308         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44309         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
44310         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
44311         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44312         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
44313         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
44314         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
44315         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
44316         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
44317         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
44318         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
44319         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44320         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44321         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44322         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44323         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44324         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44325         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44326         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44327         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44328         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44329         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44330         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44331         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44332         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44333         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44334         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44335         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44336         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44337         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44338         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44339         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44340         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44341         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44342         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44343         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44345         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44346         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44347         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44348         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44349         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44350         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44351         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44352         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44353         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44354         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44355         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44356         Update #include.
44357         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44358         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44360 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44362         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44363         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44364         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44365         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44366         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44367         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44369 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44371         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44372         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44373         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44374         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44376 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44378         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44379         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44380         (__libc_vfork): Define function under this name.
44381         (__vfork): Define as an alias.
44382         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44383         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44385 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44387         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44388         that was previously under [RESET_PID].
44389         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44391 2014-08-04  Andreas Schwab  <schwab@suse.de>
44393         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44395 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
44397         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44398         (main): Likewise.
44400 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44402         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44404 2014-08-01  Richard Henderon  <rth@redhat.com>
44406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44407         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44408         typo in exact zero test.
44409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44411         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44413 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44415         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44416         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44417         * sysdeps/arm/sysdep.h: ... here.
44418         [!__ASSEMBLER__]: Include <stdint.h>.
44420 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44422         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44423         (HAVE_WCTYPE_H): Likewise.
44424         (HAVE_ISWCTYPE): Likewise.
44425         (ENABLE_NLS): Likewise.
44426         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44427         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44429         * posix/regex_internal.c: Check if DEBUG is defined and is
44430         set.
44432         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44433         (HAVE_MBSRTOWCS): Likewise.
44434         * posix/fnmatch.c: Include string.h unconditionally.
44436 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44438         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44439         reversal.
44441 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44443         * sysdeps/generic/safe-fatal.h: New file.
44444         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44445         * nptl/forward.c: Include it.
44446         (__pthread_unwind): Use __safe_fatal as default action, rather
44447         than a bogus use of INTERNAL_SYSCALL that could never work.
44449         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44450         * configure.ac (libc_cv_builtin_trap): New test.
44451         * configure: Regenerated.
44452         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44453         (ABORT_INSTRUCTION): Define using __builtin_trap.
44455         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44456         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44457         * sysdeps/nptl/nptl-signals.h: New file.
44458         * nptl/pthreadP.h: Include <nptl-signals.h>.
44460 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44462         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44463         (ONE_DIRECTION): Define.
44464         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44465         (ONE_DIRECTION): Define.
44466         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44467         (ONE_DIRECTION): Define.
44469 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44471         * sysdeps/s390/Makefile: Delete file.
44472         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44473         * sysdeps/s390/__longjmp.c: Delete file.
44474         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44475         Remove fields __flags and __reserved.
44476         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44477         and add versioning.
44478         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44479         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44480         * sysdeps/s390/rtld-setjmp.S: Likewise.
44481         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44482         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44483         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44484         * sysdeps/s390/s390-32/setjmp.S: ... here.
44485         Add versioning.
44486         (__sigsetjmp): Remove setting __flags field.
44487         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44488         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44489         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44490         * sysdeps/s390/s390-64/setjmp.S: ... here.
44491         Add versioning.
44492         (__sigsetjmp): Remove setting __flags field.
44493         * sysdeps/s390/setjmp.S: Delete file.
44494         * sysdeps/s390/sigjmp.c: Likewise.
44495         * sysdeps/s390/v1-longjmp.c: Likewise.
44496         * sysdeps/s390/v1-setjmp.h: Likewise.
44497         * sysdeps/s390/v1-sigjmp.c: Likewise.
44498         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44499         Remove v1-longjmp_chk.
44500         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44501         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44502         Include debug/longjmp_chk.c and add versioning.
44503         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44504         Include nptl/pt-longjmp.c and add versioning.
44505         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44506         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44507         Include __longjmp.c.
44508         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44509         Move to ...
44510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44511         (__getcontext): Remove setting __flags field.
44512         Add versioning.
44513         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44514         Don't restore upper high grps.
44515         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44516         Likewise.
44517         (__swapcontext): Remove setting uc_flags field.
44518         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44519         Delete file.
44520         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44521         Include __longjmp.c.
44522         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44523         Move to ...
44524         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44525         (__getcontext): Remove setting __flags field.
44526         Add versioning.
44527         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44528         (__swapcontext): Remove setting uc_flags field.
44529         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44530         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44531         Remove fields uc_high_gprs and __reserved.
44532         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44533         New file with reverted content.
44534         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44536         Regenerated.
44537         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44538         Regenerated.
44540 2014-07-31  Andreas Schwab  <schwab@suse.de>
44542         * config.h.in (HAVE_IFUNC): Define to 0.
44543         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44544         definedness.
44546 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44549         memmove-avx-unaligned, memcpy-avx-unaligned and
44550         mempcpy-avx-unaligned.
44551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44552         Add tests for AVX memcpy functions.
44553         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44554         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44555         memcpy_chk.
44556         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44557         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44558         memmove_chk.
44559         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44560         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44561         mempcpy_chk.
44562         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44563         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44564         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44566 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44568         [BZ #17213]
44569         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44570         powerpc64le.
44572 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44574         [BZ #16839]
44575         * manual/llio.texi: Add section about open file description locks.
44576         * manual/examples/ofdlocks.c: Example of open file description
44577         lock usage.
44578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44579         F_OFD_SETLK, and F_OFD_SETLKW.
44581 2014-07-23  Allan McRae  <allan@archlinux.org>
44583         * po/es.po: Update Spanish translation from translation project.
44585 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44587         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44589 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44591         [BZ #17078]
44592         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44593         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44594         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44596 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44598         [BZ #17088]
44599         * math/fesetenv.c (__fesetenv)
44600         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44601         * math/feupdateenv.c (__feupdateenv)
44602         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44604         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44605         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44606         (__ASSUME_SOCKETCALL): Do not define.
44608         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44609         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44610         (__ASSUME_SOCKETCALL): Do not define.
44611         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44612         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44613         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44614         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44615         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44616         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44617         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44618         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44620         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44621         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44622         (__ASSUME_SOCKETCALL): Do not define.
44623         (__ASSUME_IPC64): Define unconditionally.
44624         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44625         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44626         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44627         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44628         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44630         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44631         Likewise.
44633         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44634         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44635         (__ASSUME_SOCKETCALL): Do not define.
44636         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44637         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44638         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44639         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44640         (__ASSUME_REQUEUE_PI): Define unconditionally.
44641         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44642         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44643         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44644         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44645         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44646         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44648         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44649         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44650         (__ASSUME_SOCKETCALL): Do not define.
44651         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44652         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44653         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44654         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44656         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44658         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44659         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44660         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44661         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44662         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44663         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44665         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44666         (__ASSUME_GETCPU_SYSCALL): Likewise.
44668         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44669         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44670         cases for individual architectures.
44671         * sysdeps/gnu/configure: Regenerated.
44672         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44673         LIBC_SLIBDIR_RTLDDIR.
44674         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44675         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44676         LIBC_SLIBDIR_RTLDDIR.
44677         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44679         LIBC_SLIBDIR_RTLDDIR.
44680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44681         Regenerated.
44682         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44683         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44684         file.
44685         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44686         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44687         file.
44688         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44689         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44690         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44691         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44693         * sysdeps/aarch64/shlib-versions: Move to ...
44694         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44695         * sysdeps/alpha/shlib-versions: Move to ...
44696         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44697         * sysdeps/arm/shlib-versions: Move to ...
44698         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44699         * sysdeps/hppa/shlib-versions: Move all contents except for
44700         libgcc_s entry to ...
44701         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
44702         entry from ...
44703         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
44704         * sysdeps/ia64/shlib-versions: Move to ...
44705         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
44706         entry from ...
44707         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
44708         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44709         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44710         * sysdeps/microblaze/shlib-versions: Move to ...
44711         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44712         * sysdeps/mips/shlib-versions: Move to ...
44713         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
44714         entry from ...
44715         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
44716         * sysdeps/tile/shlib-versions: Move to ...
44717         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44718         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44719         from ...
44720         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
44721         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44722         entry from ...
44723         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
44725 2014-07-17  Will Newton  <will.newton@linaro.org>
44727         * sysdeps/arm/bits/atomic.h
44728         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44729         (__arch_compare_and_exchange_bool_16_int): Likewise.
44730         (__arch_compare_and_exchange_bool_64_int): Likewise.
44732         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44733         into an #else block.
44735 2014-07-16  Roland McGrath  <roland@hack.frob.com>
44737         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44738         just Linux configurations.  Test empirically that the compiler sets
44739         __ARM_EABI__, rather than using the tuple to decide.
44740         * sysdeps/arm/preconfigure: Regenerated.
44741         * sysdeps/unix/sysv/linux/arm/configure: File removed.
44742         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44743         contents appended ...
44744         * sysdeps/arm/configure.ac: ... here.
44745         * sysdeps/arm/configure: Regenerated.
44747 2014-07-15  Roland McGrath  <roland@hack.frob.com>
44749         * nptl/pthread_kill.c: New file.
44750         * nptl/pthread_sigmask.c: New file.
44751         * nptl/pthread_sigqueue.c: New file.
44753         * sysdeps/nptl/lowlevellock.h: New file.
44754         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44755         * sysdeps/nptl/lowlevellock-futex.h: New file.
44757         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44758         Remove dead declarations.
44760 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
44762         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44763         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44764         config-cflags-avx2.
44765         * sysdeps/x86_64/configure.ac: Likewise.
44766         * sysdeps/i386/configure: Regenerated.
44767         * sysdeps/x86_64/configure: Likewise.
44768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44769         memset-avx2 only if config-cflags-avx2 is yes.
44770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44771         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44772         defined.
44773         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44774         only if HAVE_AVX2_SUPPORT is defined.
44775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44777 2014-07-14  Alan Modra  <amodra@gmail.com>
44779         [BZ #17153]
44780         * elf/elf.h (DT_PPC64_NUM): Correct value.
44781         * NEWS: Add to fixed bug list.
44783 2014-07-13  Jim Meyering  <meyering@fb.com>
44785         [BZ 17150]
44786         regex: don't deref NULL upon heap allocation failure
44787         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44788         failure in one more place.
44789         To trigger the segfault, configure grep -with-included-regex,
44790         build it, and run these commands:
44791         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44793 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
44795         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44797 2014-07-11  Richard Henderson  <rth@redhat.com>
44799         * sysdeps/aarch64/libm-test-ulps: Update.
44801 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44803         [BZ #17135]
44804         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44805         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44806         (__nptl_setxid): Initialize error member.  Call
44807         __nptl_setxid_error.
44808         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44809         * nptl/descr.h (struct xid_command): Add error member.
44810         * nptl/tst-setuid3.c: New file.
44811         * nptl/Makefile (tests): Add it.
44813 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44815         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44816         New define.
44817         (__lll_trylock): Use __lll_base_trylock.
44818         (__lll_cond_trylock): Likewise.
44820 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44822         * nptl/pthread_create.c (start_thread): Use atomic_or and
44823         lll_futex_wake directly rather than lll_robust_dead.
44824         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44825         (lll_robust_dead): Macro removed.
44826         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44827         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44828         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44829         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44830         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44831         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44832         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44834         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44835         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44836         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44837         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44838         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44840         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44842         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44843         Use atomic_compare_and_exchange_val_acq directly rather than
44844         lll_robust_trylock.
44845         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44846         (__lll_robust_trylock, lll_robust_trylock): Removed.
44847         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44848         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44849         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44850         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44851         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44852         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44853         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44854         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44855         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44856         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44857         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44858         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44859         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44860         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44862 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44864         * manual/locale.texi (Locale Names): New section documenting
44865         locale name syntax.  Adjust menu and node chaining accordingly.
44866         (Choosing Locale): Reference Locale Names, Locale Categories.
44867         Mention setting LC_ALL=C.  Reflect that name syntax is now
44868         documented.
44869         (Locale Categories): New section title.  Reference Locale Names.
44870         LC_ALL is an environment variable, but not a category.
44871         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44872         description, now in Locale Name.  Reference that section.  Locale
44873         name syntax is now documented.
44875 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44877         [BZ #17137]
44878         * locale/findlocale.c (name_present, valid_locale_name): New
44879         functions.
44880         (_nl_find_locale): Use the loc_name variable to store name
44881         candidates.  Call name_present and valid_locale_name to check and
44882         validate locale names.  Return an error if the locale is invalid.
44884 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44886         * locale/setlocale.c (setlocale): Use strdup for allocating
44887         composite name copy.
44889 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44891         Sync up with gnulib.
44892         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44893         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44894         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44895         and _GL_ARG_NONNULL.
44896         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44897         [!_LIBC]: Include code for Windows and Cygwin.
44898         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44899         Include prototype for int strerror_r.
44900         [!_LIBC] (is_open): New function.
44901         (flush_stdout): New function.
44902         (print_errno_message): Use it.
44903         (error): Likewise.
44904         (error_at_line): Likewise.
44905         (error_tail) Add function attribute macros.  Use
44906         __builtin_expect.
44908         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44910         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44912         * io/ftw.c: Include sys/param.h unconditionally.
44914         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44916         [BZ #17125]
44917         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44918         libc_freeres_ptr.
44919         (freecache): New function to free CACHE on exit.
44921         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44922         initialization.
44924 2014-07-09  David S. Miller  <davem@davemloft.net>
44926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44928         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44929         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44930         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44931         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44932         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44933         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44934         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44935         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44936         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44937         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44938         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44939         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44940         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44942 2014-07-09  Andreas Schwab  <schwab@suse.de>
44944         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44945         output.
44946         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44947         (do_test): Likewise.
44949         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44951 2014-07-09  Will Newton  <will.newton@linaro.org>
44953         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44954         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44955         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44956         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44957         * sysdeps/hppa/start.S (_start): Likewise.
44959 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44961         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44963         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44964         defined.
44966 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44968         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44969         after checking that it is non-NULL.
44971         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44973 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44975         * sysdeps/powerpc/memmove.c: Remove file.
44976         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44977         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44978         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44979         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44980         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44981         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44982         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44983         string memmove instead of removed powerpc one.
44985         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44986         [weak_alias]: Fix compiler warning due trailing data.
44987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44988         [weak_alias]: Likewise.
44989         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44990         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44993         (__libc_ifunc_impl_list): Add memmove functions.
44995 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44997         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44998         Remove code.
44999         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45000         Likewise.
45001         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45002         Likewise.
45003         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45004         Likewise.
45005         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45006         Likewise.
45007         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45008         Likewise.
45009         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45010         Likewise.
45011         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45012         Likewise.
45013         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45014         Likewise.
45015         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45016         Likewise.
45017         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45018         Likewise.
45019         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45020         Likewise.
45021         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45022         Likewise.
45023         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45024         Likewise.
45025         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45026         Likewise.
45027         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45028         Likewise.
45029         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45030         Likewise.
45032 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45034         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45035         to avoid alignment traps in non-cacheable memory.
45036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45039         multiarch objects.
45040         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45041         file: multiarch power7 memmove.
45042         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45043         multiarch default memmove.
45044         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45045         multiarch memove for powerpc32/power4.
45047         * string/bcopy.c: Use full path to include memmove.c.
45048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45049         multiarch objects.
45050         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45051         bcopy for powerpc64.
45052         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45053         bcopy for powerpc64.
45054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45055         and memmove implementations.
45056         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45057         optimized multiarch memmove for POWER7/powerpc64.
45058         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45059         default multiarch memmove for powerpc64.
45060         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45061         multiarch for powerpc64.
45062         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45063         for POWER7/powerpc64.
45064         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45065         memmove for POWER7/powerpc64.
45067         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45068         glibc default one.
45070         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45071         __ELF_NATIVE_CLASS equal to 64.
45073 2014-07-07  Roland McGrath  <roland@hack.frob.com>
45075         * sysdeps/nptl/lowlevellock.h: File removed.
45077         * NEWS: NPTL is no longer an add-on!
45078         * nptl/internaltypes.h: Moved ...
45079         * sysdeps/nptl/internaltypes.h: ... here.
45080         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45081         * sysdeps/nptl/fork.c: Likewise.
45082         * sysdeps/nptl/gai_misc.h: Likewise.
45083         * sysdeps/nptl/librt-cancellation.c: Likewise.
45084         * sysdeps/nptl/jmp-unwind.c: Likewise.
45085         * sysdeps/nptl/setxid.h: Likewise.
45086         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45087         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45088         * sysdeps/unix/sysv/linux/arm/Implies: New file.
45089         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45090         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45091         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45092         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45093         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45094         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45095         * sysdeps/unix/sysv/linux/mips/Implies: New file.
45096         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45097         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45098         * sysdeps/unix/sysv/linux/sh/Implies: New file.
45099         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45100         * sysdeps/unix/sysv/linux/tile/Implies: New file.
45101         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45102         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45103         * nptl/Makeconfig: Moved ...
45104         * sysdeps/nptl/Makeconfig: ... here.
45105         * nptl/configure: File removed.
45106         * nptl/ANNOUNCE: File removed.
45107         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45108         * sysdeps/unix/sysv/linux/configure: Regenerated.
45110         * nptl/Makefile (routines): Add libc_pthread_init,
45111         libc_multiple_threads, register-atfork and unregister-atfork.
45112         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45113         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45114         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45115         pthread-pi-defines.sym, structsem.sym.
45116         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45117         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45118         [$(subdir) = nptl] (tests): Add tst-setgetname.
45119         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45120         * sysdeps/unix/sysv/linux/sigaction.c: Just include
45121         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45122         [!LIBC_SIGACTION]: Remove aliases.
45123         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45124         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45125         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45126         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45127         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45128         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45129         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45131         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45132         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45133         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45134         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45135         __libc_allocate_rtsig_private.
45136         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45137         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45138         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45139         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45140         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45141         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45142         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45143         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45144         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45145         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45146         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45147         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45148         * nptl/internaltypes.h: ... here.
45149         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45150         * sysdeps/nptl/jmp-unwind.c: ... here.
45151         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45152         * nptl/libc-lowlevellock.c: ... here.
45153         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45154         * nptl/libc_multiple_threads.c: ... here.
45155         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45156         * nptl/libc_pthread_init.c: ... here.
45157         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45158         * nptl/lowlevelbarrier.sym: ... here.
45159         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45160         * nptl/lowlevelcond.sym: ... here.
45161         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45162         * nptl/lowlevellock.c: ... here.
45163         * nptl/lowlevellock.h: Moved ...
45164         * sysdeps/nptl/lowlevellock.h: ... here.
45165         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45166         * nptl/lowlevelrobustlock.c: ... here.
45167         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45168         * nptl/lowlevelrobustlock.sym: ... here.
45169         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45170         * nptl/lowlevelrwlock.sym: ... here.
45171         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45172         * nptl/pt-fork.c: ... here.
45173         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45174         * nptl/pthread-pi-defines.sym: ... here.
45175         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45176         * nptl/pthread_attr_getaffinity.c: ... here.
45177         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45178         * nptl/pthread_attr_setaffinity.c: ... here.
45179         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45180         * nptl/pthread_mutex_cond_lock.c: ... here.
45181         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45182         Update #include.
45183         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45184         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45185         * nptl/pthread_once.c: ... here, replacing old file.
45186         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45187         * nptl/pthread_yield.c: ... here.
45188         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45189         * nptl/register-atfork.c: ... here.
45190         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45191         * nptl/sem_post.c: ... here.
45192         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45193         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45194         * nptl/sem_timedwait.c: ... here.
45195         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45196         * nptl/sem_trywait.c: ... here.
45197         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45198         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45199         * nptl/sem_wait.c: ... here.
45200         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45201         * nptl/structsem.sym: ... here.
45202         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45203         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45204         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45205         * nptl/unregister-atfork.c: ... here.
45206         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45207         * nptl/unwindbuf.sym: ... here.
45208         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45209         * sysdeps/nptl/fork.c: ... here.
45210         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45211         * sysdeps/nptl/fork.h: ... here.
45212         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45213         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45214         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45215         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45216         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45217         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45218         * sysdeps/unix/sysv/linux/getpid.c: ... here.
45219         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45220         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45221         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45222         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45223         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45224         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45225         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45226         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45227         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45228         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45229         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45230         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45231         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45232         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45233         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45234         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45235         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45236         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45237         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45238         * sysdeps/unix/sysv/linux/raise.c: ... here.
45239         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45240         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45241         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45242         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45243         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45244         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45245         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45246         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45247         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45248         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45249         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45250         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45251         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45252         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45253         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45255 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45257         * sysdeps/generic/memcopy.h: Add comment for
45258         MEMCPY_OK_FOR_FWD_MEMMOVE.
45260 2014-07-04  Will Newton  <will.newton@linaro.org>
45262         * string/memchr.c: Merge from gnulib.
45263         [_LIBC]: Remove conditionals.
45264         (__ptr_t): Remove define.
45265         (LONG_MAX_32_BITS): Likewise.
45266         (LONG_MAX): Likewise.
45267         (MEMCHR): Use ANSI prototype and optimize algorithm.
45269         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
45271 2014-07-03  Roland McGrath  <roland@hack.frob.com>
45273         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45274         (lll_futex_timed_wait_bitset): Fix syscall argument count.
45276         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45277         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45278         in a bare environment with no <stdlib.h> installed.
45279         * sysdeps/nptl/configure: Regenerated.
45281         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45283         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45284         AC_EGREP_CPP for kernel header checks, so they only succeed if
45285         including <linux/version.h> actually works right.
45286         * sysdeps/unix/sysv/linux/configure: Regenerated.
45288         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45289         value so it's not diagnosed as unused.
45291         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45292         thing) with "ifeq ($(subdir),rt)".
45294 2014-07-03  Richard Henderson  <rth@redhat.com>
45296         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45297         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45298         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45300         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45301         (math_force_eval): New.
45303         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45304         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45306         * sysdeps/alpha/fpu/s_round.c: Remove file.
45307         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45309         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
45310         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45311         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
45312         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
45313         (_dl_start, print_statistics): Likewise.
45314         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45315         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
45317         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45318         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45319         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45320         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45321         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45322         (HP_SMALL_TIMING_AVAIL): Define.
45323         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45324         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45325         (HP_SMALL_TIMING_AVAIL): Define.
45326         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45327         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45329         * sysdeps/aarch64/hp-timing.h: New file.
45331         * sysdeps/generic/hp-timing.h: Remove dead comment.
45332         * sysdeps/generic/hp-timing-common.h: New file.
45333         * sysdeps/alpha/hp-timing.h: Include it.
45334         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45335         * sysdeps/i386/i686/hp-timing.h: Likewise.
45336         * sysdeps/ia64/hp-timing.h: Likewise.
45337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45338         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45339         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45340         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45341         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45342         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45343         (hp_timing_t): New.
45345         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45346         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45347         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45348         * elf/rtld.c (_dl_start_final): Likewise.
45349         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45350         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45351         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45352         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45353         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45355         (HP_TIMING_DIFF_INIT): Remove.
45356         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45357         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45358         (HP_TIMING_DIFF_INIT): Remove.
45359         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45360         * sysdeps/i386/i686/hp-timing.c: Remove file.
45361         * sysdeps/x86_64/hp-timing.c: Remove file.
45362         * sysdeps/ia64/hp-timing.c: Remove file.
45363         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45364         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45365         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45366         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45368         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45369         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45370         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45371         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45373         (HP_TIMING_ACCUM): Remove.
45374         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45376         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45378         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45379         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45380         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45381         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45382         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45383         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45384         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45385         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45387         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45389 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
45391         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45393 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45395         Sync up with gettext.
45396         * intl/loadmsgcat.c: Define O_BINARY if not defined.
45397         [_MSC_VER]: Include malloc.h
45398         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45399         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45400         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
45401         TEMP_FAILURE_RETRY.  Cast return of alloca.
45402         [!_LIBC] Call gl_rwlock_init.
45403         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45405 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45407         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45408         before checking its value.
45410 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45412         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45414         * debug/memcpy_chk.c: Don't include pagecopy.h.
45415         * debug/mempcpy_chk.c: Likewise.
45416         * string/memcpy.c: Likewise.
45417         * string/memmove.c: Likewise.
45418         * sysdeps/powerpc/memmove.c: Likewise.
45419         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
45420         definition of PAGE_COPY_FWD_MAYBE here...
45421         * sysdeps/generic/pagecopy.h: ... from here.
45422         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45424 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45425             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45427         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45429         optimizations.
45430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45431         (__libc_ifunc_impl_list): Likewise.
45432         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45433         multiarch strcat for PPC64.
45434         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45435         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45437 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45439         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45441 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45443         * intl/loadmsgcat.c: Remove declaration of
45444         get_sysdep_segment_value.
45445         (get_sysdep_segment_value): Use ISO C style.
45446         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45447         semicolon.  Fix typo and formatting in comment.
45448         (_nl_unload_domain): Use ISO C style.
45450         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45452 2014-07-02  Will Newton  <will.newton@linaro.org>
45454         * malloc/obstack.c: Merge from gnulib master.
45455         [HAVE_CONFIG_H]: Remove conditional code.
45456         [!_LIBC]: Include config.h.
45457         [!ELIDE_CODE]: Don't include inttypes.h, include
45458         stdint.h unconditionally.
45459         (print_and_abort): Mark as _Noreturn.
45460         (_obstack_allocated_p): Mark as __attribute_pure__.
45461         (obstack_free): Rename to __obstack_free.
45462         [!__attribute__]: Remove conditional code.
45463         * malloc/obstack.h: Merge from gnulib master.
45464         [__cplusplus]: Move conditional down.
45465         [!__attribute_pure__]: Define __attribute_pure__ here
45466         if it is not already defined.
45467         (_obstack_memory_used): Mark as __attribute_pure__.
45468         [!__obstack_free]: Define as obstack_free.
45469         [__GNUC__]: Remove check for ancient NeXT gcc.
45471 2014-07-02  Will Newton  <will.newton@linaro.org>
45472             Paul Eggert  <eggert@cs.ucla.edu>
45474         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45476 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45478         * resolv/gethnamaddr.c: Add comment warning that the file is
45479         not maintained.
45481 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45483         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45484         entries.
45486         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45487         entry for aio_cancel and aio_cancel64.
45488         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45489         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45490         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45491         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45492         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45493         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45494         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45495         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45496         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45497         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45498         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45499         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45500         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45502 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45504         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45505         * nptl/pthread_mutex_lock.c: Likewise.
45506         * nptl/pthread_mutex_timedlock.c: Likewise.
45507         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45509 2014-07-01  Richard henderson  <rth@redhat.com>
45511         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45512         (__isnan, __isnanl): Remove.
45513         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45515         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45517 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45519         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45521 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45523         * resolv/nss_dns/dns-host.c (getanswer_r)
45524         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45526 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45529         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45530         undefine.
45531         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45532         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45534 2014-07-01  Roland McGrath <roland@hack.frob.com>
45536         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45537         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45539         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45540         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45542         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45543         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45544         ... here.
45545         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45546         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45548         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45549         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45550         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45551         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45553         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45554         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45555         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45556         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45557         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45558         Moved ...
45559         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45560         ... here.
45561         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45562         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45563         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45564         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45565         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45566         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45567         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45568         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45569         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45570         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45571         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45572         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45573         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45574         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45575         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45576         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45577         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45578         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45579         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45580         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45581         ... here.
45582         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45583         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45584         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45585         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45586         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45587         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45588         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45589         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45591 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45593         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45594         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45595         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45596         Add sysdep.
45598 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45602 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45604         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45605         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45607         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45609         * sysdeps/arm/libm-test-ulps: Regenerated.
45611 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45612             Roland McGrath <roland@hack.frob.com>
45614         * test-skeleton.c (signal_handler): Kill the whole process group
45615         before killing the child individually.
45616         (main): Report any failure on `setpgid'.
45618 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45620         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45621         from _TLS_H to _ARM_NPTL_TLS_H.
45622         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45623         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45625 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45627         [BZ #16539]
45628         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45629         (__expm1l): Return argument unchanged when small but not
45630         subnormal.
45632         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45633         include macro name.
45634         (_FP_UNPACK_RAW_1_P): Likewise.
45635         (_FP_PACK_RAW_1): Likewise.
45636         (_FP_PACK_RAW_1_P): Likewise.
45637         (_FP_MUL_MEAT_1_wide): Likewise.
45638         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45639         (_FP_MUL_MEAT_1_hard): Likewise.
45640         (_FP_DIV_MEAT_1_imm): Likewise.
45641         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45642         (_FP_DIV_MEAT_1_udiv): Likewise.
45643         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45644         (_FP_UNPACK_RAW_2): Likewise.
45645         (_FP_UNPACK_RAW_2_P): Likewise.
45646         (_FP_PACK_RAW_2): Likewise.
45647         (_FP_PACK_RAW_2_P): Likewise.
45648         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45649         (_FP_MUL_MEAT_2_wide): Likewise.
45650         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45651         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45652         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45653         (_FP_MUL_MEAT_2_gmp): Likewise.
45654         (_FP_DIV_MEAT_2_udiv): Likewise.
45655         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45656         (_FP_FRAC_SRL_4): Likewise.
45657         (_FP_FRAC_SRST_4): Likewise.
45658         (_FP_FRAC_SRS_4): Likewise.
45659         (_FP_UNPACK_RAW_4): Likewise.
45660         (_FP_UNPACK_RAW_4_P): Likewise.
45661         (_FP_PACK_RAW_4): Likewise.
45662         (_FP_PACK_RAW_4_P): Likewise.
45663         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45664         (_FP_MUL_MEAT_4_wide): Likewise.
45665         (_FP_MUL_MEAT_4_gmp): Likewise.
45666         (umul_ppppmnnn): Likewise.
45667         (_FP_DIV_MEAT_4_udiv): Likewise.
45668         (__FP_FRAC_ADD_4): Likewise.
45669         (__FP_FRAC_SUB_3): Likewise.
45670         (__FP_FRAC_SUB_4): Likewise.
45671         (__FP_FRAC_DEC_3): Likewise.
45672         (__FP_FRAC_DEC_4): Likewise.
45673         (__FP_FRAC_ADDI_4): Likewise.
45674         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45675         (_FP_FRAC_SRL_8): Likewise.
45676         (_FP_FRAC_SRS_8): Likewise.
45678         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45679         include macro name.
45680         (FP_UNPACK_RAW_EP): Likewise.
45681         (FP_PACK_RAW_E): Likewise.
45682         (FP_PACK_RAW_EP): Likewise.
45683         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45684         (_FP_ISSIGNAN): Likewise.
45685         (_FP_ADD_INTERNAL): Likewise.
45686         (_FP_FMA): Likewise.
45687         (_FP_CMP): Likewise.
45688         (_FP_SQRT): Likewise.
45689         (_FP_TO_INT): Likewise.
45690         (_FP_FROM_INT): Likewise.
45691         (FP_EXTEND): Likewise.
45692         (_FP_DIV_MEAT_N_loop): Likewise.
45694 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45696         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45697         throughout.
45699 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
45701         [BZ #17097]
45702         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45703         result with correct sign in case of exponents that produce
45704         overflow except for X very close to 1.
45706 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
45708         mktime: merge #if/#ifdef usage from glibc
45709         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45710         as that works with both Glibc's and Gnulib's style.
45711         See thread starting at Siddhesh Poyarekar's bug report at:
45712         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45714 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45716         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45717         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45718         * sysdeps/tile/tilegx/memmove.c: Remove file.
45720 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45722         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45723         abi-name definition.
45724         * scripts/soversions.awk: Do not handle or generate ABI lines.
45725         * shlib-versions: Remove ABI entries.
45726         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45727         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45729 2014-06-27  Roland McGrath  <roland@hack.frob.com>
45731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45732         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45733         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45734         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45736         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45738         Moved ...
45739         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45740         ... here.
45741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45742         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45744         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45746         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45747         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45748         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45749         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45750         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45751         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45752         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45754         Moved ...
45755         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45757         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45759         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45761         Moved ...
45762         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45764         Moved ...
45765         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45767         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45769         Moved ...
45770         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45772         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45774         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45776         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45778         Moved ...
45779         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45781         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45782         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45783         Moved ...
45784         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45785         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45786         Moved ...
45787         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45789         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45790         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45791         Moved ...
45792         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45793         ... here.
45794         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45795         Identical file removed.
45796         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45797         Moved ...
45798         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45799         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45800         Identical file removed.
45801         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45802         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45803         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45804         Moved ...
45805         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45807         Identical file removed.
45808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45809         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45811         Identical file removed.
45812         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45813         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45814         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45815         Identical file removed.
45816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45817         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45819         Identical file removed.
45820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45821         Moved ...
45822         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45824         Identical file removed.
45825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45826         Moved ...
45827         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45829         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45830         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45831         Identical file removed.
45832         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45833         Moved ...
45834         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45835         ... here.
45836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45837         Identical file removed.
45838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45839         Moved ...
45840         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45842         Identical file removed.
45843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45844         Moved ...
45845         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45847         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45848         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45849         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45851         Moved ...
45852         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45853         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45854         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45856         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45857         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45858         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45859         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45860         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45862 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45864         [BZ #17092]
45865         * nscd/nscd.c (monitor_child): Return exit status of child
45866         instead of return value from wait syscall.
45868 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45870         * configure.ac (libc_commonpagesize): Remove variable.
45871         (libc_relro_required): Likewise.
45872         (libc_cv_z_relro): Remove configure test.
45873         * configure: Regenerated.
45874         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45875         variable.
45876         (libc_relro_required): Likewise.
45877         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45878         (libc_relro_required): Likewise.
45879         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45880         (libc_relro_required): Likewise.
45881         * sysdeps/arm/preconfigure: Regenerated.
45882         * sysdeps/ia64/preconfigure: Remove file.
45883         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45884         variable.
45885         (libc_relro_required): Likewise.
45887         [BZ #16561]
45888         [BZ #16562]
45889         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45890         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45891         recompute overflowing results in original rounding mode.
45892         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45893         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45894         recompute overflowing results in original rounding mode.
45895         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45896         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45897         recompute overflowing results in original rounding mode.
45898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45899         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45900         recompute overflowing results in original rounding mode.
45901         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45902         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45903         recompute overflowing results in original rounding mode.
45904         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45905         (libc_feholdsetround_ctx): New macro.
45906         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45907         * sysdeps/i386/fpu/libm-test-ulps: Update.
45908         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45910 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45912         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45913         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45914         corresponding .cpsetup call.
45916 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45918         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45919         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45920         * sysdeps/arm/Makefile [$(subdir) = csu]
45921         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45922         (static-only-routines): Add aeabi_read_tp here.
45923         (shared-only-routines): Add libc-aeabi_read_tp here.
45924         (CFLAGS-libc-start.c): Add -fexceptions here.
45925         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45926         (sysdep_routines, static-only-routines, shared-only-routines):
45927         Don't add to these here.
45928         (CFLAGS-libc-start.c): Likewise.
45930         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45931         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45932         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45933         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45934         * sysdeps/arm/Makefile [$(subdir) = rt]
45935         (librt-sysdep_routines, librt-shared-only-routines):
45936         Append rt-aeabi_unwind_cpp_pr1 here.
45937         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45938         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45939         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45940         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45941         Append nptl-aeabi_unwind_cpp_pr1 here.
45942         (tests): Filter out tst-cleanupx4 here.
45943         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45944         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45945         Don't do those here.
45947 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45949         * scripts/list-sources.sh: Do not handle ports specially.
45951 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45953         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45954         * sysdeps/arm/feupdateenv.c: Likewise.
45956         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45958 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45960         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45961         trailing whitespace removed.
45962         * scripts/config.guess: Update to version 2014-03-23.
45963         * scripts/config.sub: Update to version 2014-05-01
45964         * scripts/install-sh: Update to version 2013-12-25.23.
45965         * scripts/move-if-change: Update from gnulib.
45967 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45969         * debug/memmove_chk.c: Remove pagecopy.h include.
45971 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45973         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45974         identical to gnulib mktime.
45976 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45978         * configure.ac: Do not test for machine being rs6000.  Do not test
45979         for powerpc*-*soft.
45980         * configure: Regenerated.
45982         [BZ #11505]
45983         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45984         test.
45985         * configure: Regenerated.
45986         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45987         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45988         Remove configure test.
45989         * sysdeps/arm/configure: Regenerated.
45990         * sysdeps/nptl/configure.ac: Do not check
45991         libc_cv_asm_cfi_directives.
45992         * sysdeps/nptl/configure: Regenerated.
45993         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45994         * sysdeps/x86_64/nptl/configure: Remove generated file.
45995         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45996         unconditional.
45997         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45999 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46001         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46002         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46003         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46004         it is defined.
46006         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46007         instead of whether it is defined.
46008         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46009         * sysdeps/hppa/dl-machine.h: Likewise.
46010         * sysdeps/ia64/dl-machine.h: Likewise.
46011         * sysdeps/m68k/dl-machine.h: Likewise.
46012         * sysdeps/microblaze/dl-machine.h: Likewise.
46013         * sysdeps/mips/dl-machine.: Likewise.
46014         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46015         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46016         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46017         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46018         * sysdeps/sh/dl-machine.h: Likewise.
46019         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46020         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46021         * sysdeps/tile/dl-machine.h: Likewise.
46022         * sysdeps/x86_64/dl-machine.h: Likewise.
46024         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46025         code.
46026         (verify_persistent_db): Likewise.
46028 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46031         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46033         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46035         Moved ...
46036         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46037         ... here.
46038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46039         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46041         Identical file removed.
46042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46043         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46045         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46047         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46049         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46051         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46053         Moved ...
46054         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46056         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46058         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46060         Moved ...
46061         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46063         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46065         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46067         Identical file removed.
46068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46069         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46071         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46073         Moved ...
46074         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46075         ... here.
46076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46077         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46079         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46081         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46083         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46085         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46087         Moved ...
46088         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46090         Moved ...
46091         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46093         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46095         Moved ...
46096         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46098         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46100         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46101         folded into ...
46102         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46103         * sysdeps/unix/sysv/linux/s390/Versions
46104         (libpthread: GLIBC_2.19): New version set.
46105         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46106         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46107         (librt: GLIBC_2.3.3): New version set.
46108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46109         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46110         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46111         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46112         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46113         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46114         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46115         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46116         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46117         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46118         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46120         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46121         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46122         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46123         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46124         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46125         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46126         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46127         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46128         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46130         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46132         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46134         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46136         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46138         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46144         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46146         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46148         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46150         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46152         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46155         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46156         (__libc_vfork): Define the function under this name.
46157         [!NOT_IN_libc] (__vfork): Make this an alias.
46158         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46160         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46161         (__libc_vfork): Define the function under this name.
46162         [!NOT_IN_libc] (__vfork): Make this an alias.
46163         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46164         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46165         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46168         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46170         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46171         code that was previously under [RESET_PID].
46172         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46173         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46177         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46178         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46179         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46180         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46181         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46182         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46183         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46184         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46185         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46186         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46187         Moved ...
46188         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46189         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46190         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46191         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46192         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46193         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46194         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46195         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46196         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46197         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46198         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46199         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46200         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46201         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46202         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46203         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46204         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46205         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46206         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46207         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46208         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46209         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46210         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46211         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46212         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46213         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46214         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46216         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46218 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46220         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46221         that was previously under [RESET_PID].
46222         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46224 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46226         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46227         not undefine and redefine.
46228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46229         [O_CLOEXEC]: Make code unconditional.
46230         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46231         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46232         <kernel-features.h>.
46233         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46234         conditional variable definition.
46235         (shm_open) [O_CLOEXEC]: Make code unconditional.
46236         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46237         code.
46239         * configure.ac (USE_REGPARMS): Don't define here.
46240         * configure: Regenerated.
46241         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46242         * sysdeps/i386/configure: Regenerated.
46244         * nptl/createthread.c: Don't include kernel-features.h.
46245         * nptl/pthread_cancel.c: Likewise.
46246         * nptl/pthread_condattr_setclock.c: Likewise.
46247         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46248         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46249         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46250         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46251         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46252         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46253         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46256         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46257         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
46258         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
46259         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
46260         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
46261         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
46262         * nscd/gai.c: Likewise.
46263         * nss/nss_db/db-open.c: Likewise.
46264         * sysdeps/generic/ldsodefs.h: Likewise.
46265         * sysdeps/sh/nptl/tls.h: Likewise.
46266         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46267         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
46268         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46269         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
46270         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
46271         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46272         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
46273         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46275         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46276         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46277         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46278         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46279         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46280         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46281         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46282         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46283         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46284         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46285         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46288         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46289         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46294         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46295         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46296         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46298         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46299         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46300         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46301         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46302         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46303         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46304         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46305         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46306         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46307         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46308         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46309         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46310         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
46311         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
46312         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
46313         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
46314         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
46315         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
46316         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
46317         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
46318         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
46319         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46320         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46321         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46322         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46323         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46346         * sysdeps/unix/sysv/linux/pread.c: Likewise.
46347         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46348         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46349         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46350         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46351         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46352         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46353         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46354         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46355         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46356         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46357         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46358         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46359         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46360         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46361         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46363         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46364         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46365         * sysdeps/unix/sysv/linux/system.c: Likewise.
46366         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46367         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46368         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46369         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46370         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46372         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46374         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46375         * configure: Regenerated.
46376         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46378         * configure.ac (base_machine): Do not set specially for particular
46379         machines here.
46380         * configure: Regenerated.
46381         * sysdeps/powerpc/preconfigure: Move machine and base_machine
46382         settings from configure.ac.
46383         * sysdeps/i386/preconfigure: New file.
46384         * sysdeps/s390/preconfigure: Likewise.
46385         * sysdeps/sh/preconfigure: Likewise.
46386         * sysdeps/sparc/preconfigure: Likewise.
46388 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46390         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46391         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46392         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46393         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46394         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46395         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46396         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46397         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46398         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46399         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46400         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46401         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46402         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46403         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46404         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46405         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46407         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46408         * sysdeps/sparc/sparc64/Makefile: ... appended here.
46410         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46411         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46412         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46413         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46414         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46415         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46416         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46417         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46418         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46419         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46420         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46421         * sysdeps/sparc/sparc32/sem_post.c: ... here.
46422         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46423         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46424         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46425         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46426         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46427         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46428         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46429         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46431         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46433         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46435         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46440         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46441         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46443         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46444         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46445         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46447         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46450         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46452         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46454         Moved ...
46455         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46456         ... here.
46457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46458         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46460         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46462         Moved ...
46463         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46465         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46467         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46469         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46471         Moved ...
46472         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46474         Moved ...
46475         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46477         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46479         Moved ...
46480         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46482         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46484         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46486         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46488         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46490         Moved ...
46491         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46492         ... here.
46493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46494         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46498         Moved ...
46499         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46501         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46503         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46505         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46507         Moved ...
46508         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46510         Moved ...
46511         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46513         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46515         Moved ...
46516         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46518         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46520         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46522 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46524         * timezone/checktab.awk: Update from tzcode 2014e.
46525         * timezone/private.h: Likewise.
46526         * timezone/tzfile.h: Likewise.
46527         * timezone/zdump.c: Likewise.
46528         * timezone/zic.c: Likewise.
46530         * sysdeps/unix/sysv/linux/kernel-features.h
46531         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46532         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46533         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46534         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46535         Remove conditional code.
46537 2014-06-25  Will Newton  <will.newton@linaro.org>
46539         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46540         (_dl_arm_cap_flags): Add HWCAP2 values.
46541         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46542         (_DL_HWCAP_COUNT): Increase to 37.
46543         (_DL_HWCAP_LAST): New define.
46544         (_DL_HWCAP2_LAST): New define.
46545         (_dl_procinfo): Add support for printing
46546         AT_HWCAP2 entries.
46547         (_dl_string_hwcap): Use _dl_hwcap_string.
46549 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46553 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46555         * README: Do not mention ports directory.
46557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46558         Remove macro.
46559         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46560         <kernel-features.h>.
46561         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46562         conditional variable definition.
46563         (__futimes): Update comment.
46564         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46565         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46567         [BZ #16560]
46568         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46569         arguments close to 0.
46570         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46571         Likewise.
46572         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46573         Likewise.
46574         * math/auto-libm-test-in: Add more tests of exp10.
46575         * math/auto-libm-test-out: Regenerated.
46576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46578         * sysdeps/unix/sysv/linux/kernel-features.h
46579         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46580         * sysdeps/unix/sysv/linux/readv.c: Do not include
46581         <kernel-features.h>.
46582         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46583         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46584         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46585         unconditional.
46586         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46587         conditional code.
46588         * sysdeps/unix/sysv/linux/writev.c: Do not include
46589         <kernel-features.h>.
46590         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46591         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46592         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46593         unconditional.
46594         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46595         conditional code.
46597 2014-06-25  Will Newton  <will.newton@linaro.org>
46599         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46600         comment changes throughout the file.  Remove checks
46601         for HAVE_*_H definitions that are not required.
46602         (__gen_tempname): Call abort if an unknown kind value is
46603         passed.
46605 2014-06-25  Andreas Schwab  <schwab@suse.de>
46607         [BZ #17086]
46608         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46609         scalbln, scalblnf, scalblnl in libc.
46611 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46613         [BZ #17086]
46614         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46615         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46616         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46618 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46620         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46621         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46622         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46623         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46624         Update #include.
46625         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46626         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46627         Update #include.
46628         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46629         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46630         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46631         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46632         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46633         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46634         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46635         * sysdeps/x86/bits/semaphore.h: ... here.
46636         * sysdeps/x86/nptl/elide.h: Moved ...
46637         * sysdeps/x86/elide.h: ... here.
46638         * sysdeps/x86_64/nptl/Implies: File removed.
46639         * sysdeps/i386/nptl/Implies: File removed.
46641 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46643         [BZ #16539]
46644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46645         return the argument for normal arguments with exponent below -64.
46646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46647         Likewise.
46648         * math/auto-libm-test-in: Add another test of expm1.
46649         * math/auto-libm-test-out: Regenerated.
46651         [BZ #16287]
46652         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46653         calling __erfcl for arguments at least 16.
46654         * math/auto-libm-test-in: Add more tests of erf.
46655         * math/auto-libm-test-out: Regenerated.
46657         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46658         individual architectures.
46659         * sysdeps/unix/sysv/linux/configure: Regenerated.
46660         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46661         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46662         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46663         (ldd_rewrite_script): Define variable.
46664         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46666         file.
46667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46668         generated file.
46669         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46670         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46671         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46672         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46673         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46674         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46675         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46676         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46678 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46680         [BZ #17084]
46681         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46682         Rename member __data.d to __data.__elision_data.
46684 2014-06-24  Wilco  <wdijkstr@arm.com>
46686         * NEWS: Add 16918 to fixed bug list.
46688 2014-06-24  Wilco  <wdijkstr@arm.com>
46690         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46692 2014-06-24  Wilco  <wdijkstr@arm.com>
46694         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46695         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46696         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46697         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46698         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46699         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46700         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46701         Use _FPU_MASK_RM.
46703 2014-06-24  Wilco  <wdijkstr@arm.com>
46705         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46707 2014-06-24  Wilco  <wdijkstr@arm.com>
46709         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46710         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46711         * sysdeps/arm/fesetround.c (fesetround): Remove space.
46712         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46714 2014-06-24  Wilco  <wdijkstr@arm.com>
46716         [BZ #16918]
46717         * sysdeps/arm/feupdateenv.c (feupdateenv):
46718         Rewrite to reduce FPSCR accesses and fix return value.
46720 2014-06-24  Wilco  <wdijkstr@arm.com>
46722         * sysdeps/arm/fclrexcpt.c (feclearexcept):
46723         Optimize to avoid unnecessary FPSCR writes.
46724         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46725         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46726         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46727         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46729 2014-06-24  Wilco  <wdijkstr@arm.com>
46731         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46732         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46733         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46734         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46735         Call libc_fetestexcept_vfp.
46736         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46737         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46738         __SOFTFP__ ifdef so that they can be built for softfp.
46740 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46742         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46743         argument type signed char.
46745         * Makerules (check-abi): Dump diff of symlist if the test
46746         fails.
46748 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46750         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46751         using abort.
46753         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46754         Remove unused variable ST.
46756 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46758         [BZ #16354]
46759         [BZ #17061]
46760         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46761         small arguments before calling __expm1.
46762         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46763         small arguments before calling __expm1f.
46764         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46765         small arguments before calling __expm1l.
46766         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46767         Likewise.
46768         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46769         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
46770         spurious underflow for some cosh tests.
46771         * math/auto-libm-test-out: Regenerated.
46772         * sysdeps/i386/fpu/libm-test-ulps: Update.
46774         [BZ #17050]
46775         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46776         (__ieee754_y1): Set errno if return value overflows.
46777         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46778         (__ieee754_y1f): Set errno if return value overflows.
46779         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46780         (__ieee754_y1l): Set errno if return value overflows.
46781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46782         (__ieee754_y1l): Set errno if return value overflows.
46783         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46784         * math/auto-libm-test-out: Regenerated.
46786         * math/gen-auto-libm-tests.c: Document use of
46787         ignore-zero-inf-sign.
46788         (input_flag_type): Add value flag_ignore_zero_inf_sign.
46789         (input_flags): Add ignore-zero-inf-sign.
46790         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46791         * math/gen-libm-test.pl (generate_testfile): Handle
46792         ignore-zero-inf-sign.
46793         * math/auto-libm-test-in: Mark some cpow tests with
46794         ignore-zero-inf-sign and some with xfail-rounding.
46795         * math/auto-libm-test-out: Regenerated.
46796         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46797         * sysdeps/i386/fpu/libm-test-ulps: Update.
46798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46800         [BZ #16315]
46801         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46802         overflowing or underflowing operations take place with sign of
46803         result.
46804         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46805         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46806         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46807         (__ieee754_pow): Recompute overflowing and underflowing results in
46808         original rounding mode.
46809         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46810         (__powl_helper): Allow negative argument X and scale negated value
46811         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46812         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46813         overflowing or underflowing operations take place with sign of
46814         result.
46815         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46816         Include <math.h>.
46817         * math/auto-libm-test-in: Add more tests of pow.
46818         * math/auto-libm-test-out: Regenerated.
46819         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46820         (pow_tonearest_test_data): Remove.
46821         (pow_test_tonearest): Likewise.
46822         (pow_towardzero_test_data): Likewise.
46823         (pow_test_towardzero): Likewise.
46824         (pow_downward_test_data): Likewise.
46825         (pow_test_downward): Likewise.
46826         (pow_upward_test_data): Likewise.
46827         (pow_test_upward): Likewise.
46828         (main): Don't call removed functions.
46829         * sysdeps/i386/fpu/libm-test-ulps: Update.
46830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46832 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46835         Moved ...
46836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46838         Moved ...
46839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46841         Moved ...
46842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46844         Moved ...
46845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46847         File removed.
46848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46849         File removed.
46850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46851         File removed.
46852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46853         File removed.
46854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46855         File removed.
46856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46857         File removed.
46858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46859         File removed.
46860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46861         File removed.
46862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46863         File removed.
46864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46865         File removed.
46866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46867         File removed.
46868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46869         File removed.
46870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46871         Moved ...
46872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46874         Moved ...
46875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46876         ... here.
46877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46878         Moved ...
46879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46881         Moved ...
46882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46884         Moved ...
46885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46887         Moved ...
46888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46890         Moved ...
46891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46893         Moved ...
46894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46896         Moved ...
46897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46900         ... here.
46901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46902         Moved ...
46903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46905         Moved ...
46906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46907         ... here.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46909         Moved ...
46910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46911         ... here.
46912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46913         Moved ...
46914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46915         ... here.
46916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46917         Moved ...
46918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46920         Moved ...
46921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46925         Moved ...
46926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46927         ... here.
46928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46929         Moved ...
46930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46931         ... here.
46932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46933         Moved ...
46934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46936         Moved ...
46937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46939         Moved ...
46940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46942         Moved ...
46943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46945         Moved ...
46946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46947         ... here.
46948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46949         Moved ...
46950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46952         Moved ...
46953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46955         Moved ...
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46958         Moved ...
46959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46963         Moved ...
46964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46966         Moved ...
46967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46969         Moved ...
46970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46971         ... here.
46972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46973         Moved ...
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46975         ... here.
46976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46977         Moved ...
46978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46979         ... here.
46980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46981         Moved ...
46982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46984         Moved ...
46985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46987         Moved ...
46988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46990         Moved ...
46991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46992         ... here.
46993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46994         Moved ...
46995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46996         ... here.
46997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46998         Moved ...
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47000         ... here.
47001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47002         Moved ...
47003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47005         Moved ...
47006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47008 2014-06-23  Will Newton  <will.newton@linaro.org>
47009             Wilco  <wdijkstr@arm.com>
47011         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47012         implementation.  Include get-rounding-mode.h.
47013         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47014         [!libc_feholdsetround_noex_ctx]: Define
47015         libc_feholdsetround_noex_ctx.
47016         [!libc_feholdsetround_noexf_ctx]: Define
47017         libc_feholdsetround_noexf_ctx.
47018         [!libc_feholdsetround_noexl_ctx]: Define
47019         libc_feholdsetround_noexl_ctx.
47020         (libc_feholdsetround_ctx): New function.
47021         (libc_feresetround_ctx): New function.
47022         (libc_feholdsetround_noex_ctx): New function.
47023         (libc_feresetround_noex_ctx): New function.
47025 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47027         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47028         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47029         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47030         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47031         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47032         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47034         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47035         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47036         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47037         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47038         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47039         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47041         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47042         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47043         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47045         Moved ...
47046         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47047         ... here.
47048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47049         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47050         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47053         Moved ...
47054         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47056         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47058         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47060         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47062         Moved ...
47063         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47065         Moved ...
47066         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47068         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47070         Moved ...
47071         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47073         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47074         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47075         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47076         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47077         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47079         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47081         Moved ...
47082         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47083         ... here.
47084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47085         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47086         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47087         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47089         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47090         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47091         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47092         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47093         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47095         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47096         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47097         Moved ...
47098         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47100         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47102         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47104         Moved ...
47105         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47106         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47107         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47108         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47109         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47111         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47112         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47113         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47114         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47115         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47116         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47117         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47118         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47120         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47121         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47122         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47123         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47124         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47125         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47126         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47127         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47128         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47130         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47131         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47132         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47133         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47134         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47135         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47136         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47137         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47138         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47140 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47143         (FALLOC_FL_COLLAPSE_RANGE): New macro.
47144         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47145         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47146         (IPV6_PMTUDISC_INTERFACE): Likewise.
47147         (IPV6_PMTUDISC_OMIT): Likewise.
47149 2014-06-23  Andreas Schwab  <schwab@suse.de>
47151         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47152         Remove unused errout label.
47154 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47156         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47157         macro: hardware supports Vector Crypto instructions.
47159 2014-06-23  Will Newton  <will.newton@linaro.org>
47161         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47162         rather than __builtin_expect.
47164         * elf/dl-lookup.c (undefined_msg): Remove variable.
47165         (_dl_lookup_symbol_x): Replace undefined_msg with string
47166         literal.
47168         * elf/dl-lookup.c (do_lookup_unique): New function.
47169         (do_lookup_x): Move STB_GNU_UNIQUE handling code
47170         to a separate function.
47172 2014-06-23  Andreas Schwab  <schwab@suse.de>
47174         [BZ #17079]
47175         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47176         before reading the next line.
47178 2014-06-23  Will Newton  <will.newton@linaro.org>
47180         * test-skeleton.c (signal_handler): Use printf and %m
47181         rather than perror.  Use printf rather than fprintf to
47182         stderr.  Use puts rather than fputs to stderr.
47183         (main): Likewise.
47185 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
47187         * nscd/nscd.c (thread_info_t): Remove typedef.
47188         (thread_info): Remove variable.
47190 2014-06-21  Allan McRae  <allan@archlinux.org>
47192         * NEWS: Mention CVE-2014-4043.
47194 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47196         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47197         * nptl/smp.h: ... here.
47199         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47201         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47202         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47203         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47204         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47206         * nptl/allocatestack.c: Include <stack-aliasing.h>.
47207         * nptl/stack-aliasing.h: New file.
47208         * sysdeps/i386/i686/stack-aliasing.h: New file.
47209         * sysdeps/i386/i686/nptl/Makefile: File removed.
47210         * sysdeps/x86_64/stack-aliasing.h: New file.
47211         * sysdeps/x86_64/nptl/Makefile
47212         (CFLAGS-pthread_create.c): Variable removed.
47214         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47215         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47216         old file.
47217         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47218         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47219         old file.
47221 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
47223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47224         (__ASSUME_SIGFRAME_V2): Remove macro.
47225         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47226         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47227         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47228         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47229         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47230         Declare as function.  Remove conditional macro definitions.
47231         (__default_rt_sa_restorer): Likewise.
47232         (__default_sa_restorer_v1): Remove declaration.
47233         (__default_sa_restorer_v2): Likewise.
47234         (__default_rt_sa_restorer_v1): Likewise.
47235         (__default_rt_sa_restorer_v2): Likewise.
47236         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47237         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47238         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47240 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47242         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47243         (libpthread-routines): Add sysdep.
47244         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47245         * sysdeps/unix/sysv/linux/sparc/Versions
47246         (libpthread: GLIBC_2.3.3): New version set.
47247         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47248         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47249         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47250         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47251         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
47252         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47253         Moved ...
47254         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47255         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47256         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47257         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47258         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
47259         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
47260         * sysdeps/sparc/nptl/sem_init.c: ... here.
47261         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
47262         * sysdeps/sparc/nptl/sem_post.c: ... here.
47263         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
47264         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
47265         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
47266         * sysdeps/sparc/nptl/sem_wait.c: ... here.
47267         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
47268         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
47269         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
47270         (libpthread-routines): Add cpu_relax.
47271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
47272         File removed.
47273         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47274         (librt: GLIBC_2.3.3): New version set.
47275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47276         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47277         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47278         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47281         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47283         Moved ...
47284         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47286         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47288         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47290         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47292         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47294         Moved ...
47295         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47296         Update #include.
47297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47298         Moved ...
47299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47300         Update #include.
47301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47302         Moved ...
47303         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47304         Update #include.
47305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47306         Moved ...
47307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47308         Update #include.
47309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
47310         Moved ...
47311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
47312         Update #include.
47313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
47314         Moved ...
47315         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
47316         Update #include.
47317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
47318         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
47319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47324         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47326         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47328         Moved ...
47329         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47331         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47333         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47335 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47337         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47338         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47339         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47340         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47341         * nscd/nscd.c: Likewise.
47342         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47343         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47344         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47345         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47347         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47348         <kernel-features.h>.
47349         (init_mq_netlink): Remove conditional have_sock_cloexec
47350         definitions.  Remove code conditional on have_sock_cloexec < 0.
47351         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47352         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47353         * sysdeps/unix/sysv/linux/opensock.c: Do not include
47354         <kernel-features.h>.
47355         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47356         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47358 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47361         Add tests for memset_chk and memset.
47363         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47364         with AVX2_Usable.
47366 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47368         [BZ #16046]
47369         * elf/tst-dl-iter-static.c: New file.
47370         * elf/Makefile (tests-static): Add tst-dl-iter-static.
47372         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47373         error.
47375 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47377         * sysdeps/unix/sysv/linux/kernel-features.h
47378         (__ASSUME_F_GETOWN_EX): Remove macro.
47379         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47380         <kernel-features.h>.
47381         (miss_F_GETOWN_EX): Remove variable or macro.
47382         (do_fcntl): Do not check miss_F_GETOWN_EX.
47383         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47386         Remove macro.
47387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47388         [!__ASSUME_AT_RANDOM]: Remove conditional code.
47389         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47391         * sysdeps/unix/sysv/linux/kernel-features.h
47392         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47393         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47394         [ADJ_OFFSET_SS_READ]: Make code unconditional.
47395         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47397 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47399         [BZ #17075]
47400         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47401         Fix calculation of the symbol's value.
47402         * sysdeps/arm/tst-armtlsdescloc.c: New file.
47403         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47404         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47405         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47406         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47407         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47408         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47409         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47410         (modules-names): Add `tst-armtlsdescmod',
47411         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47412         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47413         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47414         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47415         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47416         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47417         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47418         ($(objpfx)tst-armtlsdescloc): New dependency.
47419         ($(objpfx)tst-armtlsdescextnow): Likewise.
47420         ($(objpfx)tst-armtlsdescextlazy): Likewise.
47421         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47422         TLS scheme support.
47423         * sysdeps/arm/configure: Regenerate.
47425 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47427         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47428         (__atfct_seterrno_2): Likewise.
47429         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47430         <kernel-features.h>.
47431         (__ASSUME_ATFCTS): Do not undefine and redefine.
47432         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47433         (__have_atfcts): Remove conditional definition.
47434         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47435         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47436         unreachable if [__ASSUME_ATFCTS].
47437         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47438         not undefine and redefine.
47439         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47440         <kernel-features.h>.
47441         (faccessat) [__NR_faccessat]: Make code unconditional.
47442         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47443         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47444         <kernel-features.h>.
47445         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47446         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47447         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47448         <kernel-features.h>.
47449         (fchownat) [__NR_fchownat]: Make code unconditional.
47450         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47451         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47452         <kernel-features.h>.
47453         (futimesat) [__NR_futimesat]: Make code unconditional.
47454         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47455         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47456         <kernel-features.h>.
47457         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47458         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47459         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47460         <kernel-features.h>.
47461         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47462         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47463         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47464         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47465         <kernel-features.h>.
47466         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47467         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47468         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47469         <kernel-features.h>.
47470         (linkat) [__NR_linkat]: Make code unconditional.
47471         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47472         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47473         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47474         <kernel-features.h>.
47475         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47476         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47477         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47478         <kernel-features.h>.
47479         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47480         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47481         * sysdeps/unix/sysv/linux/openat.c: Do not include
47482         <kernel-features.h>.
47483         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47484         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47485         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47486         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47487         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47488         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47489         <kernel-features.h>.
47490         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47491         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47492         result of INLINE_SYSCALL directly, not via int variable.
47493         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47494         <kernel-features.h>.
47495         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47496         (renameat) [__NR_renameat]: Make code unconditional.
47497         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47498         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47499         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47500         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47501         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47502         (__ASSUME_ATFCTS): Do not undefine and redefine.
47503         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47504         <kernel-features.h>.
47505         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47506         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47507         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47508         <kernel-features.h>.
47509         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47510         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47511         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47512         (__ASSUME_ATFCTS): Do not undefine and redefine.
47513         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47514         <kernel-features.h>.
47515         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47516         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47517         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47518         <kernel-features.h>.
47519         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47520         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47522 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47524         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47526 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47528         [BZ #17069]
47529         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47530         constructed tree before returning error.
47531         * posix/bug-regexp36.c: Expand test case.
47533 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47535         [BZ #6803]
47536         * math/libm-test.inc (scalbln_test_date):
47537         Add errno expectations.
47538         * math/w_scalblnf.c: New File.
47539         Add wrapper which checks for setting errno to ERANGE.
47540         Add weak_alias for corresponding scalbln function.
47541         * math/w_scalbln.c: Likewise.
47542         * math/w_scalblnl.c: Likewise.
47543         * math/Makefile (libm-calls): Add w_scalbln.
47544         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47545         Remove weak_alias for corresponding scalbln function.
47546         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47547         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47548         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47550         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47551         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47552         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47553         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47554         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47555         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47556         Remove long_double_symbol for scalblnl function in libm, libc.
47557         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47558         Add wrapper which checks for setting errno to ERANGE.
47559         Add long_double_symbol for scalblnl function in libm, libc.
47560         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47561         Remove long_double_symbol for scalblnl in libm.
47562         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47563         Add wrapper which checks for setting errno to ERANGE.
47564         Add long_double_symbol for scalblnl function in libm.
47565         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47566         Do not use wrapper because of own implementation.
47568 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47570         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47571         3 bytes for __pad1 for x32.
47572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47574 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47575             H.J. Lu  <hongjiu.lu@intel.com>
47577         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47578         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47579         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47580         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47581         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47583 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47585         [BZ #17069]
47586         * posix/regcomp.c (parse_expression): Deallocate partially
47587         constructed tree before returning error.
47588         * posix/Makefile.c (tests): Add bug-regex36.
47589         (generated): Add bug-regex36.mtrace.
47590         (tests-special): Add $(objpfx)bug-regex36-mem.out
47591         (bug-regex36-ENV): New variable.
47592         ($(objpfx)bug-regex36-mem.out): New rule.
47593         * posix/bug-regex36.c: New file.
47595 2014-06-19  Will Newton  <will.newton@linaro.org>
47597         * malloc/malloc.c (systrim): If extra is zero then return
47598         early.
47600 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47602         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47604 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47606         * sysdeps/aarch64/strchr.S: New file.
47608 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47610         [BZ #17022]
47611         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47612         from arguments -2 or below.
47613         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47614         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47616 2014-06-18  Andreas Schwab  <schwab@suse.de>
47618         [BZ #17062]
47619         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47620         of a bracket expr not to run off the end of the string.
47621         * posix/Makefile (tests): Add tst-fnmatch3.
47622         * posix/tst-fnmatch3.c: New file.
47624 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47626         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47627         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47628         [$(cross-compiling) = no]: Likewise.
47629         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47630         [$(cross-compiling) = no]: Likewise.
47632 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47634         [BZ #17031]
47635         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47636         double, adjusted for any remainder from the high double.
47637         * math/libm-test.inc (nearbyint): Add tests.
47638         (rint): Likewise.
47640 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47642         * nptl/sysdeps/powerpc/Makefile: Moved ...
47643         * sysdeps/powerpc/nptl/Makefile: ... here.
47644         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47645         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47646         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47647         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47648         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47649         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47650         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47651         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47652         * nptl/sysdeps/powerpc/tls.h: Moved ...
47653         * sysdeps/powerpc/nptl/tls.h: ... here.
47655 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47657         [BZ #16681]
47658         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47659         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47660         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47661         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47662         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47663         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47664         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47665         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47666         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47668 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47672 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47674         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47675         defined operator.
47677         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47678         $TIMEOUTFACTOR.
47680 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47682         [BZ #17058]
47683         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47684         non-executed part of the test.
47686 2014-06-16  Andreas Schwab  <schwab@suse.de>
47688         * string/bits/string2.h (strdup, strndup): Update feature guard.
47690 2014-06-14  David S. Miller  <davem@davemloft.net>
47692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47694 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
47696         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47697         that was previously under [RESET_PID].
47698         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47700         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47701         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47702         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47703         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47704         (__libc_vfork): New strong alias.
47705         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47707 2014-06-14 Andi Kleen  <ak@linux.intel.com>
47709         * sysdeps/generic/elide.h: New file.
47711 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
47713         * Makefile (installed-headers): Adjust path of pthread.h header.
47715 2014-06-13  Roland McGrath  <roland@hack.frob.com>
47717         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47718         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47719         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47720         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47722         * nptl/sysdeps/s390/Makefile: Moved ...
47723         * sysdeps/s390/nptl/Makefile: ... here.
47724         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47725         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47726         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47727         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47728         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47729         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47730         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47731         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47732         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47733         * sysdeps/s390/nptl/pthreaddef.h: ... here.
47734         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47735         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47736         * nptl/sysdeps/s390/tls.h: Moved ...
47737         * sysdeps/s390/nptl/tls.h: ... here.
47739         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47740         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47742 2014-06-13  David S. Miller  <davem@davemloft.net>
47744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47747         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47751         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47752         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47753         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47754         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47755         Remove RESET_PID cpp guards.
47756         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47757         Remove RESET_PID cpp guards.
47758         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47760 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
47762         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47763         __sp to uintptr_t.
47765 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47767         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47768         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47772         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47773         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47774         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47777         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47779         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47783         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47788         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47789         (pthread_rwlock_rdlock): Add elision.
47790         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47791         (pthread_rwlock_wrlock): Add elision.
47792         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47793         (pthread_rwlock_trywrlock): Add elision.
47794         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47795         (pthread_rwlock_tryrdlock): Add elision.
47796         * nptl/pthread_rwlock_unlock.c: Include elide.h.
47797         (pthread_rwlock_tryrdlock): Add elision unlock.
47798         * nptl/sysdeps/pthread/pthread.h:
47799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47800         (PTHREAD_RWLOCK_INITIALIZER,
47801         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47802         Handle new elision field.
47803         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47804         * sysdeps/arm/nptl/bits/pthreadtypes.h
47805         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47806         * sysdeps/sh/nptl/bits/pthreadtypes.h
47807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47808         * sysdeps/tile/nptl/bits/pthreadtypes.h
47809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47810         * sysdeps/a/nptl/bits/pthreadtypes.h
47811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47812         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47814         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47816         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47818         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47820         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47822         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47824         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47825         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47826         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47828         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47829         (elision_init): Set try_xbegin to zero when no RTM.
47830         * sysdeps/x86/nptl/bits/pthreadtypes.h
47831         (pthread_rwlock_t): Change __pad1 to __rwelision.
47832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47834 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47836         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47837         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47838         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47839         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47841 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47843         [BZ #16996]
47844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47845         that the cached result has been set before returning it.
47847 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47849         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47850         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47851         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47852         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47853         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47854         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47856         * nptl/sysdeps/sparc/Makefile: Moved ...
47857         * sysdeps/sparc/nptl/Makefile: ... here.
47858         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47859         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47860         * nptl/sysdeps/sparc/tls.h: Moved ...
47861         * sysdeps/sparc/nptl/tls.h: ... here.
47862         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47863         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47864         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47865         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47866         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47867         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47868         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47869         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47870         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47871         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47872         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47873         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47874         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47875         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47876         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47877         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47878         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47880         Update #include.
47881         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47883         Update #include.
47884         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47886         Update #include.
47887         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47888         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47889         Update #include.
47891         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47893         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47894         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47896         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47897         (struct list_links): Type removed.
47898         (struct thread_node, struct timer_node): Replace struct list_links
47899         with struct list_head.
47900         (list_unlink_ip): Likewise.
47901         * sysdeps/pthread/timer_routines.c
47902         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47903         (list_append, list_insbefore): Likewise.
47904         (list_init): Function removed.
47905         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47906         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47907         * sysdeps/pthread/Makefile: ... here, new file.
47909         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47910         * sysdeps/nptl/Implies: ... here.
47911         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47912         * nptl/sysdeps/pthread/list.h: Moved ...
47913         * include/list.h: ... here.
47914         * nptl/sysdeps/pthread/createthread.c: Moved ...
47915         * nptl/createthread.c: ... here.
47916         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47917         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47918         * nptl/pt-longjmp.c: ... here.
47919         * nptl/sysdeps/pthread/Makefile: Moved ...
47920         * sysdeps/nptl/Makefile: ... here.
47921         * nptl/sysdeps/pthread/Subdirs: Moved ...
47922         * sysdeps/nptl/Subdirs: ... here.
47923         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47924         * sysdeps/nptl/aio_misc.h: ... here.
47925         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47926         * sysdeps/nptl/bits/libc-lock.h: ... here.
47927         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47928         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47929         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47930         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47931         * nptl/sysdeps/pthread/configure: Moved ...
47932         * sysdeps/nptl/configure: ... here.
47933         * nptl/sysdeps/pthread/configure.ac: Moved ...
47934         * sysdeps/nptl/configure.ac: ... here.
47935         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47936         * sysdeps/nptl/gai_misc.h: ... here.
47937         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47938         * sysdeps/nptl/librt-cancellation.c: ... here.
47939         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47940         * sysdeps/nptl/malloc-machine.h: ... here.
47941         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47942         * sysdeps/nptl/pthread-functions.h: ... here.
47943         * nptl/sysdeps/pthread/pthread.h: Moved ...
47944         * sysdeps/nptl/pthread.h: ... here.
47945         * nptl/sysdeps/pthread/setxid.h: Moved ...
47946         * sysdeps/nptl/setxid.h: ... here.
47947         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47948         * sysdeps/nptl/sigfillset.c: ... here.
47949         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47950         * sysdeps/nptl/tcb-offsets.h: ... here.
47951         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47952         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47953         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47954         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47955         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47956         * sysdeps/pthread/allocalim.h: ... here.
47957         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47958         * sysdeps/pthread/bits/sigthread.h: ... here.
47959         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47960         * sysdeps/pthread/flockfile.c: ... here.
47961         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47962         * sysdeps/pthread/ftrylockfile.c: ... here.
47963         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47964         * sysdeps/pthread/funlockfile.c: ... here.
47965         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47966         * sysdeps/pthread/posix-timer.h: ... here.
47967         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47968         * sysdeps/pthread/timer_create.c: ... here.
47969         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47970         * sysdeps/pthread/timer_delete.c: ... here.
47971         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47972         * sysdeps/pthread/timer_getoverr.c: ... here.
47973         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47974         * sysdeps/pthread/timer_gettime.c: ... here.
47975         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47976         * sysdeps/pthread/timer_routines.c: ... here.
47977         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47978         * sysdeps/pthread/timer_settime.c: ... here.
47979         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47980         * sysdeps/pthread/tst-timer.c: ... here.
47981         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47982         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47984         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47985         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47987         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47988         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47989         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47990         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47991         Update #include target.
47992         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47993         * sysdeps/i386/i686/nptl/Makefile: ... here.
47994         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47995         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47996         Update #include target.
47997         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47998         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47999         * nptl/sysdeps/i386/Makefile: Moved ...
48000         * sysdeps/i386/nptl/Makefile: ... here.
48001         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48002         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48003         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48004         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48005         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48006         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48007         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48008         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48009         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48010         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48011         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48012         * nptl/sysdeps/i386/tls.h: Moved ...
48013         * sysdeps/i386/nptl/tls.h: ... here.
48015         * sysdeps/sh/Makefile [$(subdir) = csu]
48016         (gen-as-const-headers): Add tcb-offsets.sym.
48017         * nptl/sysdeps/sh/Makefile: File removed.
48018         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48019         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48020         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48021         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48022         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48023         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48024         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48025         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48026         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48027         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48028         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48029         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48030         * nptl/sysdeps/sh/tls.h: Moved ...
48031         * sysdeps/sh/nptl/tls.h: ... here.
48032         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48033         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48034         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48035         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48036         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48037         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48038         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48040         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48041         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48042         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48043         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48045         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48047         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48048         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48049         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48051         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48053         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48054         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48056         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48057         Moved ...
48058         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48060         Moved ...
48061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48062         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48063         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48064         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48066         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48067         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48068         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48069         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48070         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48071         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48072         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48073         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48074         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48075         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48076         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48077         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48078         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48081 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
48083         * posix/spawn_faction_addopen.c: Include string.h.
48085 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48087         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48088         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48089         * nptl/sysdeps/x86_64/Makefile: Moved ...
48090         * sysdeps/x86_64/nptl/Makefile: ... here.
48091         * nptl/sysdeps/x86_64/configure: Moved ...
48092         * sysdeps/x86_64/nptl/configure: ... here.
48093         * nptl/sysdeps/x86_64/configure.ac: Moved ...
48094         * sysdeps/x86_64/nptl/configure.ac: ... here.
48095         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48096         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48097         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48098         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48099         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48100         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48101         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48102         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48103         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48104         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48105         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48106         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48107         * nptl/sysdeps/x86_64/tls.h: Moved ...
48108         * sysdeps/x86_64/nptl/tls.h: ... here.
48109         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48110         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48111         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48112         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48114         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48116 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48120 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
48122         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48123         type.
48124         [POSIX] (off_t): Likewise.
48125         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48126         [POSIX] (S_ISBLK): Require macro.
48127         [POSIX] (S_ISCHR): Likewise.
48128         [POSIX] (S_ISDIR): Likewise.
48129         [POSIX] (S_ISFIFO): Likewise.
48130         [POSIX] (S_ISREG): Likewise.
48131         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48132         optional-macro.
48133         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48134         type.
48135         [POSIX] (time_t): Likewise.
48136         [POSIX] (timer_t): Likewise.
48138 2014-06-11  Florian Weimer  <fweimer@redhat.com>
48140         [BZ #17048]
48141         * posix/spawn_int.h (struct __spawn_action): Make the path string
48142         non-const to support deallocation.
48143         * posix/spawn_faction_addopen.c
48144         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48145         * posix/spawn_faction_destroy.c
48146         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
48147         path in all spawn_do_open actions.
48148         * posix/tst-spawn.c (do_test): Exercise the copy operation in
48149         posix_spawn_file_actions_addopen.
48151 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
48153         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48154         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48155         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48156         conditional code always true.
48157         (__libc_vfork): New alias.
48159 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48161         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48162         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48164         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48166         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48167         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48169         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48170         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48172         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48173         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48175 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48177         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48178         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48179         multiarch strcmp for PPC64.
48180         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48181         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48183         multiarch optimizations.
48184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48185         (__libc_ifunc_impl_list): Likewise.
48187 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48189         * benchtests/scripts/validate_benchout.py: New script.
48190         * benchtests/Makefile (bench-func): Call it.
48191         * benchtests/scripts/benchout.schema.json: New file.
48193 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
48195         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48196         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48197         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48198         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48199         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48200         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48201         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48202         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48203         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48204         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48205         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48206         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48207         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48208         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48209         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48210         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48212         Moved ...
48213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48214         ... here.
48215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48216         Moved ...
48217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48219         Moved ...
48220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48221         ... here.
48222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48223         Moved ...
48224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48225         ... here.
48226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48227         Moved ...
48228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48230         Moved ...
48231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48232         ... here.
48233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48234         Moved ...
48235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48236         ... here.
48237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48238         Moved ...
48239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48241         Moved ...
48242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48243         ... here.
48244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48245         Moved ...
48246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48247         ... here.
48248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48249         Moved ...
48250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48251         ... here.
48252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48253         Moved ...
48254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48256         Moved ...
48257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
48258         ... here.
48259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
48260         Moved ...
48261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
48262         ... here.
48263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
48264         Moved ...
48265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
48266         ... here.
48267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
48268         Moved ...
48269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
48270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
48271         Moved ...
48272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
48273         ... here.
48274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48275         Moved ...
48276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48277         ... here.
48278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48279         Moved ...
48280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48282         Moved ...
48283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48284         ... here.
48285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48286         Moved ...
48287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48289         Moved ...
48290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48292         Moved ...
48293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48294         ... here.
48295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48296         Moved ...
48297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48298         ... here.
48299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48300         Moved ...
48301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48302         ... here.
48303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48304         Moved ...
48305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48307         Moved ...
48308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48309         ... here.
48310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
48311         Moved ...
48312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
48313         ... here.
48314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
48315         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
48316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
48317         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
48318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
48319         Moved ...
48320         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48321         ... here.
48322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48323         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48325         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48327         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48329         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48331         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48332         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48333         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48334         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48335         Moved ...
48336         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48338         Moved ...
48339         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48340         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48341         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48342         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48343         Moved ...
48344         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48346         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48347         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48348         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48349         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48350         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48352 2014-06-10  Wilco  <wdijkstr@arm.com>
48354         * math/test-fenv-return.c: New file.
48355         * math/Makefile: Add new test test-fenv-return.
48357 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
48359         [BZ #17042]
48360         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48361         when x - 1 is zero.
48362         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48363         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48364         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48365         0.0L for an argument of 1.0L.
48366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48367         Likewise.
48368         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48369         value when x - 1 is zero.
48370         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48371         * sysdeps/i386/fpu/libm-test-ulps: Update.
48372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48374 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
48376         [BZ #15119]
48377         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48379 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48381         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48382         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48384 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48386         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48387         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48389         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48390         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48392         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48393         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48395         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48396         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48398         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48399         if not already defined.
48400         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48401         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48402         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48403         (TLS_INIT_TP): Use it.
48404         (TLS_DEFINE_INIT_TP): New macro.
48405         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48407 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
48409         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48410         constant.
48411         [POSIX] (IXANY): Likewise.
48412         [POSIX] (OLCUC): Likewise.
48413         [POSIX || POSIX2008] (CBAUD): Do not allow.
48414         [POSIX || POSIX2008] (DEFECHO): Likewise.
48415         [POSIX || POSIX2008] (ECHOCTL): Likewise.
48416         [POSIX || POSIX2008] (ECHOKE): Likewise.
48417         [POSIX || POSIX2008] (ECHOPRT): Likewise.
48418         [POSIX || POSIX2008] (EXTA): Likewise.
48419         [POSIX || POSIX2008] (EXTB): Likewise.
48420         [POSIX || POSIX2008] (FLUSHO): Likewise.
48421         [POSIX || POSIX2008] (LOBLK): Likewise.
48422         [POSIX || POSIX2008] (PENDIN): Likewise.
48423         [POSIX || POSIX2008] (SWTCH): Likewise.
48424         [POSIX || POSIX2008] (VDISCARD): Likewise.
48425         [POSIX || POSIX2008] (VDSUSP): Likewise.
48426         [POSIX || POSIX2008] (VLNEXT): Likewise.
48427         [POSIX || POSIX2008] (VREPRINT): Likewise.
48428         [POSIX || POSIX2008] (VSTATUS): Likewise.
48429         [POSIX || POSIX2008] (VWERASE): Likewise.
48430         (B*): Change to B[0123456789]*.
48431         * conform/data/time.h-data [POSIX || UNIX98]
48432         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48433         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48434         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48435         [POSIX] (tm_*): Do not allow.
48437 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48439         * Makefile (install): Don't set LANGUAGE.
48440         * Makefile.in (install): Likewise.
48441         * assert/Makefile (test-assert-ENV): Remove variable.
48442         (test-assert-perr-ENV): Likewise.
48443         * elf/Makefile (neededtest4-ENV): Likewise.
48444         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48445         [$(cross-compiling) = no]: Don't set LANGUAGE.
48446         * io/ftwtest-sh (LANG): Remove variable.
48447         * libio/Makefile (tst-widetext-ENV): Likewise.
48448         * manual/install.texi (Running make install): Don't refer to
48449         environment settings for make install.
48450         * INSTALL: Regenerated.
48451         * nptl/tst-tls6.sh: Don't set LANG.
48452         * posix/globtest.sh (LANG): Remove variable.
48453         * string/Makefile (tester-ENV): Likewise.
48454         (inl-tester-ENV): Likewise.
48455         (noinl-tester-ENV): Likewise.
48456         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48457         [$(cross-compiling) = no]: Don't set LANGUAGE.
48458         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48459         without explicit environment settings.
48461 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48463         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48464         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48465         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48466         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48468 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48470         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48471         other files in the crypt directory.
48472         * crypt/crypt.c: Remove duplicate includes.
48473         * crypt/crypt-entry.c: Likewise.
48474         * crypt/crypt_util.c: Likewise.
48476 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48478         * Makeconfig (run-program-env): New variable.
48479         (run-program-prefix-before-env): Likewise.
48480         (run-program-prefix-after-env): Likewise.
48481         (run-program-prefix): Define in terms of new variables.
48482         (built-program-cmd-before-env): New variable.
48483         (built-program-cmd-after-env): Likewise.
48484         (built-program-cmd): Define in terms of new variables.
48485         (test-program-prefix-before-env): New variable.
48486         (test-program-prefix-after-env): Likewise.
48487         (test-program-prefix): Define in terms of new variables.
48488         (test-program-cmd-before-env): New variable.
48489         (test-program-cmd-after-env): Likewise.
48490         (test-program-cmd): Define in terms of new variables.
48491         * Rules (make-test-out): Use $(run-program-env).
48492         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48493         (help): Do not mention environment variables.  Mention
48494         --timeoutfactor option.
48495         (timeoutfactor): New variable.
48496         (blacklist_exports): Remove function.
48497         (exports): Remove variable.
48498         (command): Do not include ${exports}.
48499         * manual/install.texi (Configuring and compiling): Do not mention
48500         test wrappers preserving environment variables.  Mention that last
48501         assignment to a variable must take precedence.
48502         * INSTALL: Regenerated.
48503         * benchtests/Makefile (run-bench): Use $(run-program-env).
48504         * catgets/Makefile ($(objpfx)test1.cat): Use
48505         $(built-program-cmd-before-env), $(run-program-env) and
48506         $(built-program-cmd-after-env).
48507         ($(objpfx)test2.cat): Do not specify environment variables
48508         explicitly.
48509         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48510         $(run-program-env) and $(built-program-cmd-after-env).
48511         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48512         $(run-program-env) and $(test-program-cmd-after-env).
48513         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48514         explicitly.
48515         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48516         run_program_env and test_program_cmd_after_env arguments.
48517         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48518         * elf/tst-pathopt.sh: Use run_program_env argument.
48519         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48520         $(test-wrapper-env) and $(run-program-env).
48521         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48522         run_program_env arguments.
48523         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48524         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48525         $(test-program-prefix-before-env), $(run-program-env) and
48526         $(test-program-prefix-after-env).
48527         ($(objpfx)tst-gettext2.out): Likewise.
48528         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48529         run_program_env and test_program_prefix_after_env arguments.
48530         * intl/tst-gettext2.sh: Likewise.
48531         * intl/tst-gettext4.sh: Do not set environment variables
48532         explicitly.
48533         * intl/tst-gettext6.sh: Likewise.
48534         * intl/tst-translit.sh: Likewise.
48535         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48536         $(test-program-prefix-before-env), $(run-program-env) and
48537         $(test-program-prefix-after-env).
48538         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48539         run_program_env and test_program_prefix_after_env arguments.
48540         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48541         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48542         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48543         explicitly with each use of ${test_wrapper_env}.
48544         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48545         $(test-program-prefix-before-env), $(run-program-env) and
48546         $(test-program-prefix-after-env).
48547         * posix/tst-getconf.sh: Do not set environment variables
48548         explicitly.
48549         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48550         run_program_env and test_program_prefix_after_env arguments.
48551         * stdio-common/tst-printf.sh: Do not set environment variables
48552         explicitly.
48553         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48554         $(test-program-prefix-before-env), $(run-program-env) and
48555         $(test-program-prefix-after-env).
48556         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48557         run_program_env and test_program_prefix_after_env arguments.
48558         Split $test calls into $test_pre and $test.
48559         * timezone/Makefile (build-testdata): Use
48560         $(built-program-cmd-before-env), $(run-program-env) and
48561         $(built-program-cmd-after-env).
48563 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48565         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48566         strlen for non SHARED builds.
48568 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48570         * nptl/allocatestack.c (check_list): Inlined function...
48571         (__reclaim_stacks): ... here.
48573 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48575         [BZ #15698]
48576         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48577         memory overrun.
48579 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48581         * Rules (make-test-out): Include
48582         LOCPATH=$(common-objpfx)localedata in default environment.
48583         * debug/Makefile (tst-chk1-ENV): Remove variable.
48584         (tst-chk2-ENV): Likewise.
48585         (tst-chk3-ENV): Likewise.
48586         (tst-chk4-ENV): Likewise.
48587         (tst-chk5-ENV): Likewise.
48588         (tst-chk6-ENV): Likewise.
48589         (tst-lfschk1-ENV): Likewise.
48590         (tst-lfschk2-ENV): Likewise.
48591         (tst-lfschk3-ENV): Likewise.
48592         (tst-lfschk4-ENV): Likewise.
48593         (tst-lfschk5-ENV): Likewise.
48594         (tst-lfschk6-ENV): Likewise.
48595         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48596         (tst-iconv7-ENV): Likewise.
48597         * intl/Makefile (LOCPATH-ENV): Likewise.
48598         (tst-codeset-ENV): Likewise.
48599         (tst-gettext3-ENV): Likewise.
48600         (tst-gettext5-ENV): Likewise.
48601         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48602         (tst-fopenloc-ENV): Likewise.
48603         (tst-fgetws-ENV): Remove variable.
48604         (tst-ungetwc1-ENV): Likewise.
48605         (tst-ungetwc2-ENV): Likewise.
48606         (bug-ungetwc2-ENV): Likewise.
48607         (tst-swscanf-ENV): Likewise.
48608         (bug-ftell-ENV): Likewise.
48609         (tst-fgetwc-ENV): Likewise.
48610         (tst-fseek-ENV): Likewise.
48611         (tst-ftell-partial-wide-ENV): Likewise.
48612         (tst-ftell-active-handler-ENV): Likewise.
48613         (tst-ftell-append-ENV): Likewise.
48614         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48615         (tst-regexloc-ENV): Likewise.
48616         (bug-regex1-ENV): Likewise.
48617         (tst-regex-ENV): Likewise.
48618         (tst-regex2-ENV): Likewise.
48619         (bug-regex5-ENV): Likewise.
48620         (bug-regex6-ENV): Likewise.
48621         (bug-regex17-ENV): Likewise.
48622         (bug-regex18-ENV): Likewise.
48623         (bug-regex19-ENV): Likewise.
48624         (bug-regex20-ENV): Likewise.
48625         (bug-regex22-ENV): Likewise.
48626         (bug-regex23-ENV): Likewise.
48627         (bug-regex25-ENV): Likewise.
48628         (bug-regex26-ENV): Likewise.
48629         (bug-regex30-ENV): Likewise.
48630         (bug-regex32-ENV): Likewise.
48631         (bug-regex33-ENV): Likewise.
48632         (bug-regex34-ENV): Likewise.
48633         (bug-regex35-ENV): Likewise.
48634         (tst-rxspencer-ENV): Likewise.
48635         (tst-rxspencer-no-utf8-ENV): Likewise.
48636         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48637         (tst-sscanf-ENV): Likewise.
48638         (tst-swprintf-ENV): Likewise.
48639         (tst-swscanf-ENV): Likewise.
48640         (test-vfprintf-ENV): Likewise.
48641         (scanf13-ENV): Likewise.
48642         (bug14-ENV): Likewise.
48643         (tst-grouping-ENV): Likewise.
48644         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48645         (tst-strtod3-ENV): Likewise.
48646         (tst-strtod4-ENV): Likewise.
48647         (tst-strtod5-ENV): Likewise.
48648         (testmb2-ENV): Likewise./
48649         * string/Makefile (tst-strxfrm-ENV): Likewise.
48650         (tst-strxfrm2-ENV): Likewise.
48651         (bug-strcoll1-ENV): Likewise.
48652         (test-strcasecmp-ENV): Likewise.
48653         (test-strncasecmp-ENV): Likewise.
48654         * time/Makefile (tst-strptime-ENV): Likewise.
48655         (tst-ftime_l-ENV): Likewise.
48656         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48657         (tst-mbrtowc-ENV): Likewise.
48658         (tst-wcrtomb-ENV): Likewise.
48659         (tst-mbrtowc2-ENV): Likewise.
48660         (tst-c16c32-1-ENV): Likewise.
48661         (tst-mbsnrtowcs-ENV): Likewise.
48663 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48665         * manual/resource.texi (How to get information about the memory
48666         subsystem?): Fix typo.
48667         Reported by Peon de la Parra Ivan <peon@keba.com>
48669 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48671         [BZ #16882]
48672         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48673         (pthread_spin_lock): Branch out of spin loop to proper location.
48674         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48675         (pthread_spin_lock): Likewise.
48677         * nptl/tst-spin4.c: New test.
48678         * nptl/Makefile (tests): Add tst-spin4.
48680 2014-06-03  Andreas Schwab  <schwab@suse.de>
48682         [BZ #15946]
48683         * resolv/res_send.c (send_dg): Reload file descriptor after
48684         calling reopen.
48686 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48688         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48690 2014-06-03  Richard Henderson  <rth@redhat.com>
48692         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48693         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48694         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48695         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
48696         in the SAVE_PID block.
48697         (__libc_vfork): New alias.
48698         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48700         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48701         child in registers, not on the stack.  Remove RESET_PID conditionals.
48702         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48704 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48706         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48708 2014-06-03  Wilco  <wdijkstr@arm.com>
48710         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48711         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48712         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48713         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48714         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48715         Likewise.
48717 2014-06-03  Wilco  <wdijkstr@arm.com>
48719         * sysdeps/aarch64/fpu/math_private.h
48720         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48721         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48722         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48723         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48724         Fix declarations.
48726 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48728         * crypt/crypt-private.h: Include ufc-crypt.h.
48729         (__b64_from_24bit): Declare extern.
48730         * crypt/crypt_util.c(__b64_from_24bit): New function.
48731         (b64t): New static const variable.
48732         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48733         (b64t): Remove variable.
48734         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48735         * crypt/sha256-crypt.c: Include crypt-private.h.
48736         (b64t): Remove variable.
48737         (__sha256_crypt_r): Remove b64_from_24bit and replace
48738         with __b64_from_24bit.
48739         * crypt/sha512-crypt.c: Likewise.
48741 2014-06-02  Roland McGrath  <roland@hack.frob.com>
48743         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48744         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48745         Label the code __libc_vfork rather than __vfork.
48746         [!NOT_IN_libc] (vfork): Define as weak alias.
48747         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48748         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48749         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48751 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48753         * malloc/malloc.c (malloc_info): Fix format specifier for
48754         n_mmaps.
48756 2014-06-02  Wilco  <wdijkstr@arm.com>
48758         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48759         FPCR write.
48761 2014-06-02  Wilco  <wdijkstr@arm.com>
48763         [BZ #17009]
48764         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48765         Rewrite to reduce FPCR/FPSR accesses.
48767 2014-06-01  David S. Miller  <davem@davemloft.net>
48769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48771 2014-05-31  David S. Miller  <davem@davemloft.net>
48773         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48774         to occur in round to nearest mode when |x| >= 2.0
48776 2014-05-30  Richard Henderson  <rth@twiddle.net>
48778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48779         (PSEUDO_RET_NOERRNO): Remove.
48780         (ret): Don't redefine.
48781         (ret_NOERRNO): Define in terms of ret.
48782         (ret_ERRVAL): Likewise.
48784         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48785         use of PSEUDO_RET; perform the error check directly.
48787 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
48789         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48790         with __int128_t.
48792 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48794         * malloc/malloc (malloc_info): Fix formatting.
48796 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48797             Roland McGrath  <roland@hack.frob.com>
48799         * malloc/malloc (malloc_info): Also print mmapped statistics.
48801 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48803         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48804         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48806 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48808         * malloc/malloc.c (malloc_info): Inline mi_arena.
48810 2014-05-29  Richard Henderson  <rth@twiddle.net>
48812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48813         Remove comma before expanding ASM_ARGS_##nr.
48814         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48815         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48816         of ASM_ARGS_##nr.
48817         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48818         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48819         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48820         (ASM_ARGS_1): Add leading comma.
48822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48823         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48824         to __errno_location.
48825         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48826         Remove the expected plt for __errno_location.
48828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48829         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48830         call to __read_tp.
48832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48833         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48834         it and break it down.
48835         (DOCARGS_0, DOCARGS_1): Do nothing.
48836         (DOCARGS_2): Update to store into the new stack frame.
48837         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48838         (UNDOCARGS_1): Update to restore from the new stack frame.
48839         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48840         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48842         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48843         (SINGLE_THREAD_P): New parameter for result regno.
48844         (PSEUDO): Update to match; use cbz instead of beq.
48846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48847         Use ENTRY to define the _nocancel entry point.  Share the syscall
48848         and syscall error check paths with the cancel path.
48849         (PSEUDO_END): New.
48851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48852         whitespace; tabs before and after asm mnemonics.
48854 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48856         [BZ #15132]
48857         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48858         Call fstat64 or stat64 internally, depending on arguments passed.
48859         Replace stat buffer argument with file descriptor argument.
48860         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48861         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48862         Pass fd to __internal_statvfs instead of calling fstat64.
48863         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48864         Pass fd to __internal_statvfs64 instead of calling fstat64.
48865         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48866         Pass -1 to __internal_statvfs instead of calling stat64.
48867         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48868         Pass -1 to __internal_statvfs64 instead of calling stat64.
48870 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48872         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48873         that was previously under [RESET_PID].
48874         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48876         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48877         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48879 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48881         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48883         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48884         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48886 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48888         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48890 2014-05-27  Andreas Schwab  <schwab@suse.de>
48892         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48893         TLS_INIT_TP macro.
48894         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48895         * elf/rtld.c (init_tls, dl_main): Likewise.
48896         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48897         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48898         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48899         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48900         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48901         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48902         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48903         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48904         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48905         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48906         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48907         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48908         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48909         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48910         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48911         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48912         * sysdeps/generic/tls.h: Update description.
48914 2014-05-27  Will Newton  <will.newton@linaro.org>
48916         [BZ #16990]
48917         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48918         and restore r2 rather than just restoring.
48920 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48922         [BZ #16724]
48923         * libio/tst-ftell-append.c: New test case.
48924         * libio/Makefile (tests): Add test case.
48925         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48926         append mode.
48927         * libio/wfileops.c (do_ftell_wide): Likewise.
48929 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48933         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48934         ...
48935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48937         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48938         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48939         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48940         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48941         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48942         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48944         Moved ...
48945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48947         Moved ...
48948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48949         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48950         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48951         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48952         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48953         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48954         ...
48955         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48957         Moved ...
48958         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48959         here.
48960         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48961         ...
48962         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48963         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48964         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48966         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48967         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48969         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48972         merge into ...
48973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48975         ...
48976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48978         ...
48979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48981         Moved ...
48982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48983         here.
48984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48985         Moved ...
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48988         Moved ...
48989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48992         conditional [RESET_PID].
48993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48995         removed.
48996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48997         removed.
48999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49000         <tcb-offsets.h>.
49001         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49002         (__libc_vfork): New strong alias.
49003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49004         removed.
49005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49006         Removed.
49008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49009         <tcb-offsets.h>.
49010         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49011         (__libc_vfork): New strong alias.
49012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49013         removed.
49014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49015         removed.
49017 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49019         * malloc/malloc.c (mi_arena): New function.
49020         (malloc_info): Remove nested function mi_arena. Call non-nosted
49021         function mi_arena.
49023 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49025         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49026         by insrwi.
49027         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49028         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49029         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49030         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49031         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49032         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49033         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49035 2014-05-26  Andreas Schwab  <schwab@suse.de>
49037         [BZ #16984]
49038         * locale/programs/repertoire.c (repertoire_read): Add slash
49039         between I18NPATH element and file name.
49040         * locale/programs/locfile.c (locfile_read): Likewise.
49042 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49044         * nptl/pthread_mutexattr_settype.c
49045         (__pthread_mutexattr_settype):
49046         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49048 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49050         * nptl/tst-mutex5 (do_test):
49051         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49053 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49055         * benchtests/README: Document 'init' directive.
49056         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49057         BENCH_INIT.
49058         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49059         (parse_file): Recognize 'init' directive.
49061 2014-05-26  Kyle McMartin  <kyle@redhat.com>
49063         [BZ #16796]
49064         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49065         alignment of struct pthread.
49067 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49069         [BZ #16878]
49070         * nscd/netgroupcache.c (addgetnetgrentX): Look for
49071         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49072         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49073         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49075 2014-05-25  Richard Henderson  <rth@twiddle.net>
49077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49078         (SINGLE_THREAD_P_PIC): Remove.
49079         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49080         (SINGLE_THREAD_P_PIC): Remove.
49082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49083         branch to syscall error ...
49084         (PSEUDO): ... here.
49085         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49086         from __local_syscall_error to .Lsyscall_error.
49087         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49088         (SYSCALL_ERROR): Update label name.
49090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49091         Do not use DOARGS/UNDOARGS.
49092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49093         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49094         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49095         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49096         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49099         block comment.
49101         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49102         define if !NOT_IN_libc.
49103         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49104         define with non-default symbol versions.
49106 2014-05-23  Richard Henderson  <rth@twiddle.net>
49108         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49109         (vfork, __vfork): Define via compat_symbol.
49111         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49112         [!HAVE_IFUNC] (vfork_compat): Remove.
49113         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49115 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49117         [BZ #16978]
49118         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49119         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49120         variable.
49122 2014-05-23  Richard Henderson  <rth@twiddle.net>
49124         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49125         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49126         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49127         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49129         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49130         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49131         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49132         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49133         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49134         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49135         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49136         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49137         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49138         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49139         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49140         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49141         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49142         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49143         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49144         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49145         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49146         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49147         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49149         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49150         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49151         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49152         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49153         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49154         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49155         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49156         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49157         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49158         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49159         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49160         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49161         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49162         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49163         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49164         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49165         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49166         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49167         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49168         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49169         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49170         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49171         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49172         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49173         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49174         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49175         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49176         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49178         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49180         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49182         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49184         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49186         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49187         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49188         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
49189         before exiting on error.
49190         (__libc_vfork): New strong alias.
49191         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49192         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49194         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49195         that was previously under [RESET_PID].
49196         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49198         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49200 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49202         [BZ #16977]
49203         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49204         value when x - 1 is zero.
49205         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49206         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49207         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49208         0.0L for an argument of 1.0L.
49209         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49210         Likewise.
49211         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49212         value when x - 1 is zero.
49213         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49214         * sysdeps/i386/fpu/libm-test-ulps: Update.
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
49219         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49220         alphasort and versionsort.
49222 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49224         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49225         macro.
49226         [copysignf]: Likewise.
49228 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49230         * crypt/md5-crypt.c: Fix formatting.
49232 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49234         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49235         (b64_from_24bit): New function.
49237 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49240         libc_hidden_builtin_def to ifunc.
49241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49242         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49244 2014-05-21  Roland McGrath  <roland@hack.frob.com>
49246         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49247         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49249 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
49251         * nscd/Depend (linuxthreads): Remove.
49252         (nptl): Add.
49253         * resolv/Depend (linuxthreads): Remove.
49254         * rt/Depend (linuxthreads): Remove.
49256         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49257         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
49258         $(common-objpfx)elf/.
49259         (link-libc-before-gnulib): Likewise.
49260         (elfobjdir): Remove variable.
49261         * Makefile (install): Use $(elf-objpfx) instead of
49262         $(common-objpfx)elf/.
49263         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
49264         $(elfobjdir)/.
49265         (link-libc-deps): Likewise.
49266         ($(common-objpfx)libc.so): Likewise.
49267         ($(common-objpfx)linkobj/libc.so): Likewise.
49268         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
49269         instead of $(common-objpfx)elf/.
49270         (symbolic-link-list): Likewise.
49271         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49272         [$(cross-compiling) = no]: Likewise.
49273         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49274         $(elfobjdir)/.
49275         (static-gnulib-arch): Likewise.
49276         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49277         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49278         $(common-objpfx)elf/.
49280 2014-05-21  Richard Henderson  <rth@redhat.com>
49282         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49283         (SINGLE_THREAD_P): Use the correct width load.  Fold
49284         into the ldr offset.
49286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49287         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49289 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
49291         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49292         (libgcc_s_resume): Use __attribute_used__.
49293         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49294         Likewise.
49296 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49298         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49299         optimization when used with float constants.
49301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49303 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
49305         [BZ #16915]
49306         * locale/nl_langinfo_l.c: Make direct reference to every
49307         _nl_current_CATEGORY symbol.
49308         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49309         (tests-static): Add tst-langinfo-static.
49310         (tests-special): Add tst-langinfo-static.out.
49311         ($(objpfx)tst-langinfo.out): Redirect output.
49312         ($(objpfx)tst-langinfo-static.out): New.
49313         * localedata/tst-langinfo.sh: Send output to stdout.
49314         * localedata/tst-langinfo-static.c: New file.
49316         [BZ #16965]
49317         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
49318         when the shift amount is modulo the limb size.
49320 2014-05-20  Richard Henderson  <rth@redhat.com>
49322         [BZ #16967]
49323         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49324         Change type of sa_flags from unsigned int to int.
49326         [BZ #16966]
49327         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49329         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49331 2014-05-20  Will Newton  <will.newton@linaro.org>
49333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49334         Test the return value of the system call in the nocancel case.
49336 2014-05-20  Will Newton  <will.newton@linaro.org>
49337             Yvan Roux  <yvan.roux@linaro.org>
49339         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49340         #include of asm/ptrace.h.
49341         (PTRACE_GET_THREAD_AREA): Remove #undef.
49342         (PTRACE_GETHBPREGS): Likewise.
49343         (PTRACE_SETHBPREGS): Likewise.
49344         (struct user_regs_struct): New structure.
49345         (struct user_fpsimd_struct): New structure.
49346         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49347         #include of asm/ptrace.h and second #include of sys/user.h.
49348         (PTRACE_GET_THREAD_AREA): Remove #undef.
49349         (PTRACE_GETHBPREGS): Likewise.
49350         (PTRACE_SETHBPREGS): Likewise.
49351         (ELF_NGREG): Use new struct user_regs_struct.
49352         (elf_fpregset_t): Use new struct user_fpsimd_struct.
49354 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49356         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49359 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
49361         [BZ #16958]
49362         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49363         membar to avoid block loads/stores to overlap previous stores.
49365 2014-05-17  Richard Henderson  <rth@redhat.com>
49367         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49368         Create the __##syscall_name##_nocancel entry point.
49369         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49370         Remove; let the sysdep-cancel.h code create it.
49372 2014-05-17  David S. Miller  <davem@davemloft.net>
49374         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49375         Protect with __USE_GNU.
49376         (TIOCSET_TEMPT): Likewise.
49377         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49378         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49379         these are already provided in bits/ioctl-types.h
49381 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49383         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49384         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49386         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49387         Use wait4 regardless of [__NR_waitpid].
49389 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49391         PR libgcc/60166
49392         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49393         (_FP_NANSIGN_Q): Set the quiet bit.
49395 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
49397         * benchtests/Makefile
49398         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49399         not $(common-objpfx)math/libm.so.
49400         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49401         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49402         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49403         $(common-objpfx)dlfcn/libdl.so.
49404         ($(objpfx)tst-audit8): Depend on $(libm), not
49405         $(common-objpfx)math/libm.so.
49406         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49407         not $(common-objpfx)dlfcn/libdl.so.
49408         * math/Makefile
49409         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49410         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
49411         [$(build-shared) = yes].
49412         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49413         $(common-objpfx)nptl/libpthread.so.
49414         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49415         $(common-objpfx)math/libm.so$(libm.so-version) or
49416         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49417         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49418         $(common-objpfx)dlfcn/libdl.so.
49419         * setjmp/Makefile (link-libm): Remove variable.
49420         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49421         * stdio-common/Makefile (link-libm): Remove variable.
49422         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49423         * stdlib/Makefile (link-libm): Remove variable.
49424         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49425         ($(objpfx)tst-strtod-round): Likewise.
49426         ($(objpfx)tst-tininess): Likewise.
49427         ($(objpfx)tst-strtod-underflow): Likewise.
49428         ($(objpfx)tst-strtod6): Likewise.
49429         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49430         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49431         $(common-objpfx)dlfcn/libdl.so.
49433 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49435         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49436         BSD terminal modes definitions.
49438 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49440         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49441         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49443         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49444         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49445         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49446         Don't do #include_next.
49447         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49448         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49449         Don't do #include_next.
49450         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49451         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49452         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49453         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49455 2014-05-16  Allan McRae  <allan@archlinux.org>
49457         * po/sv.po: Update Swedish translation from translation project.
49459         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49460         in sed expression.
49462 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49464         [BZ #16917]
49465         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49466         errno if the TIOCGPTN ioctl fails with an error different than
49467         EINVAL.
49468         * login/tst-ptsname.c: New file.
49469         * login/Makefile (tests): Add tst-ptsname.
49471         [BZ #16943]
49472         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49473         and prlimit64.
49475 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49477         [BZ #16849]
49478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49479         herrno to return EAI_AGAIN.
49481 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49483         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49484         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49485         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49486         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49487         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49488         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49489         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49490         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49492         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49493         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49494         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49495         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49496         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49498         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49499         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49500         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49502         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49503         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49504         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49505         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49506         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49507         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49508         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49509         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49510         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49511         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49512         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49514         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49516         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49518         Moved ...
49519         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49521         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49523         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49525         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49527         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49531         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49533         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49535         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49537         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49539         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49541         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49543         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49545         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49547         Moved ...
49548         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49550         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49552         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49554         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49556         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49558         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49560         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49562         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49564         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49566         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49568         Moved ...
49569         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49571         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49573         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49574         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49575         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49576         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49577         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49578         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49579         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49580         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49581         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49582         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49583         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49584         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49585         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49586         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49587         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49588         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49589         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49590         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49591         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49592         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49593         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49594         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49595         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49596         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49597         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49598         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49599         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49600         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49601         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49602         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49603         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49605         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49606         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49608         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49609         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49610         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49611         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49612         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49613         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49614         Moved ...
49615         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49616         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49617         Moved ...
49618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49619         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49620         Moved ...
49621         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49622         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49623         Moved ...
49624         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49625         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49626         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49627         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49628         Moved ...
49629         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49630         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49631         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49633         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49634         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49635         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49636         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49637         Moved ...
49638         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49640         Moved ...
49641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49642         ... here.
49643         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49644         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49645         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49646         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49648         Moved ...
49649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49650         ... here.
49651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49652         Moved ...
49653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49654         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49655         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49656         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49657         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49658         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49659         Moved ...
49660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49661         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49662         Moved ...
49663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49664         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49665         Moved ...
49666         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49667         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49668         Moved ...
49669         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49670         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49671         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49672         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49673         Moved ...
49674         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49675         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49676         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49679         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49680         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49681         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49682         Moved ...
49683         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49685         Moved ...
49686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49687         ... here.
49688         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49689         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49690         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49691         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49693         Moved ...
49694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49695         ... here.
49696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49697         Moved ...
49698         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49699         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49700         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49701         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49702         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49703         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49705         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49706         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49707         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49708         Moved ...
49709         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49710         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49711         Moved ...
49712         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49713         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49714         Moved ...
49715         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49716         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49717         Moved ...
49718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49719         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49720         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49721         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49722         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49723         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49724         Moved ...
49725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49726         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49727         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49730         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49731         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49733         Moved ...
49734         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49736         Moved ...
49737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49738         ... here.
49739         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49740         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49741         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49742         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49744         Moved ...
49745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49746         ... here.
49747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49748         Moved ...
49749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49750         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49751         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49752         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49753         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49754         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49755         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49756         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49757         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49758         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49759         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49761         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49762         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49764         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49765         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49767         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49768         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49769         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49770         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49771         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49772         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49773         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49774         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49775         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49776         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49778         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49780         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49781         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49783         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49784         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49785         Moved ...
49786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49790         Moved ...
49791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49792         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49795         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49797         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49798         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49799         Moved ...
49800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49802         Moved ...
49803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49809         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49810         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49811         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49812         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49813         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49814         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49815         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49816         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49817         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49818         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49819         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49821         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49822         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49823         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49824         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49825         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49827         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49828         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49829         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49830         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49831         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49832         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49833         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49834         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49835         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49836         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49841         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49842         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49843         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49844         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49845         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49846         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49847         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49848         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49849         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49850         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49851         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49852         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49853         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49854         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49856         Update #include.
49857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49858         Likewise.
49859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49860         Likewise.
49861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49862         Likewise.
49863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49864         Likewise.
49865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49866         Likewise.
49867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49868         Likewise.
49869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49870         Likewise.
49871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49872         Likewise.
49873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49874         Likewise.
49875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49880         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49882         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49886         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49887         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49888         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49892         that was previously under [RESET_PID].
49893         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49894         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49895         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49897         * sysdeps/i386/nptl/Implies: New file.
49898         * sysdeps/x86_64/nptl/Implies: New file.
49899         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49900         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49901         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49902         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49904         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49905         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49906         (__libc_vfork): New strong alias.
49907         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49908         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49910         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49911         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49912         (__libc_vfork): New strong alias.
49913         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49914         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49916         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49917         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49918         (__libc_vfork): New strong alias.
49919         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49920         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49921         * nptl/pt-vfork.c: New file.
49922         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49923         (libpthread: GLIBC_2.20): New version set (empty).
49925 2014-05-14  Will Newton  <will.newton@linaro.org>
49927         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49928         rather than #if.
49930 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49932         [BZ #16564]
49933         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49934         arguments with exponent 65 or above.
49935         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49936         arguments 0x1p113L or above.
49937         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49938         to arguments 0x1p107L or above.
49939         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49940         positive arguments with exponent 65 or above.
49941         * math/auto-libm-test-in: Add more tests of log1p.
49942         * math/auto-libm-test-out: Regenerated.
49944         [BZ #16928]
49945         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49946         non-finite arguments is +0.
49947         * math/s_cacosf.c (__cacosf): Likewise.
49948         * math/s_cacosl.c (__cacosl): Likewise.
49949         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49950         * sysdeps/i386/fpu/libm-test-ulps: Update.
49951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49953         [BZ #16927]
49954         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49955         value.
49956         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49957         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49958         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49959         for explicit high bit of mantissa when testing for argument equal
49960         to 1.
49961         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49962         * sysdeps/i386/fpu/libm-test-ulps: Update.
49963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49965         [BZ #16516]
49966         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49967         (__erf): Scale by 16 instead of 8 in potentially underflowing
49968         case.  Ensure exception if result actually underflows.
49969         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49970         (__erff): Scale by 16 instead of 8 in potentially underflowing
49971         case.  Ensure exception if result actually underflows.
49972         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49973         (efx8): Remove variable.
49974         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49975         case.  Ensure exception if result actually underflows.
49976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49977         (efx8): Remove variable.
49978         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49979         case.  Ensure exception if result actually underflows.
49980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49981         (efx8): Remove variable.
49982         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49983         case.  Ensure exception if result actually underflows.
49984         * math/auto-libm-test-in: Add more tests of erf.
49985         * math/auto-libm-test-out: Regenerated.
49987 2014-05-14  Andreas Schwab  <schwab@suse.de>
49989         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49990         Remove code conditionalized on USE___THREAD.
49992         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49993         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49994         not definedness.
49996 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49999         Define unconditionally.
50000         (__ASSUME_O_CLOEXEC): Likewise.
50001         (__ASSUME_SOCK_CLOEXEC): Likewise.
50002         (__ASSUME_IN_NONBLOCK): Likewise.
50003         (__ASSUME_PIPE2): Likewise.
50004         (__ASSUME_EVENTFD2): Likewise.
50005         (__ASSUME_SIGNALFD4): Likewise.
50006         (__ASSUME_DUP3): Likewise.
50007         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50008         (__ASSUME_DUP3): Do not define.
50009         (__ASSUME_EVENTFD2): Likewise.
50010         (__ASSUME_IN_NONBLOCK): Likewise.
50011         (__ASSUME_O_CLOEXEC): Likewise.
50012         (__ASSUME_PIPE2): Likewise.
50013         (__ASSUME_SIGNALFD4): Likewise.
50014         (__ASSUME_SOCK_CLOEXEC): Likewise.
50015         (__ASSUME_UTIMES): Undefine.
50016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50017         (__ASSUME_UTIMES): Do not define.
50018         (__ASSUME_O_CLOEXEC): Likewise.
50019         (__ASSUME_SOCK_CLOEXEC): Likewise.
50020         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50021         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50022         0x020621].
50023         (__ASSUME_PIPE2): Likewise.
50024         (__ASSUME_EVENTFD2): Likewise.
50025         (__ASSUME_SIGNALFD4): Likewise.
50026         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50027         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50028         Do not define.
50029         (__ASSUME_EVENTFD2): Likewise.
50030         (__ASSUME_SIGNALFD4): Likewise.
50031         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50032         (__ASSUME_32BITUIDS): Likewise.
50033         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50034         (__ASSUME_IPC64): Likewise.
50035         (__ASSUME_ST_INO_64_BIT): Likewise.
50036         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50037         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50038         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50039         (__ASSUME_UTIMES): Do not define.
50040         (__ASSUME_PSELECT): Likewise.
50041         (__ASSUME_PPOLL): Likewise.
50042         (__ASSUME_O_CLOEXEC): Likewise.
50043         (__ASSUME_SOCK_CLOEXEC): Likewise.
50044         (__ASSUME_IN_NONBLOCK): Likewise.
50045         (__ASSUME_PIPE2): Likewise.
50046         (__ASSUME_EVENTFD2): Likewise.
50047         (__ASSUME_SIGNALFD4): Likewise.
50048         (__ASSUME_DUP3): Likewise.
50049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50050         (__ASSUME_UTIMES): Likewise.
50051         (__ASSUME_O_CLOEXEC): Likewise.
50052         (__ASSUME_SOCK_CLOEXEC): Likewise.
50053         (__ASSUME_IN_NONBLOCK): Likewise.
50054         (__ASSUME_PIPE2): Likewise.
50055         (__ASSUME_EVENTFD2): Likewise.
50056         (__ASSUME_SIGNALFD4): Likewise.
50057         (__ASSUME_DUP3): Likewise.
50058         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50059         (__ASSUME_UTIMES): Likewise.
50060         (__ASSUME_O_CLOEXEC): Likewise.
50061         (__ASSUME_SOCK_CLOEXEC): Likewise.
50062         (__ASSUME_IN_NONBLOCK): Likewise.
50063         (__ASSUME_PIPE2): Likewise.
50064         (__ASSUME_EVENTFD2): Likewise.
50065         (__ASSUME_SIGNALFD4): Likewise.
50066         (__ASSUME_DUP3): Likewise.
50067         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50068         Likewise.
50069         (__ASSUME_UTIMES): Likewise.
50070         (__ASSUME_EVENTFD2): Likewise.
50071         (__ASSUME_SIGNALFD4): Likewise.
50072         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50073         (__ASSUME_O_CLOEXEC): Likewise.
50074         (__ASSUME_SOCK_CLOEXEC): Likewise.
50075         (__ASSUME_IN_NONBLOCK): Likewise.
50076         (__ASSUME_PIPE2): Likewise.
50077         (__ASSUME_EVENTFD2): Likewise.
50078         (__ASSUME_SIGNALFD4): Likewise.
50079         (__ASSUME_DUP3): Likewise.
50080         (__ASSUME_UTIMES): Undefine.
50082         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50083         feclearexcept.  Remove symbol versioning code.
50084         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
50085         symbol versioning code.
50086         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
50087         symbol versioning code.
50088         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50089         feupdateenv.  Remove symbol versioning code.
50090         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50091         fegetexceptflag.  Remove symbol versioning code.
50092         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50093         fesetexceptflag.  Remove symbol versioning code.
50094         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50095         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
50096         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50097         (__posix_fadvise64_l32): Remove prototype.
50098         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50099         code.
50101 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50103         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50104         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50105         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50106         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50108 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
50110         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50111         current working directory
50113 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50115         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50116         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50117         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50118         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50119         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50120         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50121         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50122         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50123         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50124         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50125         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50126         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50127         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50128         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50129         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50130         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50131         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50132         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50133         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50134         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50135         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50136         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50137         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50138         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50139         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50140         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50141         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50142         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50143         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50144         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50145         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50146         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50147         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50148         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50149         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50150         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50151         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50152         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50153         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50154         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50155         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50156         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50158         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50159         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50161         * sysdeps/unix/sysv/linux/arm/Makefile
50162         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50163         Add rt-aeabi_unwind_cpp_pr1.
50164         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50165         Add nptl-aeabi_unwind_cpp_pr1.
50166         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50167         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50168         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50169         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50170         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50171         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50173         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50174         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50175         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50176         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50178         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50179         Deconditionalize the code that was previously under [RESET_PID].
50180         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50182         * sysdeps/generic/exit-thread.h: New file.
50183         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50184         * include/unistd.h (__exit_thread): Remove declaration.
50185         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50186         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50187         * csu/libc-start.c: Include <exit-thread.h>.
50188         (LIBC_START_MAIN): Pass no argument to __exit_thread.
50189         * nptl/pthread_create.c: Include <exit-thread.h>.
50190         (start_thread): Call __exit_thread in place of __exit_thread_inline.
50191         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50192         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50193         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50194         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50195         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50196         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50197         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50198         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50199         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50200         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50201         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50202         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50203         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50204         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50205         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50206         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50208 2014-05-13  Andreas Schwab  <schwab@suse.de>
50210         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50212 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
50214         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50215         (__ASSUME_UTIMES): Do not condition on kernel version.
50216         (__ASSUME_PSELECT): Define unconditionally.
50217         (__ASSUME_PPOLL): Likewise.
50218         (__ASSUME_ATFCTS): Likewise.
50219         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50220         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50221         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50222         (__ASSUME_UTIMENSAT): Define unconditionally.
50223         (__ASSUME_PRIVATE_FUTEX): Likewise.
50224         (__ASSUME_FALLOCATE): Likewise.
50225         (__ASSUME_O_CLOEXEC): Likewise.
50226         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50227         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50228         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50229         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50230         (__ASSUME_IN_NONBLOCK): Likewise.
50231         (__ASSUME_PIPE2): Likewise.
50232         (__ASSUME_EVENTFD2): Likewise.
50233         (__ASSUME_SIGNALFD4): Likewise.
50234         (__ASSUME_DUP3): Likewise.
50235         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50236         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50237         (__ASSUME_AT_RANDOM): Likewise.
50238         (__ASSUME_PREADV): Likewise.
50239         (__ASSUME_PWRITEV): Likewise.
50240         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50241         (__ASSUME_F_GETOWN_EX): Define unconditionally.
50242         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50243         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50244         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50245         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50246         (__ASSUME_O_CLOEXEC): Define unconditionally.
50247         (__ASSUME_PSELECT): Do not undefine conditionally.
50248         (__ASSUME_PPOLL): Likewise.
50249         (__ASSUME_ATFCTS): Likewise.
50250         (__ASSUME_SET_ROBUST_LIST): Likewise.
50251         (__ASSUME_UTIMENSAT): Likewise.
50252         (__ASSUME_FDATASYNC): Define unconditionally.
50253         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50254         (__ASSUME_SIGFRAME_V2): Likewise.
50255         )__ASSUME_EVENTFD2): Likewise.
50256         (__ASSUME_SIGNALFD4): Likewise.
50257         (__ASSUME_PSELECT): Do not undefine conditionally.
50258         (__ASSUME_PPOLL): Likewise.
50259         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50260         (__ASSUME_PSELECT): Define unconditionally.
50261         (__ASSUME_PPOLL): Likewise.
50262         (__ASSUME_O_CLOEXEC): Likewise.
50263         (__ASSUME_SOCK_CLOEXEC): Likewise.
50264         (__ASSUME_IN_NONBLOCK): Likewise.
50265         (__ASSUME_PIPE2): Likewise.
50266         (__ASSUME_EVENTFD2): Likewise.
50267         (__ASSUME_SIGNALFD4): Likewise.
50268         (__ASSUME_DUP3): Likewise.
50269         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50270         (__ASSUME_O_CLOEXEC): Likewise.
50271         (__ASSUME_SOCK_CLOEXEC): Likewise.
50272         (__ASSUME_IN_NONBLOCK): Likewise.
50273         (__ASSUME_PIPE2): Likewise.
50274         (__ASSUME_EVENTFD2): Likewise.
50275         (__ASSUME_SIGNALFD4): Likewise.
50276         (__ASSUME_DUP3): Likewise.
50277         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50278         (__ASSUME_EVENTFD2): Likewise.
50279         (__ASSUME_SIGNALFD4): Likewise.
50280         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50282 2014-05-12  Andreas Schwab  <schwab@suse.de>
50284         [BZ #16932]
50285         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50286         (_nss_nis_gethostbyname4_r): Return error if item length is larger
50287         than maximum RPC packet size.
50288         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50289         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50290         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50291         (_nss_nis_getservbyport_r): Likewise.
50293 2014-05-12  Will Newton  <will.newton@linaro.org>
50295         * malloc/Makefile (tests): Add tst-mallopt.
50296         * malloc/tst-mallopt.c: New file.
50298 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50300         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50301         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50303 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50305         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50306         (tst-tlsmod6.so): Likewise.
50308 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50310         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
50312 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
50314         [BZ #16064]
50315         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
50316         and <dl-procinfo.h>.
50317         (__fegetenv): Save SSE state in envp->__eip if supported.
50318         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
50319         envp->__eip if supported.
50320         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50321         and <dl-procinfo.h>.
50322         (__fesetenv): Always set __eip, __cs_selector, __opcode,
50323         __data_offset and __data_selector in environment to 0.  Set SSE
50324         state if supported.
50325         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50326         test-fenv-sse.
50327         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50328         -mfpmath=sse.
50329         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50331 2014-05-09  Will Newton  <will.newton@linaro.org>
50333         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50334         and libc_relro_required for ARM.
50335         * sysdeps/arm/preconfigure: Regenerate.
50337 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
50338             Stefan Liebler  <stli@linux.vnet.ibm.com>
50340         * config.make.in (enable-lock-elision): New Makefile variable.
50341         * configure.ac: Likewise.
50342         * configure: Regenerate.
50343         * sysdeps/s390/configure.ac:
50344         Add check for gcc transactions support.
50345         * sysdeps/s390/configure: Regenerate.
50346         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50347         Build elision files if enabled.
50348         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50349         Add lock elision support for s390.
50350         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50351         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50352         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50353         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50354         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50355         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50357         Likewise.
50358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50359         Likewise.
50360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50361         Likewise.
50362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50363         Likewise.
50364         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50365         (__lll_timedlock_elision, __lll_lock_elision)
50366         (__lll_unlock_elision, __lll_trylock_elision)
50367         (lll_timedlock_elision, lll_lock_elision)
50368         (lll_unlock_elision, lll_trylock_elision): Add.
50369         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50370         (pthread_mutex_t): Add lock elision support for s390.
50372 2014-05-14  Wilco  <wdijkstr@arm.com>
50374         * sysdeps/arm/fclrexcpt.c: Cleanup.
50375         * sysdeps/arm/fedisblxcpt.c: Cleanup.
50376         * sysdeps/arm/feenablxcpt.c: Cleanup.
50377         * sysdeps/arm/fegetenv.c: Cleanup.
50378         * sysdeps/arm/fegetexcept.c: Cleanup.
50379         * sysdeps/arm/fegetround.c: Cleanup.
50380         * sysdeps/arm/feholdexcpt.c: Cleanup.
50381         * sysdeps/arm/fesetenv.c: Cleanup.
50382         * sysdeps/arm/fesetround.c: Cleanup.
50383         * sysdeps/arm/feupdateenv.c: Cleanup.
50384         * sysdeps/arm/fgetexcptflg.c: Cleanup.
50385         * sysdeps/arm/fraiseexcpt.c: Cleanup.
50386         * sysdeps/arm/fsetexcptflg.c: Cleanup.
50387         * sysdeps/arm/ftestexcept.c: Cleanup.
50388         * sysdeps/arm/get-rounding-mode.h: Cleanup.
50389         * sysdeps/arm/setfpucw.c: Cleanup.
50391 2014-05-09  Will Newton  <will.newton@linaro.org>
50393         * sysdeps/arm/armv7/strcmp.S: New file.
50394         * NEWS: Mention addition of ARMv7 optimized strcmp.
50396 2014-05-08  Roland McGrath  <roland@hack.frob.com>
50398         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50399         look for %.ac rather than %.in.
50401         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50402         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50403         * sysdeps/mach/hurd/configure: Regenerated.
50404         * sysdeps/unix/sysv/linux/configure: Regenerated.
50406         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50408 2014-05-07  Steve Ellcey  <sellcey@mips.com>
50410         [BZ #16922]
50411         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50412         (LONG_SUB): Ditto.
50413         (PTR_SUB): Ditto.
50415 2014-05-07  Andreas Schwab  <schwab@suse.de>
50417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50418         when skipping over non-matching result from nscd.
50420 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
50422         [BZ #16876]
50423         * nptl/sockperf.c (client): Check socket return value.
50425         [BZ #16877]
50426         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50427         nscd security class.
50429 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50431         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50432         * sysdeps/arm/unwind.h: ... here.
50434 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50436         [BZ #16916]
50437         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50438         Define.
50440 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50442         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50443         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50444         multiarch strncpy for PPC64.
50445         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50446         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50448         multiarch optimizations.
50449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50450         (__libc_ifunc_impl_list): Likewise.
50451         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50452         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50453         multiarch stpncpy for PPC64.
50454         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50455         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50457 2014-05-06  Andreas Schwab  <schwab@suse.de>
50459         [BZ #16912]
50460         * gmon/mcount.c (_MCOUNT_DECL): Use
50461         atomic_compare_and_exchange_bool_acq instead of
50462         catomic_compare_and_exchange_bool_acq.
50464 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50466         * elf/Makefile (others, install-bin): Remove pldd.
50467         (pldd-modules): Variable removed.
50468         ($(objpfx)pldd): Target removed.
50469         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50470         (others, install-bin): Append pldd here.
50471         ($(objpfx)pldd): New target.
50473         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50474         to 0, so the first #if test emitted later doesn't see it undefined.
50475         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50476         * sysdeps/gnu/errlist.c: Regenerated.
50478 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50481         [libc_hidden_builtin_def]: Define to empty value.
50482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50483         [libc_hidden_builtin_def]: Likewise.
50484         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50485         [libc_hidden_builtin_def]: Likewise.
50486         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50487         [libc_hidden_builtin_def]: Likewise.
50488         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50489         __redirect_memcpy and define ifunc as default hidden symbol.
50490         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50491         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50493 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50495         * locale/iso-4217.def: Reintroduce XDR currency.
50497 2014-05-04  Allan McRae  <allan@archlinux.org>
50499         * po/eo.po: Update Esperanto translation from translation project.
50501 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50503         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50504         and FEATURE_INDEX_MAX to 1.
50505         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50507 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50509         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50510         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50511         * iconvdata/big5.c (ONE_DIRECTION): Define.
50512         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50513         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50514         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50515         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50516         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50517         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50518         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50519         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50520         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50521         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50522         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50523         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50524         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50525         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50526         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50527         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50528         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50529         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50530         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50531         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50532         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50533         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50534         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50535         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50536         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50537         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50538         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50539         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50540         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50541         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50542         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50543         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50544         * iconvdata/johab.c (ONE_DIRECTION): Define.
50545         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50546         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50547         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50548         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50549         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50550         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50551         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50552         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50553         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50554         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50556 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50558         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50559         (_IO_JUMPS_OFFSET): Define to 0.
50561         * nptl/sysdeps/pthread/bits/libc-lock.h
50562         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50563         (__libc_lock_define_initialized_recursive): Always define using
50564         initializer.  Modern compilers treat uninitialized (implicit zero) and
50565         explicit zero initializers the same (i.e. put the datum in bss).
50567 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50569         * nscd/nscd-client.h: Include <string.h>.
50571 2014-05-01  David S. Miller  <davem@davemloft.net>
50573         [BZ #16885]
50574         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50575         multiple zero bytes exist at the end of a string.
50576         Reported by Aurelien Jarno <aurelien@aurel32.net>
50578         * string/test-strcmp.c (check): Add explicit test for situations where
50579         there are multiple zero bytes after the first.
50581 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50583         [BZ #16890]
50584         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50585         when compiling wprintf.
50586         * stdio-common/tstdiomisc.c (t3): New function.
50587         (main): Call it.
50589 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50591         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50592         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50593         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50594         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50596 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50598         * stdlib/longlong.h: Updated from GCC.
50600 2014-05-01  Will Newton  <will.newton@linaro.org>
50601             Bernard Ogden  <bernie.ogden@linaro.org>
50603         * NEWS: Update fixed bug list.
50605         [BZ #15119]
50606         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50608 2014-04-30  David S. Miller  <davem@davemloft.net>
50610         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50611         (libc_feholdexcept_setround_sparc_ctx): New function.
50612         (libc_fesetenv_sparc_ctx): Likewise.
50613         (libc_feupdateenv_sparc_ctx): Likewise.
50614         (libc_feholdsetround_sparc_ctx): Likewise.
50615         (libc_feholdexcept_setround_ctx): Define.
50616         (libc_feholdexcept_setroundf_ctx): Likewise.
50617         (libc_feholdexcept_setroundl_ctx): Likewise.
50618         (libc_fesetenv_ctx): Likewise.
50619         (libc_fesetenvf_ctx): Likewise.
50620         (libc_fesetenvl_ctx): Likewise.
50621         (libc_feupdateenv_ctx): Likewise.
50622         (libc_feupdateenvf_ctx): Likewise.
50623         (libc_feupdateenvl_ctx): Likewise.
50624         (libc_feresetround_ctx): Likewise.
50625         (libc_feresetroundf_ctx): Likewise.
50626         (libc_feresetroundl_ctx): Likewise.
50627         (libc_feholdsetround_ctx): Likewise.
50628         (libc_feholdsetroundf_ctx): Likewise.
50629         (libc_feholdsetroundl_ctx): Likewise.
50631         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50632         with __USE_GNU instead of XOPEN cpp guards.
50634         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50635         0.
50637         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50638         with XOPEN cpp guards.
50640 2014-04-30  Julian Brown  <julian@codesourcery.com>
50642         [BZ #16888]
50643         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50644         handling.
50646 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50648         [BZ #9894]
50649         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50650         Change to 2.6.32.
50651         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50652         * sysdeps/unix/sysv/linux/configure: Regenerated.
50653         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50654         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50655         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50656         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50657         * README: Update reference to required Linux kernel version.
50658         * manual/install.texi (Linux): Update reference to required Linux
50659         kernel headers version.
50660         * INSTALL: Regenerated.
50662         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50663         header inclusion.
50664         [POSIX] (limits.h): Likewise.
50665         [POSIX] (math.h): Likewise.
50666         [POSIX] (sys/wait.h): Likewise.
50667         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50668         function.
50669         [POSIX] (stddef.h): Do not allow header inclusion.
50671 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50673         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50675 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50677         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50678         Return immediately after lll_futex_wake.
50680 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50682         [BZ #16791]
50683         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50684         structure.
50685         (datahead_init_pos): Call datahead_init_common early.
50686         (datahead_init_neg): Likewise.
50688         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50689         datahead_init_neg): New functions.
50690         * nscd/aicache.c (addhstaiX): Use them.
50691         * nscd/grpcache.c (cache_addgr): Likewise.
50692         * nscd/hstcache.c (cache_addhst): Likewise.
50693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50694         * nscd/netgroupcache.c (do_notfound): Likewise.
50695         (addgetnetgrentX): Likewise.
50696         (addinnetgrX): Likewise.
50697         * nscd/pwdcache.c (cache_addpw): Likewise.
50698         * nscd/servicescache.c (cache_addserv): Likewise.
50700 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50701             Atsushi Onoe  <atsushi@onoe.org>
50703         [BZ #14308]
50704         [BZ #12994]
50705         [BZ #13651]
50706         * resolv/res_query.c (__libc_res_nsearch): Return if at least
50707         one response is valid.
50708         * resolv/res_send.c (send_dg): Check for validity of other
50709         response if the current response is a referral.
50711 2014-04-29  Steve Ellcey  <sellcey@mips.com>
50713         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50715 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
50717         [BZ #16823]
50718         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50719         Always divide by positive zero when computing -Inf result.
50720         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50721         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50723 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50725         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50726         FPSCR if value do not change.
50727         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50728         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50729         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50730         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50731         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50732         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50733         function.
50735 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
50737         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50738         * sysdeps/unix/sysv/linux/hppa: Move directory from
50739         ports/systeps/unix/sysv/linux/hppa.
50740         * README: Update listing for hppa-*-linux-gnu.
50742 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
50744         [BZ #16754]
50745         * manual/stdio.texi (Hook functions): Fix types of stream hook
50746         functions.
50747         [BZ #16854]
50748         * socket/sys/socket.h: Fix typo in comment.
50750 2014-04-28  Wilco  <wdijkstr@arm.com>
50752         * sysdeps/arm/fenv_private.h: New file.
50753         * sysdeps/arm/math_private.h: New file.
50754         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50756 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
50758         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50759         with __int128_t.
50760         (La_x86_64_retval): Likewise.
50762 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
50764         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50765         fpsr if value didn't change.
50766         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50767         to fpcr if value didn't change.
50768         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50769         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50770         fpsr or fpcr if value didn't change.
50771         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50772         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50773         fpcr if value didn't change.
50774         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50775         to fpsr if value didn't change.
50777 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50779         * nptl/tst-sem3.c: Use test-skeleton.c
50780         (main): Rename to do_test.  Use return instead of
50781         exit.
50782         * nptl/tst-sem4.c: Use test-skeleton.c
50783         (main): Rename to do_test.
50785 2014-04-22  David S. Miller  <davem@davemloft.net>
50787         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50788         (struct sigaction): New struct member __glibc_reserved0, change
50789         type of sa_flags to int.
50791 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
50793         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50794         (COUNT_LEADING_ZEROS_0): Define for AArch64.
50796 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50798         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50799         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50801 2014-04-22  Will Newton  <will.newton@linaro.org>
50802             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50804         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50805         (__longjmp): Add longjmp and longjmp_target SystemTap
50806         probes.
50807         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50808         (__sigsetjmp): Add setjmp SystemTap probe.
50810 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50812         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50813         match manual order.
50815 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50817         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50819         * sysdeps/powerpc/fpu/fenv_private.h
50820         (libc_feholdexcept_setroundl_ctx): Define to
50821         libc_feholdexcept_setround_ppc_ctx.
50822         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50823         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50824         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50825         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50827 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50829         * sysdeps/aarch64/math-tests.h: New file.
50831 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50833         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50834         New.
50835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50836         Check and set bit_AVX2_Usable.
50837         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50838         macro.
50839         (bit_AVX2): Likewise.
50840         (index_AVX2_Usable): Likewise.
50841         (CPUID_AVX2): Likewise.
50842         (HAS_AVX2): Likewise.
50844 2014-04-17  Will Newton  <will.newton@linaro.org>
50846         * manual/setjmp.texi (System V contexts): Add note that
50847         calling setcontext on a context created by a call to a
50848         signal handler is undefined.  Update text to note that
50849         setcontext from a signal handler is possible but not
50850         recommended.
50852         [BZ #16629]
50853         * stdlib/tst-setcontext.c: Include signal.h.
50854         (main): Check that the signal stack before and
50855         after swapcontext is the same.
50857         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50858         Re-implement to restore registers in user code and avoid
50859         rt_sigreturn system call.
50861 2014-04-17  Wilco  <wdijkstr@arm.com>
50863         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50864         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50865         * math/test-fenv.c: Skip exception trap tests on targets which only
50866         support non-stop mode.
50868 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50869             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50871         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50872         (libc_feholdsetround_aarch64_ctx)
50873         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50874         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50875         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50876         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50877         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50878         (libc_feresetround_noexl_ctx): Define.
50880 2014-04-16  Richard Henderson  <rth@redhat.com>
50882         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50884         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50885         unwind tables.
50887         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50888         const from the non-libc, non-ldso copy.
50890         * sysdeps/alpha/libm-test-ulps: Regenerate.
50892 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50893             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50895         * sysdeps/aarch64/fpu/math_private.h: New file.
50897 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50899         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50901 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50903         [BZ #16275]
50904         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50905         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50907         Intel MPX bound registers before _dl_profile_fixup.
50908         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50909         registers after _dl_profile_fixup.  Save and restore bound
50910         registers bnd0/bnd1 when calling _dl_call_pltexit.
50911         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50912         (LR_BND_OFFSET): Likewise.
50913         (LRV_BND0_OFFSET): Likewise.
50914         (LRV_BND1_OFFSET): Likewise.
50916 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50918         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50919         to...
50920         * sysdeps/mach/hurd/i386/tls.h: ... here.
50921         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50922         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50923         fields.
50925 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50927         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50929 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50933 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50935         [BZ #14770]
50936         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50937         * sysdeps/s390/configure: Regenerate.
50939         [BZ #16824]
50940         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50941         Set round-to-nearest internally to reduce error accumulation.
50943 2014-04-16  Alan Modra  <amodra@gmail.com>
50945         [BZ #16740]
50946         [BZ #16619]
50947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50948         * math/libm-test.inc (frexp_test_data): Add tests.
50949         * NEWS: Update fixed bug list.
50951 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50953         * benchtests/Makefile: Depend on libraries in build directory.
50954         (bench-math): Separate out math tests.
50955         (bench-pthread): Separate out pthread tests.
50956         (bench): Include math and pthread tests.
50958 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50960         [BZ #16831]
50961         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50962         _dl_debug_initialize.
50964         * configure.ac: Remove SELinux header check.
50965         * configure: Regenerate.
50966         * nscd/selinux.c (perms): Array of const char* to permission names.
50967         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50968         default policy. Call string_to_security_class and string_to_av_perm to
50969         translate strings. Enforce default policy and call avs_has_perm with
50970         results of translated strings.
50972 2014-04-13  David S. Miller  <davem@davemloft.net>
50974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50976 2014-04-12  Allan McRae  <allan@archlinux.org>
50978         [BZ #16838]
50979         * manual/string.texi (Collation Functions): Fix qsort argument
50980         order in example.
50981         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50983 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50985         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50986         Make the test a no-op if there are no exceptions defined.
50988 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50990         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50991         enable-hardcoded-path-in-tests
50993 2014-04-11  Will Newton  <will.newton@linaro.org>
50995         * benchtests/Makefile (extra-objs): Add json-lib.o.
50996         (bench-func): Tidy up JSON output.
50997         * benchtests/bench-skeleton.c: Include json-lib.h.
50998         (main): Use JSON library functions to do output of
50999         benchmark results.
51000         * benchtests/bench-timing-type.c (main): Output the
51001         timing type simply, leaving formatting to the user.
51002         * benchtests/json-lib.c: New file.
51003         * benchtests/json-lib.h: Likewise.
51005 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51007         [BZ #15215]
51008         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51009         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51010         memory barriers.  Add comments.
51011         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51012         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51013         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51014         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51015         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51016         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51018 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51020         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51021         * sysdeps/s390/s390-64/configure.ac: ... this ...
51022         * sysdeps/s390/configure.ac: ... to here.
51023         * sysdeps/s390/s390-32/configure: Delete file.
51024         * sysdeps/s390/s390-64/configure: Delete file.
51025         * sysdeps/s390/configure: Regenerate.
51027 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51029         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51031 2014-04-11  Will Newton  <will.newton@linaro.org>
51033         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51034         to zero if it is not defined elsewhere.  (mtrim): Test
51035         the value of MALLOC_DEBUG with #if rather than #ifdef.
51037 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51039         * benchtests/pthread_once-inputs: New file.
51040         * benchtests/pthread_once-source.c: New file.
51041         * benchtests/README: Update documentation.
51043 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51044             H.J. Lu  <hongjiu.lu@intel.com>
51046         [BZ #16275]
51047         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51048         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51049         * sysdeps/x86_64/configure: Regenerated.
51050         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51051         macro.
51052         (REGISTER_SAVE_RAX): Likewise.
51053         (REGISTER_SAVE_RCX): Likewise.
51054         (REGISTER_SAVE_RDX): Likewise.
51055         (REGISTER_SAVE_RSI): Likewise.
51056         (REGISTER_SAVE_RDI): Likewise.
51057         (REGISTER_SAVE_R8): Likewise.
51058         (REGISTER_SAVE_R9): Likewise.
51059         (REGISTER_SAVE_BND0): Likewise.
51060         (REGISTER_SAVE_BND1): Likewise.
51061         (REGISTER_SAVE_BND2): Likewise.
51062         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
51063         bound registers when calling _dl_fixup.
51065 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51067         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51068         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51069         of its definition.
51070         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51071         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51072         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51073         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51074         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51075         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51076         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51078 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
51080         [BZ #15514]
51081         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51082         pathconf(_PC_NAME_MAX).
51084 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51086         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51087         Remove macro usage.
51088         (__PTHREAD_SPINS): Move definition to ...
51089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51090         (__PTHREAD_SPINS): ... here.
51091         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51092         (__PTHREAD_SPIN): Likewise.
51093         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51094         (__PTHREAD_SPIN): Likewise.
51095         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51096         (__PTHREAD_SPIN): Likewise.
51097         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51098         (__PTHREAD_SPIN): Likewise.
51099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51100         (__PTHREAD_SPIN): Likewise.
51101         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51102         (__PTHREAD_SPIN): Likewise.
51103         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51104         (__PTHREAD_SPIN): Likewise.
51105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51106         (__PTHREAD_SPIN): Likewise.
51107         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51108         (__PTHREAD_SPIN): Likewise.
51109         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51110         (__PTHREAD_SPIN): Likewise.
51111         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51112         (__PTHREAD_SPIN): Likewise.
51113         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51114         (__PTHREAD_SPIN): Likewise.
51116         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51117         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51118         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51119         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51120         imply folder.
51121         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51122         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51123         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51124         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51125         correct imply path.
51126         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51127         strlen symbol for non multi-arch builds.
51128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51129         missing hidden_def and weak_alias.
51131 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
51133         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51135 2014-04-07  Will Newton  <will.newton@linaro.org>
51137         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51138         and contents.  [!_LIBC] Remove #ifndef and contents.
51139         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
51140         * string/memccpy.c (__memccpy): Use ANSI prototype.
51141         * string/memfrob.c (memfrob): Likewise.
51142         * string/strcoll.c (STRCOLL): Likewise.
51143         * string/strlen.c (strlen): Likewise.
51144         * string/strtok.c (STRTOK): Likewise.
51145         * string/strcat.c: Remove unused #include of memcopy.h.
51146         (strcat): Use ANSI prototype.
51147         * string/strchr.c: Remove unused #include of memcopy.h.
51148         (strchr): Use ANSI prototype.
51149         * string/strcmp.c: Remove unused #include of memcopy.h.
51150         (strcmp): Use ANSI prototype.
51151         * string/strcpy.c: Remove unused #include of memcopy.h.
51152         (strcpy): Use ANSI prototype.
51154 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51156         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51157         * config.make.in (config-extra-cppflags): Set it from
51158         libc_extra_cppflags.
51159         * configure.ac (libc_extra_cflags): Make it accumulate over
51160         configure fragments.
51161         (libc_extra_cppflags): New flag.
51162         * configure. Regenerate.
51163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51164         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51165         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51168         [BZ #16815]
51169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51170         result for FE_DOWNWARD rounding mode.
51171         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51172         Likewise.
51173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51175 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
51177         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51178         in function argument name.
51180 2014-04-03  David Svoboda  <svoboda@cert.org>
51182         [BZ #5666]
51183         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51184         explicitly.
51186 2014-04-03  Roland McGrath  <roland@hack.frob.com>
51188         * elf/dl-unmap-segments.h: New file.
51189         * sysdeps/generic/ldsodefs.h
51190         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51191         * elf/dl-close.c: Include <dl-unmap-segments.h>.
51192         * elf/dl-fptr.c: Likewise.
51193         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51194         * sysdeps/aarch64/tlsdesc.c: Likewise.
51195         * sysdeps/arm/tlsdesc.c: Likewise.
51196         * sysdeps/i386/tlsdesc.c: Likewise.
51197         * sysdeps/tile/dl-runtime.c: Likewise.
51198         * sysdeps/x86_64/tlsdesc.c: Likewise.
51199         * elf/dl-load.h: New file.
51200         * elf/dl-load.c: Include it.
51201         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51202         Macros moved to dl-load.h.
51203         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51204         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51205         Use _dl_unmap_segments in place of __munmap.
51206         Break out segment-mapping loop into ...
51207         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51209 2014-04-03  Will Newton  <will.newton@linaro.org>
51211         * elf/dl-lookup.c (do_lookup_x): Remove comment
51212         referring to nested function and move variable
51213         declarations down to before first use.
51215 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
51217         [BZ #16799]
51218         [BZ #16800]
51219         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51220         with 0 numerator.
51221         * math/s_catanf.c (__catanf): Likewise.
51222         * math/s_catanh.c (__catanh): Likewise.
51223         * math/s_catanhf.c (__catanhf): Likewise.
51224         * math/s_catanhl.c (__catanhl): Likewise.
51225         * math/s_catanl.c (__catanl): Likewise.
51226         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51227         by positive zero when computing -Inf result.
51228         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51229         (catanh_test): Likewise.
51230         * sysdeps/i386/fpu/libm-test-ulps: Update.
51231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51233         [BZ #16789]
51234         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51235         instead of using underflowing value in computing result.
51236         * math/s_clog10.c (__clog10): Likewise.
51237         * math/s_clog10f.c (__clog10f): Likewise.
51238         * math/s_clog10l.c (__clog10l): Likewise.
51239         * math/s_clogf.c (__clogf): Likewise.
51240         * math/s_clogl.c (__clogl): Likewise.
51241         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51242         (clog10_test): Likewise.
51243         * sysdeps/i386/fpu/libm-test-ulps: Update.
51244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51246 2014-04-02  Alan Modra  <amodra@gmail.com>
51248         [BZ #16739]
51249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51250         output when value is near a power of two.  Use int64_t for lx and
51251         remove casts.  Use decimal rather than hex exponent constants.
51252         Don't use long double multiplication when double will suffice.
51253         * math/libm-test.inc (nextafter_test_data): Add tests.
51254         * NEWS: Add 16739 and 16786 to bug list.
51256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51258         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
51260 2014-04-01  Will Newton  <will.newton@linaro.org>
51262         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
51263         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
51265 2014-04-01  Florian Weimer  <fweimer@redhat.com>
51267         [BZ #13347]
51268         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
51269         * nptl/tst-setuid2.c: New file.
51270         * nptl/Makefile (xtests): Add tst-setuid2.
51272 2014-04-01  Alan Modra  <amodra@gmail.com>
51274         [BZ #16786]
51275         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51277 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51279         [BZ #6803]
51280         [BZ #6804]
51281         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51282         set errno as appropriate.
51283         * math/w_scalbf.c (__scalbf): Likewise.
51284         * math/w_scalbl.c (__scalbl): Likewise.
51285         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51286         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51287         * math/libm-test.inc (scalb_test_data): Add errno expectations.
51288         Add more NaN tests.
51290         [BZ #16349]
51291         * math/w_atan2.c: Include <errno.h>.
51292         (__atan2): Set errno for result underflowing to zero.
51293         * math/w_atan2f.c: Include <errno.h>.
51294         (__atan2f): Set errno for result underflowing to zero.
51295         * math/w_atan2l.c: Include <errno.h>.
51296         (__atan2l): Set errno for result underflowing to zero.
51297         * math/auto-libm-test-in: Don't allow missing errno for some atan2
51298         tests.
51299         * math/auto-libm-test-out: Regenerated.
51301 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51304         Encode instruction correctly in little endian.
51305         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51306         Likewise.
51307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51308         Likewise.
51309         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
51310         Likewise.
51311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
51312         Likewise.
51314 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51316         [BZ #9894]
51317         * sysdeps/unix/sysv/linux/kernel-features.h
51318         [__sparc__ && !__arch64__ && !__sparc_v9__]
51319         (__ASSUME_SET_ROBUST_LIST): Do not define.
51320         [__sparc__ && !__arch64__ && !__sparc_v9__]
51321         (__ASSUME_FUTEX_LOCK_PI): Likewise.
51322         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51323         Likewise.
51324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51325         (__ASSUME_FUTEX_LOCK_PI): Undefine.
51326         (__ASSUME_REQUEUE_PI): Likewise.
51327         (__ASSUME_SET_ROBUST_LIST): Likewise.
51328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51329         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51330         Undefine.
51331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51332         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51333         Likewise.
51334         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51335         Likewise.
51336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51337         Likewise.
51338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51339         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51340         Undefine.
51341         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51342         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51343         Likewise.
51345         [BZ #16648]
51346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51348         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51350 2014-03-31  Will Newton  <will.newton@linaro.org>
51352         * benchtests/Makefile (bench): Add ffs and ffsll to list
51353         of tests.
51354         * benchtests/ffs-inputs: New file.
51355         * benchtests/ffsll-inputs: Likewise.
51357 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
51359         [BZ #16770]
51360         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51361         too large before casting to int.
51362         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51363         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51364         * math/libm-test.inc (scalb_test_data): Add more tests.
51366 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51368         * benchtests/Makefile (DETAILED_OPT): New make option.
51369         (bench-func): Run benchmark program with -d if DETAILED_OPT is
51370         set.
51371         * benchtests/bench-skeleton.c: Include stdbool.h.
51372         (main): Store and print timings per input.
51373         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51374         member to each argument value.
51375         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51376         (_print_arg_data): Initialize per-input timing to 0.
51378         * benchtests/Makefile (timing-type): New binary.
51379         (bench-clean): Also remove bench-timing-type.
51380         (bench): New target for timing-type.
51381         (bench-func): Print output in JSON format.
51382         * benchtests/bench-skeleton.c (main): Print output in JSON
51383         format.
51384         * benchtests/bench-timing-type.c: New file.
51385         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51386         (TIMING_PRINT_STATS): Remove.
51387         * benchtests/scripts/bench.py (_print_arg_data): Store variant
51388         name separately.
51390         * benchtests/bench-modf.c: Remove.
51391         * benchtests/modf-inputs: New inputs file.
51393 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
51395         [BZ #16362]
51396         * math/s_clog10.c (M_PI_LOG10E): New macro.
51397         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51398         imaginary parts are 0.
51399         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51400         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51401         imaginary parts are 0.
51402         * math/s_clog10l.c (M_PI_LOG10El): New macro.
51403         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51404         imaginary parts are 0.
51405         * math/libm-test.inc (clog10_test_data): Update expected results
51406         for when real and imaginary parts are 0.
51408 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
51410         * elf/dl-load.c: Finish conversion of __builtin_expect into
51411         __glibc_{un}likely.
51413 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
51415         [BZ #16348]
51416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51417         1+x for argument with exponent below -67.
51418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51419         Likewise.
51420         * math/auto-libm-test-in: Add more tests of exp.
51421         * math/auto-libm-test-out: Regenerated.
51423 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51425         [BZ #16759]
51426         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51427         (nscd_getnetgrent): Use it.
51429         [BZ #16760]
51430         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51431         of stpcpy.
51433 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51435         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51436         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51437         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51438         (lll_robust_unlock): Remove out of line section. Use cfi
51439         intrinsics.
51440         (LLL_STUB_UNWIND_INFO*): Remove.
51441         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51442         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51443         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51444         (lll_robust_unlock): Remove out of line section. Use cfi
51445         intrinsics.
51446         (LLL_STUB_UNWIND_INFO*): Remove.
51448 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51450         [BZ #16758]
51451         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51452         blank values.
51454 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51456         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51458 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51460         [BZ #16198]
51461         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51462         fnstenv.
51463         * math/test-fenv-preserve.c: New file.
51464         * math/Makefile (tests): Add test-fenv-preserve.
51466 2014-03-26  Will Newton <will.newton@linaro.org>
51468         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51470 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51472         * scripts/versionlist.awk: Partition the version sets and emit all
51473         GLIBC_* (sorted) before all others (sorted).
51475 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51477         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51478         GLIBC_2.2.5 version.
51480 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51482         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51483         calls.
51485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51486         previous change.
51488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51490 2014-03-25  Andreas Schwab  <schwab@suse.de>
51492         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51493         label to be used after in6ailist is initialized.
51495 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51497         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51498         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51500 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51502         [BZ #16357]
51503         [BZ #16599]
51504         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51505         min_plus_half.
51506         (fp_formats): Update initializers.
51507         (init_fp_formats): Initialize new field.
51508         (output_for_one_input_case): Allow underflow for results up to
51509         min_plus_half.
51510         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51511         * math/auto-libm-test-in: Don't mark some underflows from asin and
51512         atanh as spurious.
51513         * math/auto-libm-test-out: Regenerated.
51514         * sysdeps/i386/fpu/libm-test-ulps: Update.
51515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51517 2014-03-25  Andreas Schwab  <schwab@suse.de>
51519         * libio/Makefile (tst-ftell-partial-wide-ENV)
51520         (tst-ftell-active-handler-ENV): Define.
51522 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51524         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51526 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51528         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51530 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51532         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51533         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51534         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51536 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51538         [BZ #16634]
51539         * elf/dl-load.c (open_verify): Add mode parameter.
51540         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51541         (open_path): Change from boolean 'secure' to complete flag 'mode'
51542         (_dl_map_object): Adjust.
51543         * elf/Makefile (tests): Add tst-dlopen-aout.
51544         * elf/tst-dlopen-aout.c: New test.
51546 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51548         [BZ #16714]
51549         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51550         (struct stat): Rename member pad0 to __glibc_reserved0.
51552         [BZ #16712]
51553         * sysdeps/s390/s390-32/bits/wordsize.h
51554         (__WORDSIZE32_SIZE_ULONG): New define.
51555         * sysdeps/s390/s390-64/bits/wordsize.h
51556         (__WORDSIZE32_SIZE_ULONG): Likewise.
51557         * sysdeps/generic/stdint.h (SIZE_MAX):
51558         Define as UL if __WORDSIZE32_SIZE_ULONG.
51560         [BZ #16713]
51561         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51562         (__glibc_reserved0): New variable.
51563         (sa_flags): Change type to int.
51565         * posix/Makefile (before-compile): Use += before-compile instead
51566         of a :=.
51568         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51569         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51571 2014-03-20  Andreas Schwab  <schwab@suse.de>
51573         [BZ #16743]
51574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51575         non-matching result from nscd.
51577 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51579         * scripts/bench.py: Moved to ...
51580         * benchtests/scripts/bench.py: ... here.
51581         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51583 2014-03-24  Andreas Schwab  <schwab@suse.de>
51585         [BZ #16002]
51586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51587         alloca_account and account alloca use for struct in6ailist.
51589 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51591         [BZ #16284]
51592         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51593         rounding mode to recompute results that overflow to infinity or
51594         underflow to zero.
51595         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51596         bug 16284.
51597         * math/auto-libm-test-out: Regenerated.
51598         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51599         (ccosh_test): Likewise.
51600         (csin_test_data): Use plus_oflow.
51601         (csin_test): Use ALL_RM_TEST.
51602         (csinh_test_data): Use plus_oflow.
51603         (csinh_test): Use ALL_RM_TEST.
51604         * sysdeps/i386/fpu/libm-test-ulps: Update.
51605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51607 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51609         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51610         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51611         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51613         [BZ #16731]
51614         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51615         when x - 1 is zero.
51616         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51617         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51618         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51620         argument is 1.
51621         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51622         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51623         zero.
51624         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51625         * sysdeps/i386/fpu/libm-test-ulps: Update.
51626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51628 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51630         * scripts/bench.pl: Remove file.
51631         * scripts/bench.py: New benchmark script.
51632         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51633         * benchtests/README: Mention python dependency.
51634         * scripts/pylintrc: New file.
51635         * scripts/pylint: New file.
51637         * bits/mathdef.h: Use #ifdef instead of #if.
51638         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51639         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51640         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51641         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51642         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51643         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51645 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51646             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51648         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51650         and strpbrk-ppc64 objects.
51651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51652         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51653         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51654         multiarch strpbrk for POWER7.
51655         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51656         multiarch strpbrk for PPC64.
51657         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51658         ifunc selector.
51659         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51660         strpbrk for POWER7.
51662 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51664         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51665         (atan_test): Likewise.
51666         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51667         (atanh_test): Use ALL_RM_TEST.
51668         (atan2_test_data): Likewise.
51669         (cabs_test): Likewise.
51670         (cacosh_test): Likewise.
51671         (carg_test): Likewise.
51672         (casin_test): Likewise.
51673         (casinh_test): Likewise.
51674         (cbrt_test): Likewise.
51675         (csqrt_test): Likewise.
51676         (erf_test): Likewise.
51677         (erfc_test): Likewise.
51678         (pow10_test): Likewise.
51679         (exp2_test): Likewise.
51680         (hypot_test): Likewise.
51681         (j0_test): Likewise.
51682         (j1_test): Likewise.
51683         (lgamma_test): Likewise.
51684         (gamma_test): Likewise.
51685         (sincos_test): Likewise.
51686         (tanh_test): Likewise.
51687         (y0_test): Likewise.
51688         (y1_test): Likewise.
51689         * sysdeps/i386/fpu/libm-test-ulps: Update.
51690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51692 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51694         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51696         and strcspn-ppc64 objects.
51697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51698         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51699         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51700         multiarch strcspn for POWER7.
51701         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51702         multiarch strcspn for PPC64.
51703         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51704         ifunc selector.
51705         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51706         strcspn for POWER7.
51708 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51710         * math/gen-libm-test.pl (generate_testfile): Expect only function
51711         name as argument to AUTO_TESTS_* and pass results for all rounding
51712         modes to parse_args.
51713         (parse_auto_input): Separate inputs of automatic tests from
51714         outputs before storing in %auto_tests.
51715         * math/libm-test.inc (acos_test_data): Update call to
51716         AUTO_TESTS_f_f.
51717         (acos_test): Use ALL_RM_TEST.
51718         (acos_tonearest_test_data): Remove.
51719         (acos_test_tonearest): Likewise.
51720         (acos_towardzero_test_data): Likewise.
51721         (acos_test_towardzero): Likewise.
51722         (acos_downward_test_data): Likewise.
51723         (acos_test_downward): Likewise.
51724         (acos_upward_test_data): Likewise.
51725         (acos_test_upward): Likewise.
51726         (acosh_test_data): Update call to AUTO_TESTS_f_f.
51727         (asin_test_data): Likewise.
51728         (asin_test): Use ALL_RM_TEST.
51729         (asin_tonearest_test_data): Remove.
51730         (asin_test_tonearest): Likewise.
51731         (asin_towardzero_test_data): Likewise.
51732         (asin_test_towardzero): Likewise.
51733         (asin_downward_test_data): Likewise.
51734         (asin_test_downward): Likewise.
51735         (asin_upward_test_data): Likewise.
51736         (asin_test_upward): Likewise.
51737         (asinh_test_data): Update call to AUTO_TESTS_f_f.
51738         (atan_test_data): Likewise.
51739         (atanh_test_data): Likewise.
51740         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51741         (cabs_test_data): Update call to AUTO_TESTS_c_f.
51742         (carg_test_data): Likewise.
51743         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51744         (ccos_test_data): Update call to AUTO_TESTS_c_c.
51745         (ccosh_test_data): Likewise.
51746         (cexp_test_data): Likewise.
51747         (clog_test_data): Likewise.
51748         (clog10_test_data): Likewise.
51749         (cos_test_data): Update call to AUTO_TESTS_f_f.
51750         (cos_test): Use ALL_RM_TEST.
51751         (cos_tonearest_test_data): Remove.
51752         (cos_test_tonearest): Likewise.
51753         (cos_towardzero_test_data): Likewise.
51754         (cos_test_towardzero): Likewise.
51755         (cos_downward_test_data): Likewise.
51756         (cos_test_downward): Likewise.
51757         (cos_upward_test_data): Likewise.
51758         (cos_test_upward): Likewise.
51759         (cosh_test_data): Update call to AUTO_TESTS_f_f.
51760         (cosh_test): Use ALL_RM_TEST.
51761         (cosh_tonearest_test_data): Remove.
51762         (cosh_test_tonearest): Likewise.
51763         (cosh_towardzero_test_data): Likewise.
51764         (cosh_test_towardzero): Likewise.
51765         (cosh_downward_test_data): Likewise.
51766         (cosh_test_downward): Likewise.
51767         (cosh_upward_test_data): Likewise.
51768         (cosh_test_upward): Likewise.
51769         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51770         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51771         (ctan_test_data): Likewise.
51772         (ctan_test): Use ALL_RM_TEST.
51773         (ctan_tonearest_test_data): Remove.
51774         (ctan_test_tonearest): Likewise.
51775         (ctan_towardzero_test_data): Likewise.
51776         (ctan_test_towardzero): Likewise.
51777         (ctan_downward_test_data): Likewise.
51778         (ctan_test_downward): Likewise.
51779         (ctan_upward_test_data): Likewise.
51780         (ctan_test_upward): Likewise.
51781         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51782         (ctanh_test): Use ALL_RM_TEST.
51783         (ctanh_tonearest_test_data): Remove.
51784         (ctanh_test_tonearest): Likewise.
51785         (ctanh_towardzero_test_data): Likewise.
51786         (ctanh_test_towardzero): Likewise.
51787         (ctanh_downward_test_data): Likewise.
51788         (ctanh_test_downward): Likewise.
51789         (ctanh_upward_test_data): Likewise.
51790         (ctanh_test_upward): Likewise.
51791         (erf_test_data): Update call to AUTO_TESTS_f_f.
51792         (erfc_test_data): Likewise.
51793         (exp_test_data): Likewise.
51794         (exp_test): Use ALL_RM_TEST.
51795         (exp_tonearest_test_data): Remove.
51796         (exp_test_tonearest): Likewise.
51797         (exp_towardzero_test_data): Likewise.
51798         (exp_test_towardzero): Likewise.
51799         (exp_downward_test_data): Likewise.
51800         (exp_test_downward): Likewise.
51801         (exp_upward_test_data): Likewise.
51802         (exp_test_upward): Likewise.
51803         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51804         (exp10_test): Use ALL_RM_TEST.
51805         (exp10_tonearest_test_data): Remove.
51806         (exp10_test_tonearest): Likewise.
51807         (exp10_towardzero_test_data): Likewise.
51808         (exp10_test_towardzero): Likewise.
51809         (exp10_downward_test_data): Likewise.
51810         (exp10_test_downward): Likewise.
51811         (exp10_upward_test_data): Likewise.
51812         (exp10_test_upward): Likewise.
51813         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51814         (expm1_test_data): Likewise.
51815         (expm1_test): Use ALL_RM_TEST.
51816         (expm1_tonearest_test_data): Remove.
51817         (expm1_test_tonearest): Likewise.
51818         (expm1_towardzero_test_data): Likewise.
51819         (expm1_test_towardzero): Likewise.
51820         (expm1_downward_test_data): Likewise.
51821         (expm1_test_downward): Likewise.
51822         (expm1_upward_test_data): Likewise.
51823         (expm1_test_upward): Likewise.
51824         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51825         (fma_test): Use ALL_RM_TEST.
51826         (fma_towardzero_test_data): Remove.
51827         (fma_test_towardzero): Likewise.
51828         (fma_downward_test_data): Likewise.
51829         (fma_test_downward): Likewise.
51830         (fma_upward_test_data): Likewise.
51831         (fma_test_upward): Likewise.
51832         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51833         (j0_test_data): Update call to AUTO_TESTS_f_f.
51834         (j1_test_data): Likewise.
51835         (jn_test_data): Update call to AUTO_TESTS_if_f.
51836         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51837         (log_test_data): Update call to AUTO_TESTS_f_f.
51838         (log10_test_data): Likewise.
51839         (log1p_test_data): Likewise.
51840         (log2_test_data): Likewise.
51841         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51842         (pow_tonearest_test_data): Likewise.
51843         (sin_test_data): Update call to AUTO_TESTS_f_f.
51844         (sin_test): Use ALL_RM_TEST.
51845         (sin_tonearest_test_data): Remove.
51846         (sin_test_tonearest): Likewise.
51847         (sin_towardzero_test_data): Likewise.
51848         (sin_test_towardzero): Likewise.
51849         (sin_downward_test_data): Likewise.
51850         (sin_test_downward): Likewise.
51851         (sin_upward_test_data): Likewise.
51852         (sin_test_upward): Likewise.
51853         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51854         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51855         (sinh_test): Use ALL_RM_TEST.
51856         (sinh_tonearest_test_data): Remove.
51857         (sinh_test_tonearest): Likewise.
51858         (sinh_towardzero_test_data): Likewise.
51859         (sinh_test_towardzero): Likewise.
51860         (sinh_downward_test_data): Likewise.
51861         (sinh_test_downward): Likewise.
51862         (sinh_upward_test_data): Likewise.
51863         (sinh_test_upward): Likewise.
51864         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51865         (sqrt_test): Use ALL_RM_TEST.
51866         (sqrt_tonearest_test_data): Remove.
51867         (sqrt_test_tonearest): Likewise.
51868         (sqrt_towardzero_test_data): Likewise.
51869         (sqrt_test_towardzero): Likewise.
51870         (sqrt_downward_test_data): Likewise.
51871         (sqrt_test_downward): Likewise.
51872         (sqrt_upward_test_data): Likewise.
51873         (sqrt_test_upward): Likewise.
51874         (tan_test_data): Update call to AUTO_TESTS_f_f.
51875         (tan_test): Use ALL_RM_TEST.
51876         (tan_tonearest_test_data): Remove.
51877         (tan_test_tonearest): Likewise.
51878         (tan_towardzero_test_data): Likewise.
51879         (tan_test_towardzero): Likewise.
51880         (tan_downward_test_data): Likewise.
51881         (tan_test_downward): Likewise.
51882         (tan_upward_test_data): Likewise.
51883         (tan_test_upward): Likewise.
51884         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51885         (tgamma_test_data): Likewise.
51886         (y0_test_data): Likewise.
51887         (y1_test_data): Likewise.
51888         (yn_test_data): Update call to AUTO_TESTS_if_f.
51889         (main): Do not call removed functions.
51891 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51893         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51894         (ldexp_test_data): Remove.
51895         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51896         scalbn_test_data.
51897         (scalb_test): Use ALL_RM_TEST.
51899 2014-03-19  Andreas Schwab  <schwab@suse.de>
51901         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51903 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51905         [BZ #16649]
51906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51908         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51910         (__ASSUME_PREADV): Undefine.
51911         (__ASSUME_PWRITEV): Likewise.
51913 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51915         * bits/mman-linux.h: Add comment about non-Linux use.
51916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51917         bits/mman-linux.h resting place.
51919         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51920         * bits/mman-linux.h: ... here.
51922 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51924         * conform/conformtest.pl: Add standard definition when calling C
51925         preprocessor on data files.
51926         (checknamespace): Remove unused variable.
51928 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51930         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51931         minus_oflow, plus_uflow and minus_uflow in expected results.
51932         * math/libm-test.inc (scalbn_test_data): Add more tests of
51933         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51934         minus_uflow.
51935         (scalbn_test): Use ALL_RM_TEST.
51936         (scalbln_test_data): Add more tests of negative arguments.  Use
51937         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51938         (scalbln_test): Use ALL_RM_TEST.
51940 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51942         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51944 2014-03-18  Will Newton  <will.newton@linaro.org>
51946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51947         inaccurate comment.
51949 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51951         * Makerules [!subdir] (check-abi): Exit with error status if a
51952         test failed.
51954 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51956         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51957         for rint.  Include results for all rounding modes.
51958         (nearbyint_test): Use ALL_RM_TEST.
51959         (rint_test_data): Include all tests used for nearbyint.
51961 2014-03-17  Will Newton  <will.newton@linaro.org>
51963         * nptl/sysdeps/pthread/pthread.h: Revert previous
51964         change.
51966         * sysdeps/generic/ldsodefs.h: Revert previous
51967         change.
51969         * libio/genops.c: Revert previous change.
51970         * libio/libioP.h: Likewise.
51971         * stdio-common/vfprintf.c: Likewise.
51973         * sysdeps/generic/math_private.h: Revert previous
51974         change.
51976         * sysdeps/generic/math_private.h: Check whether
51977         HAVE_RM_CTX is defined with #ifdef rather
51978         than #if.
51980         * argp/argp-fmtstream.h: Check whether
51981         __STRICT_ANSI__ is defined with #ifdef rather
51982         than #if.
51983         * argp/argp.h: Likewise.
51985         * libio/genops.c: Check whether
51986         _IO_JUMPS_OFFSET is defined with #ifdef rather
51987         than #if.
51988         * libio/libioP.h: Likewise.
51989         * stdio-common/vfprintf.c: Likewise.
51991         * sysdeps/generic/ldsodefs.h: Check whether
51992         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51993         than #if.
51995         * nptl/sysdeps/pthread/pthread.h: Check
51996         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51997         its value.
51999 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52001         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52002         setting O_APPEND.
52003         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52004         test case.
52006         [BZ #16680]
52007         * libio/fileops.c (_IO_file_open): Seek to end of file but
52008         don't cache the offset.
52009         (get_file_offset): Remove function.
52010         (do_ftell): Use cached offset when available.
52011         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52012         don't cache the offset.
52013         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52014         case.
52015         (do_one_test): Call it.
52016         (do_ftell_test): Fix up expected old offset for a+ mode.
52017         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52018         available.
52020         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52021         up test status with function return status.
52022         (do_write_test): Likewise.
52023         (do_append_test): Likewise.
52025         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52026         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52027         Remove.
52029 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52031         * math/gen-libm-test.pl (parse_args): Handle results specified for
52032         each rounding mode separately.
52033         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52034         tests and results from lrint_tonearest_test_data,
52035         lrint_towardzero_test_data, lrint_downward_test_data and
52036         lrint_upward_test_data.
52037         (lrint_test): Use ALL_RM_TEST.
52038         (lrint_tonearest_test_data): Remove.
52039         (lrint_test_tonearest): Likewise.
52040         (lrint_towardzero_test_data): Likewise.
52041         (lrint_test_towardzero): Likewise.
52042         (lrint_downward_test_data): Likewise.
52043         (lrint_test_downward): Likewise.
52044         (lrint_upward_test_data): Likewise.
52045         (lrint_test_upward): Likewise.
52046         (llrint_test_data): Merge in per-rounding-mode tests and results
52047         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52048         llrint_downward_test_data and llrint_upward_test_data.
52049         (llrint_test): Use ALL_RM_TEST.
52050         (llrint_tonearest_test_data): Remove.
52051         (llrint_test_tonearest): Likewise.
52052         (llrint_towardzero_test_data): Likewise.
52053         (llrint_test_towardzero): Likewise.
52054         (llrint_downward_test_data): Likewise.
52055         (llrint_test_downward): Likewise.
52056         (llrint_upward_test_data): Likewise.
52057         (llrint_test_upward): Likewise.
52058         (rint_test_data): Merge in per-rounding-mode tests and results
52059         from rint_tonearest_test_data, rint_towardzero_test_data,
52060         rint_downward_test_data and rint_upward_test_data.  Add
52061         per-rounding-mode results for tests not in those arrays.
52062         (rint_test): Use ALL_RM_TEST.
52063         (rint_tonearest_test_data): Remove.
52064         (rint_test_tonearest): Likewise.
52065         (rint_towardzero_test_data): Likewise.
52066         (rint_test_towardzero): Likewise.
52067         (rint_downward_test_data): Likewise.
52068         (rint_test_downward): Likewise.
52069         (rint_upward_test_data): Likewise.
52070         (rint_test_upward): Likewise.
52071         (main): Don't call removed functions.
52073 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52075         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52076         "Compiled on ..." crapola.  It is anti-useful.
52078 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
52080         * scripts/evaluate-test.sh: Handle fourth argument to determine
52081         whether test run should stop on failure.
52082         * Makeconfig (stop-on-test-failure): New variable.
52083         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52084         $(stop-on-test-failure).
52085         * Makefile (tests): Give a summary of results from testing and
52086         exit with failure status if they include an ERROR or FAIL.
52087         (xtests): Likewise.
52088         * manual/install.texi (Configuring and compiling): Mention
52089         stop-on-test-failure=y.
52090         * INSTALL: Regenerated.
52092 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52094         * scripts/versionlist.awk: New file.
52095         * Makerules [$(build-shared) = yes]
52096         (postclean-generated): Add Versions.def, not Versions.def.v and
52097         Versions.def.v.i.
52098         ($(common-objpfx)Versions.def.v.i): Target removed.
52099         ($(common-objpfx)Versions.def): New target.
52100         ($(common-objpfx)Versions.all): Depend on that rather that
52101         $(common-objpfx)Versions.def.v.
52102         * Versions.def: File removed.
52104         * Makeconfig (+gccwarn): Add -Wundef.
52105         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52106         a dl-sysdep.h breaking its contract.
52107         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52108         * include/stackinfo.h: New file.
52109         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52110         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52111         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52112         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52113         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52114         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52115         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52116         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52117         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52118         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52119         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52120         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52121         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52122         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52123         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52125 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52127         [BZ #16707]
52128         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52129         implementation.
52130         * math/libm-test.inc (round_test_data): Add more tests.
52132         [BZ #16706]
52133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52134         implementation.
52135         * math/libm-test.inc (nearbyint_test_data): Add more tests.
52137         [BZ #16701]
52138         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52139         implementation.
52140         * math/libm-test.inc (ceil_test_data): Add more tests.
52142         * math/libm-test.inc (trunc_test_data): Add more tests related to
52143         BZ#16414.
52145 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52147         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52148         with #if rather than #ifdef.
52149         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52151 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
52153         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52154         first.  Disable AVX-512 GCC support if assembler doesn't support
52155         it.
52156         * sysdeps/x86_64/configure: Regenerated.
52158 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
52160         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52161         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52162         (__old_pthread_attr_setstack): Likewise.
52163         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52164         [!_STACK_GROWS_DOWN]: Likewise.
52166 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
52168         * config.make.in (have-bash2): Delete.
52169         * configure.ac (libc_cv_have_bash2): Delete.
52170         * configure: Regenerate.
52171         * elf/Makefile (common-ldd-rewrite): Rename to ...
52172         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
52173         (sh-ldd-rewrite): Delete.
52174         (bash-ldd-rewrite): Delete.
52175         (have-bash2): Delete checks.
52176         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52177         ldd-rewrite.
52179         * config.make.in (have-ksh): Delete.
52180         (KSH): Delete.
52181         * configure.ac (libc_cv_have_ksh): Delete.
52182         * configure: Regenerate.
52184         * elf/Makefile: Delete $(have-ksh) check.
52185         ($(objpfx)sotruss): Change KSH to BASH.
52186         * elf/sotruss.ksh: Rename to ...
52187         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
52188         function style to match POSIX.  Drop ksh vim mode setting.
52190         * manual/time.texi (Specifying the Time Zone with TZ): Change
52191         Tuesday to Thursday.
52193         * debug/tst-longjmp_chk2.c: Update header comment.
52194         (stackoverflow_handler): Add comment.  Call assert on pass value.
52196 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
52198         [BZ #16194]
52199         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52200         (HAVE_AVX512_ASM_SUPPORT): Likewise.
52201         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52202         (La_x86_64_vector): Add zmm.
52203         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52204         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52205         ($(objpfx)tst-audit10): New target.
52206         ($(objpfx)tst-audit10.out): Likewise.
52207         (tst-audit10-ENV): New.
52208         (AVX512-CFLAGS): Likewise.
52209         (CFLAGS-tst-audit10.c): Likewise.
52210         (CFLAGS-tst-auditmod10a.c): Likewise.
52211         (CFLAGS-tst-auditmod10b.c): Likewise.
52212         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52213         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52214         * sysdeps/x86_64/configure: Regenerated.
52215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52216         AVX-512 zmm register support.
52217         (_dl_x86_64_save_sse): Likewise.
52218         (_dl_x86_64_restore_sse): Likewise.
52219         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52220         size vector registers.
52221         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52222         (ZMM_SIZE): Likewise.
52223         * sysdeps/x86_64/tst-audit10.c: New file.
52224         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52225         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52227 2014-03-13  Roland McGrath  <roland@hack.frob.com>
52229         * configure.ac (HAVE_EHDR_START): New check.
52230         * configure: Regenerated.
52231         * config.h.in (HAVE_EHDR_START): New #undef.
52232         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52233         assuming the lowest-addressed segment maps the start of the file.
52235 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
52237         * INSTALL: Regenerated.
52239 2014-03-13  Will Newton  <will.newton@linaro.org>
52241         * manual/setjmp.texi (System V contexts): Improve
52242         clarity and grammar of documentation.
52244 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
52246         [BZ #16381]
52247         * elf/Makefile (tests): Add tst-pie2.
52248         (tests-pie): Add tst-pie2.
52249         * elf/tst-pie2.c: New file.
52250         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52251         for ET_EXEC.
52252         * elf/rtld.c (map_doit): Load executable as lt_executable.
52253         (dl_main): Likewise.
52255 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
52257         [BZ #16642]
52258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52259         (__ASSUME_PSELECT): Undefine.
52261 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52263         [BZ #16689]
52264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
52265         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
52266         static build.
52267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
52268         selector for static builds.
52270 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52272         [BZ #16695]
52273         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52274         key in the buffer.
52276 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52278         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52279         IFUNC selector for static builds.
52281 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
52283         * sysdeps/mips/math_private.h [__mips_hard_float]
52284         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52285         libc_feresetround_mips_ctx.
52286         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52287         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52288         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52290         [BZ #16677]
52291         * math/s_nextafter.c (__nextafter): Do not return value from
52292         overflowing computation.
52293         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52294         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52295         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52296         Likewise.
52297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52298         Likewise.
52299         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52300         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52302 2014-03-11  Roland McGrath  <roland@hack.frob.com>
52304         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52305         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52306         Move sfi_sp use from the load-multiple (that no longer sets sp) to
52307         the new mov targetting sp.
52309 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52311         [BZ #16683]
52312         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
52313         Define it for static builds as well.
52314         (NO_BZERO_IMPL): Likewise.
52316 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52318         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
52319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52320         multiarch strspn for PPC64.
52321         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52322         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52324         (__libc_ifunc_impl_list): Likewise.
52325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52326         multiarch optimizations
52327         * string/strspn.c (strspn): Using macro to redefine symbol name.
52329 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52332         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52333         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52334         multiarch strncat for PPC64.
52335         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52336         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52338         (__libc_ifunc_impl_list): Likewise.
52339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52340         multiarch optimizations
52342 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52344         [BZ #16639]
52345         * nscd/nscd.service: Make service type forking.
52347 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52349         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52350         sign in non default rounding modes.
52351         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52353 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
52355         * math/libm-test.inc (ALL_RM_TEST): New macro.
52356         (ceil_test): Use ALL_RM_TEST.
52357         (cimag_test): Likewise.
52358         (conj_test): Likewise.
52359         (copysign_test): Likewise.
52360         (cproj_test): Likewise.
52361         (creal_test): Likewise.
52362         (fabs_test): Likewise.
52363         (floor_test): Likewise.
52364         (fmax_test): Likewise.
52365         (fmin_test): Likewise.
52366         (fmod_test): Likewise.
52367         (fpclassify_test): Likewise.
52368         (frexp_test): Likewise.
52369         (ilogb_test): Likewise.
52370         (isfinite_test): Likewise.
52371         (finite_test): Likewise.
52372         (isgreater_test): Likewise.
52373         (isgreaterequal_test): Likewise.
52374         (isinf_test): Likewise.
52375         (isless_test): Likewise.
52376         (islessequal_test): Likewise.
52377         (islessgreater_test): Likewise.
52378         (isnan_test): Likewise.
52379         (isnormal_test): Likewise.
52380         (issignaling_test): Likewise.
52381         (isunordered_test): Likewise.
52382         (logb_test): Likewise.
52383         (logb_downward_test_data): Remove.
52384         (logb_test_downward): Likewise.
52385         (lround_test): Use ALL_RM_TEST.
52386         (llround_test): Likewise.
52387         (modf_test): Likewise.
52388         (nexttoward_test): Likewise.
52389         (remainder_test): Likewise.
52390         (drem_test): Likewise.
52391         (remainder_tonearest_test_data): Likewise.
52392         (remainder_test_tonearest): Likewise.
52393         (drem_test_tonearest): Likewise.
52394         (remainder_towardzero_test_data): Likewise.
52395         (remainder_test_towardzero): Likewise.
52396         (drem_test_towardzero): Likewise.
52397         (remainder_downward_test_data): Likewise.
52398         (remainder_test_downward): Likewise.
52399         (drem_test_downward): Likewise.
52400         (remainder_upward_test_data): Likewise.
52401         (remainder_test_upward): Likewise.
52402         (drem_test_upward): Likewise.
52403         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
52404         (round_test): Use ALL_RM_TEST.
52405         (signbit_test): Likewise.
52406         (trunc_test): Likewise.
52407         (significand_test): Likewise.
52408         (main): Don't call removed functions.
52410 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52412         [BZ #16674]
52413         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52414         || __USE_XOPEN2K8].
52415         (ILL_ILLOPN): Likewise.
52416         (ILL_ILLADR): Likewise.
52417         (ILL_ILLTRP): Likewise.
52418         (ILL_PRVOPC): Likewise.
52419         (ILL_PRVREG): Likewise.
52420         (ILL_COPROC): Likewise.
52421         (ILL_BADSTK): Likewise.
52422         (FPE_INTDIV): Likewise.
52423         (FPE_INTOVF): Likewise.
52424         (FPE_FLTDIV): Likewise.
52425         (FPE_FLTOVF): Likewise.
52426         (FPE_FLTUND): Likewise.
52427         (FPE_FLTRES): Likewise.
52428         (FPE_FLTINV): Likewise.
52429         (FPE_FLTSUB): Likewise.
52430         (SEGV_MAPERR): Likewise.
52431         (SEGV_ACCERR): Likewise.
52432         (BUS_ADRALN): Likewise.
52433         (BUS_ADRERR): Likewise.
52434         (BUS_OBJERR): Likewise.
52435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52436         (TRAP_TRACE): Likewise.
52437         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52438         __USE_XOPEN2K8].
52439         (CLD_KILLED): Likewise.
52440         (CLD_DUMPED): Likewise.
52441         (CLD_TRAPPED): Likewise.
52442         (CLD_STOPPED): Likewise.
52443         (CLD_CONTINUED): Likewise.
52444         (POLL_IN): Likewise.
52445         (POLL_OUT): Likewise.
52446         (POLL_MSG): Likewise.
52447         (POLL_ERR): Likewise.
52448         (POLL_PRI): Likewise.
52449         (POLL_HUP): Likewise.
52450         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52451         Likewise.
52452         (ILL_ILLOPN): Likewise.
52453         (ILL_ILLADR): Likewise.
52454         (ILL_ILLTRP): Likewise.
52455         (ILL_PRVOPC): Likewise.
52456         (ILL_PRVREG): Likewise.
52457         (ILL_COPROC): Likewise.
52458         (ILL_BADSTK): Likewise.
52459         (FPE_INTDIV): Likewise.
52460         (FPE_INTOVF): Likewise.
52461         (FPE_FLTDIV): Likewise.
52462         (FPE_FLTOVF): Likewise.
52463         (FPE_FLTUND): Likewise.
52464         (FPE_FLTRES): Likewise.
52465         (FPE_FLTINV): Likewise.
52466         (FPE_FLTSUB): Likewise.
52467         (SEGV_MAPERR): Likewise.
52468         (SEGV_ACCERR): Likewise.
52469         (BUS_ADRALN): Likewise.
52470         (BUS_ADRERR): Likewise.
52471         (BUS_OBJERR): Likewise.
52472         (BUS_MCEERR_AR): Likewise.
52473         (BUS_MCEERR_AO): Likewise.
52474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52475         (TRAP_TRACE): Likewise.
52476         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52477         __USE_XOPEN2K8].
52478         (CLD_KILLED): Likewise.
52479         (CLD_DUMPED): Likewise.
52480         (CLD_TRAPPED): Likewise.
52481         (CLD_STOPPED): Likewise.
52482         (CLD_CONTINUED): Likewise.
52483         (POLL_IN): Likewise.
52484         (POLL_OUT): Likewise.
52485         (POLL_MSG): Likewise.
52486         (POLL_ERR): Likewise.
52487         (POLL_PRI): Likewise.
52488         (POLL_HUP): Likewise.
52489         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52490         (ILL_ILLOPN): Likewise.
52491         (ILL_ILLADR): Likewise.
52492         (ILL_ILLTRP): Likewise.
52493         (ILL_PRVOPC): Likewise.
52494         (ILL_PRVREG): Likewise.
52495         (ILL_COPROC): Likewise.
52496         (ILL_BADSTK): Likewise.
52497         (FPE_INTDIV): Likewise.
52498         (FPE_INTOVF): Likewise.
52499         (FPE_FLTDIV): Likewise.
52500         (FPE_FLTOVF): Likewise.
52501         (FPE_FLTUND): Likewise.
52502         (FPE_FLTRES): Likewise.
52503         (FPE_FLTINV): Likewise.
52504         (FPE_FLTSUB): Likewise.
52505         (SEGV_MAPERR): Likewise.
52506         (SEGV_ACCERR): Likewise.
52507         (BUS_ADRALN): Likewise.
52508         (BUS_ADRERR): Likewise.
52509         (BUS_OBJERR): Likewise.
52510         (BUS_MCEERR_AR): Likewise.
52511         (BUS_MCEERR_AO): Likewise.
52512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52513         (TRAP_TRACE): Likewise.
52514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52515         __USE_XOPEN2K8].
52516         (CLD_KILLED): Likewise.
52517         (CLD_DUMPED): Likewise.
52518         (CLD_TRAPPED): Likewise.
52519         (CLD_STOPPED): Likewise.
52520         (CLD_CONTINUED): Likewise.
52521         (POLL_IN): Likewise.
52522         (POLL_OUT): Likewise.
52523         (POLL_MSG): Likewise.
52524         (POLL_ERR): Likewise.
52525         (POLL_PRI): Likewise.
52526         (POLL_HUP): Likewise.
52527         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52528         Likewise.
52529         (ILL_ILLOPN): Likewise.
52530         (ILL_ILLADR): Likewise.
52531         (ILL_ILLTRP): Likewise.
52532         (ILL_PRVOPC): Likewise.
52533         (ILL_PRVREG): Likewise.
52534         (ILL_COPROC): Likewise.
52535         (ILL_BADSTK): Likewise.
52536         (ILL_BADIADDR): Likewise.
52537         (ILL_BREAK): Likewise.
52538         (FPE_INTDIV): Likewise.
52539         (FPE_INTOVF): Likewise.
52540         (FPE_FLTDIV): Likewise.
52541         (FPE_FLTOVF): Likewise.
52542         (FPE_FLTUND): Likewise.
52543         (FPE_FLTRES): Likewise.
52544         (FPE_FLTINV): Likewise.
52545         (FPE_FLTSUB): Likewise.
52546         (FPE_DECOVF): Likewise.
52547         (FPE_DECDIV): Likewise.
52548         (FPE_DECERR): Likewise.
52549         (FPE_INVASC): Likewise.
52550         (FPE_INVDEC): Likewise.
52551         (SEGV_MAPERR): Likewise.
52552         (SEGV_ACCERR): Likewise.
52553         (SEGV_PSTKOVF): Likewise.
52554         (BUS_ADRALN): Likewise.
52555         (BUS_ADRERR): Likewise.
52556         (BUS_OBJERR): Likewise.
52557         (BUS_MCEERR_AR): Likewise.
52558         (BUS_MCEERR_AO): Likewise.
52559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52560         (TRAP_TRACE): Likewise.
52561         (TRAP_BRANCH): Likewise.
52562         (TRAP_HWBKPT): Likewise.
52563         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52564         __USE_XOPEN2K8].
52565         (CLD_KILLED): Likewise.
52566         (CLD_DUMPED): Likewise.
52567         (CLD_TRAPPED): Likewise.
52568         (CLD_STOPPED): Likewise.
52569         (CLD_CONTINUED): Likewise.
52570         (POLL_IN): Likewise.
52571         (POLL_OUT): Likewise.
52572         (POLL_MSG): Likewise.
52573         (POLL_ERR): Likewise.
52574         (POLL_PRI): Likewise.
52575         (POLL_HUP): Likewise.
52576         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52577         (ILL_ILLOPN): Likewise.
52578         (ILL_ILLADR): Likewise.
52579         (ILL_ILLTRP): Likewise.
52580         (ILL_PRVOPC): Likewise.
52581         (ILL_PRVREG): Likewise.
52582         (ILL_COPROC): Likewise.
52583         (ILL_BADSTK): Likewise.
52584         (FPE_INTDIV): Likewise.
52585         (FPE_INTOVF): Likewise.
52586         (FPE_FLTDIV): Likewise.
52587         (FPE_FLTOVF): Likewise.
52588         (FPE_FLTUND): Likewise.
52589         (FPE_FLTRES): Likewise.
52590         (FPE_FLTINV): Likewise.
52591         (FPE_FLTSUB): Likewise.
52592         (SEGV_MAPERR): Likewise.
52593         (SEGV_ACCERR): Likewise.
52594         (BUS_ADRALN): Likewise.
52595         (BUS_ADRERR): Likewise.
52596         (BUS_OBJERR): Likewise.
52597         (BUS_MCEERR_AR): Likewise.
52598         (BUS_MCEERR_AO): Likewise.
52599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52600         (TRAP_TRACE): Likewise.
52601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52602         __USE_XOPEN2K8].
52603         (CLD_KILLED): Likewise.
52604         (CLD_DUMPED): Likewise.
52605         (CLD_TRAPPED): Likewise.
52606         (CLD_STOPPED): Likewise.
52607         (CLD_CONTINUED): Likewise.
52608         (POLL_IN): Likewise.
52609         (POLL_OUT): Likewise.
52610         (POLL_MSG): Likewise.
52611         (POLL_ERR): Likewise.
52612         (POLL_PRI): Likewise.
52613         (POLL_HUP): Likewise.
52614         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52615         (ILL_ILLOPN): Likewise.
52616         (ILL_ILLADR): Likewise.
52617         (ILL_ILLTRP): Likewise.
52618         (ILL_PRVOPC): Likewise.
52619         (ILL_PRVREG): Likewise.
52620         (ILL_COPROC): Likewise.
52621         (ILL_BADSTK): Likewise.
52622         (FPE_INTDIV): Likewise.
52623         (FPE_INTOVF): Likewise.
52624         (FPE_FLTDIV): Likewise.
52625         (FPE_FLTOVF): Likewise.
52626         (FPE_FLTUND): Likewise.
52627         (FPE_FLTRES): Likewise.
52628         (FPE_FLTINV): Likewise.
52629         (FPE_FLTSUB): Likewise.
52630         (SEGV_MAPERR): Likewise.
52631         (SEGV_ACCERR): Likewise.
52632         (BUS_ADRALN): Likewise.
52633         (BUS_ADRERR): Likewise.
52634         (BUS_OBJERR): Likewise.
52635         (BUS_MCEERR_AR): Likewise.
52636         (BUS_MCEERR_AO): Likewise.
52637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52638         (TRAP_TRACE): Likewise.
52639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52640         __USE_XOPEN2K8].
52641         (CLD_KILLED): Likewise.
52642         (CLD_DUMPED): Likewise.
52643         (CLD_TRAPPED): Likewise.
52644         (CLD_STOPPED): Likewise.
52645         (CLD_CONTINUED): Likewise.
52646         (POLL_IN): Likewise.
52647         (POLL_OUT): Likewise.
52648         (POLL_MSG): Likewise.
52649         (POLL_ERR): Likewise.
52650         (POLL_PRI): Likewise.
52651         (POLL_HUP): Likewise.
52652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52653         (ILL_ILLOPN): Likewise.
52654         (ILL_ILLADR): Likewise.
52655         (ILL_ILLTRP): Likewise.
52656         (ILL_PRVOPC): Likewise.
52657         (ILL_PRVREG): Likewise.
52658         (ILL_COPROC): Likewise.
52659         (ILL_BADSTK): Likewise.
52660         (FPE_INTDIV): Likewise.
52661         (FPE_INTOVF): Likewise.
52662         (FPE_FLTDIV): Likewise.
52663         (FPE_FLTOVF): Likewise.
52664         (FPE_FLTUND): Likewise.
52665         (FPE_FLTRES): Likewise.
52666         (FPE_FLTINV): Likewise.
52667         (FPE_FLTSUB): Likewise.
52668         (SEGV_MAPERR): Likewise.
52669         (SEGV_ACCERR): Likewise.
52670         (BUS_ADRALN): Likewise.
52671         (BUS_ADRERR): Likewise.
52672         (BUS_OBJERR): Likewise.
52673         (BUS_MCEERR_AR): Likewise.
52674         (BUS_MCEERR_AO): Likewise.
52675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52676         (TRAP_TRACE): Likewise.
52677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52678         __USE_XOPEN2K8].
52679         (CLD_KILLED): Likewise.
52680         (CLD_DUMPED): Likewise.
52681         (CLD_TRAPPED): Likewise.
52682         (CLD_STOPPED): Likewise.
52683         (CLD_CONTINUED): Likewise.
52684         (POLL_IN): Likewise.
52685         (POLL_OUT): Likewise.
52686         (POLL_MSG): Likewise.
52687         (POLL_ERR): Likewise.
52688         (POLL_PRI): Likewise.
52689         (POLL_HUP): Likewise.
52690         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52691         (ILL_ILLOPN): Likewise.
52692         (ILL_ILLADR): Likewise.
52693         (ILL_ILLTRP): Likewise.
52694         (ILL_PRVOPC): Likewise.
52695         (ILL_PRVREG): Likewise.
52696         (ILL_COPROC): Likewise.
52697         (ILL_BADSTK): Likewise.
52698         (ILL_DBLFLT): Likewise.
52699         (ILL_HARDWALL): Likewise.
52700         (FPE_INTDIV): Likewise.
52701         (FPE_INTOVF): Likewise.
52702         (FPE_FLTDIV): Likewise.
52703         (FPE_FLTOVF): Likewise.
52704         (FPE_FLTUND): Likewise.
52705         (FPE_FLTRES): Likewise.
52706         (FPE_FLTINV): Likewise.
52707         (FPE_FLTSUB): Likewise.
52708         (SEGV_MAPERR): Likewise.
52709         (SEGV_ACCERR): Likewise.
52710         (BUS_ADRALN): Likewise.
52711         (BUS_ADRERR): Likewise.
52712         (BUS_OBJERR): Likewise.
52713         (BUS_MCEERR_AR): Likewise.
52714         (BUS_MCEERR_AO): Likewise.
52715         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52716         (TRAP_TRACE): Likewise.
52717         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52718         __USE_XOPEN2K8].
52719         (CLD_KILLED): Likewise.
52720         (CLD_DUMPED): Likewise.
52721         (CLD_TRAPPED): Likewise.
52722         (CLD_STOPPED): Likewise.
52723         (CLD_CONTINUED): Likewise.
52724         (POLL_IN): Likewise.
52725         (POLL_OUT): Likewise.
52726         (POLL_MSG): Likewise.
52727         (POLL_ERR): Likewise.
52728         (POLL_PRI): Likewise.
52729         (POLL_HUP): Likewise.
52730         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52731         (ILL_ILLOPN): Likewise.
52732         (ILL_ILLADR): Likewise.
52733         (ILL_ILLTRP): Likewise.
52734         (ILL_PRVOPC): Likewise.
52735         (ILL_PRVREG): Likewise.
52736         (ILL_COPROC): Likewise.
52737         (ILL_BADSTK): Likewise.
52738         (FPE_INTDIV): Likewise.
52739         (FPE_INTOVF): Likewise.
52740         (FPE_FLTDIV): Likewise.
52741         (FPE_FLTOVF): Likewise.
52742         (FPE_FLTUND): Likewise.
52743         (FPE_FLTRES): Likewise.
52744         (FPE_FLTINV): Likewise.
52745         (FPE_FLTSUB): Likewise.
52746         (SEGV_MAPERR): Likewise.
52747         (SEGV_ACCERR): Likewise.
52748         (BUS_ADRALN): Likewise.
52749         (BUS_ADRERR): Likewise.
52750         (BUS_OBJERR): Likewise.
52751         (BUS_MCEERR_AR): Likewise.
52752         (BUS_MCEERR_AO): Likewise.
52753         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52754         (TRAP_TRACE): Likewise.
52755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52756         __USE_XOPEN2K8].
52757         (CLD_KILLED): Likewise.
52758         (CLD_DUMPED): Likewise.
52759         (CLD_TRAPPED): Likewise.
52760         (CLD_STOPPED): Likewise.
52761         (CLD_CONTINUED): Likewise.
52762         (POLL_IN): Likewise.
52763         (POLL_OUT): Likewise.
52764         (POLL_MSG): Likewise.
52765         (POLL_ERR): Likewise.
52766         (POLL_PRI): Likewise.
52767         (POLL_HUP): Likewise.
52768         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52769         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52771         [BZ #16670]
52772         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52773         before #include of <time.h>.
52774         [!__USE_XOPEN2K] (__need_timespec): Likewise.
52775         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52776         (test-xfail-UNIX98/sched.h/conform): Likewise.
52778 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52780         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52781         error absence of trapping exception support.
52782         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52784 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52786         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52787         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52788         * timezone/Makefile (testdata): Move definition above include of
52789         Rules.
52790         (test-zones): New variable.
52791         (tests-special): Add zone files.
52792         (build-testdata): Use $(evaluate-test).
52794         * elf/Makefile (tests-special): Rename tests to end with .out.
52795         ($(objpfx)noload-mem): Likewise.
52796         ($(objpfx)tst-leaks1-mem): Likewise.
52797         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52798         * iconv/Makefile (xtests-special): Change test-iconvconfig to
52799         $(objpfx)test-iconvconfig.out.
52800         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
52801         set -e inside subshell and redirect output to file.
52802         * iconvdata/Makefile (generated): Rename tests to end with .out.
52803         Correct type.
52804         (tests-special): Rename tests to end with .out.
52805         ($(objpfx)mtrace-tst-loading): Likewise.
52806         * intl/Makefile (generated): Likewise.
52807         (tests-special): Likewise.
52808         ($(objpfx)mtrace-tst-gettext): Likewise.
52809         * misc/Makefile (generated): Likewise.
52810         (tests-special): Likewise.
52811         ($(objpfx)tst-error1-mem): Likewise.
52812         * nptl/Makefile (tests-special): Likewise.
52813         ($(objpfx)tst-stack3-mem): Likewise.
52814         (generated): Likewise.
52815         * posix/Makefile (generated): Likewise.
52816         (tests-special): Likewise.
52817         (xtests-special): Likewise.
52818         ($(objpfx)tst-fnmatch-mem): Likewise.
52819         ($(objpfx)bug-regex2-mem): Likewise.
52820         ($(objpfx)bug-regex14-mem): Likewise.
52821         ($(objpfx)bug-regex21-mem): Likewise.
52822         ($(objpfx)bug-regex31-mem): Likewise.
52823         ($(objpfx)tst-vfork3-mem): Likewise.
52824         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52825         ($(objpfx)tst-pcre-mem): Likewise.
52826         ($(objpfx)tst-boost-mem): Likewise.
52827         ($(objpfx)bug-ga2-mem): Likewise.
52828         ($(objpfx)bug-glob2-mem): Likewise.
52829         * resolv/Makefile (generate): Likewise.
52830         (tests-special): Likewise.
52831         (xtests-special): Likewise.
52832         (generated): Likewise.
52833         ($(objpfx)mtrace-tst-leaks): Likewise.
52834         ($(objpfx)mtrace-tst-leaks2): Likewise.
52836         * scripts/merge-test-results.sh: New file.
52837         * Makefile (tests-special-notdir): New variable.
52838         (tests): Run merge-test-results.sh.
52839         (xtests): Likewise.
52840         * Rules (tests-special-notdir): New variable.
52841         (xtests-special-notdir): Likewise.
52842         (tests): Run merge-test-results.sh
52843         (xtests): Likewise.
52845         * Makeconfig (test-xfail-name): New variable.
52846         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52847         compute variable name for expected failures.
52848         * conform/Makefile (conformtest-headers-data): New variable.
52849         (conformtest-standards): Likewise.
52850         (conformtest-headers-ISO): Likewise.
52851         (conformtest-headers-ISO99): Likewise.
52852         (conformtest-headers-ISO11): Likewise.
52853         (conformtest-headers-POSIX): Likewise.
52854         (conformtest-headers-XPG3): Likewise.
52855         (conformtest-headers-XPG4): Likewise.
52856         (conformtest-headers-UNIX98): Likewise.
52857         (conformtest-headers-XOPEN2K): Likewise.
52858         (conformtest-headers-POSIX2008): Likewise.
52859         (conformtest-headers-XOPEN2K8): Likewise.
52860         (conformtest-header-list-base): Likewise.
52861         (conformtest-header-list-tests): Likewise.
52862         (conformtest-header-base): Likewise.
52863         (conformtest-header-tests): Likewise.
52864         (tests-special): Add $(conformtest-header-list-tests).  If
52865         [$(fast-check) && !$(cross-compiling)], add
52866         $(conformtest-header-tests) instead of
52867         $(objpfx)run-conformtest.out.
52868         (generated): Add $(conformtest-header-list-base).  If
52869         [$(fast-check) && !$(cross-compiling)], add
52870         $(conformtest-header-base).  Remove previous setting.
52871         ($(conformtest-header-list-tests)): New target.
52872         (test-xfail-run-conformtest): Remove variable.
52873         ($(objpfx)run-conformtest.out): Remove target.
52874         (test-xfail-ISO11/complex.h/conform): New variable.
52875         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52876         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52877         (test-xfail-XPG3/varargs.h/conform): Likewise.
52878         (test-xfail-XPG4/varargs.h/conform): Likewise.
52879         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52880         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52881         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52882         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52883         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52884         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52885         (test-xfail-XPG3/ftw.h/conform): Likewise.
52886         (test-xfail-XPG3/grp.h/conform): Likewise.
52887         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52888         (test-xfail-XPG3/limits.h/conform): Likewise.
52889         (test-xfail-XPG3/pwd.h/conform): Likewise.
52890         (test-xfail-XPG3/search.h/conform): Likewise.
52891         (test-xfail-XPG3/signal.h/conform): Likewise.
52892         (test-xfail-XPG3/stdio.h/conform): Likewise.
52893         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52894         (test-xfail-XPG3/string.h/conform): Likewise.
52895         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52896         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52897         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52898         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52899         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52900         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52901         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52902         (test-xfail-XPG3/termios.h/conform): Likewise.
52903         (test-xfail-XPG3/time.h/conform): Likewise.
52904         (test-xfail-XPG3/unistd.h/conform): Likewise.
52905         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52906         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52907         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52908         (test-xfail-XPG4/netdb.h/conform): Likewise.
52909         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52910         (test-xfail-XPG4/signal.h/conform): Likewise.
52911         (test-xfail-XPG4/stdio.h/conform): Likewise.
52912         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52913         (test-xfail-XPG4/stropts.h/conform): Likewise.
52914         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52915         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52916         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52917         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52918         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52919         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52920         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52921         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52922         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52923         (test-xfail-XPG4/termios.h/conform): Likewise.
52924         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52925         (test-xfail-XPG4/unistd.h/conform): Likewise.
52926         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52927         (test-xfail-POSIX/sched.h/conform): Likewise.
52928         (test-xfail-POSIX/signal.h/conform): Likewise.
52929         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52930         (test-xfail-POSIX/tar.h/conform): Likewise.
52931         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52932         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52933         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52934         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52935         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52936         (test-xfail-UNIX98/sched.h/conform): Likewise.
52937         (test-xfail-UNIX98/signal.h/conform): Likewise.
52938         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52939         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52940         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52941         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52942         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52943         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52944         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52945         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52946         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52947         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52948         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52949         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52950         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52951         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52952         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52953         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52954         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52955         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52956         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52957         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52958         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52959         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52960         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52961         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52962         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52963         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52964         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52965         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52966         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52967         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52968         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52969         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52970         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52971         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52972         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52973         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52974         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52975         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52976         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52977         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52978         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52979         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52980         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52981         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52982         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52983         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52984         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52985         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52986         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52987         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52988         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52989         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52990         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52991         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52992         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52993         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52994         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52995         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52996         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52997         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52998         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52999         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53000         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53001         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53002         (conformtest-cc-flags): Likewise.
53003         ($(conformtest-header-tests): New target.
53004         * conform/check-header-lists.sh: New file.
53005         * conform/run-conformtest.sh: Remove.
53007         * conform/conformtest.pl: Allow ' and \ in values given for
53008         constants.
53009         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53010         inclusion.
53011         [POSIX] (sys/types.h): Likewise.
53012         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53013         inclusion.
53014         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53015         inclusion.
53016         * conform/data/signal.h-data (SIGIO): Remove expectation.
53017         [XPG3] (SIGBUS): Do not expect.
53018         [POSIX || XPG3] (SIGPOLL): Likewise.
53019         [POSIX || XPG3] (SIGPROF): Likewise.
53020         [POSIX || XPG3] (SIGSYS): Likewise.
53021         [XPG3] (SIGTRAP): Likewise.
53022         [POSIX || XPG3] (SIGURG): Likewise.
53023         [POSIX || XPG3] (SIGVTALRM): Likewise.
53024         [POSIX || XPG3] (SIGXCPU): Likewise.
53025         [POSIX || XPG3] (SIGXFSZ): Likewise.
53026         [POSIX] (SA_SIGINFO): Expect.
53027         [XPG3] (siginfo_t): Do not expect type or contents.
53028         [POSIX] (si_pid): Do not expect element.
53029         [POSIX] (si_uid): Likewise.
53030         [POSIX] (si_addr): Likewise.
53031         [POSIX] (si_status): Likewise.
53032         [POSIX] (si_band): Likewise.
53033         [XPG4] (si_value): Likewise.
53034         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53035         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53036         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53037         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53038         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53039         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53040         [POSIX || XPG3] (ILL_COPROC): Likewise.
53041         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53042         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53043         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53044         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53045         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53046         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53047         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53048         [POSIX || XPG3] (FPE_FLTINV): Likewise.
53049         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53050         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53051         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53052         [POSIX || XPG3] (BUS_ADRALN): Likewise.
53053         [POSIX || XPG3] (BUS_ADRERR): Likewise.
53054         [POSIX || XPG3] (BUS_OBJERR): Likewise.
53055         [POSIX || XPG3] (CLD_EXITED): Likewise.
53056         [POSIX || XPG3] (CLD_KILLED): Likewise.
53057         [POSIX || XPG3] (CLD_DUMPED): Likewise.
53058         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53059         [POSIX || XPG3] (CLD_STOPPED): Likewise.
53060         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53061         [POSIX || XPG3] (POLL_IN): Likewise.
53062         [POSIX || XPG3] (POLL_OUT): Likewise.
53063         [POSIX || XPG3] (POLL_MSG): Likewise.
53064         [POSIX || XPG3] (POLL_ERR): Likewise.
53065         [POSIX || XPG3] (POLL_PRI): Likewise.
53066         [POSIX || XPG3] (POLL_HUP): Likewise.
53067         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53068         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53069         (SIG*): Do not allow.
53070         [XPG3] (si_*): Likewise.
53071         [XPG3] (SI_*): Likewise.
53072         [XPG3 || XPG4] (sigev_*): Likewise.
53073         [XPG3 || XPG4] (SIGEV_*): Likewise.
53074         [XPG3 || XPG4] (sival_*): Likewise.
53075         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53076         [POSIX || XPG3] (BUS_*): Likewise.
53077         [POSIX || XPG3] (CLD_*): Likewise.
53078         [POSIX || XPG3] (FPE_*): Likewise.
53079         [POSIX || XPG3] (ILL_*): Likewise.
53080         [POSIX || XPG3] (POLL_*): Likewise.
53081         [POSIX || XPG3] (SEGV_*): Likewise.
53082         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53083         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53084         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53085         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53086         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53087         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53088         Specify type and value.
53089         (TVERSLEN): Likewise.
53090         (REGTYPE): Likewise.
53091         (AREGTYPE): Likewise.
53092         (LNKTYPE): Likewise.
53093         (SYMTYPE): Likewise.
53094         (CHRTYPE): Likewise.
53095         (BLKTYPE): Likewise.
53096         (DIRTYPE): Likewise.
53097         (FIFOTYPE): Likewise.
53098         (CONTTYPE): Likewise.
53099         (TSUID): Likewise.
53100         (TSGID): Likewise.
53101         (TSVTX): Likewise.
53102         (TUREAD): Likewise.
53103         (TUWRITE): Likewise.
53104         (TUEXEC): Likewise.
53105         (TGREAD): Likewise.
53106         (TGWRITE): Likewise.
53107         (TGEXEC): Likewise.
53108         (TOREAD): Likewise.
53109         (TOWRITE): Likewise.
53110         (TOEXEC): Likewise.
53111         [POSIX] (TSVTX): Expect constant.
53113 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
53115         * Makefile (tests): Change dependencies to ....
53116         (tests-special): ... additions to this variable.
53117         (tests): Depend on $(tests-special).
53118         * Makerules (check-abi-list): New variable.
53119         (check-abi): Depend on $(check-abi-list).
53120         [$(subdir) = elf] (tests-special): Add
53121         $(objpfx)check-abi-libc.out.
53122         [$(build-shared) = yes && subdir] (tests-special): Add
53123         $(check-abi-list).
53124         [$(build-shared) = yes && subdir] (tests): Do not depend on
53125         check-abi.
53126         * Rules (tests): Depend on $(tests-special).
53127         (xtests): Depend on $(xtests-special).
53128         * catgets/Makefile (tests): Change dependencies to ....
53129         (tests-special): ... additions to this variable.
53130         * conform/Makefile (tests): Change dependencies to ....
53131         (tests-special): ... additions to this variable.
53132         * elf/Makefile (tests): Change dependencies to ....
53133         (tests-special): ... additions to this variable.
53134         * grp/Makefile (tests): Change dependencies to ....
53135         (tests-special): ... additions to this variable.
53136         * iconv/Makefile (xtests): Change dependencies to ....
53137         (xtests-special): ... additions to this variable.
53138         * iconvdata/Makefile (tests): Change dependencies to ....
53139         (tests-special): ... additions to this variable.
53140         * intl/Makefile (tests): Change dependencies to ....
53141         (tests-special): ... additions to this variable.  Also add
53142         $(objpfx)tst-gettext.out.
53143         * io/Makefile (tests): Change dependencies to ....
53144         (tests-special): ... additions to this variable.
53145         * libio/Makefile (tests): Change dependencies to ....
53146         (tests-special): ... additions to this variable.
53147         * malloc/Makefile (tests): Change dependencies to ....
53148         (tests-special): ... additions to this variable.
53149         * misc/Makefile (tests): Change dependencies to ....
53150         (tests-special): ... additions to this variable.
53151         * nptl/Makefile (tests): Change dependencies to ....
53152         (tests-special): ... additions to this variable.
53153         * nptl_db/Makefile (tests): Change dependencies to ....
53154         (tests-special): ... additions to this variable.
53155         * posix/Makefile (tests): Change dependencies to ....
53156         (tests-special): ... additions to this variable.
53157         (xtests): Change dependencies to ....
53158         (xtests-special): ... additions to this variable.
53159         * resolv/Makefile (tests): Change dependencies to ....
53160         (tests-special): ... additions to this variable.
53161         (xtests): Change dependencies to ....
53162         (xtests-special): ... additions to this variable.
53163         * stdio-common/Makefile (tests): Change dependencies to ....
53164         (tests-special): ... additions to this variable.
53165         (do-tst-unbputc): Remove target.
53166         (do-tst-printf): Likewise.
53167         * stdlib/Makefile (tests): Change dependencies to ....
53168         (tests-special): ... additions to this variable.
53169         * string/Makefile (tests): Change dependencies to ....
53170         (tests-special): ... additions to this variable.
53171         * sysdeps/x86/Makefile (tests): Change dependencies to ....
53172         (tests-special): ... additions to this variable.
53174         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53175         whole file.
53176         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53177         whole file.
53178         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53179         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53181         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53182         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53183         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53184         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53185         * conform/data/libgen.h-data [XPG3]: Likewise.
53186         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53187         * conform/data/ndbm.h-data [XPG3]: Likewise.
53188         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53189         * conform/data/netdb.h-data [XPG3]: Likewise.
53190         * conform/data/netinet/in.h-data [XPG3]: Likewise.
53191         * conform/data/poll.h-data [XPG3]: Likewise.
53192         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53193         * conform/data/strings.h-data [XPG3]: Likewise.
53194         * conform/data/stropts.h-data [XPG3]: Likewise.
53195         * conform/data/sys/mman.h-data [XPG3]: Likewise.
53196         * conform/data/sys/resource.h-data [XPG3]: Likewise.
53197         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53198         Likewise.
53199         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53200         * conform/data/sys/time.h-data [XPG3]: Likewise.
53201         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53202         * conform/data/sys/uio.h-data [XPG3]: Likewise.
53203         * conform/data/sys/un.h-data [XPG3]: Likewise.
53204         * conform/data/syslog.h-data [XPG3]: Likewise.
53205         * conform/data/ucontext.h-data [XPG3]: Likewise.
53206         * conform/data/utmpx.h-data [XPG3]: Likewise.
53207         * conform/data/varargs.h-data [UNIX98]: Enable file.
53209         * manual/Makefile (INSTALL_INFO): Remove variable setting.
53211         * math/libm-test.inc (struct test_f_f_data): Move expected results
53212         into structure for each rounding mode.
53213         (struct test_ff_f_data): Likewise.
53214         (struct test_ff_f_data_nexttoward): Likewise.
53215         (struct test_fi_f_data): Likewise.
53216         (struct test_fl_f_data): Likewise.
53217         (struct test_if_f_data): Likewise.
53218         (struct test_fff_f_data): Likewise.
53219         (struct test_c_f_data): Likewise.
53220         (struct test_f_f1_data): Likewise.
53221         (struct test_fF_f1_data): Likewise.
53222         (struct test_ffI_f1_data): Likewise.
53223         (struct test_c_c_data): Likewise.
53224         (struct test_cc_c_data): Likewise.
53225         (struct test_f_i_data): Likewise.
53226         (struct test_ff_i_data): Likewise.
53227         (struct test_f_l_data): Likewise.
53228         (struct test_f_L_data): Likewise.
53229         (struct test_fFF_11_data): Likewise.
53230         (RM_): New macro.
53231         (RM_FE_DOWNWARD): Likewise.
53232         (RM_FE_TONEAREST): Likewise.
53233         (RM_FE_TOWARDZERO): Likewise.
53234         (RM_FE_UPWARD): Likewise.
53235         (RUN_TEST_LOOP_f_f): Update references to expected results.
53236         (RUN_TEST_LOOP_2_f): Likewise.
53237         (RUN_TEST_LOOP_fff_f): Likewise.
53238         (RUN_TEST_LOOP_c_f): Likewise.
53239         (RUN_TEST_LOOP_f_f1): Likewise.
53240         (RUN_TEST_LOOP_fF_f1): Likewise.
53241         (RUN_TEST_LOOP_fI_f1): Likewise.
53242         (RUN_TEST_LOOP_ffI_f1): Likewise.
53243         (RUN_TEST_LOOP_c_c): Likewise.
53244         (RUN_TEST_LOOP_cc_c): Likewise.
53245         (RUN_TEST_LOOP_f_i): Likewise.
53246         (RUN_TEST_LOOP_f_i_tg): Likewise.
53247         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53248         (RUN_TEST_LOOP_f_b): Likewise.
53249         (RUN_TEST_LOOP_f_b_tg): Likewise.
53250         (RUN_TEST_LOOP_f_l): Likewise.
53251         (RUN_TEST_LOOP_f_L): Likewise.
53252         (RUN_TEST_LOOP_fFF_11): Likewise.
53253         * math/gen-libm-test.pl (parse_args): Output four copies of
53254         expected results for each test.
53256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53257         (__ASSUME_UTIMES): Remove.
53258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53259         (__ASSUME_UTIMES): Likewise.
53261         * math/gen-auto-libm-tests.c: Update comment on output format.
53262         (output_for_one_input_case): Generate before-rounding and
53263         after-rounding information as conditions on output flags not
53264         floating-point format.
53265         * math/auto-libm-test-out: Regenerated.
53266         * math/gen-libm-test.pl (cond_value): New function.
53267         (or_cond_value): Use cond_value.
53268         (generate_testfile): Handle conditional exceptions.
53270 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
53272         * math/libm-test.inc (max_valid_error): New variable.
53273         (init_max_error): Take new argument specifying whether function
53274         results are exactly determined.  Set max_valid_error and bound
53275         other variables for errors based on this argument.
53276         (set_max_error): Do not record results above max_valid_error.
53277         (check_float_internal): Only accept errors of up to 0.5ulps if
53278         also at most max_valid_error.
53279         (START): Take new argument EXACT and pass it to init_max_error.
53280         (acos_test): Update call to START.
53281         (acos_test_tonearest): Likewise.
53282         (acos_test_towardzero): Likewise.
53283         (acos_test_downward): Likewise.
53284         (acos_test_upward): Likewise.
53285         (acosh_test): Likewise.
53286         (asin_test): Likewise.
53287         (asin_test_tonearest): Likewise.
53288         (asin_test_towardzero): Likewise.
53289         (asin_test_downward): Likewise.
53290         (asin_test_upward): Likewise.
53291         (asinh_test): Likewise.
53292         (atan_test): Likewise.
53293         (atanh_test): Likewise.
53294         (atan2_test): Likewise.
53295         (cabs_test): Likewise.
53296         (cacos_test): Likewise.
53297         (cacosh_test): Likewise.
53298         (carg_test): Likewise.
53299         (casin_test): Likewise.
53300         (casinh_test): Likewise.
53301         (catan_test): Likewise.
53302         (catanh_test): Likewise.
53303         (cbrt_test): Likewise.
53304         (ccos_test): Likewise.
53305         (ccosh_test): Likewise.
53306         (ceil_test): Likewise.
53307         (cexp_test): Likewise.
53308         (cimag_test): Likewise.
53309         (clog_test): Likewise.
53310         (clog10_test): Likewise.
53311         (conj_test): Likewise.
53312         (copysign_test): Likewise.
53313         (cos_test): Likewise.
53314         (cos_test_tonearest): Likewise.
53315         (cos_test_towardzero): Likewise.
53316         (cos_test_downward): Likewise.
53317         (cos_test_upward): Likewise.
53318         (cosh_test): Likewise.
53319         (cosh_test_tonearest): Likewise.
53320         (cosh_test_towardzero): Likewise.
53321         (cosh_test_downward): Likewise.
53322         (cosh_test_upward): Likewise.
53323         (cpow_test): Likewise.
53324         (cproj_test): Likewise.
53325         (creal_test): Likewise.
53326         (csin_test): Likewise.
53327         (csinh_test): Likewise.
53328         (csqrt_test): Likewise.
53329         (ctan_test): Likewise.
53330         (ctan_test_tonearest): Likewise.
53331         (ctan_test_towardzero): Likewise.
53332         (ctan_test_downward): Likewise.
53333         (ctan_test_upward): Likewise.
53334         (ctanh_test): Likewise.
53335         (ctanh_test_tonearest): Likewise.
53336         (ctanh_test_towardzero): Likewise.
53337         (ctanh_test_downward): Likewise.
53338         (ctanh_test_upward): Likewise.
53339         (erf_test): Likewise.
53340         (erfc_test): Likewise.
53341         (exp_test): Likewise.
53342         (exp_test_tonearest): Likewise.
53343         (exp_test_towardzero): Likewise.
53344         (exp_test_downward): Likewise.
53345         (exp_test_upward): Likewise.
53346         (exp10_test): Likewise.
53347         (exp10_test_tonearest): Likewise.
53348         (exp10_test_towardzero): Likewise.
53349         (exp10_test_downward): Likewise.
53350         (exp10_test_upward): Likewise.
53351         (pow10_test): Likewise.
53352         (exp2_test): Likewise.
53353         (expm1_test): Likewise.
53354         (expm1_test_tonearest): Likewise.
53355         (expm1_test_towardzero): Likewise.
53356         (expm1_test_downward): Likewise.
53357         (expm1_test_upward): Likewise.
53358         (fabs_test): Likewise.
53359         (fdim_test): Likewise.
53360         (floor_test): Likewise.
53361         (fma_test): Likewise.
53362         (fma_test_towardzero): Likewise.
53363         (fma_test_downward): Likewise.
53364         (fma_test_upward): Likewise.
53365         (fmax_test): Likewise.
53366         (fmin_test): Likewise.
53367         (fmod_test): Likewise.
53368         (fpclassify_test): Likewise.
53369         (frexp_test): Likewise.
53370         (hypot_test): Likewise.
53371         (ilogb_test): Likewise.
53372         (isfinite_test): Likewise.
53373         (finite_test): Likewise.
53374         (isgreater_test): Likewise.
53375         (isgreaterequal_test): Likewise.
53376         (isinf_test): Likewise.
53377         (isless_test): Likewise.
53378         (islessequal_test): Likewise.
53379         (islessgreater_test): Likewise.
53380         (isnan_test): Likewise.
53381         (isnormal_test): Likewise.
53382         (issignaling_test): Likewise.
53383         (isunordered_test): Likewise.
53384         (j0_test): Likewise.
53385         (j1_test): Likewise.
53386         (jn_test): Likewise.
53387         (ldexp_test): Likewise.
53388         (lgamma_test): Likewise.
53389         (gamma_test): Likewise.
53390         (lrint_test): Likewise.
53391         (lrint_test_tonearest): Likewise.
53392         (lrint_test_towardzero): Likewise.
53393         (lrint_test_downward): Likewise.
53394         (lrint_test_upward): Likewise.
53395         (llrint_test): Likewise.
53396         (llrint_test_tonearest): Likewise.
53397         (llrint_test_towardzero): Likewise.
53398         (llrint_test_downward): Likewise.
53399         (llrint_test_upward): Likewise.
53400         (log_test): Likewise.
53401         (log10_test): Likewise.
53402         (log1p_test): Likewise.
53403         (log2_test): Likewise.
53404         (logb_test): Likewise.
53405         (logb_test_downward): Likewise.
53406         (lround_test): Likewise.
53407         (llround_test): Likewise.
53408         (modf_test): Likewise.
53409         (nearbyint_test): Likewise.
53410         (nextafter_test): Likewise.
53411         (nexttoward_test): Likewise.
53412         (pow_test): Likewise.
53413         (pow_test_tonearest): Likewise.
53414         (pow_test_towardzero): Likewise.
53415         (pow_test_downward): Likewise.
53416         (pow_test_upward): Likewise.
53417         (remainder_test): Likewise.
53418         (drem_test): Likewise.
53419         (remainder_test_tonearest): Likewise.
53420         (drem_test_tonearest): Likewise.
53421         (remainder_test_towardzero): Likewise.
53422         (drem_test_towardzero): Likewise.
53423         (remainder_test_downward): Likewise.
53424         (drem_test_downward): Likewise.
53425         (remainder_test_upward): Likewise.
53426         (drem_test_upward): Likewise.
53427         (remquo_test): Likewise.
53428         (rint_test): Likewise.
53429         (rint_test_tonearest): Likewise.
53430         (rint_test_towardzero): Likewise.
53431         (rint_test_downward): Likewise.
53432         (rint_test_upward): Likewise.
53433         (round_test): Likewise.
53434         (scalb_test): Likewise.
53435         (scalbn_test): Likewise.
53436         (scalbln_test): Likewise.
53437         (signbit_test): Likewise.
53438         (sin_test): Likewise.
53439         (sin_test_tonearest): Likewise.
53440         (sin_test_towardzero): Likewise.
53441         (sin_test_downward): Likewise.
53442         (sin_test_upward): Likewise.
53443         (sincos_test): Likewise.
53444         (sinh_test): Likewise.
53445         (sinh_test_tonearest): Likewise.
53446         (sinh_test_towardzero): Likewise.
53447         (sinh_test_downward): Likewise.
53448         (sinh_test_upward): Likewise.
53449         (sqrt_test): Likewise.
53450         (sqrt_test_tonearest): Likewise.
53451         (sqrt_test_towardzero): Likewise.
53452         (sqrt_test_downward): Likewise.
53453         (sqrt_test_upward): Likewise.
53454         (tan_test): Likewise.
53455         (tan_test_tonearest): Likewise.
53456         (tan_test_towardzero): Likewise.
53457         (tan_test_downward): Likewise.
53458         (tan_test_upward): Likewise.
53459         (tanh_test): Likewise.
53460         (tgamma_test): Likewise.
53461         (trunc_test): Likewise.
53462         (y0_test): Likewise.
53463         (y1_test): Likewise.
53464         (yn_test): Likewise.
53465         (significand_test): Likewise.
53467         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53468         individual tests in comment.
53469         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53470         (prev_max_error): New variable.
53471         (prev_real_max_error): Likewise.
53472         (prev_imag_max_error): Likewise.
53473         (compare_ulp_data): Don't refer to test names in comment.
53474         (find_test_ulps): Remove function.
53475         (find_function_ulps): Likewise.
53476         (find_complex_function_ulps): Likewise.
53477         (init_max_error): Take function name as argument.  Look up ulps
53478         for that function.
53479         (print_ulps): Remove function.
53480         (print_max_error): Use prev_max_error instead of calling
53481         find_function_ulps.
53482         (print_complex_max_error): Use prev_real_max_error and
53483         prev_imag_max_error instead of calling find_complex_function_ulps.
53484         (check_float_internal): Take max_ulp parameter instead of calling
53485         find_test_ulps.  Don't call print_ulps.
53486         (check_float): Update call to check_float_internal.
53487         (check_complex): Update calls to check_float_internal.
53488         (START): Pass argument to init_max_error.
53489         * math/gen-libm-test.pl (%results): Don't include "kind"
53490         information.
53491         (parse_ulps): Don't handle ulps of individual tests.
53492         (print_ulps_file): Likewise.
53493         (output_ulps): Likewise.
53494         * math/README.libm-test: Update.
53495         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53496         individual tests.
53497         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53498         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53499         * sysdeps/arm/libm-test-ulps: Likewise.
53500         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53501         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53502         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53503         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53504         * sysdeps/microblaze/libm-test-ulps: Likewise.
53505         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53506         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53508         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53509         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53510         * sysdeps/sh/libm-test-ulps: Likewise.
53511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53512         * sysdeps/tile/libm-test-ulps: Likewise.
53513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53515 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53517         * math/libm-test.inc (print_complex_max_error): Check separately
53518         whether real and imaginary errors are within allowed range and
53519         pass 0 to print_complex_function_ulps instead of value within
53520         allowed range.
53522 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53524         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53525         formatting.
53526         (get_handles_fopen): Likewise.
53527         (do_write_test): Likewise.
53529         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53531         * libio/fileops.c (do_ftell): Use cached offset when
53532         available.
53533         * libio/iofwide.c (do_ftell_wide): Likewise.
53534         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53535         _IO_file_attach.
53536         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53538         [BZ #16532]
53539         * libio/libioP.h (get_file_offset): New function.
53540         * libio/fileops.c (get_file_offset): Likewise.
53541         (do_ftell): Likewise.
53542         (_IO_new_file_seekoff): Split out ftell logic.
53543         * libio/wfileops.c (do_ftell_wide): Likewise.
53544         (_IO_wfile_seekoff): Split out ftell logic.
53545         * libio/tst-ftell-active-handler.c: New test case.
53546         * libio/Makefile (tests): Add it.
53548 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53550         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53551         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53553 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555         [BZ #16639]
53556         * nscd/connections.c (nscd_init): Call do_exit.
53557         (start_threads): Call do_exit and notify_parent.
53558         (begin_drop_privileges): Call do_exit.
53559         (finish_drop_privileges): Likewise.
53560         * nscd/selinux.c (preserve_capabilities): Likewise.
53561         (install_real_capabilities): Likewise.
53562         (nscd_selinux_enabled): Likewise.
53563         (avc_create_thread): Likewise.
53564         (avc_alloc_lock): Likewise.
53565         (nscd_avc_init): Likewise.
53566         * nscd/nscd.c (parent_fd): New static variable.
53567         (main): Create a pipe between parent and child processes.
53568         Skip closing parent_fd.
53569         (monitor_child): New function.
53570         (do_exit): Likewise.
53571         (notify_parent): Likewise.
53572         * nscd/nscd.h (notify_parent): Likewise.
53573         (do_exit): Likewise.
53575 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53577         * malloc/malloc.c (__libc_calloc): Revert last change.
53579 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53583 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53585         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53587         implementation.
53588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53589         (__libc_ifunc_impl_list): Likewise.
53590         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53591         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53592         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53593         * string/strrchr.c: Define STRRCHR.
53595 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53597         * benchtest/bench-strtok.c (simple_strtok): Delete.
53598         (strtok_string): Use as benchmark.
53599         * string/strtok (STRTOK): New macro.
53601 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53603         * manual/threads.texi: Add header and standard comments to all
53604         functions.
53606         * elf/dl-lookup.c (check_match): New function.
53607         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53608         (do_lookup_x): Remove nested function check_match. Use non-nested
53609         function check_match.
53611 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53613         * csu/Makefile (generated, before-compile): Use += rather than =.
53614         * catgets/Makefile (generated, generated-dirs): Likewise.
53615         * debug/Makefile (generated): Likewise.
53616         * dlfcn/Makefile (generated): Likewise.
53617         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53618         * iconvdata/Makefile (before-compile, generated): Likewise.
53619         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53620         * libio/Makefile (generated): Likewise.
53621         * malloc/Makefile (generated): Likewise.
53622         * manual/Makefile (generated, generated-dirs): Likewise.
53623         * misc/Makefile (generated): Likewise.
53624         * posix/Makefile (generated): Likewise.
53625         * resolv/Makefile (generated): Likewise.
53626         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53627         * timezone/Makefile (generated, generated-dirs): Likewise.
53629         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53631 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53634         power8 implementation.
53635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53636         file: POWER8 llround ifunc implementation.
53637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53638         (__lllround): Add POWER8 implementation.
53639         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53640         POWER8 llround implementation.
53642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53643         power8 implementation.
53644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53645         file: POWER8 llrint ifunc implementation.
53646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53647         Add POWER8 implementation.
53648         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53649         POWER8 llrint implementation.
53651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53652         power8 implementation.
53653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53654         file: POWER8 finite ifunc implementation.
53655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53656         Add POWER8 implementation.
53657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53658         Likewise.
53659         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53660         POWER8 finite implementation.
53661         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53664         power8 implementation.
53665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53666         file: POWER8 isinf ifunc implementation.
53667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53668         POWER8 implementation.
53669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53670         Likewise.
53671         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53672         isinf implementation.
53673         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53675         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53676         (INIT_ARCH): Add hwcap2 initialization.
53677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53678         power8 implementation.
53679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53680         file: POWER8 isnan ifunc implementation.
53681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53682         POWER8 implementation.
53683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53684         Likewise.
53685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53686         isnan implementation.
53687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53689 2014-02-27  Joey Ye  <joey.ye@arm.com>
53691         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53692         (_FP_NANFRAC_Q): Set to zero.
53694 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53696         [BZ #16623]
53697         * math/auto-libm-test-in: New test inputs.
53698         * math/auto-libm-test-out: Regenerate.
53699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53700         and DA.
53701         (__cos): Likewise.
53702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53704 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
53706         * scripts/evaluate-test.sh: Take new argument indicating whether
53707         failure is expected.
53708         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53709         indicating whether failure is expected.
53710         * conform/Makefile (test-xfail-run-conformtest): New variable.
53711         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53712         level.
53713         * posix/Makefile (test-xfail-annexc): New variable.
53714         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53716 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
53718         * argp/Makefile: Include Makeconfig immediately after defining
53719         subdir.
53720         * assert/Makefile: Likewise.
53721         * benchtests/Makefile: Likewise.
53722         * catgets/Makefile: Likewise.
53723         * conform/Makefile: Likewise.
53724         * crypt/Makefile: Likewise.
53725         * csu/Makefile: Likewise.
53726         (all): Remove target.
53727         * ctype/Makefile: Include Makeconfig immediately after defining
53728         subdir.
53729         * debug/Makefile: Likewise.
53730         * dirent/Makefile: Likewise.
53731         * dlfcn/Makefile: Likewise.
53732         * gmon/Makefile: Likewise.
53733         * gnulib/Makefile: Likewise.
53734         * grp/Makefile: Likewise.
53735         * gshadow/Makefile: Likewise.
53736         * hesiod/Makefile: Likewise.
53737         * hurd/Makefile: Likewise.
53738         (all): Remove target.
53739         * iconvdata/Makefile: Include Makeconfig immediately after
53740         defining subdir.
53741         * inet/Makefile: Likewise.
53742         * intl/Makefile: Likewise.
53743         * io/Makefile: Likewise.
53744         * libio/Makefile: Likewise.
53745         (all): Remove target.
53746         * locale/Makefile: Include Makeconfig immediately after defining
53747         subdir.
53748         * login/Makefile: Likewise.
53749         * mach/Makefile: Likewise.
53750         (all): Remove target.
53751         * malloc/Makefile: Include Makeconfig immediately after defining
53752         subdir.
53753         (all): Remove target.
53754         * manual/Makefile: Include Makeconfig immediately after defining
53755         subdir.
53756         * math/Makefile: Likewise.
53757         * misc/Makefile: Likewise.
53758         * nis/Makefile: Likewise.
53759         * nss/Makefile: Likewise.
53760         * po/Makefile: Likewise.
53761         (all): Remove target.
53762         * posix/Makefile: Include Makeconfig immediately after defining
53763         subdir.
53764         * pwd/Makefile: Likewise.
53765         * resolv/Makefile: Likewise.
53766         * resource/Makefile: Likewise.
53767         * rt/Makefile: Likewise.
53768         * setjmp/Makefile: Likewise.
53769         * shadow/Makefile: Likewise.
53770         * signal/Makefile: Likewise.
53771         * socket/Makefile: Likewise.
53772         * soft-fp/Makefile: Likewise.
53773         * stdio-common/Makefile: Likewise.
53774         * stdlib/Makefile: Likewise.
53775         * streams/Makefile: Likewise.
53776         * string/Makefile: Likewise.
53777         * sunrpc/Makefile: Likewise.
53778         (all): Remove target.
53779         * sysvipc/Makefile: Include Makeconfig immediately after defining
53780         subdir.
53781         * termios/Makefile: Likewise.
53782         * time/Makefile: Likewise.
53783         * timezone/Makefile: Likewise.
53784         (all): Remove target.
53785         * wcsmbs/Makefile: Include Makeconfig immediately after defining
53786         subdir.
53787         * wctype/Makefile: Likewise.
53789 2014-02-26  Steve Ellcey  <sellcey@mips.com>
53791         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53792         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53793         (libc_feholdexcept_setround_mips): Ditto.
53794         (libc_feholdsetround): New.
53795         (libc_feholdsetroundf): New.
53796         (libc_feholdsetroundl): New.
53797         (libc_feupdateenv_test_mips): New.
53798         (libc_feupdateenv_test): New.
53799         (libc_feupdateenv_testf): New.
53800         (libc_feupdateenv_testl): New.
53801         (libc_feresetround): New.
53802         (libc_feresetroundf): New.
53803         (libc_feresetroundl): New.
53804         (libc_fetestexcept_mips): New.
53805         (libc_fetestexcept): New.
53806         (libc_fetestexceptf): New.
53807         (libc_fetestexceptl): New.
53808         (HAVE_RM_CTX): New.
53809         (libc_feholdexcept_setround_mips_ctx): New.
53810         (libc_feholdexcept_setround_ctx): New.
53811         (libc_feholdexcept_setroundf_ctx): New.
53812         (libc_feholdexcept_setroundl_ctx): New.
53813         (libc_fesetenv_mips_ctx): New.
53814         (libc_fesetenv_ctx): New.
53815         (libc_fesetenv_ctxf): New.
53816         (libc_fesetenv_ctxl): New.
53817         (libc_feupdateenv_mips_ctx): New.
53818         (libc_feupdateenv_ctx): New.
53819         (libc_feupdateenvf_ctx): New.
53820         (libc_feupdateenvl_ctx): New.
53821         (libc_feholdsetround_mips_ctx): New.
53822         (libc_feholdsetround_ctx): New.
53823         (libc_feholdsetroundf_ctx): New.
53824         (libc_feholdsetroundl_ctx): New.
53825         (libc_feresetround_mips_ctx): New.
53826         (libc_feresetround_ctx): New.
53827         (libc_feresetroundf_ctx): New.
53828         (libc_feresetroundl_ctx): New.
53830 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53832         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53834         * manual/ipc.texi: New file.
53835         * manual/Makefile (chapters): Add ipc.
53836         * manual/job.texi: Add "Inter-Process Communication" to next.
53837         * manual/process.texi: Add "Inter-Process Communication" to prev.
53839 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53843 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53845         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53847         * manual/arith.texi: Fix spaces after sentences.
53848         * manual/charset.texi: Likewise.
53849         * manual/errno.texi: Likewise.
53850         * manual/install.texi: Likewise.
53851         * manual/llio.texi: Likewise.
53852         * manual/locale.texi: Likewise.
53853         * manual/maint.texi: Likewise.
53854         * manual/math.texi: Likewise.
53855         * manual/memory.texi: Likewise.
53856         * manual/message.texi: Likewise.
53857         * manual/probes.texi: Likewise.
53858         * manual/resource.texi: Likewise.
53859         * manual/signal.texi: Likewise.
53860         * manual/socket.texi: Likewise.
53861         * manual/stdio.texi: Likewise.
53862         * manual/string.texi: Likewise.
53863         * manual/time.texi: Likewise.
53864         * manual/users.texi: Likewise.
53866 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53868         [BZ #16632]
53869         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53870         _DEFAULT_SOURCE is defined.
53872 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53873             Carlos O'Donell  <carlos@redhat.com>
53875         [BZ #16613]
53876         * elf/dl-tls.c (_dl_count_modids): New function.
53877         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53878         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53879         audit library and increment generation counter.
53880         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53881         * elf/tst-audit9.c: New file.
53882         * elf/tst-auditmod9a.c: New file.
53883         * elf/tst-auditmod9b.c: New file.
53884         * elf/Makefile: Add rules to build and run tst-audit9.
53886 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53888         [BZ #15347]
53889         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53891 2014-02-25  Will Newton  <will.newton@linaro.org>
53893         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53894         (__longjmp): Restore sp and lr before restoring callee
53895         saved registers.  Add longjmp and longjmp_target
53896         SystemTap probe point.
53897         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53898         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53899         Define to zero to match jmpbuf layout.
53900         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53901         (__sigsetjmp): Save sp and lr before saving callee
53902         saved registers.  Add setjmp SystemTap probe point.
53904 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53906         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53908 2014-02-24  Andreas Schwab  <schwab@suse.de>
53910         [BZ #15804]
53911         * elf/pldd.c (wait_for_ptrace_stop): New function.
53912         (main): Call it after attaching.
53914 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53916         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53917         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53918         Versions files is now verboten.
53919         * hurd/Versions (libc: GLIBC_2.0):
53920         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53921         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53922         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53923         * mach/Versions: Likewise.
53925         * csu/Versions: Remove unused %include.
53926         * resolv/Versions: Likewise.
53928 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53930         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53931         ($(objpfx)check-local-headers.out): Likewise.
53932         ($(objpfx)begin-end-check.out): Likewise.
53933         * Makerules (check-abi-%.out): Likewise.
53934         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53935         ($(objpfx)test2.cat): Likewise.
53936         ($(objpfx)de/libc.cat): Likewise.
53937         ($(objpfx)test-gencat.out): Likewise.
53938         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53939         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53940         ($(objpfx)noload-mem): Likewise.
53941         ($(objpfx)tst-pathopt.out): Likewise.
53942         ($(objpfx)tst-rtld-load-self.out): Likewise.
53943         ($(objpfx)tst-array1-cmp.out): Likewise.
53944         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53945         ($(objpfx)tst-array2-cmp.out): Likewise.
53946         ($(objpfx)tst-array3-cmp.out): Likewise.
53947         ($(objpfx)tst-array4-cmp.out): Likewise.
53948         ($(objpfx)tst-array5-cmp.out): Likewise.
53949         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53950         ($(objpfx)check-textrel.out): Likewise.
53951         ($(objpfx)check-execstack.out): Likewise.
53952         ($(objpfx)check-localplt.out): Likewise.
53953         ($(objpfx)order2-cmp.out): Likewise.
53954         ($(objpfx)tst-leaks1-mem): Likewise.
53955         ($(objpfx)tst-leaks1-static-mem): Likewise.
53956         ($(objpfx)tst-initorder-cmp.out): Likewise.
53957         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53958         ($(objpfx)tst-unused-dep.out): Likewise.
53959         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53960         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53961         * iconv/Makefile (test-iconvconfig): Likewise.
53962         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53963         ($(objpfx)iconv-test.out): Likewise.
53964         ($(objpfx)tst-tables.out): Likewise.
53965         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53966         ($(objpfx)tst-gettext.out): Likewise.
53967         ($(objpfx)tst-translit.out): Likewise.
53968         ($(objpfx)tst-gettext2.out): Likewise.
53969         ($(objpfx)tst-gettext4.out): Likewise.
53970         ($(objpfx)tst-gettext6.out): Likewise.
53971         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53972         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53973         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53974         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53975         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53976         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53977         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53978         ($(objpfx)wordexp-tst.out): Likewise.
53979         ($(objpfx)annexc.out): Likewise.
53980         ($(objpfx)tst-fnmatch-mem): Likewise.
53981         ($(objpfx)bug-regex2-mem): Likewise.
53982         ($(objpfx)bug-regex14-mem): Likewise.
53983         ($(objpfx)bug-regex21-mem): Likewise.
53984         ($(objpfx)bug-regex31-mem): Likewise.
53985         ($(objpfx)tst-vfork3-mem): Likewise.
53986         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53987         ($(objpfx)tst-pcre-mem): Likewise.
53988         ($(objpfx)tst-boost-mem): Likewise.
53989         ($(objpfx)tst-getconf.out): Likewise.
53990         ($(objpfx)bug-ga2-mem): Likewise.
53991         ($(objpfx)bug-glob2-mem): Likewise.
53992         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53993         ($(objpfx)mtrace-tst-leaks2): Likewise.
53994         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53995         ($(objpfx)tst-printf.out): Likewise.
53996         ($(objpfx)tst-setvbuf1.out): Likewise.
53997         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53998         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53999         ($(objpfx)tst-fmtmsg.out): Likewise.
54000         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54001         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54003         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54004         * bits/sigaction.h [__USE_MISC]: Likewise.
54005         * bits/waitstatus.h: Update #endif comments.
54006         * ctype/ctype.h: Likewise.
54007         * dirent/dirent.h: Likewise.
54008         [__USE_MISC]: Remove redundant conditionals.
54009         * grp/grp.h: Update #endif comments.
54010         [__USE_GNU]: Remove redundant conditionals.
54011         [__USE_MISC]: Likewise.
54012         * inet/netinet/in.h [__USE_GNU]: Likewise.
54013         * io/sys/stat.h [__USE_MISC]: Likewise.
54014         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54015         * libio/bits/stdio.h: Update #endif comments.
54016         [__USE_MISC]: Remove redundant conditionals.
54017         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54018         * libio/stdio.h: Update #endif comments.
54019         [__USE_MISC]: Remove redundant conditionals.
54020         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54021         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54022         * math/math.h: Update #else and #endif comments.
54023         [__USE_MISC]: Remove redundant conditionals.
54024         * misc/sys/uio.h: Update #endif comments.
54025         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54026         * posix/glob.h [__USE_MISC]: Likewise.
54027         * posix/sys/types.h: Update #endif comments.
54028         [__USE_MISC]: Remove redundant conditionals.
54029         * posix/sys/wait.h: Update #endif comments.
54030         [__USE_MISC]: Remove redundant conditionals.
54031         * posix/unistd.h: Update #endif comments.
54032         [__USE_MISC]: Remove redundant conditionals.
54033         * pwd/pwd.h [__USE_GNU]: Likewise.
54034         [__USE_MISC]: Likewise.
54035         * resolv/netdb.h [__USE_GNU]: Likewise.
54036         * signal/signal.h: Update #endif comments.
54037         [__USE_MISC]: Remove redundant conditionals.
54038         * stdlib/stdlib.h: Update #else and #endif comments.
54039         [__USE_MISC]: Remove redundant conditionals.
54040         [__USE_GNU]: Likewise.
54041         * string/bits/string2.h [__USE_MISC]: Likewise.
54042         * string/string.h: Update #endif comments.
54043         [__USE_MISC]: Remove redundant conditionals.
54044         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54045         Likewise.
54046         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54047         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54048         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54049         Likewise.
54050         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54051         Likewise.
54052         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54053         comments.
54054         [__USE_MISC]: Remove redundant conditionals.
54055         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54056         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54057         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54058         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54059         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54060         Likewise.
54061         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54062         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54063         Likewise.
54064         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54065         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54066         Likewise.
54067         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54068         Likewise.
54069         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54070         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54071         Likewise.
54072         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54073         Likewise.
54074         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54075         * sysdeps/x86/bits/string.h: Update #endif comments.
54076         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54077         conditionals.
54078         * time/sys/time.h: Update #endif comments.
54079         * time/time.h: Likewise.
54080         [__USE_MISC]: Remove redundant conditionals.
54082 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
54084         [BZ #16600]
54085         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54087 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
54089         * Versions.def (librt): Add GLIBC_2.17.
54091 2014-02-21  Adam Conrad  <adconrad@0c3.net>
54093         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54094         synonym for _SYS_AUXV_H to allow direct inclusion.
54095         * sysdeps/sparc/bits/hwcap.h: Likewise.
54096         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54097         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54098         * sysdeps/sparc/sysdep.h: Likewise.
54100 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54102         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54104 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54106         * benchtests/bench-strrchr.c: Print length instead of position.
54108 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
54110         [BZ #16611]
54111         * sysdeps/unix/sysv/linux/kernel-features.h
54112         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54113         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54114         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54115         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54116         Likewise.
54117         [__i386__ || __powerpc__ || __sh__ || __sparc__]
54118         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54119         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54120         (__ASSUME_SENDMMSG): Define instead of using previous
54121         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54122         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54123         (__ASSUME_SENDMMSG_SYSCALL): Define.
54124         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54125         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54126         Likewise.
54127         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54128         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54129         Likewise.
54130         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54131         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54132         Likewise.
54133         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54134         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54135         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54136         [__ASSUME_SENDMMSG]: Change conditionals to
54137         [__ASSUME_SENDMMSG_SOCKETCALL].
54138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54139         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54140         Define.
54141         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54142         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54143         Likewise.
54144         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54145         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54146         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54147         [!__ASSUME_SENDMMSG]: Change conditional to
54148         [!__ASSUME_SENDMMSG_SOCKETCALL].
54149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54150         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54151         Define.
54153         [BZ #16610]
54154         * sysdeps/unix/sysv/linux/kernel-features.h
54155         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54156         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54157         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54158         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54159         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54160         [__i386__ || __sparc__]
54161         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54162         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54163         (__ASSUME_RECVMMSG): Define instead of using previous
54164         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54165         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54166         (__ASSUME_RECVMMSG_SYSCALL): Define.
54167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54169         Likewise.
54170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54172         Likewise.
54173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54174         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54175         Likewise.
54176         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54177         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54178         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54179         [__ASSUME_RECVMMSG]: Change condition to
54180         [__ASSUME_RECVMMSG_SOCKETCALL].
54181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54182         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54183         Define.
54184         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54185         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54186         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54187         Likewise.
54188         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54189         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54190         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54191         [!__ASSUME_RECVMMSG]: Change condition to
54192         [!__ASSUME_RECVMMSG_SOCKETCALL].
54193         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54194         (__ASSUME_RECVMMSG_SYSCALL): Define.
54196         [BZ #16609]
54197         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54198         __powerpc__ || __s390__ || __sh__ || __sparc__]
54199         (__ASSUME_SOCKETCALL): Define.
54200         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54201         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54202         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54203         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54204         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54205         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54206         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54207         (__ASSUME_ACCEPT4): Define instead of using previous
54208         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54209         __powerpc__ || __sparc__ || __s390__)] condition.
54210         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54211         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54212         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54213         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54214         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54215         [!__ASSUME_ACCEPT4]: Change condition to
54216         [!__ASSUME_ACCEPT4_SOCKETCALL].
54217         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54218         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
54219         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54221         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54222         __ASSUME_ACCEPT4_SYSCALL.
54223         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54224         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54225         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54226         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54227         __ASSUME_ACCEPT4_SYSCALL.
54228         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54229         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54230         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54231         [__ASSUME_ACCEPT4]: Change condition to
54232         [__ASSUME_ACCEPT4_SOCKETCALL].
54233         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54234         (__ASSUME_SOCKETCALL): Define.
54235         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54237         (__ASSUME_SOCKETCALL): Define.
54238         (__ASSUME_ACCEPT4): Remove.
54239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54240         Define.
54241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54242         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54243         Likewise.
54244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54245         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54247         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54248         macro.
54249         (HWCAP_ARM_LPAE): Likewise.
54250         (HWCAP_ARM_EVTSTRM): Likewise.
54251         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54252         Add vpfd32, lpae and evtstrm.
54253         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54254         Increase to 22.
54256 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
54258         * math/auto-libm-test-in: Add tests of clog10.
54259         * math/auto-libm-test-out: Regenerated.
54260         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
54261         * sysdeps/i386/fpu/libm-test-ulps: Update.
54262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54264 2014-02-18  Andreas Schwab  <schwab@suse.de>
54266         [BZ #16574]
54267         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
54268         Store non-zero if the second buffer was newly allocated.
54269         (send_dg): Likewise.
54270         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
54271         to send_vc and send_dg.
54272         (res_nsend): Pass NULL for ansp2_malloced.
54273         * resolv/res_query.c (__libc_res_nquery): Add parameter
54274         answerp2_malloced and pass it down to __libc_res_nsend.
54275         (res_nquery): Pass additional NULL to __libc_res_nquery.
54276         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54277         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
54278         second answer buffer if answerp2_malloced was set.
54279         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54280         (__libc_res_nquerydomain): Add parameter
54281         answerp2_malloced and pass it down to __libc_res_nquery.
54282         (res_nquerydomain): Pass additional NULL to
54283         __libc_res_nquerydomain.
54284         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54285         additional NULL to __libc_res_nsend and __libc_res_nquery.
54286         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54287         additional NULL to __libc_res_nsearch.
54288         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
54289         parameter of __libc_res_nsearch to check for separately allocated
54290         second buffer.
54291         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54292         __libc_res_nquery.
54293         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54294         additional NULL to __libc_res_nquery.
54295         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54296         __libc_res_nsearch.
54297         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54298         * include/resolv.h: Update prototypes of __libc_res_nquery,
54299         __libc_res_nsearch, __libc_res_nsend.
54301 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
54303         * math/auto-libm-test-in: Add tests of fma.
54304         * math/auto-libm-test-out: Regenerated.
54305         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54306         (fma_towardzero_test_data): Likewise.
54307         (fma_downward_test_data): Likewise.
54308         (fma_upward_test_data): Likewise.
54309         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
54310         mpc_mode.
54311         (rounding_modes): Add values for new field.
54312         (func_calc_method): Add value mpfr_fff_f.
54313         (func_calc_desc): Add mpfr_fff_f union field.
54314         (test_function): Add field exact_args.
54315         (FUNC): Add macro argument EXACT_ARGS.
54316         (FUNC_mpfr_f_f): Update call to FUNC.
54317         (FUNC_mpfr_f_f): Likewise.
54318         (FUNC_mpfr_ff_f): Likewise.
54319         (FUNC_mpfr_if_f): Likewise.
54320         (FUNC_mpc_c_f): Likewise.
54321         (FUNC_mpc_c_c): Likewise.
54322         (test_functions): Add fma.  Update calls to FUNC.
54323         (handle_input_arg): Add argument exact_args.
54324         (add_test): Update call to handle_input_arg.
54325         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
54326         (output_for_one_input_case): Update call to calc_generic_results.
54327         Recalculate exact zero results in each rounding mode.
54329         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54330         non-negative before setting low bit.
54331         * math/auto-libm-test-in: Mark one asin test possibly having
54332         spurious underflow.
54333         * math/auto-libm-test-out: Regenerated.
54334         * sysdeps/i386/fpu/libm-test-ulps: Update.
54335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54337 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
54339         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54340         * sysdeps/unix/sysv/linux/microblaze: Move directory from
54341         ports/sysdeps/unix/sysv/linux/microblaze.
54342         * README: Add missing listing for microblaze*-*-linux-gnu.
54344 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
54346         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54347         duplicate code
54349 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
54351         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54352         * sysdeps/unix/sysv/linux/ia64: Move directory from
54353         ports/sysdeps/unix/sysv/linux/ia64.
54354         * README: Update listing for ia64-*-linux-gnu.
54356 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
54357             Joseph Myers  <joseph@codesourcery.com>
54359         * Makeconfig (test-name): New variable.
54360         (evaluate-test): Likewise.
54361         * Makerules (do-test-clean): Remove .test-result files.
54362         (common-mostlyclean): Likewise.
54363         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54364         * scripts/evaluate-test.sh: New file.
54366 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
54368         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54369         separate $(objpfx)tst-fopenloc-cmp.out and
54370         $(objpfx)tst-fopenloc-mem.out targets.
54371         (tests): Update dependencies.
54372         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54373         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54374         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54375         (tst-rxspencer-no-utf8-ARGS): New variable.
54376         (tst-rxspencer-no-utf8-ENV): Likewise.
54377         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54378         instead of $(objpfx)tst-rxspencer-mem.
54379         ($(objpfx)tst-rxspencer-mem): Change target to
54380         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
54381         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54382         * posix/tst-rxspencer-no-utf8.c: New file.
54384         * elf/Makefile ($(objpfx)order.out): Remove rule.
54385         [$(run-built-tests) = yes] (tests): Depend on
54386         $(objpfx)order-cmp.out.
54387         ($(objpfx)order-cmp.out): New rule.
54388         [$(run-built-tests) = yes] (tests): Depend on
54389         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54390         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54391         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54392         $(objpfx)tst-array5-static-cmp.out.
54393         ($(objpfx)tst-array1.out): Remove rule.
54394         ($(objpfx)tst-array1-cmp.out): New rule.
54395         ($(objpfx)tst-array1-static.out): Remove rule.
54396         ($(objpfx)tst-array1-static-cmp.out): New rule.
54397         ($(objpfx)tst-array2.out): Remove rule.
54398         ($(objpfx)tst-array2-cmp.out): New rule.
54399         ($(objpfx)tst-array3.out): Remove rule.
54400         ($(objpfx)tst-array3-cmp.out): New rule.
54401         ($(objpfx)tst-array4.out): Remove rule.
54402         ($(objpfx)tst-array4-cmp.out): New rule.
54403         ($(objpfx)tst-array5.out): Remove rule.
54404         ($(objpfx)tst-array5-cmp.out): New rule.
54405         ($(objpfx)tst-array5-static.out): Remove rule.
54406         ($(objpfx)tst-array5-static-cmp.out): New rule.
54407         [$(run-built-tests) = yes] (tests): Depend on
54408         $(objpfx)order2-cmp.out.
54409         ($(objpfx)order2.out): Remove rule.
54410         ($(objpfx)order2-cmp.out): New rule.
54411         ($(objpfx)tst-initorder.out): Remove rule.
54412         [$(run-built-tests) = yes] (tests): Depend on
54413         $(objpfx)tst-initorder-cmp.out.
54414         ($(objpfx)tst-initorder-cmp.out): New rule.
54415         ($(objpfx)tst-initorder2.out): Remove rule.
54416         [$(run-built-tests) = yes] (tests): Depend on
54417         $(objpfx)tst-initorder2-cmp.out.
54418         ($(objpfx)tst-initorder2-cmp.out): New rule.
54419         [$(run-built-tests) = yes] (tests): Depend on
54420         $(objpfx)tst-unused-dep-cmp.out.
54421         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54422         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54423         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54424         on $(objpfx)tst-setvbuf1-cmp.out.
54425         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54426         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54427         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54428         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54429         ($(objpfx)tst-svc.out): Remove rule.
54430         ($(objpfx)tst-svc-cmp.out): New rule.
54432 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54434         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54435         * ctype/ctype.h [__USE_MISC]: Likewise.
54436         * dirent/dirent.h [__USE_MISC]: Likewise.
54437         * grp/grp.h [__USE_MISC]: Likewise.
54438         * io/fcntl.h [__USE_MISC]: Likewise.
54439         * io/sys/stat.h [__USE_MISC]: Likewise.
54440         * libio/stdio.h [__USE_MISC]: Likewise.
54441         * posix/unistd.h [__USE_MISC]: Likewise.
54442         * pwd/pwd.h [__USE_MISC]: Likewise.
54443         * stdlib.h [__USE_MISC]: Likewise.
54444         * string/bits/string2.h [__USE_MISC]: Likewise.
54445         * string/string.h [__USE_MISC]: Likewise.
54446         * time/time.h [__USE_MISC]: Likewise.
54448 2014-02-13  Andreas Schwab  <schwab@suse.de>
54450         [BZ #16574]
54451         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54452         second answer buffer if it was separately allocated.
54454 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54456         * sysdeps/mips/math-tests.h: Include <features.h>.
54457         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54458         (ROUNDING_TESTS_long_double): Do not define.
54459         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54460         (EXCEPTION_TESTS_long_double): Likewise.
54461         * sysdeps/mips/mips64/libm-test-ulps: Update.
54463         * include/features.h (__USE_BSD): Remove macro definitions.
54464         (__USE_SVID): Likewise.
54465         (_BSD_SOURCE): Likewise.
54466         (_SVID_SOURCE): Likewise.
54467         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54468         from definition of _DEFAULT_SOURCE.
54469         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54470         [_DEFAULT_SOURCE].
54471         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54472         * bits/mman.h [__USE_BSD]: Likewise.
54473         * bits/termios.h [__USE_BSD]: Likewise.
54474         * bits/waitstatus.h [__USE_BSD]: Likewise.
54475         * ctype/ctype.h [__USE_SVID]: Likewise.
54476         * dirent/dirent.h [__USE_BSD]: Likewise.
54477         * grp/grp.h [__USE_SVID]: Likewise.
54478         [__USE_BSD]: Likewise.
54479         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54480         * io/fcntl.h [__USE_BSD]: Likewise.
54481         * io/ftw.h [__USE_BSD]: Likewise.
54482         * io/sys/stat.h [__USE_BSD]: Likewise.
54483         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54484         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54485         * libio/stdio.h [__USE_SVID]: Likewise.
54486         [__USE_BSD]: Likewise.
54487         * math/math.h [__USE_SVID]: Likewise.
54488         [__USE_BSD]: Likewise.
54489         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54490         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54491         * misc/search.h [__USE_SVID]: Likewise.
54492         * misc/sys/mman.h [__USE_BSD]: Likewise.
54493         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54494         * misc/sys/uio.h [__USE_BSD]: Likewise.
54495         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54496         * posix/glob.h [__USE_BSD]: Likewise.
54497         * posix/regex.h [__USE_BSD]: Likewise.
54498         * posix/sys/types.h [__USE_BSD]: Likewise.
54499         [__USE_SVID]: Likewise.
54500         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54501         * posix/sys/wait.h [__USE_BSD]: Likewise.
54502         [__USE_SVID]: Likewise.
54503         * posix/unistd.h [__USE_BSD]: Likewise.
54504         [__USE_SVID]: Likewise.
54505         * pwd/pwd.h [__USE_SVID]: Likewise.
54506         * resolv/netdb.h [__USE_BSD]: Likewise.
54507         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54508         * signal/signal.h [__USE_BSD]: Likewise.
54509         [__USE_SVID]: Likewise.
54510         * socket/sys/socket.h [__USE_BSD]: Likewise.
54511         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54512         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54513         [__USE_SVID]: Likewise.
54514         * string/bits/string2.h [__USE_BSD]: Likewise.
54515         [__USE_SVID]: Likewise.
54516         * string/bits/string3.h [__USE_BSD]: Likewise.
54517         * string/endian.h [__USE_BSD]: Likewise.
54518         * string/string.h [__USE_SVID]: Likewise.
54519         [__USE_BSD]: Likewise.
54520         * string/strings.h [__USE_BSD]: Likewise.
54521         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54522         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54523         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54524         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54525         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54526         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54527         Likewise.
54528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54529         Likewise.
54530         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54531         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54532         Likewise.
54533         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54534         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54535         Likewise.
54536         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54537         Likewise.
54538         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54539         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54540         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54541         Likewise.
54542         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54543         Likewise.
54544         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54545         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54546         * termios/termios.h [__USE_BSD]: Likewise.
54547         * time/sys/time.h [__USE_BSD]: Likewise.
54548         * time/time.h [__USE_BSD]: Likewise.
54549         [__USE_SVID]: Likewise.
54551         * Makefile (subdir_targets): Remove subdir_lint.out.
54553         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54554         (do-tst-printf): Likewise.
54555         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54556         $(objpfx)tst-printf.out.
54558         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54560         * Makerules (check-abi-%): Change target to
54561         $(objpfx)check-abi-%.out.
54562         (check-abi target): Update dependencies.
54563         (check-abi-pattern variable): Redirect output of diff to $@.
54564         (check-abi variable): Likewise.
54565         * elf/Makefile (check-abi): Update dependencies.
54567         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54568         unused.
54569         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54570         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54571         subnormal range.
54572         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54573         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54574         value has largest subnormal exponent.
54575         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54576         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54577         * sysdeps/aarch64/soft-fp/sfp-machine.h
54578         (_FP_TININESS_AFTER_ROUNDING): New macro.
54579         * sysdeps/alpha/soft-fp/sfp-machine.h
54580         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54581         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54582         Likewise.
54583         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54584         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54585         * sysdeps/mips/soft-fp/sfp-machine.h
54586         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54587         * sysdeps/powerpc/soft-fp/sfp-machine.h
54588         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54589         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54590         Likewise.
54591         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54592         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54593         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54594         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54595         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54596         Likewise.
54598 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54600         [BZ #16545]
54601         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54602         model 1.
54604 2014-02-12  Richard Henderson  <rth@redhat.com>
54606         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54607         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54608         * sysdeps/unix/sysv/linux/alpha: Move directory from
54609         ports/sysdeps/unix/sysv/linux/alpha.
54610         * README: Update listing for alpha-*-linux-gnu.
54612 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54614         * include/features.h: Update comment documenting feature test
54615         macros.
54616         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54617         _DEFAULT_SOURCE.
54618         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54619         (_SVID_SOURCE): Likewise.
54620         (_DEFAULT_SOURCE): Update description of default features.
54621         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54622         with _GNU_SOURCE.
54623         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54624         (S_ISVTX): Likewise.
54625         * manual/math.texi (Mathematical Constants): Likewise.
54626         * manual/signal.texi (Interrupted Primitives): Likewise.
54627         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54628         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54629         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54630         Don't refer to _SVID_SOURCE in warning text.
54632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54634         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54635         already defined.
54636         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54637         * sysdeps/mips/dl-lookup.c: Remove.
54638         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54640 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54642         [BZ #16447]
54643         * math/auto-libm-test-in: Add testcase for expl.
54644         * math/auto-libm-test-out: Regenerate.
54645         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54646         calculation of unsafe.
54647         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54649 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54651         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54652         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54653         ports/sysdeps/unix/sysv/linux/aarch64.
54654         * README: Update listing for aarch64*-*-linux-gnu.
54656 2014-02-11  Will Newton  <will.newton@linaro.org>
54658         * manual/probes.texi (Mathematical Function Probes): Use
54659         "triggered" instead of "hit".
54661         * manual/probes.texi (Internal Probes): Add documentation
54662         of setjmp, longjmp and longjmp_target probes.
54664         * include/stap-probe.h: Add comment about probe argument
54665         format.
54667         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54668         definition.  (tr_where, tr_freehook, tr_mallochook,
54669         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54671 2014-02-11  David S. Miller  <davem@davemloft.net>
54673         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54674         processing int_tests.
54676 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54678         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54679         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54680         * sysdeps/unix/sysv/linux/mips: Move directory from
54681         ports/sysdeps/unix/sysv/linux/mips.
54682         * README: Update listing for mips-*-linux-gnu and
54683         mips64-*-linux-gnu.
54685 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54687         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54688         * sysdeps/unix/sysv/linux/m68k: Move directory from
54689         ports/sysdeps/unix/sysv/linux/m68k.
54690         * README: Update listing for m68k-*-linux-gnu.
54692 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
54694         * sysdeps/tile: Move directory from ports/sysdeps/tile.
54695         * sysdeps/unix/sysv/linux/generic: Move directory from
54696         ports/sysdeps/unix/sysv/linux/generic.
54697         * sysdeps/unix/sysv/linux/tile: Move directory from
54698         ports/sysdeps/unix/sysv/linux/tile.
54699         * README: Update listing for tile*-*-linux-gnu.
54701 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
54703         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54704         __builtin_expect.
54705         * benchtests/bench-memmem.c (simple_memmem): Likewise.
54706         * catgets/open_catalog.c (__open_catalog): Likewise.
54707         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54708         * debug/confstr_chk.c: Likewise.
54709         * debug/fread_chk.c (__fread_chk): Likewise.
54710         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54711         * debug/getgroups_chk.c: Likewise.
54712         * debug/mbsnrtowcs_chk.c: Likewise.
54713         * debug/mbsrtowcs_chk.c: Likewise.
54714         * debug/mbstowcs_chk.c: Likewise.
54715         * debug/memcpy_chk.c: Likewise.
54716         * debug/memmove_chk.c: Likewise.
54717         * debug/mempcpy_chk.c: Likewise.
54718         * debug/memset_chk.c: Likewise.
54719         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54720         * debug/strcat_chk.c (__strcat_chk): Likewise.
54721         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54722         * debug/strncat_chk.c (__strncat_chk): Likewise.
54723         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54724         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54725         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54726         * debug/wcpncpy_chk.c: Likewise.
54727         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54728         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54729         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54730         * debug/wcsncpy_chk.c: Likewise.
54731         * debug/wcsnrtombs_chk.c: Likewise.
54732         * debug/wcsrtombs_chk.c: Likewise.
54733         * debug/wcstombs_chk.c: Likewise.
54734         * debug/wmemcpy_chk.c: Likewise.
54735         * debug/wmemmove_chk.c: Likewise.
54736         * debug/wmempcpy_chk.c: Likewise.
54737         * debug/wmemset_chk.c: Likewise.
54738         * dirent/scandirat.c (SCANDIRAT): Likewise.
54739         * dlfcn/dladdr1.c (dladdr1): Likewise.
54740         * dlfcn/dladdr.c (dladdr): Likewise.
54741         * dlfcn/dlclose.c (dlclose_doit): Likewise.
54742         * dlfcn/dlerror.c (__dlerror): Likewise.
54743         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54744         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54745         * dlfcn/dlopen.c (dlopen_doit): Likewise.
54746         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54747         * dlfcn/dlsym.c (dlsym_doit): Likewise.
54748         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54749         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54750         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54751         Likewise.
54752         * elf/dl-conflict.c: Likewise.
54753         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54754         * elf/dl-dst.h: Likewise.
54755         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54756         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54757         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54758         * elf/dl-init.c (call_init, _dl_init): Likewise.
54759         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54760         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54761         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54762         Likewise.
54763         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54764         Likewise.
54765         * elf/dl-minimal.c (__libc_memalign): Likewise.
54766         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54767         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54768         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54769         * elf/dl-sym.c (do_sym): Likewise.
54770         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54771         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54772         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54773         * elf/dl-writev.h (_dl_writev): Likewise.
54774         * elf/ldconfig.c (search_dir): Likewise.
54775         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54776         (dl_main): Likewise.
54777         * elf/setup-vdso.h (setup_vdso): Likewise.
54778         * grp/compat-initgroups.c (compat_call): Likewise.
54779         * grp/fgetgrent.c (fgetgrent): Likewise.
54780         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54781         * grp/putgrent.c (putgrent): Likewise.
54782         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54783         Likewise.
54784         * hurd/hurdinit.c: Likewise.
54785         * iconvdata/8bit-gap.c (struct): Likewise.
54786         * iconvdata/ansi_x3.110.c : Likewise.
54787         * iconvdata/big5.c : Likewise.
54788         * iconvdata/big5hkscs.c : Likewise.
54789         * iconvdata/cp1255.c: Likewise.
54790         * iconvdata/cp1258.c : Likewise.
54791         * iconvdata/cp932.c : Likewise.
54792         * iconvdata/euc-cn.c: Likewise.
54793         * iconvdata/euc-jisx0213.c : Likewise.
54794         * iconvdata/euc-jp.c: Likewise.
54795         * iconvdata/euc-jp-ms.c : Likewise.
54796         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54797         * iconvdata/gb18030.c : Likewise.
54798         * iconvdata/gbbig5.c (const): Likewise.
54799         * iconvdata/gbgbk.c: Likewise.
54800         * iconvdata/gbk.c : Likewise.
54801         * iconvdata/ibm1364.c : Likewise.
54802         * iconvdata/ibm930.c : Likewise.
54803         * iconvdata/ibm932.c: Likewise.
54804         * iconvdata/ibm933.c : Likewise.
54805         * iconvdata/ibm935.c : Likewise.
54806         * iconvdata/ibm937.c : Likewise.
54807         * iconvdata/ibm939.c : Likewise.
54808         * iconvdata/ibm943.c: Likewise.
54809         * iconvdata/iso_11548-1.c: Likewise.
54810         * iconvdata/iso-2022-cn.c : Likewise.
54811         * iconvdata/iso-2022-cn-ext.c : Likewise.
54812         * iconvdata/iso-2022-jp-3.c: Likewise.
54813         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54814         * iconvdata/iso-2022-kr.c : Likewise.
54815         * iconvdata/iso646.c (gconv_end): Likewise.
54816         * iconvdata/iso_6937-2.c : Likewise.
54817         * iconvdata/iso_6937.c : Likewise.
54818         * iconvdata/iso8859-1.c: Likewise.
54819         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54820         * iconvdata/shift_jisx0213.c : Likewise.
54821         * iconvdata/sjis.c : Likewise.
54822         * iconvdata/t.61.c : Likewise.
54823         * iconvdata/tcvn5712-1.c : Likewise.
54824         * iconvdata/tscii.c: Likewise.
54825         * iconvdata/uhc.c : Likewise.
54826         * iconvdata/unicode.c (gconv_end): Likewise.
54827         * iconvdata/utf-16.c (gconv_end): Likewise.
54828         * iconvdata/utf-32.c (gconv_end): Likewise.
54829         * iconvdata/utf-7.c (base64): Likewise.
54830         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54831         * iconv/gconv_close.c (__gconv_close): Likewise.
54832         * iconv/gconv_open.c (__gconv_open): Likewise.
54833         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54834         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54835         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54836         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54837         (ucs4le_internal_loop_single): Likewise.
54838         * iconv/iconv.c (iconv): Likewise.
54839         * iconv/iconv_close.c: Likewise.
54840         * iconv/loop.c (SINGLE): Likewise.
54841         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54842         * include/atomic.h: Likewise.
54843         * inet/inet6_option.c (option_alloc): Likewise.
54844         * intl/bindtextdom.c (set_binding_values): Likewise.
54845         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54846         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54847         * intl/localealias.c (read_alias_file): Likewise.
54848         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54849         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54850         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54851         * libio/fmemopen.c (fmemopen): Likewise.
54852         * libio/iofgets.c (_IO_fgets): Likewise.
54853         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54854         * libio/iofgetws.c (fgetws): Likewise.
54855         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54856         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54857         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54858         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54859         * locale/findlocale.c (_nl_find_locale): Likewise.
54860         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54861         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54862         Likewise.
54863         * locale/setlocale.c (setlocale): Likewise.
54864         * login/programs/pt_chown.c (main): Likewise.
54865         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54866         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54867         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54868         (mmap, mmap64, mremap, munmap): Likewise.
54869         * math/e_exp2l.c: Likewise.
54870         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54871         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54872         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54873         * math/s_catan.c (__catan): Likewise.
54874         * math/s_catanf.c (__catanf): Likewise.
54875         * math/s_catanh.c (__catanh): Likewise.
54876         * math/s_catanhf.c (__catanhf): Likewise.
54877         * math/s_catanhl.c (__catanhl): Likewise.
54878         * math/s_catanl.c (__catanl): Likewise.
54879         * math/s_ccosh.c (__ccosh): Likewise.
54880         * math/s_ccoshf.c (__ccoshf): Likewise.
54881         * math/s_ccoshl.c (__ccoshl): Likewise.
54882         * math/s_cexp.c (__cexp): Likewise.
54883         * math/s_cexpf.c (__cexpf): Likewise.
54884         * math/s_cexpl.c (__cexpl): Likewise.
54885         * math/s_clog10.c (__clog10): Likewise.
54886         * math/s_clog10f.c (__clog10f): Likewise.
54887         * math/s_clog10l.c (__clog10l): Likewise.
54888         * math/s_clog.c (__clog): Likewise.
54889         * math/s_clogf.c (__clogf): Likewise.
54890         * math/s_clogl.c (__clogl): Likewise.
54891         * math/s_csin.c (__csin): Likewise.
54892         * math/s_csinf.c (__csinf): Likewise.
54893         * math/s_csinh.c (__csinh): Likewise.
54894         * math/s_csinhf.c (__csinhf): Likewise.
54895         * math/s_csinhl.c (__csinhl): Likewise.
54896         * math/s_csinl.c (__csinl): Likewise.
54897         * math/s_csqrt.c (__csqrt): Likewise.
54898         * math/s_csqrtf.c (__csqrtf): Likewise.
54899         * math/s_csqrtl.c (__csqrtl): Likewise.
54900         * math/s_ctan.c (__ctan): Likewise.
54901         * math/s_ctanf.c (__ctanf): Likewise.
54902         * math/s_ctanh.c (__ctanh): Likewise.
54903         * math/s_ctanhf.c (__ctanhf): Likewise.
54904         * math/s_ctanhl.c (__ctanhl): Likewise.
54905         * math/s_ctanl.c (__ctanl): Likewise.
54906         * math/w_pow.c: Likewise.
54907         * math/w_powf.c: Likewise.
54908         * math/w_powl.c: Likewise.
54909         * math/w_scalb.c (sysv_scalb): Likewise.
54910         * math/w_scalbf.c (sysv_scalbf): Likewise.
54911         * math/w_scalbl.c (sysv_scalbl): Likewise.
54912         * misc/error.c (error_tail): Likewise.
54913         * misc/pselect.c (__pselect): Likewise.
54914         * nis/nis_callback.c (__nis_create_callback): Likewise.
54915         * nis/nis_call.c (__nisfind_server): Likewise.
54916         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54917         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54918         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54919         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54920         * nis/nis_lookup.c (nis_lookup): Likewise.
54921         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54922         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54923         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54924         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54925         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54926         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54927         * nis/nss_compat/compat-initgroups.c (add_group)
54928         (internal_getgrent_r): Likewise.
54929         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54930         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54931         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54932         (internal_getspnam_r): Likewise.
54933         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54934         (_nss_nis_getaliasbyname_r): Likewise.
54935         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54936         (_nss_nis_getntohost_r): Likewise.
54937         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54938         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54939         (_nss_nis_getgrgid_r): Likewise.
54940         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54941         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54942         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54943         (_nss_nis_gethostbyname4_r): Likewise.
54944         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54945         (initgroups_netid): Likewise.
54946         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54947         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54948         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54949         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54950         (_nss_nis_getprotobynumber_r): Likewise.
54951         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54952         (_nss_nis_getsecretkey): Likewise.
54953         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54954         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54955         (_nss_nis_getpwuid_r): Likewise.
54956         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54957         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54958         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54959         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54960         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54961         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54962         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54963         Likewise.
54964         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54965         (_nss_nisplus_getntohost_r): Likewise.
54966         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54967         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54968         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54969         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54970         Likewise.
54971         * nis/nss_nisplus/nisplus-initgroups.c
54972         (_nss_nisplus_initgroups_dyn): Likewise.
54973         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54974         (_nss_nisplus_getnetbyaddr_r): Likewise.
54975         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54976         (_nss_nisplus_getprotobynumber_r): Likewise.
54977         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54978         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54979         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54980         Likewise.
54981         * nis/nss_nisplus/nisplus-service.c
54982         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54983         (_nss_nisplus_getservbyport_r): Likewise.
54984         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54985         (_nss_nisplus_getspnam_r): Likewise.
54986         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54987         Likewise.
54988         * nscd/aicache.c (addhstaiX): Likewise.
54989         * nscd/cache.c (cache_search, prune_cache): Likewise.
54990         * nscd/connections.c (register_traced_file, send_ro_fd)
54991         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54992         (main_loop_epoll): Likewise.
54993         * nscd/grpcache.c (addgrbyX): Likewise.
54994         * nscd/hstcache.c (addhstbyX): Likewise.
54995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54996         * nscd/mem.c (gc, mempool_alloc): Likewise.
54997         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54998         (addinnetgrX): Likewise.
54999         * nscd/nscd-client.h (__nscd_acquire_maplock)
55000         (__nscd_drop_map_ref): Likewise.
55001         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55002         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55003         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55004         Likewise.
55005         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55006         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55007         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55008         (__nscd_get_map_ref): Likewise.
55009         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55010         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55011         Likewise.
55012         * nscd/pwdcache.c (addpwbyX): Likewise.
55013         * nscd/selinux.c (preserve_capabilities): Likewise.
55014         * nscd/servicescache.c (addservbyX): Likewise.
55015         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55016         * posix/fnmatch.c (fnmatch): Likewise.
55017         * posix/getopt.c (_getopt_internal_r): Likewise.
55018         * posix/glob.c (glob, glob_in_dir): Likewise.
55019         * posix/wordexp.c (exec_comm_child): Likewise.
55020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55021         (getanswer_r, gaih_getanswer_slice): Likewise.
55022         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55023         * resolv/res_init.c: Likewise.
55024         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55025         * resolv/res_query.c (__libc_res_nquery): Likewise.
55026         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55027         Likewise.
55028         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55029         * stdio-common/perror.c (perror): Likewise.
55030         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55031         * stdio-common/tmpnam.c (tmpnam): Likewise.
55032         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55033         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55034         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55035         Likewise.
55036         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55037         * stdlib/putenv.c (putenv): Likewise.
55038         * stdlib/setenv.c (__add_to_environ): Likewise.
55039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55040         * stdlib/strtol_l.c (INTERNAL): Likewise.
55041         * string/memmem.c (memmem): Likewise.
55042         * string/strerror.c (strerror): Likewise.
55043         * string/strnlen.c (__strnlen): Likewise.
55044         * string/test-memmem.c (simple_memmem): Likewise.
55045         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55046         * sunrpc/pm_getport.c (__get_socket): Likewise.
55047         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55048         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55049         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55050         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55051         Likewise.
55052         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55053         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55054         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55055         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55056         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55057         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55058         Likewise.
55059         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55060         Likewise.
55061         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55062         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55063         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55064         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55065         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55067         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55068         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55069         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55070         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55071         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55072         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55073         Likewise.
55074         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55075         Likewise.
55076         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55077         Likewise.
55078         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55079         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55080         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55081         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55082         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55083         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55084         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55088         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55090         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55091         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55094         Likewise.
55095         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55096         Likewise.
55097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55098         Likewise.
55099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55100         Likewise.
55101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55103         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55104         Likewise.
55105         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55106         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55107         * sysdeps/posix/opendir.c (__opendirat): Likewise.
55108         * sysdeps/posix/sleep.c: Likewise.
55109         * sysdeps/posix/tempname.c: Likewise.
55110         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55111         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55112         Likewise.
55113         * sysdeps/powerpc/powerpc32/dl-machine.h
55114         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55115         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55117         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55118         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55119         Likewise.
55120         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55122         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55123         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55124         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55125         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55126         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55127         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55128         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55129         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55130         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55131         (elf_machine_lazy_rel): Likewise.
55132         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55134         (elf_machine_lazy_rel): Likewise.
55135         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55136         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55137         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55138         * sysdeps/unix/grantpt.c (grantpt): Likewise.
55139         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55140         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55141         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55142         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55143         Likewise.
55144         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55145         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55146         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55147         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55148         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55149         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55150         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55151         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55152         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55153         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55154         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55155         Likewise.
55156         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55157         (__posix_fallocate64_l64): Likewise.
55158         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55159         (posix_fallocate): Likewise.
55160         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55161         Likewise.
55162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55163         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55164         (getifaddrs_internal): Likewise.
55165         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55166         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55167         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55169         * sysdeps/unix/sysv/linux/posix_fallocate64.c
55170         (__posix_fallocate64_l64): Likewise.
55171         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55172         Likewise.
55173         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55175         (__get_clockfreq): Likewise.
55176         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55177         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55178         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55181         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55182         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55183         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55184         Likewise.
55185         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55186         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55187         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55188         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55189         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55190         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55191         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55192         Likewise.
55193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55194         (posix_fallocate): Likewise.
55195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55196         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55197         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55198         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55199         (elf_machine_rela, elf_machine_rela_relative)
55200         (elf_machine_lazy_rel): Likewise.
55201         * time/asctime.c (asctime_internal): Likewise.
55202         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55203         * time/tzset.c (__tzset_parse_tz): Likewise.
55204         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55205         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55206         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55207         * wcsmbs/wcsmbsload.h: Likewise.
55209         [BZ #15894]
55210         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55212         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55213         (arena_get2): Remove THREAD_STATS conditionals.
55214         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55215         (__malloc_stats, int): Likewise.
55217 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
55219         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55220         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
55222         * manual/setjmp.texi: Fix typos/grammar errors.
55224         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55225         Only return early when n is <= 0.  Delete unused return statement.
55227         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55228         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55229         * debug/tst-longjmp_chk3.c: New file.
55231         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55232         (test_main): Replace code with set_fortify_handler call.
55233         * debug/test-strcpy_chk.c: Likewise.
55234         * debug/tst-chk1.c: Likewise.
55235         * debug/tst-longjmp_chk.c: Likewise.
55236         * test-skeleton.c: Include fcntl.h & paths.h
55237         (set_fortify_handler): Define.
55239         * debug/tst-longjmp_chk.c: Add header comment and include
55240         ../test-skeleton.c.
55241         (do_test): Mark static.
55242         (TEST_FUNCTION): Define.
55244         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55245         (IP_PMTUDISC_INTERFACE): Likewise.
55246         (IP_MULTICAST_IF): Likewise.
55247         (IP_MULTICAST_TTL): Likewise.
55248         (IP_MULTICAST_LOOP): Likewise.
55249         (IP_ADD_MEMBERSHIP): Likewise.
55250         (IP_DROP_MEMBERSHIP): Likewise.
55251         (IP_UNBLOCK_SOURCE): Likewise.
55252         (IP_BLOCK_SOURCE): Likewise.
55253         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55254         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55255         (IP_MSFILTER): Likewise.
55256         (MCAST_JOIN_GROUP): Likewise.
55257         (MCAST_BLOCK_SOURCE): Likewise.
55258         (MCAST_UNBLOCK_SOURCE): Likewise.
55259         (MCAST_LEAVE_GROUP): Likewise.
55260         (MCAST_JOIN_SOURCE_GROUP): Likewise.
55261         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
55262         (MCAST_MSFILTER): Likewise.
55263         (IP_MULTICAST_ALL): Likewise.
55264         (IP_UNICAST_IF): Likewise.
55266         * timezone/Makefile: Delete $(have-ksh) check.
55267         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
55268         * timezone/tzselect.ksh: Add +x mode bits.
55270         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
55271         (ANON_INODE_FS_MAGIC): Likewise.
55272         (BDEVFS_MAGIC): Likewise.
55273         (BINFMTFS_MAGIC): Likewise.
55274         (BTRFS_TEST_MAGIC): Likewise.
55275         (CRAMFS_MAGIC_WEND): Likewise.
55276         (DEBUGFS_MAGIC): Likewise.
55277         (ECRYPTFS_SUPER_MAGIC): Likewise.
55278         (EXT3_SUPER_MAGIC): Likewise.
55279         (EXT4_SUPER_MAGIC): Likewise.
55280         (FUTEXFS_SUPER_MAGIC): Likewise.
55281         (HOSTFS_SUPER_MAGIC): Likewise.
55282         (HUGETLBFS_MAGIC): Likewise.
55283         (MINIX3_SUPER_MAGIC): Likewise.
55284         (MTD_INODE_FS_MAGIC): Likewise.
55285         (NILFS_SUPER_MAGIC): Likewise.
55286         (OPENPROM_SUPER_MAGIC): Likewise.
55287         (PIPEFS_MAGIC): Likewise.
55288         (PSTOREFS_MAGIC): Likewise.
55289         (QNX6_SUPER_MAGIC): Likewise.
55290         (RAMFS_MAGIC): Likewise.
55291         (REISERFS_SUPER_MAGIC_STRING): Likewise.
55292         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55293         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55294         (SECURITYFS_MAGIC): Likewise.
55295         (SELINUX_MAGIC): Likewise.
55296         (SMACK_MAGIC): Likewise.
55297         (SOCKFS_MAGIC): Likewise.
55298         (SQUASHFS_MAGIC): Likewise.
55299         (STACK_END_MAGIC): Likewise.
55300         (TMPFS_MAGIC): Likewise.
55301         (USBDEVICE_SUPER_MAGIC): Likewise.
55302         (V9FS_MAGIC): Likewise.
55303         (XENFS_SUPER_MAGIC): Likewise.
55304         (CRAMFS_MAGIC): Fix typo in comment.
55305         (EXT2_SUPER_MAGIC): Update comment.
55306         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55308 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
55310         * sysdeps/arm: Move directory from ports/sysdeps/arm.
55311         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
55312         * sysdeps/unix/sysv/linux/arm: Move directory from
55313         ports/sysdeps/unix/sysv/linux/arm.
55314         * README: Update listing for arm-*-linux-gnueabi.
55316         * README: Remove mention of am33.
55318 2014-02-07  Roland McGrath  <roland@hack.frob.com>
55320         * bits/sigset.h (__sigemptyset): Use a statement expression rather
55321         than the comma operator, to avoid "rhs of comma has no effect"
55322         compiler warnings.
55323         (__sigfillset, __sigandset, __sigorset): Likewise.
55324         * include/signal.h (__sigemptyset): Likewise.
55325         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55327 2014-02-07  Allan McRae  <allan@archlinux.org>
55329         * version.h (RELEASE): Set to "development".
55330         (VERSION): Set to "2.19.90"
55331         * NEWS: Add 2.20 section.
55333 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
55335         [BZ #16529]
55336         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55338 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55340         * manual/contrib.texi: Update entry for Carlos O'Donell,
55341         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55343 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
55345         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55347         * sysdeps/unix/sysv/linux/kernel-features.h
55348         [__LINUX_KERNEL_VERSION >= 0x020621]
55349         (__ASSUME_PROC_PID_TASK_COMM): Define.
55351 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55353         [BZ #16398]
55354         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55355         conversion when destination buffer does not have enough space.
55356         * libio/tst-ftell-partial-wide.c: New test case.
55357         * libio/Makefile (tests): Add tst-ftell-partial-wide.
55359         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55360         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
55361         Leonard and Allan McRae.
55363 2014-02-04  David S. Miller  <davem@davemloft.net>
55365         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55366         32-bit.
55368 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55371         New file
55372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55373         New file
55374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55375         New file.
55376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55377         New file.
55378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55379         New file.
55380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55381         New file.
55382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55383         New file.
55384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55385         New file.
55386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55387         New file.
55388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55389         New file.
55390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55391         New file.
55392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55393         New file.
55394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55395         New file.
55397 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55399         * nptl/shlib-versions: Change powerpc*le start to 2.17.
55400         * shlib-versions: Likewise.
55402 2014-02-04  Roland McGrath  <roland@hack.frob.com>
55403             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55405         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55406         (abilist-pattern): New variable, set to %-le.abilist.
55408         * Makerules (abilist-pattern): New variable.
55409         (vpath): Use $(abilist-pattern) in place of %.abilist.
55410         (check-abi-% pattern rule): Likewise.
55411         (check-abi, update-abi): Likewise.
55413 2014-02-04  Eric Wong  <normalperson@yhbt.net>
55415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55417 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
55419         * manual/startup.texi: Add next, previous, and top entries for
55420         the `Program Arguments' and `Environment Variables' nodes.
55422 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55424         * manual/macros.texi: Add comments before MTASC-safety macros.
55426         * manual/users.texi: Document MTASC-safety properties.
55428         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55429         (pthread_getspecific, pthread_setspecific): Format with
55430         @deftypefun, and add @safety note.
55431         * manual/signal.texi: Move comments that analyze the above
55432         functions to their home place.
55434 2014-02-03  Allan McRae  <allan@archlinux.org>
55436         * po/sl.po: Update Slovenian translation from translation project.
55438 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55440         * manual/time.texi (timegm): Add missing blank after @c.
55441         Reported by Joseph Myers <joseph@codesourcery.com>.
55443 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55445         * manual/check-safety.sh: New.
55446         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55448         * manual/terminal.texi: Document MTASC-safety properties.
55450         * manual/filesys.texi: Document MTASC-safety properties.
55452         * manual/errno.texi: Document MTASC-safety properties.
55454         * manual/intro.texi: Document safety identifiers and
55455         conditionals.
55457         * manual/string.texi (wcstok): Fix prototype.
55458         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55460         * manual/time.texi: Document MTASC-safety properties.
55462         * manual/string.texi: Document MTASC-safety properties.
55464         * manual/threads.texi: Document MTASC-safety properties.
55466         * manual/stdio.texi: Document MTASC-safety properties.
55468         * manual/syslog.texi: Document MTASC-safety properties.
55470         * manual/sysinfo.texi: Document MTASC-safety properties.
55472         * manual/startup.texi: Document MTASC-safety properties.
55474         * manual/socket.texi: Document MTASC-safety properties.
55476         * manual/signal.texi: Document MTASC-safety properties.
55478 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55480         * manual/setjmp.texi: Document MTASC-safety properties.
55482         * manual/search.texi: Document MTASC-safety properties.
55484         * manual/resource.texi: Document MTASC-safety properties.
55486         * manual/process.texi: Document MTASC-safety properties.
55488         * manual/platform.texi: Document MTASC-safety properties.
55490         * manual/pipe.texi: Document MTASC-safety properties.
55492         * manual/pattern.texi: Document MTASC-safety properties.
55494         * manual/message.texi: Document MTASC-safety properties.
55496         [BZ #12751]
55497         * manual/memory.texi: Document MTASC-safety properties.
55499         * manual/math.texi: Document MTASC-safety properties.
55501         * manual/locale.texi: Document MTASC-safety properties.
55503         * manual/llio.texi: Document MTASC-safety properties.
55505         * manual/libdl.texi: New.
55507         * manual/lang.texi: Document MTASC-safety properties.
55509         * manual/job.texi: Document MTASC-safety properties.
55511         * manual/getopt.texi: Document MTASC-safety properties.
55513         * manual/ctype.texi: Document MTASC-safety properties.
55515 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55517         [BZ #16046]
55518         * csu/libc-tls.c (static_map): Remove variable.
55519         (__libc_setup_tls): Use main executable's link map for TLS data.
55520         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55521         casing for LM_ID_BASE and GL(dl_nns).
55522         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55523         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55524         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55525         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55526         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55527         member.
55528         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55529         l_phnum members.
55531 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55533         * manual/debug.texi: Document MTASC-safety properties.
55535 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55537         [BZ #16510]
55538         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55539         of __x86_64__ when disabling x87 inline functions.
55541 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55543         * manual/charset.texi: Document MTASC-safety properties.
55545         * manual/crypt.texi: Document MTASC-safety properties.
55547         * manual/conf.texi: Document MTASC-safety properties.
55549         * manual/arith.texi: Document MTASC-safety properties.
55551         * manual/argp.texi: Document MTASC-safety properties.
55553         * manual/macros.texi: Introduce macros to document multi
55554         thread, asynchronous signal and asynchronous cancellation
55555         safety properties.
55556         * manual/intro.texi: Introduce the properties themselves.
55558 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55560         * sysdeps/sh/sh4/Makefile: New file.
55562 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55564         * math/gen-libm-test.pl ($srcdir): New variable.
55565         ($auto_input): Use it.
55567 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55569         [BZ #16506]
55570         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55571         access beyond array bounds when parsing netgroups file.
55573         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55574         the old buffer before realloc.
55576 2014-01-27  Allan McRae  <allan@archlinux.org>
55578         * po/fr.po: Update French translation from translation project.
55580 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55582         * sysdeps/sh/libm-test-ulps: Regenerate.
55584 2014-01-24  David S. Miller  <davem@davemloft.net>
55586         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55588 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55590         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55591         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55593 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55595         [BZ #16474]
55596         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55597         string pointers after reallocation.
55599 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55601         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55602         __SH4A__ instead of __SH_FPU_ANY__.
55604 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55606         * sysdeps/sh/fpu_control.h: New file.
55607         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55608         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55609         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55610         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55611         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55612         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55613         * sysdeps/sh/sys/ucontext.h: Remove.
55614         * sysdeps/sh/sys: Remove directory.
55616 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55618         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55619         s390/sys/ucontext.h.
55620         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55621         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55623 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55625         [BZ #15605]
55626         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55628 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55630         [BZ #16431]
55631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55632         Adjust the vDSO correctly for internal calls.
55633         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55635 2014-01-20  Allan McRae  <allan@archlinux.org>
55637         * po/ca.po: Update Catalan translation from translation project.
55639 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55641         * sysdeps/s390/sotruss-lib.c: New file.
55643 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55645         [BZ #16430]
55646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55647         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55648         local calls issues by not having a PLT stub required for IFUNC calls.
55649         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55651 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55653         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55654         * math/test-fpucw-static.c: Likewise.
55656 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55658         [BZ #16453]
55659         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55661 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55663         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55664         implementation for powerpc.
55666 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55668         [BZ #14782]
55669         * sysdeps/posix/system.c (__libc_system): Do not enable
55670         asynchronous cancellation.
55672 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55674         [BZ #16427]
55675         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55676         handling only for numbers special also in the IEEE case.
55678 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55680         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55682 2014-01-11  Allan McRae  <allan@archlinux.org>
55684         * po/bg.po: Update Bulgarian translation from translation project.
55686         * po/de.po: Update German translation from translation project.
55688 2014-01-10  Roland McGrath  <roland@hack.frob.com>
55690         * sysdeps/generic/gcc-compat.h: New file.
55692 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55694         * benchtests/asin-inputs: Correct slow inputs.
55695         * benchtests/acos-inputs: Likewise.
55697 2014-01-10  Allan McRae  <allan@archlinux.org>
55699         * po:sv.po: Update Swedish translation from translation project.
55701         * po/vi.po: Update Vietnamese translation from translation project.
55703         * po/eo.po: Update Esperanto translation from translation project.
55705         * po/cs.po: Update Czech translation from translation project.
55707         * po/nl.po: Update Dutch translation from translation project.
55709         * po/pl.po: Update Polish translation from translation project.
55711         * po/ru.po: Update Russian translation from translation project.
55713         * po/uk.po: Update Ukrainian translation from translation project.
55715 2014-01-08  Brooks Moses  <bmoses@google.com>
55717         * elf/dl-load.c: Fix comment typo.
55719 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
55721         * po/header.pot: Rename to...
55722         * po/pot.header: ... this.
55723         * po/Makefile: Use pot.header.
55725 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
55726             Maxim Kuvyrkov  <maxim@kugelworks.com>
55728         [BZ #16394]
55729         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55730         SRC and DEST against LEN.
55732 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55734         [BZ #16414]
55735         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55736         implementation.
55737         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55739 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55743 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
55745         [BZ #16408]
55746         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55747         for large positive arguments.
55749 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
55751         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55753         * math/auto-libm-test-in: Mark various tests with
55754         xfail-rounding:ldbl-128ibm.
55755         * math/auto-libm-test-out: Regenerated.
55757         [BZ #16407]
55758         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55759         Increase overflow threshold.
55761 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
55763         [BZ #14286]
55764         * stdio-common/vfprintf.c: Check for integer overflow.
55766 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55768         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55769         the first argument and return value of __tls_get_addr_internal.
55771 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55773         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55774         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55776 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55778         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55779         * sysdeps/s390/rtld-global-offsets.sym: New file.
55780         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55781         GLIBC_2.19 symbol.
55782         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55784         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55785         ... this.
55786         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55787         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55788         ... this.
55789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55790         Regenerate.
55791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55792         Regenerate.
55793         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55794         halfs of GPRs for high_gprs contexts.
55795         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55796         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55797         field.
55798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55799         uc_flags field.
55800         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55801         64 bit versions:
55802         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55803         for high GPRs (uc_high_gprs) and for future extensions
55804         (__reserved).
55805         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55806         for future extensions (__reserved).
55807         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55808         64 bit versions:
55809         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55810         SC_HIGHGPRS offset definition.
55811         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55812         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55814         * Versions.def: Add GLIBC_2.19 for libpthread.
55815         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55816         siglongjmp for libpthread with GLIBC_2.19 symver.
55817         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55818         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55819         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55820         * sysdeps/s390/__longjmp.c: New file.
55821         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55822         * sysdeps/s390/longjmp.c: New file.
55823         * sysdeps/s390/setjmp.S: New file.
55824         * sysdeps/s390/sigjmp.S: New file.
55825         * sysdeps/s390/v1-longjmp.c: New file.
55826         * sysdeps/s390/v1-setjmp.h: New file.
55827         * sysdeps/s390/v1-sigjmp.c: New file.
55828         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55829         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55830         GLIBC_2.19 version.
55831         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55832         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55833         versioned symbols for ____longjmp_chk.
55834         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55835         Likewise.
55836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55837         Regenerate.
55838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55839         Regenerate.
55840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55841         Regenerate.
55842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55843         Regenerate.
55844         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55845         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55846         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55847         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55848         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55849         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55850         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55851         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55852         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55853         * sysdeps/s390/rtld-__longjmp.c: New file.
55854         * sysdeps/s390/rtld-setjmp.S: New file.
55856 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55858         [BZ #16400]
55859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55860         Return -__logl (x) for small positive arguments without evaluating
55861         a polynomial.
55863 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55865         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55866         Rename to ...
55867         (__ptrace_peeksiginfo_args): ... this.
55868         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55870         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55872 2014-01-06  Allan McRae  <allan@archlinux.org>
55874         * inet/netinet/in.h: Fix typo in comment.
55876 2014-01-05  Andreas Jaeger  <aj@suse.de>
55878         * sysdeps/i386/fpu/libm-test-ulps: Update.
55880 2014-01-05  Allan McRae  <allan@archlinux.org>
55882         * po/libc.pot: Regenerated.
55884         * malloc/memusagestat.c: Fix gettext call formatting.
55886 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55888         * nscd/nscd.c: Improve usage() output.
55890 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55892         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55893         * sysdeps/unix/sysv/linux/configure: Regenerated.
55894         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55895         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55897 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55899         [BZ #16390]
55900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55901         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55903 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55905         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55906         extra tokens at end of #undef directive.
55907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55908         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55909         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55911 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55913         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55915         * math/auto-libm-test-in: Mark various tests with
55916         xfail-rounding:ldbl-128ibm.
55917         * math/auto-libm-test-out: Regenerated.
55919 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55921         [BZ #16386]
55922         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55923         numbers with subnormal high part when calculating exponent.
55925         [BZ #16385]
55926         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55927         fabs.
55929         [BZ #16384]
55930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55931         M_LN2l.
55932         (__ieee754_acoshl): Use __log1pl not __log1p.
55934 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55936         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55937         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55938         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55939         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55940         (reused_arena, arena_get2): Convert to GNU style.
55941         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55942         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55943         (memalign_check, __malloc_set_state): Likewise.
55944         * malloc/mallocbug.c (main): Likewise.
55945         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55946         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55947         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55948         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55949         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55950         (__posix_memalign, malloc_info): Likewise.
55951         * malloc/malloc.h: Likewise.
55952         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55953         (mallochook, memalignhook, reallochook, mabort): Likewise.
55954         * malloc/mcheck.h: Likewise.
55955         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55956         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55957         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55958         * malloc/morecore.c (__default_morecore): Likewise.
55959         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55960         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55961         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55962         (print_and_abort): Likewise.
55963         * malloc/obstack.h: Likewise.
55964         * malloc/set-freeres.c (__libc_freeres): Likewise.
55965         * malloc/tst-mallocstate.c (main): Likewise.
55966         * malloc/tst-mtrace.c (main): Likewise.
55967         * malloc/tst-realloc.c (do_test): Likewise.
55969 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55971         [BZ #16366]
55972         * nscd/netgroupcache.c (do_notfound): New function.
55973         (addgetnetgrentX): Use it.
55975         [BZ # 16365]
55976         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55977         NSS_STATUS_NOTFOUND.
55979 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55981         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55984 2014-01-01  Allan McRae  <allan@archlinux.org>
55986         * scripts/update-copyrights: Update configure input file suffix.
55988         * NEWS: Update copyright year.
55989         * catgets/gencat.c: Likewise.
55990         * csu/version.c: Likewise.
55991         * debug/catchsegv.sh: Likewise.
55992         * debug/pcprofiledump.c: Likewise.
55993         * debug/xtrace.sh: Likewise.
55994         * elf/ldconfig.c: Likewise.
55995         * elf/ldd.bash.in: Likewise.
55996         * elf/pldd.c: Likewise.
55997         * elf/sotruss.ksh: Likewise.
55998         * elf/sprof.c: Likewise.
55999         * iconv/iconv_prog.c: Likewise.
56000         * iconv/iconvconfig.c: Likewise.
56001         * locale/programs/locale.c: Likewise.
56002         * locale/programs/localedef.c: Likewise.
56003         * login/programs/pt_chown.c: Likewise.
56004         * malloc/memusage.sh: Likewise.
56005         * malloc/memusagestat.c: Likewise.
56006         * malloc/mtrace.pl: Likewise.
56007         * manual/libc.texinfo: Likewise.
56008         * nscd/nscd.c: Likewise.
56009         * nss/getent.c: Likewise.
56010         * nss/makedb.c: Likewise.
56011         * posix/getconf.c: Likewise.
56012         * scripts/test-installation.pl: Likewise.
56014         * All files with FSF copyright notices: Update copyright dates
56015         using scripts/update-copyrights.
56016         * intl/plural.c: Regenerated.
56017         * locale/programs/charmap-kw.h: Likewise.
56018         * locale/programs/locfile-kw.h: Likewise.
56020 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56022         * sysdeps/unix/sysv/linux/configure: Regenerated.
56023         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56024         the linux/fanotify.h header.
56025         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56026         HAVE_LINUX_FANOTIFY_H is defined.
56028 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56030         * benchtests/cos-inputs: New inputs.
56031         * benchtests/sin-inputs: Likewise.
56033         * benchtests/atan-inputs: New inputs. Fix name of multiple
56034         precision fallback inputs.
56036         * benchtests/atanh-inputs: New inputs.
56037         * benchtests/tanh-inputs: Likewise.
56039         * benchtests/acosh-inputs: New inputs.
56040         * benchtests/asinh-inputs: Likewise.
56042         * benchtests/cosh-inputs: New inputs.
56043         * benchtests/sinh-inputs: Likewise.
56045         * benchtests/acos-inputs: Add more inputs.
56046         * benchtests/asin-inputs: Likewise.
56048 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
56050         [BZ #16375]
56051         * manual/arith.texi: Fix spelling.
56052         * manual/charset.texi: Likewise.
56053         * manual/errno.texi: Likewise.
56054         * manual/filesys.texi: Likewise.
56055         * manual/lang.texi: Likewise.
56056         * manual/llio.texi: Likewise.
56057         * manual/locale.texi: Likewise.
56058         * manual/message.texi: Likewise.
56059         * manual/resource.texi: Likewise.
56060         * manual/search.texi: Likewise.
56061         * manual/setjmp.texi: Likewise.
56062         * manual/stdio.texi: Likewise.
56063         * manual/string.texi: Likewise.
56064         * manual/sysinfo.texi: Likewise.
56065         * manual/time.texi: Likewise.
56067 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
56069         * po/sl.po: New file.
56071 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
56073         * .gitignore: Add core/.gdbinit/.gdb_history.
56075 2013-12-27  Allan McRae  <allan@archlinux.org>
56077         [BZ #16369]
56078         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56079         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56081 2013-12-24  Brooks Moses  <bmoses@google.com>
56083         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56084         all compilers that claim C++98 compliance, not just GCC.
56085         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56086         Likewise.
56088 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56090         * NEWS: Restore accidentally deleted bug-fix entries.
56092 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56093             Ondřej Bílka  <neleai@seznam.cz>
56095         [BZ #15073]
56096         * malloc/malloc.c (_int_free): Perform sanity check only if we
56097         have_lock.
56099 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
56101         [BZ #12986]
56102         * manual/stdio.texi (String Input Conversions): Clarify that character
56103         classes are not supported.
56105 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56109 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
56111         [BZ #16337]
56112         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56113         Calculate results for small negative arguments directly rather
56114         than using reflection formula with special underflow handling.
56116         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56117         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56118         sysdeps/unix/bsd/bsd4.4/syscalls.list.
56119         (fchflags): Likewise.
56120         (revoke): Likewise.
56121         (setlogin): Likewise.
56122         (sigaltstack): Likewise.
56123         (wait4): Likewise.
56124         (sigblock): Remove.
56125         (sigsetmask): Likewise.
56126         (wait3): Likewise.
56127         (waitpid): Likewise.
56128         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56129         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56130         file.
56131         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56132         * sysdeps/unix/bsd/Makefile: ... here.
56133         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56134         * sysdeps/unix/bsd/Versions: ... here.
56135         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56136         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56137         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56138         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56139         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56140         * sysdeps/unix/bsd/sigblock.c: ... here.
56141         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56142         * sysdeps/unix/bsd/sigsetmask.c: ... here.
56143         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56144         * sysdeps/unix/bsd/sigvec.c: ... here.
56145         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56146         * sysdeps/unix/bsd/tcdrain.c: ... here.
56147         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56148         * sysdeps/unix/bsd/tcgetattr.c: ... here.
56149         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56150         * sysdeps/unix/bsd/tcsetattr.c: ... here.
56151         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56152         * sysdeps/unix/bsd/wait.c: ... here.
56153         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56154         * sysdeps/unix/bsd/wait3.c: ... here.
56155         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56156         * sysdeps/unix/bsd/waitpid.c: ... here.
56158 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
56160         [BZ #16356]
56161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56162         round-to-nearest for [!USE_AS_EXPM1L].
56163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56164         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
56165         more tests of exp and exp10.  Expect some exp10 tests to miss
56166         exceptions or fail in directed rounding modes.
56167         * math/auto-libm-test-out: Regenerated.
56168         * math/libm-test.inc (exp10_tonearest_test_data): New array.
56169         (exp10_test_tonearest): New function.
56170         (exp10_towardzero_test_data): New array.
56171         (exp10_test_towardzero): New function.
56172         (exp10_downward_test_data): New array.
56173         (exp10_test_downward): New function.
56174         (exp10_upward_test_data): New array.
56175         (exp10_test_upward): New function.
56176         (main): Call the new functions.
56177         * sysdeps/i386/fpu/libm-test-ulps: Update.
56178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56180 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
56182         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56183         asinh, atan, atan2, atanh, cbrt, cos and cosh.
56184         * math/auto-libm-test-out: Regenerated.
56185         * math/libm-test.inc (acosh_test_data): Add more tests.
56186         (atanh_test_data): Likewise.
56187         (ceil_test_data): Likewise.
56188         (copysign_test_data): Likewise.
56189         * sysdeps/i386/fpu/libm-test-ulps: Update.
56190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56192         * timezone/checktab.awk: Update from tzcode 2013i.
56193         * timezone/private.h: Likewise.
56194         * timezone/scheck.c: Likewise.
56195         * timezone/tzfile.h: Likewise.
56196         * timezone/tzselect.ksh: Likewise.
56197         * timezone/zdump.c: Likewise.
56198         * timezone/zic.c: Likewise.
56200         * math/auto-libm-test-in: Add tests of cpow.
56201         * math/auto-libm-test-out: Regenerated.
56202         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56204         mpc_cc_c.
56205         (func_calc_desc): Add mpc_cc_c union field.
56206         (test_functions): Add cpow.
56207         (special_fill_2pi): New function.
56208         (special_real_inputs): Add 2pi.
56209         (calc_generic_results): Handle mpc_cc_c.
56210         * sysdeps/i386/fpu/libm-test-ulps: Update.
56211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56213         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56214         csqrt, ctan and ctanh.
56215         * math/auto-libm-test-out: Regenerated.
56216         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56217         (TEST_COND_x86): Likewise.
56218         (ccos_test_data): Use AUTO_TESTS_c_c.
56219         (ccosh_test_data): Likewise.
56220         (cexp_test_data): Likewise.
56221         (clog_test_data): Likewise.
56222         (csqrt_test_data): Likewise.
56223         (ctan_test_data): Likewise.
56224         (ctan_tonearest_test_data): Likewise.
56225         (ctan_towardzero_test_data): Likewise.
56226         (ctan_downward_test_data): Likewise.
56227         (ctan_upward_test_data): Likewise.
56228         (ctanh_test_data): Likewise.
56229         (ctanh_tonearest_test_data): Likewise.
56230         (ctanh_towardzero_test_data): Likewise.
56231         (ctanh_downward_test_data): Likewise.
56232         (ctanh_upward_test_data): Likewise.
56233         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56234         mpc_c_c.
56235         (func_calc_desc): Add mpc_c_c union field.
56236         (FUNC_mpc_c_c): New macro.
56237         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56238         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56239         ctanh.
56240         (special_fill_min_subnorm_p120): New function.
56241         (special_real_inputs): Add min_subnorm_p120.
56242         (calc_generic_results): Handle mpc_c_c.
56243         * sysdeps/i386/fpu/libm-test-ulps: Update.
56244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56246 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56248         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56249         (do_sin_slow): New functions.
56250         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56251         (cslow2, csloww1, csloww2): Use the new functions.
56253         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56254         Use M to change sign of result instead of X.  Assume X is
56255         positive.
56256         (csloww1): Likewise.
56257         (__sin): Adjust.
56258         (__cos): Adjust.
56260         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
56261         arguments A and DA.
56262         (__sin): Adjust.
56263         (__cos): Likewise.
56265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
56266         (__cos): Likewise.
56267         (sloww1): Don't adjust sign of DX.
56268         (csloww1): Likewise.
56269         (sloww2): Use X directly and don't adjust sign of DX.
56270         (csloww2): Likewise.
56272 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56274         * math/auto-libm-test-in: Add tests of cabs and carg.
56275         * math/auto-libm-test-out: Regenerated.
56276         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56277         (carg_test_data): Likewise.
56278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56279         mpc_c_f.
56280         (func_calc_desc): Add mpc_c_f union field.
56281         (test_functions): Add cabs and carg.
56282         (calc_generic_results): Handle mpc_c_f.
56284         * sysdeps/powerpc/powerpc32/libgcc-compat.S
56285         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56286         as a macro and a compat symbol.
56287         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56288         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56289         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56290         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56291         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56292         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56293         not use .hidden.
56294         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56295         Likewise.
56296         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56297         Likewise.
56298         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56299         Likewise.
56300         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56301         Likewise.
56302         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56303         Likewise.
56304         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56305         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56306         from GLIBC_2.3.2.
56308 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56312 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56314         * manual/texinfo.tex: Update to version 2013-11-26.10 with
56315         trailing whitespace removed.
56316         * scripts/config.guess: Update to version 2013-11-29.
56317         * scripts/config.sub: Update to version 2013-10-01.
56319         * math/auto-libm-test-in: Add tests of sincos.
56320         * math/auto-libm-test-out: Regenerated.
56321         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56322         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56323         mpfr_f_11.
56324         (func_calc_desc): Add mpfr_f_11 union field.
56325         (test_functions): Add sincos.
56326         (calc_generic_results): Handle mpfr_f_11.
56327         * sysdeps/i386/fpu/libm-test-ulps: Update.
56328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56330 2013-12-19  Andreas Schwab  <schwab@suse.de>
56332         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56333         CALL_MCOUNT.
56334         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56335         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56336         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56338 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56340         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56341         * sysdeps/i386/fpu/libm-test-ulps: Update.
56342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56344         [BZ #16293]
56345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56346         round-to-nearest mode when using frndint.
56347         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56348         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56350         Likewise.
56351         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
56352         sinh test to fail.
56353         * math/auto-libm-test-out: Regenerated.
56354         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56355         (TEST_COND_x86): Likewise.
56356         (expm1_tonearest_test_data): New array.
56357         (expm1_test_tonearest): New function.
56358         (expm1_towardzero_test_data): New array.
56359         (expm1_test_towardzero): New function.
56360         (expm1_downward_test_data): New array.
56361         (expm1_test_downward): New function.
56362         (expm1_upward_test_data): New array.
56363         (expm1_test_upward): New function.
56364         (main): Run the new test functions.
56365         * sysdeps/i386/fpu/libm-test-ulps: Update.
56366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56368         * include/features.h: Update comment documenting feature test
56369         macros.  Mention _DEFAULT_SOURCE in comment.
56370         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56371         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56372         _BSD_SOURCE and _SVID_SOURCE.
56373         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56374         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56375         !_SVID_SOURCE]: Likewise.
56376         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56377         (__USE_POSIX_IMPLICITLY): Define.
56378         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56379         (_POSIX_SOURCE): Undefine and redefine.
56380         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56381         (_POSIX_C_SOURCE): Likewise.
56382         * manual/creature.texi (_DEFAULT_SOURCE): Document.
56383         (Feature Test Macros): Update documentation of default features.
56385 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56387         * benchtests/Makefile: Add bench-strtok.
56388         * benchtests/bench-strtok.c: New file: strtok benchtest.
56390 2013-12-19  Allan McRae  <allan@archlinux.org>
56392         * manual/install.texi: Suppress menu for plain text output.
56393         * INSTALL: Regenerated.
56395 2013-12-18  Brooks Moses  <bmoses@google.com>
56397         [BZ #15846]
56398         * misc/getauxval.c: Include errno.h.
56399         (__getauxval): Set errno to ENOENT if the requested type is not
56400         found.
56401         * misc/sys/auxv.h (getauxval): Document that it may set errno;
56402         don't declare with __attribute_const__.
56403         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56404         * manual/startup.texi: Document that getauxval sets errno.
56406 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56408         * math/auto-libm-test-in: Add tests of jn and yn.
56409         * math/auto-libm-test-out: Regenerated.
56410         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56411         (yn_test_data): Likewise.
56412         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56413         mpfr_if_f.
56414         (func_calc_desc): Add mpfr_if_f union field.
56415         (FUNC_mpfr_if_f): New macro.
56416         (test_functions): Add jn and yn.
56417         (calc_generic_results): Assert type of second input for
56418         mpfr_ff_f.  Handle mpfr_if_f.
56419         (output_for_one_input_case): Disable all checking for arguments
56420         fitting floating-point types in case of an integer argument.
56421         * sysdeps/i386/fpu/libm-test-ulps: Update.
56422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56425         Don't expect fegetround reference in libm.so.
56427 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56429         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56430         $(config-cflags-nofma).
56432 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56434         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56435         * math/auto-libm-test-out: Regenerated.
56437         [BZ #16338]
56438         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56439         to determine exponent and adjust argument to have exponent of -1.
56440         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56441         log2.
56442         * math/auto-libm-test-out: Regenerated.
56443         * sysdeps/i386/fpu/libm-test-ulps: Update.
56444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56446 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56448         * manual/probes.texi: Remove cases when per-thread arenas are
56449         disabled.
56451 2013-12-18  Andreas Schwab  <schwab@suse.de>
56453         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56454         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56455         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56456         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56457         * sysdeps/i386/i686/multiarch/Makefile: Update.
56458         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56460 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56462         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56463         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56465 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56467         [BZ #15968]
56468         Support TZ transition times < 00:00:00.
56469         This is needed for version-3 tz-format files; it supports time
56470         stamps past 2037 for America/Godthab (the only entry in the tz
56471         database for which this change is relevant).
56472         * manual/time.texi (TZ Variable): Document transition times
56473         from -167:59:59 through -00:00:01.
56474         * time/tzset.c (tz_rule): Time of day is now signed.
56475         (__tzset_parse_tz): Parse negative time of day.
56477         Document TZ transition times >= 25:00:00.
56478         * manual/time.texi (TZ Variable): Document transition times from
56479         25:00:00 through 167:59:59.  These are already supported, and this
56480         support will help with version-3 tz-format files.
56482         * manual/time.texi (TZ Variable): Modernize North America example
56483         to reflect current (i.e., 2007-and-later) daylight saving rules.
56485         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56487 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56489         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56490         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56493         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56494         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56495         * sysdeps/unix/bsd/clock.c: Likewise.
56496         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56497         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56498         * sysdeps/unix/bsd/init-posix.c: Likewise.
56499         * sysdeps/unix/bsd/poll.c: Likewise.
56500         * sysdeps/unix/bsd/ptsname.c: Likewise.
56501         * sysdeps/unix/bsd/seekdir.c: Likewise.
56502         * sysdeps/unix/bsd/setegid.c: Likewise.
56503         * sysdeps/unix/bsd/seteuid.c: Likewise.
56504         * sysdeps/unix/bsd/setgid.c: Likewise.
56505         * sysdeps/unix/bsd/setrgid.c: Likewise.
56506         * sysdeps/unix/bsd/setruid.c: Likewise.
56507         * sysdeps/unix/bsd/setsid.c: Likewise.
56508         * sysdeps/unix/bsd/setuid.c: Likewise.
56509         * sysdeps/unix/bsd/sigaction.c: Likewise.
56510         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56511         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56512         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56513         * sysdeps/unix/bsd/telldir.c: Likewise.
56514         * sysdeps/unix/bsd/times.c: Likewise.
56515         * sysdeps/unix/bsd/usleep.c: Likewise.
56517         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56518         ($(objpfx)libbsd-compat.a): Remove rule.
56520         * include/features.h (__FAVOR_BSD): Do not define.
56521         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56522         features conflicting with POSIX.
56523         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56524         (_BSD_SOURCE): Remove description of not being a subset of other
56525         feature test macros.
56526         * manual/job.texi (getpgrp): Do not document BSD version.
56527         (getpgid): Do not document by reference to BSD getpgrp.
56528         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56529         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56530         * signal/signal.h [__FAVOR_BSD]: Likewise.
56531         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56532         instead of making contents conditional on [__FAVOR_BSD].
56533         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56535 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56539 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56541         [BZ #16314]
56542         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56543         values below 2**-450, not 2**-500.
56544         * math/auto-libm-test-in: Don't allow spurious underflow from
56545         hypot.
56546         * math/auto-libm-test-out: Regenerated.
56548         [BZ #16316]
56549         [BZ #16330]
56550         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56551         values of ha and hb and sort them after adjusting subnormal
56552         arguments.
56553         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56554         Likewise.
56555         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56556         values of ea and eb and sort them after adjusting subnormal
56557         arguments.
56558         * math/auto-libm-test-in: Do not expect some hypot tests of
56559         subnormals to fail.  Add more hypot tests.
56560         * math/auto-libm-test-out: Regenerated.
56562 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56564         [BZ #13304]
56565         * sysdeps/sh/s_fma.c: New file.
56566         * sysdeps/sh/s_fmaf.c: New file.
56567         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56568         version.
56569         * sysdeps/sh/Implies: Add sh/soft-fp.
56571 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56573         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56574         level of indirection to members `objname', `errstring', `malloced'.
56575         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56576         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56577         it as the __longjmp argument (just pass 1 instead).
56578         (_dl_catch_error): Initialize C with argument pointers and address of
56579         volatile local ERRCODE rather than copying values out of C at return.
56581 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56583         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56584         * math/auto-libm-test-out: Regenerated.
56585         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56586         (hypot_test_data): Likewise.
56587         (pow_test_data): Likewise.
56588         (pow_tonearest_test_data): Likewise.
56589         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56590         mpfr_ff_f.
56591         (func_calc_desc): Add mpfr_ff_f union field.
56592         (FUNC_mpfr_ff_f): New macro.
56593         (test_functions): Add atan2, hypot and pow.
56594         (special_fill_min): New function.
56595         (special_fill_minus_min): Likewise.
56596         (special_fill_min_subnorm): Likewise.
56597         (special_fill_minus_min_subnorm): Likewise.
56598         (special_real_inputs): Add min, -min, min_subnorm and
56599         -min_subnorm.
56600         (calc_generic_results): Handle mpfr_ff_f.
56601         * sysdeps/i386/fpu/libm-test-ulps: Update.
56602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56604 2013-12-16  Will Newton  <will.newton@linaro.org>
56606         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56607         (Aligned Memory Blocks): Add documentation for aligned_alloc
56608         and suggest it as an alternative to posix_memalign.
56609         (Hooks for Malloc): Document __memalign_hook is also called
56610         for aligned_alloc.  (Summary of Malloc): Add summary for
56611         aligned alloc.  Document __memalign_hook is also called
56612         for aligned_alloc.
56614 2013-12-16  Will Newton  <will.newton@linaro.org>
56616         * manual/memory.texi (Malloc Examples): Clarify default
56617         alignment documentation.  Suggest posix_memalign rather
56618         than memalign or valloc.
56619         (Aligned Memory Blocks): Remove suggestion to use memalign
56620         or valloc.  Remove obsolete comment about BSD.
56621         Document memalign errno values and mark the function obsolete.
56622         Document posix_memalign returned error codes.  Mark valloc
56623         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56624         called for posix_memalign and valloc.
56625         (Summary of Malloc): Add posix_memalign to function summary.
56626         __memalign_hook is also called for posix_memalign and valloc.
56628 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56630         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56631         TAYLOR_SIN.
56632         (__sin): Adjust.
56633         (__cos): Likewise.
56634         (sloww): Use mynumber union.  Expand ternary operator into
56635         if-else statements.
56636         (cslow): use mynumber union.
56638 2013-12-16  Allan McRae  <allan@archlinux.org>
56640         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56641         * configure: Regenerated.
56643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56645         [BZ #14120]
56646         * configure.ac: Added --enable-maintainer-mode. Check for
56647         autoconf when enabled.
56648         * configure: Regenerated.
56650         * nscd/nscd.service: New file.
56651         * nscd/nscd.tmpfiles: New file.
56653 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56655         [BZ #12100]
56656         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56657         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56658         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56659         (strstr): Add __strstr_sse2_unaligned ifunc.
56660         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56661         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56662         (strcasestr): Remove __strcasestr_sse42 ifunc.
56663         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56667 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56669         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56670         * sysdeps/sh/bits/fenv.h: ... here.
56671         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56673 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56675         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56678         hypotf multiarch implementations.
56679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56682         multiarch hypot for PPC64.
56683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56685         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56686         multiarch hypotf for PPC64.
56688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56689         modff multiarch implementations.
56690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56693         multiarch modf for PPC64.
56694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56697         multiarch modff for PPC64.
56699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56700         and logl multiarch implementations.
56701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56704         multiarch logb for PPC64.
56705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56708         multiarch logb for PPC64.
56709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56712         multiarch logb for PPC64.
56714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56715         isinff multiarch implementation.
56716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56717         file.
56718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56720         multiarch isinf for PPC64.
56721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56722         file.
56723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56724         multiarch isinff for PPC64.
56726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56727         finitef multiarch implementation.
56728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56729         file.
56730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56732         multiarch finite for PPC64.
56733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56734         file.
56735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56736         multiarch finitef for PPC64.
56738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56739         lrint multiarch implementation.
56740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56741         file.
56742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56744         multiarch llrint for PPC64.
56745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56746         multiarch lrint for PPC64.
56748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56749         copysignf multiarch implementation.
56750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56751         file.
56752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56753         file.
56754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56755         multiarch copysign for PPC64.
56756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56757         multiarch copysignf for PPC64.
56759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56760         multiarch implementation.
56761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56762         file.
56763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56764         file.
56765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56766         file.
56767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56768         file.
56769         multiarch llround for PPC64.
56770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56771         multiarch trunc for PPC64.
56772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56773         multiarch truncf for PPC64.
56775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56776         multiarch implementation.
56777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56778         file.
56779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56780         file.
56781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56782         file.
56783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56784         file.
56785         multiarch llround for PPC64.
56786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56787         multiarch round for PPC64.
56788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56789         multiarch roundf for PPC64.
56791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56792         multiarch implementation.
56793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56794         file.
56795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56796         file.
56797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56798         file.
56799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56800         file.
56801         multiarch llround for PPC64.
56802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56803         multiarch floor for PPC64.
56804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56805         multiarch floorf for PPC64.
56807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56808         multiarch implementation.
56809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56810         file.
56811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56812         file.
56813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56814         file.
56815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56816         file.
56817         multiarch llround for PPC64.
56818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56819         multiarch ceil for PPC64.
56820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56821         multiarch ceilf for PPC64.
56823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56824         multiarch implementation.
56825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56826         file.
56827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56828         file.
56829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56830         file.
56831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56832         multiarch llround for PPC64.
56833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56834         multiarch lround for PPC64.
56836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56837         multiarch implementation.
56838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56841         file.
56842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56845         multiarch isnan for PPC64.
56846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56847         multiarch isnanf for PPC64.
56849         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56850         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56851         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56852         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56853         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56856         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56857         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56858         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56862         multiarch implementations.
56863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56864         (__libc_ifunc_impl_list): Likewise.
56865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56867         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56868         multiarch stpcpy for PPC64.
56870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56871         multiarch implementations.
56872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56873         (__libc_ifunc_impl_list): Likewise.
56874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56876         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56877         multiarch strcpy for PPC64.
56879         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56880         redefine function name.
56881         (_wordcopy_fwd_dest_aligned): Likewise.
56882         (_wordcopy_bwd_aligned): Likewise.
56883         (_wordcopy_bwd_dest_aligned): Likewise.
56884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56885         multiarch implementations.
56886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56887         (__libc_ifunc_impl_list): Likewise.
56888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56889         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56890         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56891         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56892         multiarch wcscpy for PPC64.
56894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56895         multiarch implementations.
56896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56897         (__libc_ifunc_impl_list): Likewise.
56898         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56899         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56900         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56901         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56902         multiarch wcscpy for PPC64.
56904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56905         multiarch implementations.
56906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56907         (__libc_ifunc_impl_list): Likewise.
56908         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56909         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56910         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56911         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56912         multiarch wcsrchr for PPC64.
56914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56915         multiarch implementations.
56916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56917         (__libc_ifunc_impl_list): Likewise.
56918         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56919         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56920         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56921         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56922         multiarch wcschr for PPC64.
56924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56925         multiarch implementations.
56926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56927         (__libc_ifunc_impl_list): Likewise.
56928         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56929         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56930         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56931         multiarch strchrnul for PPC64.
56933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56934         implementations.
56935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56936         (__libc_ifunc_impl_list): Likewise.
56937         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56938         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56939         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56940         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56941         strchr for PPC64.
56943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56944         implementations.
56945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56946         (__libc_ifunc_impl_list): Likewise.
56947         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56948         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56949         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56950         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56951         strncmp for PPC64.
56953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56954         multiarch implementations.
56955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56956         (__libc_ifunc_impl_list): Likewise.
56957         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56958         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56959         strncasecmp for PPC64.
56960         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56961         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56962         multiarch strncasecmp_l for PPC64.
56964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56965         multiarch implementations.
56966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56967         (__libc_ifunc_impl_list): Likewise.
56968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56970         multiarch strcasecmp for PPC64.
56971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56972         file.
56973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56974         multiarch strcasecmp_l for PPC64.
56976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56977         implementations.
56978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56979         (__libc_ifunc_impl_list): Likewise.
56980         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56981         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56982         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56983         strnlen for PPC64.
56985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56986         implementations.
56987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56988         (__libc_ifunc_impl_list): Likewise.
56989         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56990         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56991         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56992         strlen for PPC64.
56994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56995         implementations.
56996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56997         (__libc_ifunc_impl_list): Likewise.
56998         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56999         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57000         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57001         rawmemrchr for PPC64.
57003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57004         implementation.
57005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57006         (__libc_ifunc_impl_list): Likewise.
57007         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57008         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57009         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57010         memrchr for PPC64.
57012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57013         implementation.
57014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57015         (__libc_ifunc_impl_list): Likewise.
57016         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57017         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57018         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57019         memchr for PPC64.
57021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57022         implementation.
57023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57024         (__libc_ifunc_impl_list): Likewise.
57025         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57026         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57027         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57028         mempcpy for PPC64.
57030         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57031         avoid cretion of __bzero symbol.
57032         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57033         Likewise.
57034         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57035         Likewise.
57036         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57037         Likewise.
57038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57039         multiarch implementations.
57040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57041         (__libc_ifunc_impl_list): Likewise.
57042         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57043         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57044         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57045         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57046         bzero for PPC32.
57047         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57048         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57049         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57050         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57051         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57052         memset for PPC64.
57053         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57055         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57057         implementations.
57058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57059         (__libc_ifunc_impl_list): Likewise.
57060         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57061         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57062         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57063         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57064         memcmp for PPC64.
57066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57067         multiarch for POWER/PPC64.
57068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57069         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57071         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57072         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57073         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57075         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57076         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57077         memcpy for PPC64.
57079         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57080         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57081         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57082         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57083         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57084         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57085         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57086         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57087         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57088         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57089         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57090         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57091         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57092         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57093         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57102 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57104         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57106 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57108         * benchtests/Makefile (bench): Add exp2 and log2.
57109         (LDLIBS-bench-exp2): Add -lm.
57110         (LDLIBS-bench-log2): Likewise.
57111         * benchtests/exp2-inputs: New inputs file.
57112         * benchtests/log2-inputs: New inputs file.
57113         * benchtests/log-inputs: Add new inputs.
57114         * benchtests/tan-inputs: Likewise.
57116 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57118         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57119         definition...
57120         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57121         (csloww2): ... from here.
57123         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57124         instead of structures.
57125         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57126         (POLYNOMIAL): Likewise.
57127         (TAYLOR_SLOW): Likewise.
57128         (__sin): Likewise.
57129         (__cos): Likewise.
57130         (slow1): Likewise.
57131         (slow2): Likewise.
57132         (sloww): Likewise.
57133         (sloww1); Likewise.
57134         (sloww2): Likewise.
57135         (bsloww1): Likewise.
57136         (bsloww2): Likewise.
57137         (cslow2): Likewise.
57138         (csloww): Likewise.
57139         (csloww1): Likewise.
57140         (csloww2): Likewise.
57142 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
57144         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57145         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57146         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57147         * malloc/hooks.c (realloc_check): Likewise.
57149         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57150         * malloc/arena.c: Remove PER_THREAD conditional.
57151         [!PER_THREAD]: Remove code.
57152         (ptmalloc_unlock_all2): Likewise.
57153         (ptmalloc_init): Likewise.
57154         (_int_new_arena): Likewise.
57155         (arena_get2): Likewise.
57156         * malloc/hooks.c (__malloc_get_state): Likewise.
57157         (__malloc_set_state): Likewise.
57158         * malloc/malloc.c: Likewise.
57159         (struct malloc_state): Likewise.
57160         (struct malloc_par): Likewise.
57161         (__libc_realloc): Likewise.
57162         (__libc_mallopt): Likewise.
57164 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57166         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57168 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
57170         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57171         macro to a function.  Check for zero perturb_byte.
57172         (_int_malloc, _int_free): Remove zero perturb_byte checks.
57174         * malloc/malloc.c: (force_reg): Remove.
57175         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57176         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57177         force_reg by atomic_forced_read.
57178         * malloc/arena.c (ptmalloc_init): Likewise.
57179         * malloc/hooks.c (top_check): Likewise.
57181 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57185 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
57187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57189 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
57191         * math/auto-libm-test-in: Add tests of lgamma.
57192         * math/auto-libm-test-out: Regenerated.
57193         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57194         (M_LOG_2_SQRT_PIl): Likewise.
57195         (lgamma_test_data): Use AUTO_TESTS_f_f1.
57196         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57197         mpfr_f_f1.
57198         (func_calc_desc): Add mpfr_f_f1 union field.
57199         (ARGS1): New macro.
57200         (ARGS2): Likewise.
57201         (ARGS3): Likewise.
57202         (ARGS4): Likewise.
57203         (RET1): Likewise.
57204         (RET2): Likewise.
57205         (CALC): Likewise.
57206         (FUNC): Likewise.
57207         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57208         (test_functions): Add lgamma.
57209         (calc_generic_results): Handle mpfr_f_f1.
57210         * sysdeps/i386/fpu/libm-test-ulps: Update.
57211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57213 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57215         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57216         __mpn_add_n for PowerPC64/POWER7.
57217         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57218         __mpn_sub_n for PowerPC64/POWER7.
57220         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57221         __mpn_addmul_1 for PowerPC64.
57222         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57223         __mpn_submul_1 for PowerPC64.
57224         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57225         for PowerPC64.
57226         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57227         for PowerPC64.
57229 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
57231         [BZ #15089]
57232         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57236         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57238         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57239         add multiarch folders.
57240         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57241         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57242         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57243         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57244         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57245         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57246         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57247         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57248         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57249         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57250         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57259         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
57260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
57261         New file.
57262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
57263         New file.
57264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
57265         multiarch __ieee754_hypot for PowerPC32.
57266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
57267         New file.
57268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
57269         New file.
57270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
57271         multiarch __ieee754_hypotf for PowerPC32.
57273         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57274         long_double_symbol only if __logbl is defined.
57275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57276         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57278         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57280         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57281         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57282         path for implementation.
57283         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57286         logb, and logbl multiarch implementations for PowerPC32.
57287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57288         file.
57289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57290         file.
57291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57292         multiarch logb for PowerPC32.
57293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57294         file.
57295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57296         file.
57297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57298         multiarch logbf for PowerPC32.
57299         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57301         file.
57302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57303         multiarch logbl implementation for PowerPC32.
57305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57306         and modff multiarch implementations.
57307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57308         New file.
57309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
57310         New file.
57311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
57312         multiarch modf for PowerPC32.
57313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
57314         New file.
57315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
57316         New file.
57317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
57318         multiarch modff for PowerPC32.
57320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57321         and lrintf multiarch implementations.
57322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57323         New file.
57324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57325         New file.
57326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57327         multiarch lrint for PowerPC32.
57328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57329         file: multiarch lrintf for PowerPC32.
57331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57332         and lroundf multiarch implementations.
57333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57334         New file.
57335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57336         New file.
57337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57338         New file.
57339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57340         multiarch lround for PowerPC32.
57341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57342         file: multiarch lroundf for PowerPC32.
57344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57345         copysign and copysignf multiarch implementations.
57346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57347         New file.
57348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57349         New file.
57350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57351         file: multiarch copysign for PowerPC32.
57352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57353         file: multiarch copysignf for PowerPC32.
57355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57356         and truncf multiarch implementations.
57357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57358         New file.
57359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57360         file.
57361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57362         multiarch trunc for PowerPC32.
57363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57364         New file.
57365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57366         New file.
57367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57368         multiarch truncf for PowerPC32.
57370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57371         and roundf multiarch implementations.
57372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57373         New file.
57374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57375         file.
57376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57377         multiarch round for PowerPC32.
57378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57379         New file.
57380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57381         New file.
57382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57383         multiarch roundf for PowerPC32.
57385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57386         and floorf multiarch implementations.
57387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57388         New file.
57389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57390         file.
57391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57392         multiarch floor for PowerPC32.
57393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57394         New file.
57395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57396         New file.
57397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57398         multiarch floorf for PowerPC32.
57400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57401         and ceilf multiarch implementations.
57402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57403         New file.
57404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57405         file.
57406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57407         multiarch ceil for PowerPC32.
57408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57409         New file.
57410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57411         file.
57412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57413         multiarch ceilf for PowerPC32.
57415         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57416         is defined.
57417         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57418         FINITEF is defined.
57419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57420         and finitef multiarch implementations.
57421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57422         New file.
57423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57424         file.
57425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57426         multiarch finite for PowerPC32.
57427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57428         New file.
57429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57430         file: multiarch finitef for PowerPC32.
57432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57433         and isinff multiarch implementations.
57434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57435         file.
57436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57437         file.
57438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57439         multiarch isinf for PowerPC32.
57440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57441         New file.
57442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57443         multiarch isinff for PowerPC32.
57445         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57446         alias when __isnan is defined.
57447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57448         and isnanf multiarch implementations.
57449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57450         file.
57451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57452         file.
57453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57454         file.
57455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57456         file.
57457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57458         multiarch isnan for PowerPC32.
57459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57460         New file.
57461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57462         New file.
57463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57464         multiarch isnanf for PowerPC32.
57466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57467         and sqrtf multiarch implementations.
57468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57469         file.
57470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57471         file.
57472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57473         multiarch sqrt for PowerPC32.
57474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57475         file.
57476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57477         file.
57478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57479         multiarch sqrtf for PowerPC32.
57481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57482         and llroundf multiarch implementations.
57483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57484         New file.
57485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57486         New file.
57487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57488         New file.
57489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57490         file: multiarch llround for PowerPC32.
57491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57492         file: multiarch llroundf for PowerPC32.
57494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57495         multiarch PowerPC32 fpu implementations.
57496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57497         New file.
57498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57499         New file.
57500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57501         multiarch llrint for PowerPC32.
57502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57503         New file.
57504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57505         New file.
57506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57507         file.
57509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57511         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57512         file.
57513         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57514         file.
57515         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57516         file.
57517         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57518         multiarch wordcopy for PPC32.
57519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57520         wordcopy objects.
57521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57522         (__libc_ifunc_impl_list): Likewise.
57523         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57524         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57526         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57527         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57528         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57530         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57532         file.
57533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57534         file.
57535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57536         file.
57537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57538         multiarch wcscpy for PPC32.
57539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57540         multiarch objects.
57541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57542         (__libc_ifunc_impl_list): Likewise.
57543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57544         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57545         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57546         sysdeps/powerpc/power6/wcscpy.c.
57548         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57550         file.
57551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57552         file.
57553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57554         file.
57555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57556         multiarch wcsrchr for PPC32.
57557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57558         multiarch objects.
57559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57560         (__libc_ifunc_impl_list): Likewise.
57561         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57562         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57563         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57564         sysdeps/powerpc/power6/wcsrchr.c.
57566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57567         file.
57568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57569         file.
57570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57572         multiarch wcschr for PPc32.
57573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57574         multiarch objects.
57575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57576         (__libc_ifunc_impl_list): Likewise.
57577         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57578         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57579         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57580         sysdeps/powerpc/power6/wcschr.c.
57582         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57583         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57584         file.
57585         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57586         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57587         file: multiarch strchr for PPC32.
57588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57589         multiarch objects.
57590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57591         (__libc_ifunc_impl_list): Likewise.
57593         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57594         name.
57595         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57596         file.
57597         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57598         file.
57599         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57600         multiarch strchrnul for PPC32.
57601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57602         multiarch objects.
57603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57604         (__libc_ifunc_impl_list): Likewise.
57606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57607         file.
57608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57609         multiarch strncasecmp for PPC32.
57610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57611         file.
57612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57613         multiarch strncasecmp_l for PPC32.
57614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57615         strncasecmp multiarch objects.
57616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57617         (__libc_ifunc_impl_list): Likewise.
57619         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57620         file.
57621         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57622         multiarch strncasecmp for PPC32.
57623         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57624         New file.
57625         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57626         multiarch strcasecmp_l for PPC32.
57627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57628         multiarch objects.
57629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57630         (__libc_ifunc_impl_list): Likewise.
57632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57633         file.
57634         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57635         file.
57636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57637         multiarch strncmp for PPC32.
57638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57639         multiarch objects.
57640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57641         (__libc_ifunc_impl_list): Likewise.
57643         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57644         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57645         file.
57646         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57647         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57649         multiarch objects.
57650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57651         (__libc_ifunc_impl_list): Likewise.
57653         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57654         file.
57655         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57656         file.
57657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57659         multiarch objects.
57660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57661         (__libc_ifunc_impl_list): Likewise.
57663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57664         file.
57665         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57666         file.
57667         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57668         multiarch rawmemchr for PPC32.
57669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57670         multiarch objects.
57671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57672         (__libc_ifunc_impl_list): Likewise.
57674         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57675         file.
57676         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57677         file.
57678         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57679         file: memrchr multiarch for PPC32.
57680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57681         multiarch objects.
57682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57683         (__libc_ifunc_impl_list): Likewise.
57685         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57687         file.
57688         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57689         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57690         multiarch memchr for PPC32.
57691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57692         multiarch objects.
57693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57694         (__libc_ifunc_impl_list): Likewise.
57696         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57697         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57698         file.
57699         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57700         file.
57701         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57702         file: multiarch mempcpy for PPC32.
57703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
57704         multiarch objects.
57705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57706         (__libc_ifunc_impl_list): Likewise.
57708         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57709         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57711         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57712         multiarch bzero for PPC32.
57713         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57714         file.
57715         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57716         file.
57717         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57718         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57719         file: multiarch memset for PPC32.
57720         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57722         memset multiarch objects.
57723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57724         (__libc_ifunc_impl_list): Likewise.
57726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57727         file.
57728         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57730         memcmp for PPC32.
57731         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57733         multiarch objects.
57734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57735         (__libc_ifunc_impl_list): Likewise.
57737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57740         file.
57741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57742         file.
57743         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57744         file.
57745         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57746         multiarch memcpy for PPC32.
57747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57748         multiarch objects.
57749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57750         (__libc_ifunc_impl_list): Likewise.
57752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57753         support multiarch for POWER/PPC32.
57754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57755         Likewise.
57756         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57758         Implies file to make multiarch folder appers before the fpu and
57759         default folder for power4 configuration.
57761 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57763         * scripts/bench.pl: Append volatile keyword to type.
57765 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57767         * sysdeps/sh/sotruss-lib.c: New file.
57768         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57770 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57774 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
57776         [BZ #6810]
57777         * math/w_tgamma.c: Include <errno.h>.
57778         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
57779         * math/w_tgammaf.c: Include <errno.h>.
57780         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
57781         * math/w_tgammal.c: Include <errno.h>.
57782         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
57783         * math/auto-libm-test-in: Do not allow missing errno on tgamma
57784         underflow.  Add more tgamma tests.
57785         * math/auto-libm-test-out: Regenerated.
57786         * sysdeps/i386/fpu/libm-test-ulps: Update.
57787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57789         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57790         sin, sinh, tan, tanh, tgamma, y0 and y1.
57791         * math/auto-libm-test-out: Regenerated.
57792         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57793         (TEST_COND_x86): Likewise.
57794         (M_E2l): Remove macro.
57795         (M_E3l): Likewise.
57796         (M_2_SQRT_PIl): Likewise.
57797         (M_SQRT_PIl): Likewise.
57798         (M_1_DIV_El): Likewise.
57799         (log_test_data): Use AUTO_TESTS_f_f.
57800         (log10_test_data): Likewise.
57801         (log1p_test_data): Likewise.
57802         (log2_test_data): Likewise.
57803         (sin_test_data): Likewise.
57804         (sin_tonearest_test_data): Likewise.
57805         (sin_towardzero_test_data): Likewise.
57806         (sin_downward_test_data): Likewise.
57807         (sin_upward_test_data): Likewise.
57808         (sinh_test_data): Likewise.
57809         (sinh_tonearest_test_data): Likewise.
57810         (sinh_towardzero_test_data): Likewise.
57811         (sinh_downward_test_data): Likewise.
57812         (sinh_upward_test_data): Likewise.
57813         (tan_test_data): Likewise.
57814         (tan_tonearest_test_data): Likewise.
57815         (tan_towardzero_test_data): Likewise.
57816         (tan_downward_test_data): Likewise.
57817         (tan_upward_test_data): Likewise.
57818         (tanh_test_data): Likewise.
57819         (tgamma_test_data): Likewise.
57820         (y0_test_data): Likewise.
57821         (y1_test_data): Likewise.
57822         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57823         (special_real_inputs): Add pi/4.
57824         * sysdeps/i386/fpu/libm-test-ulps: Update.
57825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57827 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57830         "longjmp_target" static probes.
57831         (__longjmp): Rename to __longjmp_symbol.
57832         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57833         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57834         on which longjmp to generate.
57835         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57836         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57837         probe.
57838         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57839         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57840         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57841         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57842         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57843         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57845         __longjmp_symbol based on which __longjmp to generate.
57846         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57847         probe.
57848         (setjmp): Rename to setjmp_symbol.
57849         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57850         (_setjmp): Rename to _setjmp_symbol.
57851         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57852         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57853         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57854         which setjmp to generate.
57855         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57856         "longjmp_target" static probes.
57858 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57860         * benchtests/README: Add note about output arguments.
57861         * benchtests/bench-sincos.c: Remove file.
57862         * benchtests/sincos-inputs: New file.
57863         * scripts/bench.pl: Identify output arguments and define
57864         static variables for them.
57866         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57868         [BZ #15941]
57869         * Makefile (INSTALL): Add install-plain.texi as the primary
57870         dependency.
57871         * manual/install-plain.texi: New file.
57872         * manual/install.texi: Include node directive only for
57873         non-plaintext output.
57875 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57877         * stdlib/longlong.h: Update from GCC.
57879         [BZ #6807]
57880         [BZ #15901]
57881         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57882         * math/w_j0f.c (y0f): Likewise.
57883         * math/w_j0l.c (__y0l): Likewise.
57884         * math/w_j1.c (y1): Likewise.
57885         * math/w_j1f.c (y1f): Likewise.
57886         * math/w_j1l.c (__y1l): Likewise.
57887         * math/w_jn.c (yn): Likewise.
57888         * math/w_jnf.c (ynf): Likewise.
57889         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57890         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57891         value for Bessel function domain errors outside _SVID_ mode.
57892         Adjust sign of return value for yn (negative integer, 0).
57893         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57894         by zero in return for negative x and set sign appropriately for
57895         negative n.
57896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57897         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57898         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57899         expectations in error cases.
57900         (y1_test_data): Likewise.
57901         (yn_test_data): Likewise.
57902         * sysdeps/i386/fpu/libm-test-ulps: Update.
57903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57905 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57907         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57908         "64" to "64-v1".  Add "64-v2".
57909         (abi-64-options): Rename to ...
57910         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57911         (abi-64-condition): Rename to ...
57912         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57913         (abi-64-ld-soname): Rename to ...
57914         (abi-64-v1-ld-soname): ... this.
57915         (abi-64-v2-options): Define.
57916         (abi-64-v2-condition): Likewise.
57917         (abi-64-v2-ld-soname): Likewise.
57918         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57919         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57924 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57925             Alan Modra  <amodra@gmail.com>
57927         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57928         New versions for use with the ELFv2 ABI.
57929         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57930         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57931         declaration.
57932         (struct La_ppc64v2_retval): Likewise.
57933         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57934         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57935         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57936         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57937         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57938         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57939         Do not save or restore CR.
57940         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57941         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57942         return values for ELFv2 ABI.  Fix location of FPR return registers.
57943         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57944         updated values for _CALL_ELF == 2.
57945         (La_regs, La_retval, int_retval): Likewise.
57947 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57949         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57950         (FRAME_MIN_SIZE_PARM): Likewise.
57951         (FRAME_BACKCHAIN): Likewise.
57952         (FRAME_CR_SAVE): Likewise.
57953         (FRAME_LR_SAVE): Likewise.
57954         (FRAME_TOC_SAVE): Likewise.
57955         (FRAME_PARM_SAVE): Likewise.
57956         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57957         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57958         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57959         (call_mcount_parm_offset): New macro.
57960         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57961         (PROF): Use symbolic stack frame offsets.
57962         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57964         Redefine in terms of FRAME_MIN_SIZE.
57965         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57966         (_dl_profile_resolve): Likewise.  Update comment.
57967         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57968         symbols stack frame offsets.
57969         (__sigsetjmp): Likewise.
57970         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57971         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57972         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57973         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57976         (FRAME_BACKCHAIN): Remove.
57977         (FRAME_CR_SAVE): Likewise.
57978         (FRAME_LR_SAVE): Likewise.
57979         (FRAME_COMPILER_DW): Likewise.
57980         (FRAME_LINKER_DW): Likewise.
57981         (FRAME_TOC_SAVE): Likewise.
57982         (FRAME_PARM_SAVE): Likewise.
57983         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57984         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57985         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57987         (CHECK_SP): Use symbolic stack frame offsets.
57988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57989         zone" instead of caller's parameter save area for temp storage.
57990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57991         Likewise.  Also, use symbolic stack frame offsets.
57992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57993         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57994         our own stack frame instead of the caller's.
57995         (__socket): Use symbolic stack frame offsets.
57997 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57998             Alan Modra  <amodra@gmail.com>
58000         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58001         Define.
58002         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58003         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58004         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58005         New function.
58006         (elf_machine_fixup_plt): Call it.
58007         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58008         reloc arguments.
58009         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58011         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58012         r2 before calling target.
58014 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58015             Alan Modra  <amodra@gmail.com>
58017         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58018         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58019         versions of macros to support ELFv2 ABI.
58020         (LOCALENTRY): New macro.
58021         (ENTRY, EALIGN): Use it.
58022         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58023         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58024         fall through into ENTRY entry point.
58025         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58026         Only define if _CALL_ELF != 2.
58028         (elf_machine_matches_host): Verify ABI version matches.
58029         (RTLD_START): Use LOCALENTRY.
58030         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58031         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58032         (PLT_ENTRY_WORDS): New macro.
58033         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58034         (elf_machine_runtime_setup): Support ELFv2 ABI.
58035         (elf_machine_fixup_plt): Likewise.
58036         (elf_machine_plt_conflict): Likewise.
58037         (resolve_ifunc): Likewise.
58038         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58040         Likewise.
58041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58042         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58044         (makecontext): Support ELFv2 ABI.
58045         * elf/elf.h (EF_PPC64_ABI): Define.
58047 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58049         * sysdeps/powerpc/powerpc64/sysdep.h
58050         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58051         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58052         (ENTRY) [ASSEMBLER]: ... but instead here ...
58053         (EALIGN) [ASSEMBLER]: ... and here.
58054         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58055         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58056         (ENTRY_2) [!ASSEMBLER]: Use it.
58057         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58058         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
58059         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58060         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58061         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58063         Use PPC64_LOAD_FUNCPTR.
58065         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58067 2013-12-04  Alan Modra  <amodra@gmail.com>
58069         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58070         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58071         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58072         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58074         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58075         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58076         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58077         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58078         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58079         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58081 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58084         (__makecontext): Fix incorrect CFI when backtracing out of
58085         context created via makecontext.
58086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58087         (__setcontext): Fix incorrect CFI during switch to new context.
58088         (__novec_setcontext): Likewise.
58090 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58092         [BZ #4772]
58093         * time/strptime_l.c (__strptime_internal): Allow modifiers
58094         in strptime.
58095         * time/tst-strptime.c (day_tests): Add testcase.
58097 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58099         * scripts/bench.pl: Skip over blank lines.
58101 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
58103         [BZ #926]
58104         * manual/time.texi (Calendar Time): Clarify what timezone functions
58105         use.
58107 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58111 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58113         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58114         implementation.
58115         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58116         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58117         * debug/memset_chk.c (__memset_chk): Likewise.
58118         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58119         * debug/strncpy_chk.c: Likewise.
58121 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58123         [BZ #15268]
58124         [BZ #15425]
58125         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58126         (__ieee754_exp): For possibly underflowing results, check size of
58127         result and force underflow exception if required.
58128         * math/auto-libm-test-in: Add more tests of exp.
58129         * math/auto-libm-test-out: Regenerated.
58130         * sysdeps/i386/fpu/libm-test-ulps: Update.
58131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58133         [BZ #16283]
58134         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58135         * math/w_exp2f.c (__exp2f): Likewise.
58136         * math/w_exp2l.c (__exp2l): Likewise.
58137         * math/auto-libm-test-in: Do not allow missing errno on exp2
58138         underflow.
58139         * math/auto-libm-test-out: Regenerated.
58141 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
58143         [BZ #16274]
58144         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58145         handle filename validation.
58146         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58147         (do_open): Delete.
58149 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58151         [BZ #6786]
58152         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58153         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58154         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58155         <float.h>.
58156         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58158         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58160         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58161         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58162         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58163         * math/auto-libm-test-in: Don't allow missing errno from erfc.
58164         Add more erfc tests.
58165         * math/auto-libm-test-out: Regenerated.
58166         * sysdeps/i386/fpu/libm-test-ulps: Update.
58167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58169         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58170         exp2, expm1, j0 and j1.
58171         * math/auto-libm-test-out: Regenerated.
58172         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58173         (erfc_test_data): Likewise.
58174         (exp_test_data): Likewise.
58175         (exp_tonearest_test_data): Likewise.
58176         (exp_towardzero_test_data): Likewise.
58177         (exp_downward_test_data): Likewise.
58178         (exp_upward_test_data): Likewise.
58179         (exp10_test_data): Likewise.
58180         (exp2_test_data): Likewise.
58181         (expm1_test_data): Likewise.
58182         (j0_test_data): Likewise.
58183         (j1_test_data): Likewise.
58184         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58185         (input_flag_type): Add flag_xfail_rounding.
58186         (input_flags): Add xfail-rounding.
58187         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58188         (output_for_one_input_case): Handle flag_xfail_rounding.
58189         * sysdeps/i386/fpu/libm-test-ulps: Update.
58190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58192 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
58194         [BZ #16289]
58195         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58196         division by 0.
58198 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58200         [BZ #16195]
58201         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58202         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58203         (STAP_PROBE0): New macro.
58204         (STAP_PROBE1): Likewise.
58205         (STAP_PROBE2): Likewise.
58206         (STAP_PROBE3): Likewise.
58207         (STAP_PROBE4): Likewise.
58209 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
58211         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58213 2013-12-02  Steve Ellcey  <sellcey@mips.com>
58215         * benchtests/Makefile (bench): Add sqrt.
58216         (LDLIBS-bench-sqrt): New.
58217         * benchtests/sqrt-input: New.
58219 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
58221         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58222         (GAIH_EAI): Likewise.
58223         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58224         (gaih_inet): Likewise.
58225         (getaddrinfo): Don't use GAIH_EAI.
58227         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58228         (struct gaih): Remove definition.
58230 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58232         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58233         Use HERRNOP directly.
58235 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58239 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
58241         * math/gen-auto-libm-tests.c (test_functions): Add more
58242         single-argument functions.
58243         (special_fill_pi_2): New function.
58244         (special_fill_minus_pi_2): Likewise.
58245         (special_fill_pi_6): Likewise.
58246         (special_fill_minus_pi_6): Likewise.
58247         (special_fill_pi_3): Likewise.
58248         (special_fill_2pi_3): Likewise.
58249         (special_fill_e): Likewise.
58250         (special_fill_1_e): Likewise.
58251         (special_fill_e_minus_1): Likewise.
58252         (special_real_inputs): Add more special inputs.
58253         (output_for_one_input_case): Do not require ERANGE on underflow to
58254         zero if round-to-nearest result does not underflow to zero, unless
58255         exact results required.
58256         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58257         atan, atanh, cbrt, cos and cosh.
58258         * math/auto-libm-test-out: Regenerated.
58259         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
58260         (acos_tonearest_test_data): Likewise.
58261         (acos_towardzero_test_data): Likewise.
58262         (acos_downward_test_data): Likewise.
58263         (acos_upward_test_data): Likewise.
58264         (acosh_test_data): Likewise.
58265         (asin_test_data): Likewise.
58266         (asin_tonearest_test_data): Likewise.
58267         (asin_towardzero_test_data): Likewise.
58268         (asin_upward_test_data): Likewise.
58269         (asinh_test_data): Likewise.
58270         (atan_test_data): Likewise.
58271         (atanh_test_data): Likewise.
58272         (cbrt_test_data): Likewise.
58273         (cos_test_data): Likewise.
58274         (cos_tonearest_test_data): Likewise.
58275         (cos_towardzero_test_data): Likewise.
58276         (cos_downward_test_data): Likewise.
58277         (cos_upward_test_data): Likewise.
58278         (cosh_test_data): Likewise.
58279         (cosh_tonearest_test_data): Likewise.
58280         (cosh_towardzero_test_data): Likewise.
58281         (cosh_downward_test_data): Likewise.
58282         (cosh_upward_test_data): Likewise.
58283         * sysdeps/i386/fpu/libm-test-ulps: Update.
58284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58286 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
58288         [BZ #6787]
58289         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58290         * math/w_exp10f.c (__exp10f): Likewise.
58291         * math/w_exp10l.c (__exp10l): Likewise.
58292         * math/libm-test.inc (exp10_test_data): Add more tests and expect
58293         errno settings in existing tests.
58295         [BZ #14032]
58296         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58297         precision control set to double precision.
58298         * sysdeps/i386/fpu/w_sqrt.c: New file.
58299         * math/auto-libm-test-in: Add more tests.
58300         * math/auto-libm-test-out: Update.
58302         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58303         (sqrt_test_tonearest): New function.
58304         (sqrt_towardzero_test_data): New variable.
58305         (sqrt_test_towardzero): New function.
58306         (sqrt_downward_test_data): New variable.
58307         (sqrt_test_downward): New function.
58308         (sqrt_upward_test_data): New variable.
58309         (sqrt_test_upward): New function.
58310         (main): Call the new functions.
58312         * math/gen-auto-libm-tests.c: New file.
58313         * math/auto-libm-test-in: Likewise.
58314         * math/auto-libm-test-out: New generated file.
58315         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
58316         variables.
58317         (%beautify): Add generated representations of zero.
58318         (top level): Set $auto_input and call parse_auto_input.
58319         (beautify): Remove trailing "f" from hex float constants.
58320         (parse_args): Handle XFAIL_TEST.
58321         (convert_condition): New function.
58322         (or_value): Likewise.
58323         (or_cond_value): Likewise.
58324         (generate_testfile): Handle AUTO_TESTS_* lines.
58325         (parse_auto_input): New function.
58326         * math/libm-test.inc (XFAIL_TEST): New macro.
58327         (ERRNO_UNCHANGED): Update value.
58328         (ERRNO_EDOM): Likewise.
58329         (ERRNO_ERANGE): Likewise.
58330         (IGNORE_RESULT): Likewise.
58331         (TEST_COND_flt_32): New macro.
58332         (TEST_COND_dbl_64): Likewise.
58333         (TEST_COND_ldbl_96_intel): Likewise.
58334         (TEST_COND_ldbl_96_m68k): Likewise.
58335         (TEST_COND_ldbl_128): Likewise.
58336         (TEST_COND_ldbl_128ibm): Likewise.
58337         (TEST_COND_long32): Likewise.
58338         (TEST_COND_long64): Likewise.
58339         (TEST_COND_before_rounding): Likewise.
58340         (TEST_COND_after_rounding): Likewise.
58341         (enable_test): Handle XFAIL_TEST flag.
58342         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58343         with finite results.
58344         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58345         auto-libm-test-out.
58347 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58348             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58350         [BZ #16214]
58351         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58352         __tls_get_addr_internal instead of __tls_get_offset in order to
58353         avoid GOT pointer dependency.  Make rtld export
58354         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58355         __tls_get_addr since we are a __tls_get_offset platform.
58356         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58357         GOT pointer being set up before.
58358         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58360 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
58362         * manual/math.texi (Errors in Math Functions): Document accuracy
58363         goals.
58365         [BZ #15004]
58366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58367         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58368         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58370         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58371         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58372         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58373         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58374         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58375         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58376         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58377         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58378         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58379         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58380         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58381         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58383         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58384         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58385         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58386         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58387         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58388         Likewise.
58389         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58390         Likewise.
58391         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58392         Likewise.
58393         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58394         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58395         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58396         atomic-feupdateenv and flt-rounds.
58397         * sysdeps/powerpc/nofpu/Versions (libc): Add
58398         __atomic_feholdexcept, __atomic_feclearexcept,
58399         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58401         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58403         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58404         here.
58405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58406         Update.
58408         * manual/arith.texi (FP Exceptions): Document that exceptions may
58409         not be raised when matherr is used.
58410         (Math Error Reporting): Document overflow in directed rounding
58411         modes.  Document that errno may not be set when finite values are
58412         returned on overflow.  Document intent to set errno on underflow
58413         only for underflow to zero.
58415         [BZ #16271]
58416         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58417         round-to-nearest then adjust result for other rounding modes.
58418         * include/fenv.h (fegetround): Use libm_hidden_proto.
58419         * math/fegetround.c (fegetround): Use libm_hidden_def.
58420         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58421         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58422         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58424         Likewise.
58425         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58426         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58427         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58428         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58430 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58432         [BZ #16077]
58433         * nss/Versions (libnss_files): Add
58434         _nss_files_gethostbyname3_r.
58435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58436         New function.
58437         (HOST_DB_LOOKUP): Remove macro.
58438         (_nss_files_gethostbyname_r): Implement function without the
58439         HOST_DB_LOOKUP macro.
58440         (_nss_files_gethostbyname2_r): Likewise.
58442 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58444         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58446 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58448         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58449         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58450         warning.
58452 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58455         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58457         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58459         __fe_nomask_env_priv and attribute_hidden.
58460         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58461         (libc_feupdateenv_test_ppc): Likewise.
58462         (libc_feresetround_ppc): Likewise.
58463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58464         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58465         compat_symbol macro.
58466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58467         (__fe_nomask_env): Likewise.
58468         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58470 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58472         * string/Makefile: Remove ifunc tests.
58473         * string/test-string.h: Define TEST_IFUNC.
58474         * string/test-bcopy-ifunc.c: Remove.
58475         * string/test-bzero-ifunc.c: Likewise.
58476         * string/test-memccpy-ifunc.c: Likewise.
58477         * string/test-memchr-ifunc.c: Likewise.
58478         * string/test-memcmp-ifunc.c: Likewise.
58479         * string/test-memcpy-ifunc.c: Likewise.
58480         * string/test-memmem-ifunc.c: Likewise.
58481         * string/test-memmove-ifunc.c: Likewise.
58482         * string/test-mempcpy-ifunc.c: Likewise.
58483         * string/test-memrchr-ifunc.c: Likewise.
58484         * string/test-memset-ifunc.c: Likewise.
58485         * string/test-rawmemchr-ifunc.c: Likewise.
58486         * string/test-stpcpy-ifunc.c: Likewise.
58487         * string/test-stpncpy-ifunc.c: Likewise.
58488         * string/test-strcasecmp-ifunc.c: Likewise.
58489         * string/test-strcasestr-ifunc.c: Likewise.
58490         * string/test-strcat-ifunc.c: Likewise.
58491         * string/test-strchr-ifunc.c: Likewise.
58492         * string/test-strchrnul-ifunc.c: Likewise.
58493         * string/test-strcmp-ifunc.c: Likewise.
58494         * string/test-strcpy-ifunc.c: Likewise.
58495         * string/test-strcspn-ifunc.c: Likewise.
58496         * string/test-strlen-ifunc.c: Likewise.
58497         * string/test-strncasecmp-ifunc.c: Likewise.
58498         * string/test-strncat-ifunc.c: Likewise.
58499         * string/test-strncmp-ifunc.c: Likewise.
58500         * string/test-strncpy-ifunc.c: Likewise.
58501         * string/test-strnlen-ifunc.c: Likewise.
58502         * string/test-strpbrk-ifunc.c: Likewise.
58503         * string/test-strrchr-ifunc.c: Likewise.
58504         * string/test-strspn-ifunc.c: Likewise.
58505         * string/test-strstr-ifunc.c: Likewise.
58507 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58509         * benchtests/Makefile: Remove ifunc tests.
58510         * benchtests/bench-string.h: Define TEST_IFUNC.
58511         * benchtests/bench-bcopy-ifunc.c: Remove.
58512         * benchtests/bench-bzero-ifunc.c: Likewise.
58513         * benchtests/bench-memccpy-ifunc.c: Likewise.
58514         * benchtests/bench-memchr-ifunc.c: Likewise.
58515         * benchtests/bench-memcmp-ifunc.c: Likewise.
58516         * benchtests/bench-memcpy-ifunc.c: Likewise.
58517         * benchtests/bench-memmem-ifunc.c: Likewise.
58518         * benchtests/bench-memmove-ifunc.c: Likewise.
58519         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58520         * benchtests/bench-memrchr-ifunc.c: Likewise.
58521         * benchtests/bench-memset-ifunc.c: Likewise.
58522         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58523         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58524         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58525         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58526         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58527         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58528         * benchtests/bench-strcat-ifunc.c: Likewise.
58529         * benchtests/bench-strchr-ifunc.c: Likewise.
58530         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58531         * benchtests/bench-strcmp-ifunc.c: Likewise.
58532         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58533         * benchtests/bench-strcpy-ifunc.c: Likewise.
58534         * benchtests/bench-strcspn-ifunc.c: Likewise.
58535         * benchtests/bench-strlen-ifunc.c: Likewise.
58536         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58537         * benchtests/bench-strncat-ifunc.c: Likewise.
58538         * benchtests/bench-strncmp-ifunc.c: Likewise.
58539         * benchtests/bench-strncpy-ifunc.c: Likewise.
58540         * benchtests/bench-strnlen-ifunc.c: Likewise.
58541         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58542         * benchtests/bench-strrchr-ifunc.c: Likewise.
58543         * benchtests/bench-strsep-ifunc.c: Likewise.
58544         * benchtests/bench-strspn-ifunc.c: Likewise.
58545         * benchtests/bench-strstr-ifunc.c: Likewise.
58547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58551 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58553         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58554         * rt/aio.h: Likewise.
58555         * sysdeps/gnu/bits/utmp.h: Likewise.
58556         * sysdeps/gnu/bits/utmpx.h: Likewise.
58557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58558         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58559         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58560         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58561         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58562         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58563         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58564         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58565         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58566         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58567         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58568         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58569         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58572         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58573         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58574         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58575         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58576         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58577         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58578         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58579         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58580         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58581         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58583         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58585         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58586         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58588         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58589         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58590         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58591         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58592         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58593         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58596         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58597         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58598         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58600 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58602         [BZ #16245]
58603         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58604         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58606 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58608         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58610         Likewise.
58612 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58615         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58616         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58617         (__fesetround): Remove define.
58618         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58619         rounding and exceptions handling.
58620         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58621         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58622         (__fe_nomask_env): Likewise.
58623         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58624         __fegetround instead of fegetround.
58625         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58628 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58630         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58631         it's there.
58633         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58635 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58637         [BZ #11157]
58638         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58639         (encrypt_r): Likewise.
58640         * malloc/obstack.h (obstack_free): Likewise.
58641         * posix/unistd.h (encrypt): Likewise.
58643 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58645         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58646         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58647         DL_CALL_DT_FINI() that call the functions directly.
58648         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58649         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58650         * elf/dl-fini.c: Likewise.
58652 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58654         * malloc/hooks.c (memalign_check): Add alignment rounding.
58655         * malloc/malloc.c (_mid_memalign): New function.
58656         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58657         Implement by calling _mid_memalign.
58658         * manual/probes.texi (Memory Allocation Probes): Remove
58659         memory_valloc_retry and memory_pvalloc_retry.
58661 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58663         * locale/programs/locarchive.c (open_archive): Add const
58664         qualifier to ARCHIVEFNAME and copy default fname to
58665         DEFAULT_FNAME.
58667         [BZ #15601]
58668         * libio/tst-widetext.input: Rename Oriya to Odia.
58669         * locale/iso-639.def: Likewise.
58671         * manual/probes.texi (Mathematical Function Probes): Add
58672         documentation for sin, cos, asin and acos probes.
58673         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58674         (__sin32): Add slowasin probe.
58675         (__cos32): Add slowacos probe.
58676         (__mpsin): Add slowsin probe.
58677         (__mpcos): Add slowcos probe.
58679 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58681         [BZ #15483]
58682         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58683         thread-local __sim_exceptions_thread and global
58684         __sim_exceptions_global.
58685         (__sim_disabled_exceptions): Change to thread-local
58686         __sim_disabled_exceptions_thread and global
58687         __sim_disabled_exceptions_global.
58688         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58689         and global __sim_round_mode_global.
58690         (__simulate_exceptions): Use thread-local floating-point state and
58691         set global state from it as needed.
58692         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58693         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58694         __sim_round_mode_thread.
58695         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58696         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58697         and global __sim_exceptions_global.
58698         (__sim_disabled_exceptions): Change to thread-local
58699         __sim_disabled_exceptions_thread and global
58700         __sim_disabled_exceptions_global.
58701         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58702         and global __sim_round_mode_global.
58703         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58704         (SIM_SET_GLOBAL): Likewise.
58705         * sysdeps/powerpc/soft-fp/sfp-machine.h
58706         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58707         __sim_round_mode_thread.
58708         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58709         __sim_disabled_exceptions_thread.
58710         (__sim_exceptions): Change to __sim_exceptions_thread.
58711         (__sim_disabled_exceptions): Change to
58712         __sim_disabled_exceptions_thread.
58713         (__sim_round_mode): Change to __sim_round_mode_thread.
58714         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58715         thread-local floating-point state and set global state from it as
58716         needed.
58717         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58718         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58719         (__sim_disabled_exceptions): Remove extern declaration.
58720         (feenableexcept): Use thread-local floating-point state and set
58721         global state from it as needed.
58722         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58723         extern declaration.
58724         (__sim_disabled_exceptions): Likewise.
58725         (__sim_round_mode): Likewise.
58726         (__fegetenv): Use thread-local floating-point state.
58727         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58728         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58729         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58730         floating-point state and set global state from it as needed.
58731         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58732         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58733         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58734         Likewise.
58735         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58736         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58737         Likewise.
58738         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58739         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58740         Use __sim_round_mode_thread.
58741         * math/test-fenv-tls.c: New file.
58742         * math/Makefile (tests): Add test-fenv-tls.
58743         ($(objpfx)test-fenv-tls): Depend on
58744         $(common-objpfx)nptl/libpthread.so.
58746 2013-11-19  Andreas Schwab  <schwab@suse.de>
58748         * locale/programs/locale.c (show_info): Decode wordarray elements.
58749         * locale/categories.def (LC_MONETARY): Add element for
58750         _NL_MONETARY_CRNCYSTR.
58751         * locale/C-monetary.c (conversion_rate): New variable.
58752         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58753         element.
58755 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
58757         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58758         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58760 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58762         * elf/Makefile (tst-auxv): New test.
58763         * elf/tst-auxv.c: New
58764         * elf/rtld.c (dl_main): Adjust AT_EXECFN
58766 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
58768         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58769         (hidden_proto): Caller changed.
58770         (hidden_tls_proto): New macro.
58771         (libc_hidden_tls_proto): Likewise.
58772         (rtld_hidden_tls_proto): Likewise.
58773         (libm_hidden_tls_proto): Likewise.
58774         (libresolv_hidden_tls_proto): Likewise.
58775         (librt_hidden_tls_proto): Likewise.
58776         (libdl_hidden_tls_proto): Likewise.
58777         (libnss_files_hidden_tls_proto): Likewise.
58778         (libnsl_hidden_tls_proto): Likewise.
58779         (libnss_nisplus_hidden_tls_proto): Likewise.
58780         (libutil_hidden_tls_proto): Likewise.
58782 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
58784         [BZ #10253]
58785         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58786         (decompose_rpath): Defer expansion to fillin_rpath.
58787         (_dl_init_paths): Pass linkmap to fillin_rpath.
58789 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58791         * benchtests/Makefile: Add strsep.
58792         * benchtests/bench-strsep.c: New file: strsep benchtest.
58793         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58795 2013-11-18  Andreas Schwab  <schwab@suse.de>
58797         * locale/programs/locale.c (show_info) [case byte]: Check for
58798         '\377' instead of '\177'.
58799         * locale/C-monetary.c (not_available): Always use "\377".
58800         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58801         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
58802         detect unavailable sign_posn locale elements.
58803         * locale/localeconv.c (__localeconv): For grouping and
58804         mon_grouping handle "\177" and "\377" like no grouping.
58805         (INT_ELEM): New macro.  Use it to set all numeric members.
58806         * locale/programs/ld-monetary.c (monetary_read)
58807         <tok_mon_grouping>: Normalize single -1 to the empty string.
58808         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58809         Likewise.
58811 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58813         [BZ #16055]
58814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58815         when we match (nil).
58816         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58818 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58820         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58821         (NO_TEST_INLINE): Update value.
58822         (ERRNO_UNCHANGED): Likewise.
58823         (ERRNO_EDOM): Likewise.
58824         (ERRNO_ERANGE): Likewise.
58825         (IGNORE_RESULT): Likewise.
58826         (check_float_internal): Check signs of NaN results if
58827         TEST_NAN_SIGN used.
58828         (check_complex): Pass TEST_NAN_SIGN flag through to second
58829         check_float_internal call.
58830         (copysign_test_data): Add tests with quiet NaNs as second
58831         argument.  Use TEST_NAN_SIGN.
58832         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58833         TEST_NAN_SIGN.
58834         (signbit_test_data): Add tests of quiet NaN argument.
58835         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58837         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58838         $ignore_result.
58839         (parse_args): Handle function results specified as IGNORE.
58840         * math/libm-test.inc (IGNORE_RESULT): New macro.
58841         (check_float_internal): Do not check numerical result if flag
58842         IGNORE_RESULT set.
58843         (check_complex): Pass through IGNORE_RESULT to second
58844         check_float_internal call.
58845         (check_int): Do not check numerical result if flag IGNORE_RESULT
58846         set.
58847         (check_long): Likewise.
58848         (check_bool): Likewise.
58849         (check_longlong): Likewise.
58850         (lrint_test_data): Add tests of infinite and NaN arguments.
58851         (lrint_tonearest_test_data): Likewise.
58852         (lrint_towardzero_test_data): Likewise.
58853         (lrint_downward_test_data): Likewise.
58854         (lrint_upward_test_data): Likewise.
58855         (llrint_test_data): Likewise.
58856         (llrint_tonearest_test_data): Likewise.
58857         (llrint_towardzero_test_data): Likewise.
58858         (llrint_downward_test_data): Likewise.
58859         (llrint_upward_test_data): Likewise.
58860         (lround_test_data): Likewise.
58861         (llround_test_data): Likewise.
58863         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58864         (ERRNO_UNCHANGED): Update value.
58865         (ERRNO_EDOM): Likewise.
58866         (ERRNO_ERANGE): Likewise.
58867         (NO_TEST_INLINE_FLOAT): New macro.
58868         (NO_TEST_INLINE_DOUBLE): Likewise.
58869         (enable_test): New function.
58870         (RUN_TEST_f_f): Check enable_test before running test.
58871         (RUN_TEST_2_f): Likewise.
58872         (RUN_TEST_fff_f): Likewise.
58873         (RUN_TEST_c_f): Likewise.
58874         (RUN_TEST_f_f1): Likewise.
58875         (RUN_TEST_fF_f1): Likewise.
58876         (RUN_TEST_fI_f1): Likewise.
58877         (RUN_TEST_ffI_f1): Likewise.
58878         (RUN_TEST_c_c): Likewise.
58879         (RUN_TEST_cc_c): Likewise.
58880         (RUN_TEST_f_i): Likewise.
58881         (RUN_TEST_f_i_tg): Likewise.
58882         (RUN_TEST_ff_i_tg): Likewise.
58883         (RUN_TEST_f_b): Likewise.
58884         (RUN_TEST_f_b_tg): Likewise.
58885         (RUN_TEST_f_l): Likewise.
58886         (RUN_TEST_f_L): Likewise.
58887         (RUN_TEST_fFF_11): Likewise.
58888         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58889         conditionals.
58890         (cosh_test_data): Likewise.
58891         (exp_test_data): Likewise.
58892         (expm1_test_data): Likewise.
58893         (hypot_test_data): Likewise.
58894         (pow_test_data): Likewise.
58895         (sinh_test_data): Likewise.
58896         (tanh_test_data): Likewise.
58897         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58898         flags argument.
58900         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58901         tests with quiet NaN input and output.
58902         (acosh_test_data): Likewise.
58903         (asin_test_data): Likewise.
58904         (asinh_test_data): Likewise.
58905         (atan_test_data): Likewise.
58906         (atanh_test_data): Likewise.
58907         (atan2_test_data): Likewise.
58908         (cbrt_test_data): Likewise.
58909         (cos_test_data): Likewise.
58910         (cosh_test_data): Likewise.
58911         (erf_test_data): Likewise.
58912         (erfc_test_data): Likewise.
58913         (exp_test_data): Likewise.
58914         (exp10_test_data): Likewise.
58915         (exp2_test_data): Likewise.
58916         (expm1_test_data): Likewise.
58917         (hypot_test_data): Likewise.
58918         (j0_test_data): Likewise.
58919         (j1_test_data): Likewise.
58920         (jn_test_data): Likewise.
58921         (lgamma_test_data): Likewise.
58922         (log_test_data): Likewise.
58923         (log10_test_data): Likewise.
58924         (log1p_test_data): Likewise.
58925         (log2_test_data): Likewise.
58926         (pow_test_data): Likewise.
58927         (scalb_test_data): Likewise.
58928         (sin_test_data): Likewise.
58929         (sincos_test_data): Likewise.
58930         (sinh_test_data): Likewise.
58931         (tan_test_data): Likewise.
58932         (tanh_test_data): Likewise.
58933         (tgamma_test_data): Likewise.
58934         (y0_test_data): Likewise.
58935         (y1_test_data): Likewise.
58936         (yn_test_data): Likewise.
58938         [BZ #16167]
58939         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58940         argument being NaN and avoid computations with second argument in
58941         that case.
58942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58944         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58946 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58948         * locale/iso-639.def: Add Chitwani Tharu (the).
58950 2013-11-14  Andreas Schwab  <schwab@suse.de>
58952         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58953         word instead of empty string.
58955 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58958         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58960         (__fe_nomask_env): Likewise.
58962 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58964         * benchtests/bench-timing.h: Include time.h.
58966 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58968         [BZ #15997]
58969         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58970         to 3.4.0 for x32.
58971         * sysdeps/unix/sysv/linux/configure: Regenerated.
58973 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58975         [BZ #16151]
58976         * stdlib/strtod_l.c (round_and_return): Do not consider
58977         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58978         exponent one less than half the least subnormal exponent.
58979         * stdlib/test-strtod-round-data: Add more tests.
58980         * stdlib/tst-strtod-round.c (tests): Regenerated.
58982 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58984         [BZ #14143]
58985         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58986         (__fe_mask_env): Likewise.
58987         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58988         libm_hidden_proto and add function prototype.
58989         (__fe_mask_env): Add function prototype.
58990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58991         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58993         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58995         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58997 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58999         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59000         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59002 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59004         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59005         of htab_find_slot().
59007 2013-11-11  David S. Miller  <davem@davemloft.net>
59009         [BZ #16150]
59010         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59011         symbol in the non-vis3 case in static builds.
59012         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59014         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59017 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59019         [BZ #387]
59020         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59021         it is empty.
59023 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59025         * benchtests/Makefile: Add bench-strtod.
59026         * benchtests/bench-strtod.c: New file: strtod benchtest
59028 2013-11-11  Andreas Schwab  <schwab@suse.de>
59030         [BZ #16153]
59031         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59032         terminating NUL in key length.
59034 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59037         Add artificial ODP entry for vDSO symbol for PPC64.
59038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59039         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59041 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59043         [BZ #15374]
59044         * nss/getent.c (services_keys): Recognize services starting with digit.
59046 2013-11-06  David S. Miller  <davem@davemloft.net>
59048         [BZ #15985]
59049         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59050         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59052 2013-11-06  Will Newton  <will.newton@linaro.org>
59054         * manual/memory.texi (Malloc Examples): Remove register
59055         keyword from examples.
59057 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
59059         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59061 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
59063         [BZ #6981]
59064         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59065         depending on [__GCC_IEC_559 > 0].
59066         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59067         depending on [__GCC_IEC_559_COMPLEX > 0].
59069 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
59071         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59072         to iso-639.def.
59074 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
59076         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59078 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
59080         [BZ #16112]
59081         * malloc/malloc (malloc_info): Do not handle first bin as
59082         special case.
59084 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
59086         * locale/iso-639.def: Add Central Nahuatl (nhn).
59088 2013-11-01  Bruno Haible  <bruno@clisp.org>
59090         [BZ #7003]
59091         * manual/math.texi (BSD Random): Specify range upper bound as
59092         in POSIX.
59094 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
59096         * locale/iso-639.def: Add Meadow Mari (mhr).
59098 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
59100         [BZ #14752], [BZ #15763]
59101         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59102         Validate name.
59103         * rt/tst_shm.c: Add test for escaping directory.
59105 2013-10-31  Andreas Schwab  <schwab@suse.de>
59107         [BZ #15917]
59108         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59109         followed by 'x' as part of digit sequence.
59110         * stdio-common/tst-sscanf.c (double_tests2): New tests.
59112 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59114         [BZ #16037]
59115         * configure.ac: allow GNU Make 4.0 and greater.
59116         * configure: Regenerated.
59118 2013-10-30  Will Newton  <will.newton@linaro.org>
59120         [BZ #16038]
59121         * malloc/hooks.c (memalign_check): Limit alignment to the
59122         maximum representable power of two.
59123         * malloc/malloc.c (__libc_memalign): Likewise.
59124         * malloc/tst-memalign.c (do_test): Add test for very
59125         large alignment values.
59126         * malloc/tst-posix_memalign.c (do_test): Likewise.
59128 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59130         [BZ #11087]
59131         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59132         (munmap_chunk): Likewise.
59133         (mremap_chunk): Likewise.
59135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59137         [BZ #15799]
59138         * stdlib/div.c (div): Remove obsolete code.
59139         * stdlib/ldiv.c (ldiv): Likewise.
59140         * stdlib/lldiv.c (lldiv): Likewise.
59142 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59144         [BZ #16071]
59145         * nss/nss_files/files-XXX.c (get_contents_ret): New
59146         enumerator.
59147         (get_contents): New function.
59148         (internal_getent): Use it.  Expand size of LINEBUFLEN.
59150 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
59152         * configure.in: Moved to ...
59153         * configure.ac: ... here. Change reference to configure.in
59154         to configure.ac.
59155         * sysdeps/arm/preconfigure.ac: ... here.
59156         configure.in to configure.ac.
59157         * sysdeps/gnu/configure.in: Moved to ...
59158         * sysdeps/gnu/configure.ac: ... here.
59159         * sysdeps/i386/configure.in: Moved to ...
59160         * sysdeps/i386/configure.ac: ... here.
59161         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59162         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59163         * sysdeps/mach/configure.in: Moved to ...
59164         * sysdeps/mach/configure.ac: ... here.
59165         * sysdeps/mach/hurd/configure.in: Moved to ...
59166         * sysdeps/mach/hurd/configure.ac: ... here.
59167         * sysdeps/powerpc/configure.in: Moved to ...
59168         * sysdeps/powerpc/configure.ac: ... here.
59169         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59170         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59171         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59172         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59173         * sysdeps/s390/s390-32/configure.in: Moved to ...
59174         * sysdeps/s390/s390-32/configure.ac: ... here.
59175         * sysdeps/s390/s390-64/configure.in: Moved to ...
59176         * sysdeps/s390/s390-64/configure.ac: ... here.
59177         * sysdeps/sh/configure.in: Moved to ...
59178         * sysdeps/sh/configure.ac: ... here.
59179         * sysdeps/sparc/configure.in: Moved to ...
59180         * sysdeps/sparc/configure.ac: ... here.
59181         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59182         * sysdeps/unix/sysv/linux/configure.ac: ... here.
59183         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59184         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59185         * sysdeps/x86_64/configure.in: Moved to ...
59186         * sysdeps/x86_64/configure.ac: ... here.
59187         * sysdeps/x86_64/preconfigure.in: Moved to ...
59188         * sysdeps/x86_64/preconfigure.ac: ... here.
59189         * aclocal.m4: Change reference to configure.in to configure.ac.
59190         * config.h.in: Likewise.
59191         * manual/install.texi: Likewise.
59192         * manual/maint.texi: Likewise.
59193         * Makefile: Likewise.
59194         * malloc/Makefile: Likewise.
59195         * nscd/Makefile: Likewise.
59196         * Makeconfig: Change reference to configure.in and
59197         preconfigure.in to configure.ac and preconfigure.ac
59198         respectively.
59199         * INSTALL: Regenerated.
59200         * configure: Likewise.
59201         * sysdeps/gnu/configure: Likewise.
59202         * sysdeps/i386/configure: Likewise.
59203         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59204         * sysdeps/mach/configure: Likewise.
59205         * sysdeps/mach/hurd/configure: Likewise.
59206         * sysdeps/powerpc/configure: Likewise.
59207         * sysdeps/powerpc/powerpc32/configure: Likewise.
59208         * sysdeps/powerpc/powerpc64/configure: Likewise.
59209         * sysdeps/s390/s390-32/configure: Likewise.
59210         * sysdeps/s390/s390-64/configure: Likewise.
59211         * sysdeps/sh/configure: Likewise.
59212         * sysdeps/sparc/configure: Likewise.
59213         * sysdeps/unix/sysv/linux/configure: Likewise.
59214         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59215         * sysdeps/x86_64/configure: Likewise.
59216         * sysdeps/x86_64/preconfigure: Likewise.
59218 2013-10-29  Andreas Schwab  <schwab@suse.de>
59220         * stdio-common/Makefile (tst-swscanf-ENV): Define.
59222 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59224         * benchtests/pow-inputs: Add new inputs.
59226         * benchtests/exp-inputs: Add new inputs.
59228         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59229         conditional check for return value.
59230         (__cos32): Likewise.
59232 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59234         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59235         to provide a boost for large inputs with word alignment.
59236         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59237         implementation based on optimized PPC64 strcpy.
59238         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59239         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59240         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59241         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59243 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59245         [BZ #2801]
59246         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59248 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59250         [BZ #14876]
59251         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59252         * time/tst-strptime.c (day_tests): Add testcase.
59254 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59256         [BZ #14029]
59257         * manual/pattern.texi: Acknowledge that fnmatch can fail.
59259 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
59261         [BZ #16074]
59262         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
59263         MAP_FAILED on error.
59265 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59267         [BZ #16072]
59268         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
59269         heap for large requests.
59271 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
59273         [BZ #9954]
59274         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59275         result if the result has no associated interface.
59276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59277         interface for all 127.X.Y.Z addresses.
59279 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
59281         * locale/iso-639.def: Add Ligurian (lij)
59283 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
59285         [BZ #15825]
59286         * sunrpc/rpc_main.c: Document rpcgen -5.
59288 2013-10-19  Michael Stahl  <mstahl@redhat.com>
59290         * elf/rtld.c (do_preload): Print the reason why preloading failed.
59292 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59294         [BZ #10278]
59295         * posix/glob.c: Match only directories when trailing slash is present.
59296         * posix/tst-gnuglob.c (my_opendir): Do not open files.
59297         (main): Add testcase.
59299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59301         [BZ #15670]
59302         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59304 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
59306         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59307         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59308         AUTH_DES and cindex for FIPS 140-2.
59309         (DES Encryption): Add cindex FIPS 46-3.
59311         * locale/locarchive.h (struct locarhandle): Add fname.
59312         * locale/programs/localedef.c (main): Pass ARGV[remaining]
59313         if an optional argument was specified to --list-archive,
59314         otherwise NULL.
59315         * locale/programs/locarchive.c (show_archive_content): Take new
59316         argument fname and pass it via ah.fname to open_archive.
59317         * locale/programs/localedef.h: Update decl.
59318         (open_archive): If AH->fname is non-null, open that file
59319         rather than the default file name, and don't ignore ENOENT.
59320         (create_archive): Set AH.fname to NULL.
59321         (delete_locales_from_archive): Likewise.
59322         (add_locales_to_archive): Likewise.
59323         * locale/programs/locfile.c (write_all_categories): Likewise.
59325 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
59326             Aldy Hernandez  <aldyh@redhat.com>
59328         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59329         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59330         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59331         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59332         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59339         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59340         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59343         Likewise.
59344         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59345         Likewise.
59346         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59347         Likewise.
59348         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59349         Likewise.
59350         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59351         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59352         Likewise.
59353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59354         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59355         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59356         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59357         Likewise.
59358         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59359         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59360         * sysdeps/powerpc/preconfigure: Likewise.
59361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59362         Likewise.
59363         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59364         Replace contents of file by #include of <fenv_libc.h>.
59365         * sysdeps/powerpc/soft-fp/sfp-machine.h
59366         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59367         and <sys/prctl.h>.
59368         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59381         Allow copysignl PLT reference to be missing.
59383 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
59384             Joseph Myers  <joseph@codesourcery.com
59386         [BZ #15948]
59387         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59388         single character.
59389         (add_to_tablewc): Assert sequence of wide characters is nonempty.
59391 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59393         * elf/tst-tls-dlinfo.c: Don't include tls.h.
59394         * elf/tst-tls1.c: Likewise.
59395         * elf/tst-tls10.h: Likewise.
59396         * elf/tst-tls14.c: Likewise.
59397         * elf/tst-tls2.c: Likewise.
59398         * elf/tst-tls3.c: Likewise.
59399         * elf/tst-tls4.c: Likewise.
59400         * elf/tst-tls5.c: Likewise.
59401         * elf/tst-tls6.c: Likewise.
59402         * elf/tst-tls7.c: Likewise.
59403         * elf/tst-tls8.c: Likewise.
59404         * elf/tst-tls9.c: Likewise.
59405         * elf/tst-tlsmod1.c: Likewise.
59406         * elf/tst-tlsmod13.c: Likewise.
59407         * elf/tst-tlsmod13a.c: Likewise.
59408         * elf/tst-tlsmod14a.c: Likewise.
59409         * elf/tst-tlsmod16a.c: Likewise.
59410         * elf/tst-tlsmod16b.c: Likewise.
59411         * elf/tst-tlsmod2.c: Likewise.
59412         * elf/tst-tlsmod3.c: Likewise.
59413         * elf/tst-tlsmod4.c: Likewise.
59414         * elf/tst-tlsmod5.c: Likewise.
59415         * elf/tst-tlsmod6.c: Likewise.
59417 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
59419         [BZ #12486]
59420         * malloc/malloc.c: remove checks for statistics.
59422 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59424         [BZ #15277]
59425         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59426         * inet/tst-network.c: Add testcase.
59428 2013-10-17  Andreas Schwab  <schwab@suse.de>
59430         [BZ #15218]
59431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59432         to determine canonical name.
59434 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59436         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59437         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59441         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59442         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59443         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59444         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59445         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59446         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59453         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59455         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59459         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59460         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59461         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59462         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59463         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59464         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59465         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59468         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59485         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59486         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59487         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59489         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59491         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59495 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59497         [BZ #16041]
59498         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59499         make result into a quiet NaN.
59501 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59503         * soft-fp/adddf3.c: Fix horizontal whitespace.
59504         * soft-fp/addsf3.c: Likewise.
59505         * soft-fp/addtf3.c: Likewise.
59506         * soft-fp/divdf3.c: Likewise.
59507         * soft-fp/divsf3.c: Likewise.
59508         * soft-fp/divtf3.c: Likewise.
59509         * soft-fp/double.h: Likewise.
59510         * soft-fp/eqdf2.c: Likewise.
59511         * soft-fp/eqsf2.c: Likewise.
59512         * soft-fp/eqtf2.c: Likewise.
59513         * soft-fp/extenddftf2.c: Likewise.
59514         * soft-fp/extended.h: Likewise.
59515         * soft-fp/extendsfdf2.c: Likewise.
59516         * soft-fp/extendsftf2.c: Likewise.
59517         * soft-fp/extendxftf2.c: Likewise.
59518         * soft-fp/fixdfdi.c: Likewise.
59519         * soft-fp/fixdfsi.c: Likewise.
59520         * soft-fp/fixdfti.c: Likewise.
59521         * soft-fp/fixsfdi.c: Likewise.
59522         * soft-fp/fixsfsi.c: Likewise.
59523         * soft-fp/fixsfti.c: Likewise.
59524         * soft-fp/fixtfdi.c: Likewise.
59525         * soft-fp/fixtfsi.c: Likewise.
59526         * soft-fp/fixtfti.c: Likewise.
59527         * soft-fp/fixunsdfdi.c: Likewise.
59528         * soft-fp/fixunsdfsi.c: Likewise.
59529         * soft-fp/fixunsdfti.c: Likewise.
59530         * soft-fp/fixunssfdi.c: Likewise.
59531         * soft-fp/fixunssfsi.c: Likewise.
59532         * soft-fp/fixunssfti.c: Likewise.
59533         * soft-fp/fixunstfdi.c: Likewise.
59534         * soft-fp/fixunstfsi.c: Likewise.
59535         * soft-fp/fixunstfti.c: Likewise.
59536         * soft-fp/floatdidf.c: Likewise.
59537         * soft-fp/floatdisf.c: Likewise.
59538         * soft-fp/floatditf.c: Likewise.
59539         * soft-fp/floatsidf.c: Likewise.
59540         * soft-fp/floatsisf.c: Likewise.
59541         * soft-fp/floatsitf.c: Likewise.
59542         * soft-fp/floattidf.c: Likewise.
59543         * soft-fp/floattisf.c: Likewise.
59544         * soft-fp/floattitf.c: Likewise.
59545         * soft-fp/floatundidf.c: Likewise.
59546         * soft-fp/floatundisf.c: Likewise.
59547         * soft-fp/floatunditf.c: Likewise.
59548         * soft-fp/floatunsidf.c: Likewise.
59549         * soft-fp/floatunsisf.c: Likewise.
59550         * soft-fp/floatunsitf.c: Likewise.
59551         * soft-fp/floatuntidf.c: Likewise.
59552         * soft-fp/floatuntisf.c: Likewise.
59553         * soft-fp/floatuntitf.c: Likewise.
59554         * soft-fp/fmadf4.c: Likewise.
59555         * soft-fp/fmasf4.c: Likewise.
59556         * soft-fp/fmatf4.c: Likewise.
59557         * soft-fp/gedf2.c: Likewise.
59558         * soft-fp/gesf2.c: Likewise.
59559         * soft-fp/getf2.c: Likewise.
59560         * soft-fp/ledf2.c: Likewise.
59561         * soft-fp/lesf2.c: Likewise.
59562         * soft-fp/letf2.c: Likewise.
59563         * soft-fp/muldf3.c: Likewise.
59564         * soft-fp/mulsf3.c: Likewise.
59565         * soft-fp/multf3.c: Likewise.
59566         * soft-fp/negdf2.c: Likewise.
59567         * soft-fp/negsf2.c: Likewise.
59568         * soft-fp/negtf2.c: Likewise.
59569         * soft-fp/op-1.h: Likewise.
59570         * soft-fp/op-2.h: Likewise.
59571         * soft-fp/op-4.h: Likewise.
59572         * soft-fp/op-8.h: Likewise.
59573         * soft-fp/op-common.h: Likewise.
59574         * soft-fp/quad.h: Likewise.
59575         * soft-fp/single.h: Likewise.
59576         * soft-fp/soft-fp.h: Likewise.
59577         * soft-fp/sqrtdf2.c: Likewise.
59578         * soft-fp/sqrtsf2.c: Likewise.
59579         * soft-fp/sqrttf2.c: Likewise.
59580         * soft-fp/subdf3.c: Likewise.
59581         * soft-fp/subsf3.c: Likewise.
59582         * soft-fp/subtf3.c: Likewise.
59583         * soft-fp/truncdfsf2.c: Likewise.
59584         * soft-fp/trunctfdf2.c: Likewise.
59585         * soft-fp/trunctfsf2.c: Likewise.
59586         * soft-fp/trunctfxf2.c: Likewise.
59587         * soft-fp/unorddf2.c: Likewise.
59588         * soft-fp/unordsf2.c: Likewise.
59589         * soft-fp/unordtf2.c: Likewise.
59591 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59593         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59594         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59596 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59598         * elf/dl-libc.c: Clear initfini list after freeing.
59600 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59602         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59603         * soft-fp/addsf3.c: Likewise.
59604         * soft-fp/addtf3.c: Likewise.
59605         * soft-fp/divdf3.c: Likewise.
59606         * soft-fp/divsf3.c: Likewise.
59607         * soft-fp/divtf3.c: Likewise.
59608         * soft-fp/double.h: Likewise.
59609         * soft-fp/eqdf2.c: Likewise.
59610         * soft-fp/eqsf2.c: Likewise.
59611         * soft-fp/eqtf2.c: Likewise.
59612         * soft-fp/extenddftf2.c: Likewise.
59613         * soft-fp/extended.h: Likewise.
59614         * soft-fp/extendsfdf2.c: Likewise.
59615         * soft-fp/extendsftf2.c: Likewise.
59616         * soft-fp/extendxftf2.c: Likewise.
59617         * soft-fp/fixdfdi.c: Likewise.
59618         * soft-fp/fixdfsi.c: Likewise.
59619         * soft-fp/fixdfti.c: Likewise.
59620         * soft-fp/fixsfdi.c: Likewise.
59621         * soft-fp/fixsfsi.c: Likewise.
59622         * soft-fp/fixsfti.c: Likewise.
59623         * soft-fp/fixtfdi.c: Likewise.
59624         * soft-fp/fixtfsi.c: Likewise.
59625         * soft-fp/fixtfti.c: Likewise.
59626         * soft-fp/fixunsdfdi.c: Likewise.
59627         * soft-fp/fixunsdfsi.c: Likewise.
59628         * soft-fp/fixunsdfti.c: Likewise.
59629         * soft-fp/fixunssfdi.c: Likewise.
59630         * soft-fp/fixunssfsi.c: Likewise.
59631         * soft-fp/fixunssfti.c: Likewise.
59632         * soft-fp/fixunstfdi.c: Likewise.
59633         * soft-fp/fixunstfsi.c: Likewise.
59634         * soft-fp/fixunstfti.c: Likewise.
59635         * soft-fp/floatdidf.c: Likewise.
59636         * soft-fp/floatdisf.c: Likewise.
59637         * soft-fp/floatditf.c: Likewise.
59638         * soft-fp/floatsidf.c: Likewise.
59639         * soft-fp/floatsisf.c: Likewise.
59640         * soft-fp/floatsitf.c: Likewise.
59641         * soft-fp/floattidf.c: Likewise.
59642         * soft-fp/floattisf.c: Likewise.
59643         * soft-fp/floattitf.c: Likewise.
59644         * soft-fp/floatundidf.c: Likewise.
59645         * soft-fp/floatundisf.c: Likewise.
59646         * soft-fp/floatunsidf.c: Likewise.
59647         * soft-fp/floatunsisf.c: Likewise.
59648         * soft-fp/floatuntidf.c: Likewise.
59649         * soft-fp/floatuntisf.c: Likewise.
59650         * soft-fp/floatuntitf.c: Likewise.
59651         * soft-fp/fmadf4.c: Likewise.
59652         * soft-fp/fmasf4.c: Likewise.
59653         * soft-fp/fmatf4.c: Likewise.
59654         * soft-fp/gedf2.c: Likewise.
59655         * soft-fp/gesf2.c: Likewise.
59656         * soft-fp/getf2.c: Likewise.
59657         * soft-fp/ledf2.c: Likewise.
59658         * soft-fp/lesf2.c: Likewise.
59659         * soft-fp/letf2.c: Likewise.
59660         * soft-fp/muldf3.c: Likewise.
59661         * soft-fp/mulsf3.c: Likewise.
59662         * soft-fp/multf3.c: Likewise.
59663         * soft-fp/negdf2.c: Likewise.
59664         * soft-fp/negsf2.c: Likewise.
59665         * soft-fp/negtf2.c: Likewise.
59666         * soft-fp/op-1.h: Likewise.
59667         * soft-fp/op-2.h: Likewise.
59668         * soft-fp/op-4.h: Likewise.
59669         * soft-fp/op-8.h: Likewise.
59670         * soft-fp/op-common.h: Likewise.
59671         * soft-fp/quad.h: Likewise.
59672         * soft-fp/single.h: Likewise.
59673         * soft-fp/soft-fp.h: Likewise.
59674         * soft-fp/sqrtdf2.c: Likewise.
59675         * soft-fp/sqrtsf2.c: Likewise.
59676         * soft-fp/sqrttf2.c: Likewise.
59677         * soft-fp/subdf3.c: Likewise.
59678         * soft-fp/subsf3.c: Likewise.
59679         * soft-fp/subtf3.c: Likewise.
59680         * soft-fp/truncdfsf2.c: Likewise.
59681         * soft-fp/trunctfdf2.c: Likewise.
59682         * soft-fp/trunctfsf2.c: Likewise.
59683         * soft-fp/trunctfxf2.c: Likewise.
59684         * soft-fp/unorddf2.c: Likewise.
59685         * soft-fp/unordsf2.c: Likewise.
59686         * soft-fp/unordtf2.c: Likewise.
59688 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
59690         [BZ #15672]
59691         * misc/error.c (error_tail): Fix possible buffer overflow.
59693 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
59695         [BZ #13028]
59696         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59697         address.
59699 2013-10-14  P. J. McDermott  <pj@pehjota.net>
59701         [BZ #832]
59702         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
59703         testing pipefail option.
59705 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59707         * soft-fp/double.h: Indent preprocessor directives inside #if.
59708         * soft-fp/extended.h: Likewise.
59709         * soft-fp/op-2.h: Likewise.
59710         * soft-fp/op-4.h: Likewise.
59711         * soft-fp/op-common.h: Likewise.
59712         * soft-fp/quad.h: Likewise.
59713         * soft-fp/single.h: Likewise.
59714         * soft-fp/soft-fp.h: Likewise.
59716 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
59718         * iconv/iconv_prog.c: Fix typos.
59719         * stdio-common/psiginfo-data.h: Likewise.
59721 2013-10-12   Reuben Thomas <rrt@sc3d.org>
59723         [BZ #15764]
59724         * locale/setlocale.c: Fix typo.
59726 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59728         [BZ #16036]
59729         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59730         signaling NaN arguments.
59731         * soft-fp/unordsf2.c (__unordsf2): Likewise.
59732         * soft-fp/unordtf2.c (__unordtf2): Likewise.
59734         [BZ #14910]
59735         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59736         unordered operands.
59737         * soft-fp/gesf2.c (__gesf2): Likewise.
59738         * soft-fp/getf2.c (__getf2): Likewise.
59739         * soft-fp/ledf2.c (__ledf2): Likewise.
59740         * soft-fp/lesf2.c (__lesf2): Likewise.
59741         * soft-fp/letf2.c (__letf2): Likewise.
59743         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59744         * soft-fp/eqsf2.c (__eqsf2): Likewise.
59745         * soft-fp/eqtf2.c (__eqtf2): Likewise.
59746         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59747         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59748         * soft-fp/fixdfti.c (__fixdfti): Likewise.
59749         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59750         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59751         * soft-fp/fixsfti.c (__fixsfti): Likewise.
59752         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59753         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59754         * soft-fp/fixtfti.c (__fixtfti): Likewise.
59755         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59756         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59757         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59758         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59759         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59760         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59761         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59762         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59763         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59764         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59765         * soft-fp/floatdisf.c (__floatdisf): Likewise.
59766         * soft-fp/floatsisf.c (__floatsisf): Likewise.
59767         * soft-fp/floattidf.c (__floattidf): Likewise.
59768         * soft-fp/floattisf.c (__floattisf): Likewise.
59769         * soft-fp/floattitf.c (__floattitf): Likewise.
59770         * soft-fp/floatundidf.c (__floatundidf): Likewise.
59771         * soft-fp/floatundisf.c (__floatundisf): Likewise.
59772         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59773         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59774         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59775         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59776         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59777         * soft-fp/gesf2.c (__gesf2): Likewise.
59778         * soft-fp/getf2.c (__getf2): Likewise.
59779         * soft-fp/ledf2.c (__ledf2): Likewise.
59780         * soft-fp/lesf2.c (__lesf2): Likewise.
59781         * soft-fp/letf2.c (__letf2): Likewise.
59783         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59784         Undefine and redefine.
59785         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59786         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59787         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59788         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59789         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59790         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59791         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59792         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59793         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59794         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59795         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59796         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59797         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59798         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59799         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59801         [BZ #16032]
59802         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59803         without decrementing exponent if mantissa >= that for the
59804         denominator, not >.
59805         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59806         denominator, not >.  Decrement exponent in < case instead of
59807         incrementing in >= case.
59808         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59809         without decrementing exponent if mantissa >= that for the
59810         denominator, not >.
59812         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59813         computing saturated result for unsigned overflow.
59815 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59816             Jeff Law  <law@redhat.com>
59818         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59819         (atan2Mp): Add systemtap probe marker.
59820         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59821         (__ieee754_log): Add systemtap probe marker.
59822         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59823         (atanMp): Add systemtap probe marker.
59824         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59825         (tanMp): Add systemtap probe marker.
59826         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59827         (__slowexp): Add systemtap probe marker.
59828         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59829         (__slowpow): Add systemtap probe marker.
59830         * manual/probes.texi: Document probes.
59832 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59834         [BZ #15362]
59835         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59836         written.
59837         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59838         written.
59839         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59840         written to buffer but not flushed.
59841         * libio/iofwrite_u.c:  Likewise.
59842         * libio/iopadn.c:  Return bytes returned even if EOF was
59843         encountered.
59844         * libio/iowpadn.c:  Likewise.
59845         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59846         if _IO_padn does not write the whole buffer.
59847         [!COMPILE_WPRINTF] (PAD): Likewise.
59849 2013-10-10  David S. Miller  <davem@davemloft.net>
59851         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59852         directory block.
59854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59856         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59857         instead of FSF address.
59858         * soft-fp/fixdfti.c: Likewise.
59859         * soft-fp/fixsfti.c: Likewise.
59860         * soft-fp/fixtfti.c: Likewise.
59861         * soft-fp/fixunsdfti.c: Likewise.
59862         * soft-fp/fixunssfti.c: Likewise.
59863         * soft-fp/fixunstfti.c: Likewise.
59864         * soft-fp/floattidf.c: Likewise.
59865         * soft-fp/floattisf.c: Likewise.
59866         * soft-fp/floattitf.c: Likewise.
59867         * soft-fp/floatuntidf.c: Likewise.
59868         * soft-fp/floatuntisf.c: Likewise.
59869         * soft-fp/floatuntitf.c: Likewise.
59870         * soft-fp/trunctfxf2.c: Likewise.
59872         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59873         * soft-fp/fixdfti.c: Likewise.
59874         * soft-fp/fixsfti.c: Likewise.
59875         * soft-fp/fixtfti.c: Likewise.
59876         * soft-fp/fixunsdfti.c: Likewise.
59877         * soft-fp/fixunssfti.c: Likewise.
59878         * soft-fp/fixunstfti.c: Likewise.
59879         * soft-fp/floattidf.c: Likewise.
59880         * soft-fp/floattisf.c: Likewise.
59881         * soft-fp/floattitf.c: Likewise.
59882         * soft-fp/floatuntidf.c: Likewise.
59883         * soft-fp/floatuntisf.c: Likewise.
59884         * soft-fp/floatuntitf.c: Likewise.
59885         * soft-fp/trunctfxf2.c: Likewise.
59887 2013-10-10  David S. Miller  <davem@davemloft.net>
59889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59891 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59893         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59894         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59895         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59896         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59897         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59898         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59899         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59902         for NaNs before doing comparisons on argument.
59903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59904         Likewise.
59906 2013-10-10  Will Newton  <will.newton@linaro.org>
59908         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59909         passed to _int_memalign does not overflow.
59911 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59913         * scripts/bench.pl: Add include-sources directive.
59914         * benchtests/README: Update documentation.
59916 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59918         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59919         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59920         instead of FP_INIT_ROUNDMODE.
59921         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59922         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59924         [BZ #16034]
59925         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59926         copy class of input value.
59927         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59928         not handle exceptions.
59929         * soft-fp/negsf2.c (__negsf2): Likewise.
59930         * soft-fp/negtf2.c (__negtf2): Likewise.
59931         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59933 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59935         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59936         semicolon.  From Linux kernel.
59938 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59942 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59944         [BZ #156]
59945         * manual/socket.texi: Added statement about buffer
59946         for gethostbyname2_r.
59948 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59950         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59951         Use .p2align directive instead, throughout.
59952         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59955         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59957         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59958         * sysdeps/x86_64/strchr.S: Likewise.
59959         * sysdeps/x86_64/strrchr.S: Likewise.
59961 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59963         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59965         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59967         * sysdeps/generic/math_private.h (__mpsin1): Remove
59968         declaration.
59969         (__mpcos1): Likewise.
59970         (__mpsin): New argument __range_reduce.
59971         (__mpcos): Likewise.
59972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59973         (slow): Use __mpsin and __mpcos.
59974         (slow1): Likewise.
59975         (slow2): Likewise.
59976         (sloww): Likewise.
59977         (sloww1): Likewise.
59978         (sloww2): Likewise.
59979         (bsloww): Likewise.
59980         (bsloww1): Likewise.
59981         (bsloww2): Likewise.
59982         (cslow2): Likewise.
59983         (csloww): Likewise.
59984         (csloww1): Likewise.
59985         (csloww2): Likewise.
59986         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59987         range_reduce.  Merge in __mpsin1.
59988         (__mpcos): Likewise.
59989         (__mpsin1): Remove.
59990         (__mpcos1): Likewise.
59992 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59994         * locale/loadlocale.c (_nl_intern_locale_data): Use
59995         LOCFILE_ALIGNED_P.
59996         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59997         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59998         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59999         obstack data is appropriately aligned.
60000         (obstack_int32_grow_fast): Likewise.
60001         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60002         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60003         (add_locale_uint32_array): Likewise.
60005 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60007         * benchtests/Makefile: Remove ARGLIST and RET variables.
60008         ($(objpfx)bench-%.c): Pass only function name to the script.
60009         * benchtests/README: Update documentation.
60010         * benchtests/acos-inputs: Add new directives.
60011         * benchtests/acosh-inputs: Likewise.
60012         * benchtests/asin-inputs: Likewise.
60013         * benchtests/asinh-inputs: Likewise.
60014         * benchtests/atan-inputs: Likewise.
60015         * benchtests/atanh-inputs: Likewise.
60016         * benchtests/cos-inputs: Likewise.
60017         * benchtests/cosh-inputs: Likewise.
60018         * benchtests/exp-inputs: Likewise.
60019         * benchtests/log-inputs: Likewise.
60020         * benchtests/pow-inputs: Likewise.
60021         * benchtests/rint-inputs: Likewise.
60022         * benchtests/sin-inputs: Likewise.
60023         * benchtests/sinh-inputs: Likewise.
60024         * benchtests/tan-inputs: Likewise.
60025         * benchtests/tanh-inputs: Likewise.
60026         * scripts/bench.pl: Add support for new directives.
60028 2013-10-07  Alan Modra  <amodra@gmail.com>
60030         * README: Fix careless merge.
60032 2013-10-05  Alan Modra  <amodra@gmail.com>
60034         * NEWS: Mention powerpc64le support and bugs fixed.
60035         * README: Both big-endian and little-endian powerpc64 supported.
60037 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60039         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60040         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60041         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60042         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60044 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60046         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60047         match prototype.
60049 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60051         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60052         Move -mhard-float appending from
60053         ports/sysdeps/powerpc/powerpc32/Makefile.
60054         [$(with-fp) = yes] (ASFLAGS): Likewise.
60055         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60056         * sysdeps/powerpc/nofpu: Move directory from
60057         ports/sysdeps/powerpc/nofpu.
60058         * sysdeps/powerpc/soft-fp: Move directory from
60059         ports/sysdeps/powerpc/soft-fp.
60060         * sysdeps/powerpc/powerpc32/405: Move directory from
60061         ports/sysdeps/powerpc/powerpc32/405.
60062         * sysdeps/powerpc/powerpc32/440: Move directory from
60063         ports/sysdeps/powerpc/powerpc32/440.
60064         * sysdeps/powerpc/powerpc32/464: Move directory from
60065         ports/sysdeps/powerpc/powerpc32/464.
60066         * sysdeps/powerpc/powerpc32/476: Move directory from
60067         ports/sysdeps/powerpc/powerpc32/476.
60068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60075         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60077         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60078         * README: Update for powerpc-*-linux-gnu software floating point
60079         support in libc.
60081         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60082         case to powerpc/powerpc32*.
60083         * sysdeps/unix/sysv/linux/configure: Regenerated.
60085         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60086         (_FPU_MASK_OM): Define as 0x04.
60087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60089         0x00c10080.
60090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60091         0x0000003c.
60092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60095         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60096         getcontext_e500.
60097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60098         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60099         setcontext_e500.
60100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60101         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60102         and setcontext_e500.
60104 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
60106         * locale/iso-3166.def: Update iso-1366.def and related occurrences
60108 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60110         * manual/threads.texi (Default Thread Attributes): Fix typo.
60112 2013-10-04  Will Newton  <will.newton@linaro.org>
60114         * malloc/Makefile: Add tst-memalign.
60115         * malloc/tst-memalign.c: New file.
60117         * malloc/tst-posix_memalign.c: Add comments.
60118         (do_test): Add comments and call free on all potentially
60119         allocated pointers. Add space after cast.
60121         * malloc/tst-pvalloc.c: Add comments.
60122         (do_test): Add comments and call free on all potentially
60123         allocated pointers. Remove duplicate check for NULL pointer.
60124         Add space after cast.
60126         * malloc/tst-valloc.c: Add comments.
60127         (do_test): Add comments and call free on all potentially
60128         allocated pointers. Remove duplicate check for NULL pointer.
60129         Add space after cast.
60131 2013-10-04  Alan Modra  <amodra@gmail.com>
60133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60134         Use stdint types in rather than __attribute__((mode())).
60135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60137 2013-10-04  Alan Modra  <amodra@gmail.com>
60139         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60140         Correct handling of unaligned relocs for little-endian.
60141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60143 2013-10-04  Alan Modra  <amodra@gmail.com>
60145         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60146         * configure: Regenerate.
60147         * nptl/shlib-versions: Powerpc*le starts at 2.18.
60148         * shlib-versions: Likewise.
60150 2013-10-04  Alan Modra  <amodra@gmail.com>
60152         * string/tester.c (test_memrchr): Increment reported test cycle.
60154 2013-10-04  Alan Modra  <amodra@gmail.com>
60156         * string/test-memcpy.c (do_one_test): When reporting errors, print
60157         string address and don't overrun end of string.
60159 2013-10-04  Alan Modra  <amodra@gmail.com>
60161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60162         insrdi.  Make better use of reg selection to speed exit slightly.
60163         Schedule entry path a little better.  Remove useless "are we done"
60164         checks on entry to main loop.  Handle wrapping around zero address.
60165         Correct main loop count.  Handle single left-over word from main
60166         loop inline rather than by using loop_small.  Remove extra word
60167         case in loop_small caused by wrong loop count.  Add little-endian
60168         support.
60169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
60171         cache hint.
60172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60173         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60174         support.  Avoid rlwimi.
60175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60177 2013-10-04  Alan Modra  <amodra@gmail.com>
60179         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60180         insrdi.  Formatting.
60181         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60182         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60183         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60184         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60186         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60188 2013-10-04  Alan Modra  <amodra@gmail.com>
60190         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60194         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60195         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60197         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60198         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
60199         use of regs.  Use power7 mtocrf.  Tidy function tails.
60201 2013-10-04  Alan Modra  <amodra@gmail.com>
60203         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60204         Formatting.  Consistently use rXXX register defines or rN defines.
60205         Use early exit labels that avoid restoring unused non-volatile regs.
60206         Make cr field use more consistent with rWORDn compares.  Rename
60207         regs used as shift registers for unaligned loop, using rN defines
60208         for short lifetime/multiple use regs.
60209         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
60211         addi 1,1,64 to pop stack frame.  Simplify return value code.
60212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60214 2013-10-04  Alan Modra  <amodra@gmail.com>
60216         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60217         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
60218         rather than rlwimi.
60219         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60220         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60221         little-endian support.  Correct typos.
60222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
60223         rather than rlwimi.
60224         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
60225         in loop and entry code to keep "and." results.
60226         (strchr): Add little-endian support.  Comment.  Move cntlzd
60227         earlier in tail.
60228         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60230 2013-10-04  Alan Modra  <amodra@gmail.com>
60232         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60233         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60234         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60235         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60237 2013-10-04  Alan Modra  <amodra@gmail.com>
60239         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60240         (rTMP): Define as r11.
60241         (strcmp): Add little-endian support.  Optimise tail.
60242         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60243         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60244         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60250 2013-10-04  Alan Modra  <amodra@gmail.com>
60252         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60253         little-endian support.  Remove unnecessary "are we done" tests.
60254         Handle "s" wrapping around zero and extremely large "size".
60255         Correct main loop count.  Handle single left-over word from main
60256         loop inline rather than by using small_loop.  Correct comments.
60257         Delete "zero" tail, use "end_max" instead.
60258         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60260 2013-10-04  Alan Modra  <amodra@gmail.com>
60262         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
60263         support.  Don't branch over align.
60264         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
60265         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
60266         support.  Rearrange tmp reg use to suit.  Comment.
60267         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
60269 2013-10-04  Alan Modra  <amodra@gmail.com>
60271         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
60273 2013-10-04  Alan Modra  <amodra@gmail.com>
60275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60276         conditional form of branch and link when obtaining pc.
60277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60279 2013-10-04  Alan Modra  <amodra@gmail.com>
60281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60282         HIWORD/LOWORD.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60286 2013-10-04  Alan Modra  <amodra@gmail.com>
60288         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60289         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60290         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60291         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60294         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60296         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60297         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60300             Alistair Popple <alistair@ozlabs.au.ibm.com>
60301             Alan Modra <amodra@gmail.com>
60303         [BZ #15723]
60304         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60306         _dl_hwcap access for little-endian.
60307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
60308         destroy vmx regs when saving unaligned.
60309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
60310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
60311         destroy vmx regs when saving unaligned.
60313 2013-10-04  Alan Modra  <amodra@gmail.com>
60315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
60316         Don't use a union to pack hi/low value.
60318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60320         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60321         for little-endian.
60322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60323         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60325         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60326         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60328 2013-10-04  Alan Modra  <amodra@gmail.com>
60330         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60331         constants to usual value for .cst8 section, and remove redundant
60332         high address load.
60333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60334         constant for 0x1p52.  Load little-endian words of double from
60335         correct stack offsets.
60337 2013-10-04  Alan Modra  <amodra@gmail.com>
60339         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60341         words of double from correct stack offsets.
60342         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60343         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60344         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60347         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60348         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60349         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60351         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60352         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60353         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60354         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60355         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60356         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60357         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60358         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60360 2013-10-04  Alan Modra  <amodra@gmail.com>
60362         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60363         64-bit int/double union.
60364         (_FPU_SETCW): Likewise.
60365         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60366         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60368 2013-10-04  Alan Modra  <amodra@gmail.com>
60370         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60371         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60373 2013-10-04  Alan Modra  <amodra@gmail.com>
60375         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60376         use vector int constants.
60377         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60381         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60382         array with long long.
60383         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60384         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60385         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60386         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60387         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60388         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60389         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60390         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60391         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60392         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60393         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60395         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60397 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60399         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60400         (__signbit): Likewise.  Correct for little-endian.
60401         (__signbitl): Call __signbit.
60402         (lrint): Correct for little-endian.
60403         (lrintf): Call lrint.
60405 2013-10-04  Alan Modra  <amodra@gmail.com>
60407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60408         union 32-bit int array member with 64-bit int array.
60409         (t515, tm256): Double rather than long double.
60410         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60412 2013-10-04  Alan Modra  <amodra@gmail.com>
60414         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60415         Delete.
60416         (IEEE854_LONG_DOUBLE_BIAS): Delete.
60417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60418         version of math_ldbl.h.
60420 2013-10-04  Alan Modra  <amodra@gmail.com>
60422         [BZ #15734], [BZ #15735]
60423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60424         all uses of ieee875 long double macros and unions.  Simplify test
60425         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60426         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60427         normalize after ldbl_extract_mantissa, and don't add hidden bit
60428         already handled.  Don't treat low word of ieee854 mantissa like
60429         low word of IBM long double and mask off bit when testing for
60430         zero.
60431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60432         all uses of ieee875 long double macros and unions.  Simplify tests
60433         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60434         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60435         two1022, instead use their values.  Recognise that tests for large
60436         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60437         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60438         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60439         test for 0.0L and nan.  Correct negation.
60440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60441         ieee875 long double macros and unions.  Correct output for large
60442         magnitude x.  Correct absolute value calculation.
60443         (__erfcl): Likewise.
60444         * math/libm-test.inc: Add tests for errors discovered in IBM long
60445         double versions of fmodl, remainderl, erfl and erfcl.
60447 2013-10-04  Alan Modra  <amodra@gmail.com>
60449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60450         all uses of ieee854 long double macros and unions.  Simplify tests
60451         for long doubles that are fully specified by the high double.
60452         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60453         Likewise.
60454         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60455         Remove dead code too.
60456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60457         (__ieee754_ynl): Likewise.
60458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60461         Remove dead code too.
60462         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60463         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60466         Simplify.
60467         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60468         Simplify.
60469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60472         Comment on variable precision.
60473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60475         Likewise.
60476         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60480         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60482 2013-10-04  Alan Modra  <amodra@gmail.com>
60484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60486         all uses of ieee854 long double macros and unions.
60487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60493         Likewise.
60494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60495         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60500         Simplify sign and nan test too.
60501         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60503         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60505         Likewise.
60506         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60507         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60508         Likewise.
60509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60513         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60516 2013-10-04  Alan Modra  <amodra@gmail.com>
60518         * stdio-common/printf_size.c (__printf_size): Don't use
60519         union ieee854_long_double in fpnum union.
60520         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60521         signbit macro to retrieve sign from long double.
60522         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60523         retrieve sign from long double.
60524         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60525         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60526         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60527         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60528         * math/test-misc.c (main): Don't use union ieee854_long_double.
60530 2013-10-04  Alan Modra  <amodra@gmail.com>
60532         [BZ #15680]
60533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60534         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60535         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60536         calculation.  Remove unnecessary test for denormal exponent.
60537         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60538         Correct handling of denormals.  Avoid undefined shift behaviour.
60539         Correct normalisation of low mantissa when low double is denormal.
60540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60541         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60542         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60543         Correct normalisation of low mantissa.  Test for overflow of high
60544         mantissa and normalise.
60545         (ldbl_nearbyint): Use more readable constant for two52.
60546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60547         (__mpn_construct_long_double): Fix test for overflow of high
60548         mantissa and correct normalisation.  Avoid undefined shift.
60550 2013-10-04  Alan Modra  <amodra@gmail.com>
60552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60553         (union ibm_extended_long_double): Define as an array of ieee754_double.
60554         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60555         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60556         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60561         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60563         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60564         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60566 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60568         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60569         page size instead of calling getpagesize.
60571         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60572         (LOCFILE_ALIGN_MASK): Likewise.
60573         (LOCFILE_ALIGN_UP): Likewise.
60574         (LOCFILE_ALIGNED_P): Likewise.
60575         * locale/programs/ld-collate.c (collate_output): Use the new
60576         macros instead of __alignof__ (int32_t).
60577         * locale/weight.h (findidx): Likewise.
60579 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60581         [BZ #431]
60582         * manual/string.texi: Fix strncat and wcsncat.
60584 2013-10-03  Brooks Moses  <bmoses@google.com>
60586         [BZ #15915]
60587         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60588         * Makerules: ...here, and adjust associated comments.
60590 2013-10-02  Will Newton  <will.newton@linaro.org>
60592         * malloc/Makefile: Add tst-pvalloc.
60593         * malloc/tst-pvalloc.c: New file.
60595 2013-10-02  Will Newton  <will.newton@linaro.org>
60597         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60598         improve test coverage.
60600 2013-10-02  Will Newton  <will.newton@linaro.org>
60602         * malloc/Makefile: Add tst-posix_memalign.
60603         * malloc/tst-posix_memalign.c: New file.
60605 2013-10-01  Eric Blake  <eblake@redhat.com>
60607         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60608         Use __THROWNL rather than __THROW on static functions.
60610 2013-09-30  Petr Machata  <pmachata@redhat.com>
60612         * elf/elf.h (R_AARCH64_ABS16): New macro.
60613         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60614         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60615         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60616         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60617         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60618         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60619         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60620         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60621         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60622         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60623         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60624         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60625         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60626         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60627         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60628         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60629         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60630         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60631         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60632         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60633         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60634         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60635         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60636         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60637         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60638         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60639         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60640         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60641         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60642         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60643         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60644         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60645         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60646         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60647         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60648         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60649         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60650         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60651         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60652         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60653         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60654         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60655         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60656         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60657         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60658         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60659         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60660         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60661         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60662         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60663         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60664         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60665         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60666         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60667         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60668         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60669         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60670         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60671         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60672         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60673         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60674         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60675         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60676         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60677         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60678         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60679         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60680         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60681         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60682         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60683         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60684         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60685         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60686         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60687         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60688         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60689         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60690         (R_AARCH64_TLSDESC_LDR): Likewise.
60691         (R_AARCH64_TLSDESC_ADD): Likewise.
60692         (R_AARCH64_TLSDESC_CALL): Likewise.
60694 2013-09-30  Andreas Schwab  <schwab@suse.de>
60696         [BZ #15048]
60697         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60698         the nss database lookup.
60699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60702 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
60704         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60706 2013-09-28  P. J. McDermott  <pj@pehjota.net>
60708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60709         ${Bash-specific parameter/pattern/string} parameter expansion.
60710         * sysdeps/unix/make-syscalls.sh: Likewise.
60712 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60714         * sysdeps/sh/stackguard-macros.h: New file.
60716 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
60718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60720         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60721         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60723         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60725 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60727         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60728         Fix thread ID register.
60730 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
60732         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60733         [POSIX || UNIX98]: Require rather than permitting all symbols from
60734         <time.h>.
60735         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60736         element of struct sched_param.
60737         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60738         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60739         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60740         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60741         constant.
60743 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
60745         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60746         argument calculation.
60748 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60750         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60751         Expect macro.
60752         [POSIX] (pthread_attr_t): Do not require type.
60753         [POSIX] (pthread_cond_t): Likewise.
60754         [POSIX] (pthread_condattr_t): Likewise.
60755         [POSIX] (pthread_key_t): Likewise.
60756         [POSIX] (pthread_mutex_t): Likewise.
60757         [POSIX] (pthread_mutexattr_t): Likewise.
60758         [POSIX] (pthread_once_t): Likewise.
60759         [POSIX] (pthread_t): Likewise.
60760         [POSIX-based standards] (pthread_atfork): Expect function.
60762 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60763             Richard Sandiford  <richard@codesourcery.com>
60765         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60766         (swap_endianness_p): New extern variable.
60767         (set_big_endian): New inline function.
60768         (maybe_swap_uint32): Likewise.
60769         (maybe_swap_uint32_array): Likewise.
60770         (maybe_swap_uint32_obstack): Likewise.
60771         * locale/programs/locfile.c: Include <stdbool.h>.
60772         (swap_endianness_p): New variable.
60773         (add_locale_uint32): Call maybe_swap_uint32.
60774         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60775         (write_locale_data): Call maybe_swap_uint32_array.
60776         * locale/programs/ld-collate.c (obstack_int32_grow): Call
60777         maybe_swap_uint32.
60778         (obstack_int32_grow_fast): Likewise.
60779         (output_weightwc): Call maybe_swap_uint32_obstack.
60780         (collate_output): Likewise.
60781         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60782         (OPT_LITTLE_ENDIAN): Likewise.
60783         (options): Add --little-endian and --big-endian options.
60784         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60785         * locale/programs/locarchive.c: Include "locfile.h".
60786         (GET): New macro.
60787         (SET): Likewise.
60788         (INC): Likewise.
60789         (create_archive): Use the new macros to access fields of
60790         structures directly mapped from or written to locale archives.
60791         (oldlocrecentcmp): Likewise.
60792         (enlarge_archive): Likewise.
60793         (insert_name): Likewise.
60794         (add_alias): Likewise.
60795         (add_locale): Likewise.
60796         (delete_locales_from_archive): Likewise.
60797         (show_archive_content): Likewise.
60798         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
60799         locale data.
60801 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60803         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60804         http://www.gnu.org/doc/freemanuals.texi.
60805         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60807 2013-09-24  Will Newton  <will.newton@linaro.org>
60809         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60810         macro.
60812 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60814         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60815         unsigned char.
60817 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60819         * manual/threads.texi (POSIX Threads): Fix a typo.
60821 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60823         [BZ #14547]
60824         * string/tst-strcoll-overflow.c: New test case.
60825         * string/Makefile (xtests): Add tst-strcoll-overflow.
60826         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60827         cache if string sizes may cause integer overflow.
60829         [BZ #14547]
60830         * string/strcoll_l.c (coll_seq): New members rule, idx,
60831         save_idx and back_us.
60832         (get_next_seq_nocache): New function.
60833         (do_compare_nocache): New function.
60834         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60835         when malloc fails.
60837 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60839         [BZ #15754]
60840         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60841         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60842         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60844         [BZ #15754]
60845         * elf/Makefile (tests): Add tst-ptrguard1.
60846         (tests-static): Add tst-ptrguard1-static.
60847         (tst-ptrguard1-ARGS): Define.
60848         (tst-ptrguard1-static-ARGS): Define.
60849         * elf/tst-ptrguard1.c: New file.
60850         * elf/tst-ptrguard1-static.c: New file.
60851         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60852         * sysdeps/i386/stackguard-macros.h: Likewise.
60853         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60854         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60855         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60856         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60857         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60858         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60860 2013-09-23  Hector Marco  <hecmargi@upv.es>
60861             Ismael Ripoll  <iripoll@disca.upv.es>
60862             Carlos O'Donell  <carlos@redhat.com>
60864         [BZ #15754]
60865         * sysdeps/generic/stackguard-macros.h: Define
60866         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60867         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60868         Define __pointer_chk_guard_local.
60869         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60870         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60872 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60874         [BZ #15859]
60875         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60877 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60879         * include/string.h (__ffs): Declare as hidden.
60880         * string/ffs.c (__ffs): Define as hidden.
60881         * sysdeps/i386/ffs.c (__ffs): Likewise.
60882         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60883         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60884         * sysdeps/s390/ffs.c (__ffs): Likewise.
60885         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60887 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60889         * NEWS: Mention malloc probes.
60891         * malloc/arena.c (new_heap): New memory_heap_new probe.
60892         (grow_heap): New memory_heap_more probe.
60893         (shrink_heap): New memory_heap_less probe.
60894         (heap_trim): New memory_heap_free probe.
60895         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60896         (systrim): New memory_sbrk_less probe.
60897         * manual/probes.texi: Document them.
60899         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60900         * manual/probes.texi: Document it.
60902         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60903         (__libc_realloc): Add memory_realloc_retry probe.
60904         (__libc_memalign): Add memory_memalign_retry probe.
60905         (__libc_valloc): Add memory_valloc_retry probe.
60906         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60907         (__libc_calloc): Add memory_calloc_retry probe.
60908         * manual/probes.texi: Document them.
60910         * malloc/arena.c (get_free_list): Add probe
60911         memory_arena_reuse_free_list.
60912         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60913         and memory_arena_reuse.
60914         (arena_get2) [!PER_THREAD]: Likewise.
60915         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60916         memory_arena_reuse_realloc.
60917         * manual/probes.texi: Document them.
60919         * malloc/malloc.c (__libc_free): Add
60920         memory_mallopt_free_dyn_thresholds probe.
60921         (__libc_mallopt): Add multiple memory_mallopt probes.
60922         * manual/probes.texi: Document them.
60924         * malloc/malloc.c: Include stap-probe.h.
60925         (__libc_mallopt): Add memory_mallopt probe.
60926         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60927         * manual/probes.texi: New.
60928         * manual/Makefile (chapters): Add probes.
60929         * manual/threads.texi: Set next node.
60931 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60933         [BZ #15963, #13985]
60934         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60935         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60936         Add `Chinese' to `nan' entry name.
60938 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60940         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60941         (POLYNOMIAL): Likewise.
60942         (TAYLOR_SINCOS): Likewise.
60943         (TAYLOR_SLOW): Likewise.
60944         (__sin): Use TAYLOR_SINCOS.
60945         (__cos): Likewise.
60946         (slow): Use TAYLOR_SLOW.
60947         (sloww): Likewise.
60948         (bsloww): Likewise.
60949         (csloww): Likewise.
60951 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60953         * stdlib/strtod_l.c: Fix buffer overrun.
60955 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60957         * benchtests/Makefile (bench): Add sincos.
60958         * benchtests/bench-sincos.c: New file.
60960         * math/libm-test.inc (cos_test_data): New test inputs.
60961         (sin_test_data): Likewise.
60963         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60964         macro.
60965         (__sin): Use it.
60966         (__cos): Likewise.
60967         (slow1): Likewise.
60968         (slow2): Likewise.
60969         (sloww1): Likewise.
60970         (sloww2): Likewise.
60971         (bsloww1): Likewise.
60972         (bsloww2): Likewise.
60973         (cslow2): Likewise.
60974         (csloww1): Likewise.
60975         (csloww2): Likewise.
60977         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60978         function.
60979         (__sin): Use it.
60980         (__cos): Likewise.
60982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60983         gotos.
60984         (__cos): Likewise.
60986 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60988         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60989         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60990         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60991         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60992         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60993         * elf/cache.c (print_entry): Handle the new cache flags.
60995 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60996             Aldy Hernandez  <aldyh@redhat.com>
60998         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60999         Change condition to [_SOFT_FLOAT].
61000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61012         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61015         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61016         declaration.
61018 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61020         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61021         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61022         (__longjmp): Use LOAD_GP to load saved GPRs.
61023         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61024         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61025         (__sigsetjmp): Use SAVE_GP to save GPRs.
61027         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61028         Do not append -msoft-float.
61029         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61031 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61033         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61035 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61037         [BZ #15966]
61038         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61039         (_FPU_GETCW): Use initial "__" on variable and field names but not
61040         on macro parameter name.
61041         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61042         parentheses around reference to macro parameter.
61044 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61046         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61047         prototype.
61048         (ctype_startup): Use uint32_t in cast and sizeof for
61049         ctype->charnames.
61051 2013-09-11  Jia Liu  <proljc@gmail.com>
61053         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61054         __daddr_t_defined.
61055         [__FreeBSD__]: Likewise.
61057 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
61059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61060         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61061         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61062         (strchr): Remove __strchr_sse42 ifunc selection.
61063         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61064         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61066 2013-09-11  Will Newton  <will.newton@linaro.org>
61068         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61069         parameter to RES. Remove hardcoded 1000 value.
61070         * benchtests/bench-skeleton.c (main): Pass RES parameter
61071         to TIMING_INIT and multiply result by 1000.
61073 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61077 2013-09-11  Andreas Schwab  <schwab@suse.de>
61079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61080         if not defined.
61081         (O_TMPFILE) [__USE_GNU]: Define.
61082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61083         Define.
61085 2013-09-11  Will Newton  <will.newton@linaro.org>
61087         [BZ #15857]
61088         * malloc/malloc.c (__libc_memalign): Check the value of bytes
61089         does not overflow.
61091 2013-09-11  Will Newton  <will.newton@linaro.org>
61093         [BZ #15856]
61094         * malloc/malloc.c (__libc_valloc): Check the value of bytes
61095         does not overflow.
61097 2013-09-11  Will Newton  <will.newton@linaro.org>
61099         [BZ #15855]
61100         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61101         does not overflow.
61103 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
61105         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61108         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61111 2013-09-10  Allan McRae  <allan@archlinux.org>
61113         [BZ #15748]
61114         * manual/arith.texi (Parsing of Floats): Clarify
61115         cross-reference.
61117         [BZ #15849]
61118         * manual/install.texi (Running make install): Mention
61119         --enable-pt-chown.
61120         * INSTALL: Regenerated.
61122 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
61124         * csu/init-first.c (_init): Remove the !SHARED condition around
61125         FPU control word initialization.
61126         * elf/dl-support.c (_dl_fpu_control): New variable.
61127         (_dl_aux_init) <AT_FPUCW>: Initialize it.
61128         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61129         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61130         * math/test-fpucw-static.c: New file.
61131         * math/test-fpucw-ieee.c: New file.
61132         * math/test-fpucw-ieee-static.c: New file.
61133         * math/Makefile (tests): Add `test-fpucw-ieee' and
61134         `$(tests-static)'.
61135         (tests-static): New variable.
61136         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61137         dependency to...
61138         [($(build-shared),yes)]
61139         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61140         ... this.
61141         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61142         New dependency.
61144 2013-09-09  Allan McRae  <allan@archlinux.org>
61146         [BZ #15939]
61147         * manual/string.texi (Collation Functions): Fix typo in
61148         strcoll example.
61149         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61151         [BZ #15893]
61152         * stdlib/isomac.c (get_null_defines): Fix memory leak.
61154         [BZ #15892]
61155         * libio/memstream.c (open_memstream): Fix memory leak.
61156         * libio/wmemstream.c (open_wmemstream): Likewise.
61158         [BZ #15895]
61159         * nscd/netgroupcache.c: Fix nesting of ifdefs.
61161 2013-09-09  Will Newton  <will.newton@linaro.org>
61163         * malloc/Makefile: Add tst-realloc to tests.
61164         * malloc/tst-realloc.c: New file.
61166 2013-09-09  Allan McRae  <allan@archlinux.org>
61168         [BZ #15844]
61169         * COPYING: Update from GNU website to fix FSF address.
61170         * COPYING.LIB: Likewise.
61172 2013-09-06  David S. Miller  <davem@davemloft.net>
61174         * po/zh_TW.po: Update Chinese (traditional) translation from
61175         translation project.
61177 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
61178             Joseph Myers  <joseph@codesourcery.com>
61180         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61181         "localeinfo.h".
61182         (obstack_chunk_alloc): New macro.
61183         (obstack_chunk_free): Likewise.
61184         (record_offset): New function.
61185         (init_locale_data): Likewise.
61186         (align_locale_data): Likewise.
61187         (add_locale_empty): Likewise.
61188         (add_locale_raw_data): Likewise.
61189         (add_locale_raw_obstack): Likewise.
61190         (add_locale_string): Likewise.
61191         (add_locale_wstring): Likewise.
61192         (add_locale_uint32): Likewise.
61193         (add_locale_uint32_array): Likewise.
61194         (add_locale_char): Likewise.
61195         (start_locale_structure): Likewise.
61196         (end_locale_structure): Likewise.
61197         (start_locale_prelude): Likewise.
61198         (end_locale_prelude): Likewise.
61199         (write_locale_data): Take locale_file structure rather than an
61200         iovec.
61201         * locale/programs/locfile.h: Include "obstack.h".
61202         (struct locale_file): Change to store locale file contents instead
61203         of header.
61204         (init_locale_data): New prototype.
61205         (align_locale_data): Likewise.
61206         (add_locale_empty): Likewise.
61207         (add_locale_raw_data): Likewise.
61208         (add_locale_raw_obstack): Likewise.
61209         (add_locale_string): Likewise.
61210         (add_locale_wstring): Likewise.
61211         (add_locale_uint32): Likewise.
61212         (add_locale_uint32_array): Likewise.
61213         (add_locale_char): Likewise.
61214         (start_locale_structure): Likewise.
61215         (end_locale_structure): Likewise.
61216         (start_locale_prelude): Likewise.
61217         (end_locale_prelude): Likewise.
61218         (write_locale_data): Update prototype.
61219         * locale/programs/3level.h (struct TABLE): Remove result field.
61220         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61221         Use new locale_file interface.
61222         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61223         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61224         * locale/programs/ld-address.c (address_output): Use new
61225         locale_file interface.
61226         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61227         NO_ADD_LOCALE.
61228         (collate_finish): Don't call collseq_table_finalize.
61229         (collate_output): Use new locale_file interface.
61230         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61231         in file.
61232         (NO_FINALIZE): Change to NO_ADD_LOCALE.
61233         (TABLE): Move defines earlier in file.
61234         (ELEMENT): Likewise.
61235         (DEFAULT): Likewise.
61236         (wctrans_table_add): Move macro and inline function earlier in
61237         file.
61238         (struct wctype_table): Move type earlier in file.
61239         (add_locale_wctype_table): New static prototype.
61240         (struct locale_ctype_t): Use logical types instead of struct iovec
61241         pointers for members.
61242         (ctype_output): Use new locale_file interface.
61243         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
61244         new locale_file interface.
61245         (allocate_arrays): Update for use of new locale_file interface.
61246         * locale/programs/ld-identification.c (identification_output): Use
61247         new locale_file interface.
61248         * locale/programs/ld-measurement.c (measurement_output): Likewise.
61249         * locale/programs/ld-messages.c (messages_output): Likewise.
61250         * locale/programs/ld-monetary.c (monetary_output): Likewise.
61251         * locale/programs/ld-name.c (name_output): Likewise.
61252         * locale/programs/ld-numeric.c (numeric_output): Likewise.
61253         * locale/programs/ld-paper.c (paper_output): Likewise.
61254         * locale/programs/ld-telephone.c (telephone_output): Likewise.
61255         * locale/programs/ld-time.c (time_output): Likewise.
61257 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61259         * benchtests/Makefile: Add memrchr benchmark.
61260         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
61261         benchmark as memrchr.
61262         * benchtests/bench-memrchr-ifunc.c: New file.
61263         * benchtests/bench-memrchr.c: New file.
61265 2013-09-06   Will Newton  <will.newton@linaro.org>
61267         * benchtests/Makefile (string-bench): Add memcpy.
61269 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
61270             Cong Wang  <amwang@redhat.com>
61272         [BZ #15850]
61273         * sysdeps/unix/sysv/linux/bits/in.h
61274         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61275         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61276         before __USE_KERNEL_IPV6_DEFS uses.
61277         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61278         IPPROTO_BEETPH.
61279         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61280         sockaddr_in6, or ipv6_mreq.
61282 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61284         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61285         memory access for final bytes in some large inputs.
61286         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61288 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61290         * string/test-memrchr.c: New file.
61291         * string/test-memrchr-ifunc.c: New file.
61292         * string/Makefile: Add new memrchr testcase.
61294 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
61296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61297         fanotify_init returns EPERM.
61299 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61301         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61302         errors.
61303         (top level): Treat second token from macro or constant entries for
61304         allowed headers as allowed.
61305         * include/complex.h: Condition internal declarations on
61306         [!_ISOMAC].
61307         * include/fenv.h: Condition include of <stdbool.h> and internal
61308         declarations on [!_ISOMAC].
61310 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
61312         [BZ #15923]
61313         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
61315 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61317         * configure.in (--enable-versioning): Remove configure option.
61318         (libc_cv_asm_symver_directive): Remove configure test.
61319         (libc_cv_ld_version_script_option): Likewise.
61320         (VERSIONING): Remove variable and AC_SUBST.
61321         (DO_VERSIONING): Remove AC_DEFINE.
61322         * configure: Regenerated.
61323         * config.h.in (DO_VERSIONING): Remove macro.
61324         * Makerules [$(versioning) = yes]: Change conditionals to
61325         [$(build-shared) = yes].
61326         * config.make.in (versioning): Remove variable.
61327         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61328         [$(build-shared) = yes].
61329         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61330         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61331         * elf/Makefile [$(versioning) = yes]: Change conditionals to
61332         [$(build-shared) = yes].
61333         * extra-lib.mk [$(versioning) = yes]: Likewise.
61334         * hurd/Makefile [$(versioning) = yes]: Likewise.
61335         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61336         [SHARED].
61337         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61338         [SHARED].
61339         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61340         [SHARED && !NO_HIDDEN].
61341         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61342         [SHARED].
61343         [SHARED && DO_VERSIONING]: Likewise..
61344         * libio/Makefile [$(versioning) = yes]: Change conditionals to
61345         [$(build-shared) = yes].
61346         * manual/install.texi (--disable-versioning): Remove
61347         documentation.
61348         * INSTALL: Regenerated.
61349         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61350         to [SHARED].
61351         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61352         [$(build-shared) = yes].
61353         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61354         * sysdeps/i386/i686/multiarch/strstr-c.c
61355         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61356         [SHARED && !NO_HIDDEN].
61357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61358         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61359         * sysdeps/powerpc/powerpc32/dl-machine.c
61360         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61361         * sysdeps/powerpc/powerpc32/sysdep.h
61362         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61363         to [SHARED && PIC && !NO_HIDDEN].
61364         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61365         conditional to [SHARED].
61367 2013-09-04   Will Newton  <will.newton@linaro.org>
61369         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61370         * benchtests/bench-string.h: Include bench-timing.h instead
61371         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61372         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61373         call to HP_TIMING_DIFF_INIT.
61374         * benchtests/bench-memccpy.c: Use bench-timing.h macros
61375         instead of hp-timing.h macros.
61376         * benchtests/bench-memchr.c: Likewise.
61377         * benchtests/bench-memcmp.c: Likewise.
61378         * benchtests/bench-memcpy.c: Likewise.
61379         * benchtests/bench-memmem.c: Likewise.
61380         * benchtests/bench-memmove.c: Likewise.
61381         * benchtests/bench-memset.c: Likewise.
61382         * benchtests/bench-rawmemchr.c: Likewise.
61383         * benchtests/bench-strcasecmp.c: Likewise.
61384         * benchtests/bench-strcasestr.c: Likewise.
61385         * benchtests/bench-strcat.c: Likewise.
61386         * benchtests/bench-strchr.c: Likewise.
61387         * benchtests/bench-strcmp.c: Likewise.
61388         * benchtests/bench-strcpy.c: Likewise.
61389         * benchtests/bench-strcpy_chk.c: Likewise.
61390         * benchtests/bench-strlen.c: Likewise.
61391         * benchtests/bench-strncasecmp.c: Likewise.
61392         * benchtests/bench-strncat.c: Likewise.
61393         * benchtests/bench-strncmp.c: Likewise.
61394         * benchtests/bench-strncpy.c: Likewise.
61395         * benchtests/bench-strnlen.c: Likewise.
61396         * benchtests/bench-strpbrk.c: Likewise.
61397         * benchtests/bench-strrchr.c: Likewise.
61398         * benchtests/bench-strspn.c: Likewise.
61399         * benchtests/bench-strstr.c: Likewise.
61401 2013-09-04  Will Newton  <will.newton@linaro.org>
61403         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61405 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
61407         [BZ #15427]
61408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61409         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61410         * math/libm-test.inc (lgamma_test_data): Add more tests.
61411         * sysdeps/i386/fpu/libm-test-ulps: Update.
61412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61414 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
61416         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61418         Add ifunc.
61419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61420         Add strcmp-sse2-unaligned
61421         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61423 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61425         * Versions.def (libc): Add GLIBC_2.19.
61427 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61429         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61430         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61432 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61434         [BZ #14155]
61435         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61436         intermediate calculations in recurrence.
61437         (__ieee754_ynf): Likewise.
61438         * math/libm-test.inc (jn_test_data): Do not allow spurious
61439         underflow exception.  Add more tests.
61440         (yn_test_data): Add more tests.
61441         * sysdeps/i386/fpu/libm-test-ulps: Update.
61442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61444 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61448 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61450         * csu/init-first.c: Fix then/than typos.
61451         * locale/programs/ld-collate.c: Likewise.
61452         * locale/programs/linereader.h: Likewise.
61453         * manual/charset.texi: Likewise.
61454         * manual/filesys.texi: Likewise.
61455         * manual/stdio.texi: Likewise.
61456         * manual/string.texi: Likewise.
61457         * stdlib/fmtmsg.c: Likewise.
61458         * sysdeps/i386/stpncpy.S: Likewise.
61459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61460         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61464 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61466         * elf/dl-open.c: Fix typos.
61467         * iconvdata/gbbig5.c: Likewise.
61468         * iconvdata/iso-2022-jp.c: Likewise.
61469         * iconv/gconv_int.h: Likewise.
61470         * iconv/loop.c: Likewise.
61471         * nis/rpcsvc/nis.h: Likewise.
61472         * resolv/ns_name.c: Likewise.
61473         * stdio-common/vfscanf.c: Likewise.
61474         * streams/stropts.h: Likewise.
61475         * sunrpc/rpc_thread.c: Likewise.
61476         * sysdeps/i386/strpbrk.S: Likewise.
61477         * sysdeps/ieee754/k_standard.c: Likewise.
61478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61480         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61481         * sysdeps/mach/hurd/profil.c: Likewise.
61482         * sysdeps/s390/dl-procinfo.h: Likewise.
61483         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61485         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61486         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61489 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61491         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61494 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61496         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61497         aix specific files.
61498         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61499         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61500         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61501         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61502         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61503         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61504         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61505         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61507 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61508             Roland McGrath  <roland@hack.frob.com>
61510         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61511         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61513 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61515         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61516         __executable_start symbol instead of _start.
61518 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61520         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61521         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61522         Move macros to...
61523         * sysdeps/gnu/ldsodefs.h: ... this new file.
61525         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61526         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61527         instead of ELFOSABI_LINUX.
61529         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61530         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61531         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61532         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61533         Likewise.
61534         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61535         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61536         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61537         Likewise.
61538         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61539         (ibm_extended_long_double): Add ieee_nan member.
61540         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61541         (do_test): New function.
61543         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61544         TEST_TRUNC.
61545         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61546         functions, renamed from truncdfsf_test, trunctfsf_test,
61547         trunctfdf_test.
61548         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61549         functions.
61550         (do_test): Run all these.
61552 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61554         * argp/argp-help.c: Fix typos.
61555         * argp/argp-parse.c: Likewise.
61556         * debug/backtracesyms.c: Likewise.
61557         * elf/elf.h: Likewise.
61558         * malloc/malloc.c: Likewise.
61559         * nis/nis_print.c: Likewise.
61560         * resolv/res_comp.c: Likewise.
61561         * stdlib/stdlib.h: Likewise.
61562         * sunrpc/clnt_tcp.c: Likewise.
61563         * sunrpc/clnt_udp.c: Likewise.
61564         * sunrpc/clnt_unix.c: Likewise.
61565         * sysdeps/unix/bsd/ptsname.c: Likewise.
61566         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61567         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61569         Likewise.
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61571         Likewise.
61572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61573         Likewise.
61574         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61576 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61578         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61581 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61583         [BZ #15897]
61584         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61585         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61586         ($(objpfx)bug-dl-leaf): New rule.
61587         ($(objpfx)bug-dl-leaf.so): Likewise.
61588         ($(objpfx)bug-dl-leaf.out): Likewise.
61589         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61590         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61591         * dlfcn/bug-dl-leaf.c: New test.
61592         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61593         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61594         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61595         (dlclose): Likewise.
61596         (dlmopen): Likewise.
61598 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61600         * include/netdb.h [!_ISOMAC]:
61601         Don't include <tls.h>.
61602         (h_errno, __libc_h_errno): Move declaration and macros out of
61603         [_LIBC_REENTRANT].
61605         * include/resolv.h [_RESOLV_H_]:
61606         Don't include <tls.h>.
61607         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61608         * resolv/res_libc.c: Don't include <tls.h>.
61609         (_res): Use __attribute__ ((nocommon)) in place of
61610         __attribute__ ((section (".bss"))).
61612         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61613         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61615         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61617         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61618         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61620         * resolv/res_mkquery.c: Include <sys/time.h>.
61622         * inet/ifreq.c: Moved to ...
61623         * sysdeps/unix/ifreq.c: ... here.
61624         * inet/ifreq.c: New file, true stub version.
61626         * socket/sa_len.c: New file.
61627         * socket/Makefile (aux): Add it.
61628         * sysdeps/unix/sysv/linux/Makefile
61629         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61630         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61631         and #include <socket/sa_len.c>.
61632         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61633         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61635         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61636         * bits/socket.h: ... here.
61638         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61639         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61640         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61642 2013-08-27  Andreas Schwab  <schwab@suse.de>
61644         [BZ #15736]
61645         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61646         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61647         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61648         * string/test-strcasecmp.c (test_main): Run tests in several
61649         locales.
61650         * string/test-strncasecmp.c (test_main): Likewise.
61652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61653         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61654         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61656         (__strncasecmp_ssse3) [PIC]: Likewise.
61658 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61660         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61662         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61663         instead of explicitly declaring xdecrypt.
61664         * nis/nss_nis/nis-publickey.c: Likewise.
61666 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61668         [BZ #15890]
61669         * nscd/aicache.c: Include res_hconf.h.
61670         (addhstaiX): Initialize res_hconf.
61672 2013-08-26  Andreas Schwab  <schwab@suse.de>
61674         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61675         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61677 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61679         * nscd/aicache.c (addhstaiX): Fix indentation.
61681 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61683         * configure.ac: Quote $build_pt_chown test.
61684         * configure: Regenerated.
61686 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61688         [BZ #15532]
61689         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61690         * math/s_cexpf.c (__cexpf): Likewise.
61691         * math/s_cexpl.c (__cexpl): Likewise.
61692         * math/libm-test.inc (cexp_test_data): Correct expected return
61693         value for NaN + i0.  Add another test.
61695 2013-08-22  David S. Miller  <davem@davemloft.net>
61697         * po/ca.po: Update Catalan translation from translation project.
61698         * po/uk.po: Add Ukrainian translations from translation project.
61700 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
61702         [BZ #15797]
61703         * math/s_fdim.c (__fdim): Check for infinite arguments if result
61704         is infinite, not alongside NaN test.
61705         * math/s_fdimf.c (__fdimf): Likewise.
61706         * math/s_fdiml.c (__fdiml): Likewise.
61707         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
61708         errno is unchanged.
61710 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61712         * argp/argp-help.c: Fix typos.
61713         * crypt/speeds.c: Likewise.
61714         * csu/check_fds.c: Likewise.
61715         * elf/dl-load.c: Likewise.
61716         * elf/dl-open.c: Likewise.
61717         * elf/reldep3.c: Likewise.
61718         * elf/reldep.c: Likewise.
61719         * elf/sprof.c: Likewise.
61720         * iconv/iconv_charmap.c: Likewise.
61721         * iconv/skeleton.c: Likewise.
61722         * iconv/strtab.c: Likewise.
61723         * io/lockf64.c: Likewise.
61724         * libio/libioP.h: Likewise.
61725         * resolv/gai_notify.c: Likewise.
61726         * resolv/ns_name.c: Likewise.
61727         * resolv/ns_samedomain.c: Likewise.
61728         * resolv/res_send.c: Likewise.
61729         * stdlib/random.c: Likewise.
61730         * sunrpc/rpc/xdr.h: Likewise.
61731         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61732         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61733         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61734         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61738         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61739         * sysdeps/mach/hurd/check_fds.c: Likewise.
61740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61741         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61744         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61745         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61746         * sysdeps/pthread/aio_notify.c: Likewise.
61747         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61748         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61749         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61751         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61753 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61755         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61756         version if bit_Slow_SSE4_2 is set.
61757         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61760 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61762         [BZ #15867]
61763         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61764         trampoline stack frame information.
61765         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61767         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61768         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61769         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61771         (_libc_vdso_platform_setup): Initialize the signal trampolines.
61772         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61773         sa_flags value.
61774         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61775         interrupting a syscall and set with option SA_SIGINFO.
61777 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61779         [BZ #15531]
61780         * math/s_cproj.c (__cproj): Only return an infinity if one part of
61781         argument is infinite.
61782         * math/s_cprojf.c (__cprojf): Likewise.
61783         * math/s_cprojl.c (__cprojl): Likewise.
61784         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61785         * math/libm-test.inc (cproj_test_data): Add more tests.
61787         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61790         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61791         size.  Use __ffs to determine corresponding shift.
61793 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61794             Roland McGrath  <roland@hack.frob.com>
61796         * Makefile (INSTALL): Remove trailing blank lines from output of
61797         makeinfo.
61799 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61801         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61802         Align 32 bit compat elf_greg to 8 bytes.
61804 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61806         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61808 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61810         * string/strcoll_l.c (coll_seq): New structure.
61811         (get_next_seq_cached): New function.
61812         (get_next_seq): New function.
61813         (do_compare): New function.
61814         (STRCOLL): Use GNU style definition.  Simplify implementation
61815         by using get_next_seq, get_next_seq_cached and do_compare.
61817 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61819         [BZ #14699]
61820         CVE-2013-4237
61821         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61822         member.
61823         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61824         member.
61825         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61826         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61827         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61828         conditional.
61829         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61830         GETDENTS_64BIT_ALIGNED.
61831         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61832         * manual/filesys.texi (Reading/Closing Directory): Document
61833         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61834         strongly.
61835         * manual/conf.texi (Limits for Files): Add portability note to
61836         NAME_MAX, PATH_MAX.
61837         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61839 2013-08-13  Andreas Schwab  <schwab@suse.de>
61841         [BZ #15749]
61842         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61843         of fabs.
61844         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61845         LDBL_MAX_EXP >= 16384]: Add tests for it.
61847 2013-08-12  David S. Miller  <davem@davemloft.net>
61849         * version.h (RELEASE): Set to "development".
61850         (VERSION): Set to "2.18.90".
61851         * NEWS: Add 2.19 section.
61853 2013-08-03  David S. Miller  <davem@davemloft.net>
61855         * po/ko.po: Update Korean translation from translation project.
61857 2013-08-01  David S. Miller  <davem@davemloft.net>
61859         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61860         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61861         Bilka.
61863 2013-07-30  David S. Miller  <davem@davemloft.net>
61865         * po/fr.po: Update French translation from translation project.
61867 2013-07-28  David S. Miller  <davem@davemloft.net>
61869         * po/cs.po: Update Czech translation from translation project.
61871         * po/sv.po: Update Swedish translation from translation project.
61873 2013-07-27  David S. Miller  <davem@davemloft.net>
61875         * po/eo.po: Update Esperanto translation from translation project.
61877         * po/vi.po: Update Vietnamese translation from translation project.
61879         * po/de.po: Update German translation from translation project.
61881 2013-07-26  David S. Miller  <davem@davemloft.net>
61883         * po/bg.po: Update Bulgarian translation from translation project.
61885         * po/nl.po: Update Dutch translation from translation project.
61886         * po/pl.po: Update Polish translation from translation project.
61887         * po/ru.po: Update Russian translation from translation project.
61889 2013-07-24  David S. Miller  <davem@davemloft.net>
61891         * po/libc.pot: Update.
61893 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61895         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61896         variable page size.
61897         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61898         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61901 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61903         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61905 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61906             Andreas Schwab  <schwab@suse.de>
61907             Roland McGrath  <roland@hack.frob.com>
61908             Joseph Myers  <joseph@codesourcery.com>
61909             Carlos O'Donell  <carlos@redhat.com>
61911         [BZ #15755]
61912         * config.h.in: Define HAVE_PT_CHOWN.
61913         * config.make.in (build-pt-chown): New variable.
61914         * configure.in (--enable-pt_chown): New configure option.
61915         * configure: Regenerate.
61916         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61917         build-pt-chown is enabled.
61918         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61919         pt_chown to fix pty ownership.
61920         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61921         CLOSE_ALL_FDS.
61922         * manual/install.texi (Configuring and compiling): Mention
61923         --enable-pt_chown. Add @findex for grantpt.
61924         * INSTALL: Regenerate.
61926 2013-07-20  David S. Miller  <davem@davemloft.net>
61928         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61929         difference between 32-bit and 64-bit.
61931 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61933         [BZ #15711]
61934         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61935         Avoid system header dependency with -ffreestanding.
61936         ($(objpfx)bits/syscall%d): Likewise.
61938 2013-07-13  David S. Miller  <davem@davemloft.net>
61940         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61941         underflows from atanl/atan2l due to bug 15319.
61942         (casinh_test_data): Likewise.
61944 2013-07-07  David S. Miller  <davem@davemloft.net>
61946         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61948 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61950         * sysdeps/i386/fpu/libm-test-ulps: Update.
61951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61953 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61955         * configure.in (--enable-lock-elision): Fix message text.
61956         * INSTALL: Regenerate.
61957         * configure: Regenerate.
61959 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61963 2013-07-03  Andreas Jaeger  <aj@suse.de>
61965         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61966         define.
61967         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61968         (ptrace_peeksiginfo_args): Add.
61969         (__ptrace_peeksiginfo_flags): Add.
61970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61974 2013-07-03  Allan McRae  <allan@archlinux.org>
61976         * sysdeps/i386/fpu/libm-test-ulps: Update.
61978 2013-07-02  David S. Miller  <davem@davemloft.net>
61980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61982 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61986 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61988         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61991 2013-07-02  Andi Kleen <ak@linux.intel.com>
61993         * config.h.in (ENABLE_LOCK_ELISION): Add.
61994         * configure.in (--enable-lock-elision): Add option.
61995         * manual/install.texi: Document --enable lock elision.
61996         * configure: Regenerate
61997         * INSTALL: Regenerate.
61999 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62001         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62002         SSE4.2 strcasecmp for libc.a.
62003         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62007         [BZ #13304]
62008         * soft-fp/op-common.h (_FP_FMA): New macro.
62009         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62010         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62011         (_FP_MUL_MEAT_1_imm): ... here.
62012         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62013         (_FP_MUL_MEAT_1_wide): ... here.
62014         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62015         (_FP_MUL_MEAT_1_hard): ... here.
62016         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62017         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62018         (_FP_MUL_MEAT_2_wide): ... here.
62019         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62020         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62021         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62022         (_FP_MUL_MEAT_2_gmp): ... here.
62023         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62024         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62025         (_FP_MUL_MEAT_4_wide): ... here.
62026         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62027         (_FP_MUL_MEAT_4_gmp): ... here.
62028         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62029         (_FP_WFRACBITS_DW_S): Likewise.
62030         (_FP_WFRACXBITS_DW_S): Likewise.
62031         (_FP_HIGHBIT_DW_S): Likewise.
62032         (FP_FMA_S): Likewise.
62033         (_FP_FRAC_HIGH_DW_S): Likewise.
62034         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62035         (_FP_WFRACBITS_DW_D): Likewise.
62036         (_FP_WFRACXBITS_DW_D): Likewise.
62037         (_FP_HIGHBIT_DW_D): Likewise.
62038         (FP_FMA_D): Likewise.
62039         (_FP_FRAC_HIGH_DW_D): Likewise.
62040         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62041         (_FP_WFRACBITS_DW_E): Likewise.
62042         (_FP_WFRACXBITS_DW_E): Likewise.
62043         (_FP_HIGHBIT_DW_E): Likewise.
62044         (FP_FMA_E): Likewise.
62045         (_FP_FRAC_HIGH_DW_E): Likewise.
62046         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62047         (_FP_WFRACBITS_DW_Q): Likewise.
62048         (_FP_WFRACXBITS_DW_Q): Likewise.
62049         (_FP_HIGHBIT_DW_Q): Likewise.
62050         (FP_FMA_Q): Likewise.
62051         (_FP_FRAC_HIGH_DW_Q): Likewise.
62052         * soft-fp/fmasf4.c: New file.
62053         * soft-fp/fmadf4.c: Likewise.
62054         * soft-fp/fmatf4.c: Likewise.
62056 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62059         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62060         Silvermont.
62061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62062         macro.
62063         (index_Slow_SSE4_2): Likewise.
62064         (index_Prefer_PMINUB_for_stringop): Likewise.
62065         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62066         bit_Slow_SSE4_2 is set.
62067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62070 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62072         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62073         rtld_global._dl_hwcap2.
62074         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62075         POWER8.
62076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62077         POWER8 feature descriptions defined in _dl_hwcap2.
62078         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62079         string handling for POWER8 feature bits.
62080         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62081         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62082         _dl_powerpc_cap_flags.
62083         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62084         * sysdeps/powerpc/rtld-global-offsets.sym
62085         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62086         _dl_hwcap2 in the rtld_global_ro structure.
62088 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62090         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62091         hardware capabilities in support of AT_HWCAP2.
62092         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62093         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62094         GLRO(dl_hwcap2).
62095         (_dl_show_auxv): Add support for calling _dl_procinfo to display
62096         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
62097         explicitly the unknown a_type display mechanism is used.
62098         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62099         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62100         struct member.
62101         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62102         to macro prototype for AT_HWCAP2 support.
62103         * sysdeps/i386/dl-procinfo.h: Likewise.
62104         * sysdeps/s390/dl-procinfo.h: Likewise.
62105         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62106         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
62107         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
62108         return -1 for unknown a_type display fallback.
62109         * sysdeps/sparc/dl-procinfo.h: Likewise.
62110         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62111         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62113 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
62115         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62116         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62118 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
62120         [BZ #12492]
62121         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62122         mprotect making __stack_prot writable.
62124 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
62125             Joseph Myers  <joseph@codesourcery.com>
62127         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62128         as being properly aligned.
62130 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
62132         * dlfcn/modstatic5.c: New file.
62133         * dlfcn/tststatic5.c: New file.
62134         * dlfcn/Makefile (tests): Add tststatic5.
62135         (tests-static): Likewise.
62136         (modules-names): Add modstatic5.
62137         (tststatic5-ENV): New variable.
62138         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62140         [BZ #15022]
62141         * elf/dl-support.c (_dl_main_map): New variable.
62142         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62143         (_dl_nns, _dl_load_adds): Set to 1.
62144         (_dl_initial_searchlist): Refer to _dl_main_map.
62145         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62146         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62147         call to _dl_get_origin.
62148         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62149         around call_map.
62150         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62151         * dlfcn/modstatic3.c: New file.
62152         * dlfcn/tststatic3.c: New file.
62153         * dlfcn/tststatic4.c: New file.
62154         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62155         (tests-static): Likewise.
62156         (modules-names): Add modstatic3.
62157         (tststatic3-ENV, tststatic4-ENV): New variables.
62158         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62159         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62161 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
62163         * configure.in (CC): Require GCC version 4.4 or later.
62164         * configure: Regenerated.
62165         * manual/install.texi (Tools for Compilation): Update GCC version
62166         requirement.
62167         * INSTALL: Regenerated.
62169 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62171         [BZ #15674]
62172         * string/test-memcmp.c (check2): New.
62173         (main): Call check2.
62175         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62177 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
62179         [BZ #15022]
62180         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62181         over to...
62182         (dl_open_worker) [!SHARED]: ... here.
62184 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62186         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62188 2013-06-25  Richard Henderson  <rth@redhat.com>
62190         * locale/programs/locarchive.c: Include <libc-internal.h>
62192 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
62194         * manual/texinfo.tex: Update to version 2013-06-21.17, with
62195         trailing whitespace removed.
62197 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62199         [BZ #10283]
62200         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62201         * locale/programs/locarchive.c: Include libc-mmap.h.
62202         (prepare_address_space): Take two new outputs (the mmap base and len).
62203         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
62204         values.
62205         (create_archive): Declare new mmap base and len values for
62206         prepare_address_space, and store the result in ah.
62207         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62208         (enlarge_archive): If ah->mmap_base is not NULL, use that and
62209         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62210         Declare new mmap base and len values for
62211         prepare_address_space, and store the result in new_ah.
62212         (open_archive): Declare new mmap base and len values for
62213         prepare_address_space, and store the result in ah.
62214         (close_archive): If ah->mmap_base is not NULL, use that and
62215         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62216         * sysdeps/generic/libc-mmap.h: New file.
62218 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62220         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62221         (ALIGN_UP): Likewise.
62222         (PTR_ALIGN_DOWN): Likewise.
62223         (PTR_ALIGN_UP): Likewise.
62225 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62228         entry mapped to PPC_PLATFORM_POWER8.
62229         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62230         POWER8.
62231         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62232         (_dl_string_platform): Add case for exporting platform position for
62233         POWER8.
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62235         search path to sysdeps/powerpc/powerpc32/power8 directory.
62236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62237         search path to sysdeps/powerpc/powerpc64/power8 directory.
62238         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62239         power7 directories.
62240         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62241         power7 directories.
62243 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62245         * INSTALL: Regenerate.
62247         * nscd/connections.c (nscd_init): Fix comment.
62249 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
62251         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62253         [BZ #15667]
62254         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62255         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62257 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62259         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
62260         DL_DST_REQ_STATIC.
62261         (DL_DST_REQ_STATIC): Remove macro.
62263 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
62265         [BZ #7006]
62266         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
62267         with a shift of 0 bits.
62269 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62271         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
62272         $(tststatic-ENV).
62274 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62276         [BZ #15655]
62277         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62279 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62281         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62282         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62283         accepts -fno-tree-loop-distribute-patterns.
62284         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62285         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62286         recursive call.
62287         * string/memset.c (memset): Likewise.
62288         * string/test-memmove.c (simple_memmove): Disable loop transformation
62289         to library calls.
62290         * string/test-memset.c (simple_memset): Likewise.
62291         * benchtests/bench-memmove.c (simple_memmove): Likewise.
62292         * benchtests/bench-memset.c (simple_memset): Likewise.
62293         * configure: Regenerated.
62295 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
62297         * math/test-misc.c (main): Ignore fesetround failure when failures
62298         of subsequent rounding tests would be ignored.
62300         [BZ #15654]
62301         * math/fedisblxcpt.c (fedisableexcept): Return 0.
62302         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62303         * math/fegetenv.c (__fegetenv): Return 0.
62304         * math/fegetexcept.c (fegetexcept): Return 0.
62305         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62306         FE_TONEAREST.
62307         * math/feholdexcpt.c (feholdexcept): Return 0.
62308         * math/fesetenv.c (__fesetenv): Return 0.
62309         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62310         argument FE_TONEAREST.
62311         * math/feupdateenv.c (__feupdateenv): Return 0.
62312         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
62314 2013-06-18  Roland McGrath  <roland@hack.frob.com>
62316         * elf/rtld-Rules (rtld-compile-command.S): New variable.
62317         (rtld-compile-command.s, rtld-compile-command.c): New variables.
62318         ($(objpfx)rtld-%.os rules): Use them.
62320 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62322         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62323         fields.
62325 2013-06-17  Roland McGrath  <roland@hack.frob.com>
62327         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62328         length of target pattern, then descending length of dependency pattern.
62329         * configure.in (AWK): Require gawk 3.1.2 or newer.
62330         * manual/install.texi (Tools for Compilation): Say that we do.
62331         * configure: Regenerated.
62333         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62334         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62335         * scripts/sysd-rules.awk: ... this new script.
62336         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62337         than a glob-style pattern.
62339 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
62341         * math/test-misc.c (main): Do not treat incorrectly rounded
62342         conversions as failure unless ROUNDING_TESTS passes.
62344 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
62346         [BZ #15631]
62347         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62348         restore exception state around main square root computation, then
62349         check for inexactness explicitly.
62351         * math/libm-test.inc (fma_test_data): Add another test.
62353 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62355         * manual/threads.texi (Non-POSIX Extensions): New document
62356         node.  Document pthread_getattr_default_np and
62357         pthread_setattr_default_np.
62359         * Versions.def (libpthread): Add GLIBC_2.18.
62360         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62362         Likewise.
62363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62364         Likewise.
62365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62366         Likewise.
62367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62368         Likewise.
62369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62370         Likewise.
62371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62372         Likewise.
62373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62374         Likewise.
62375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62376         Likewise.
62377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62378         Likewise.
62380 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62383         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62385 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62386             H.J. Lu  <hjl.tools@gmail.com>
62388         [BZ #15627]
62389         * sysdeps/x86_64/rtld-memset.c: Remove file.
62390         * sysdeps/x86_64/rtld-memset.S: New file.
62392 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
62394         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62395         (test_in_one_mode): Take arguments for whether the rounding mode
62396         is supported for each floating-point type.
62397         (do_test): Pass new arguments to test_in_one_mode using
62398         ROUNDING_TESTS.
62400 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62402         * posix/tst-waitid.c (do_test): Distinguish different instances of
62403         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
62404         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62405         before entering the kernel for waitpid.
62407 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62409         * NEWS: Fix note on clock function precision.  Text by Roland
62410         McGrath.
62412 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62414         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62415         it into place only when and if the sanity check passes.
62417 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
62419         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62420         output for whether conversion result is exact.  Take argument
62421         indicating whether type is IBM long double.
62422         (round_for_all): Change need_exact field to ibm_ld.
62423         * stdlib/tst-strtod-round.c (struct exactness): New type.
62424         (struct test): Change bool ld_ok field to struct exactness exact.
62425         (TEST): Update all definitions for change to field.
62426         (tests): Regenerate array contents.
62427         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62428         field value.  Check for IBM long double here.
62429         (do_test): Update calls to test_in_one_mode.
62431 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62433         [BZ #12515]
62434         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62435         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62437 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62439         [BZ #15605]
62440         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62441         generated by the compiler on loop optimizations.
62442         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62443         general definitions.
62445 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62447         * math/bug-nextafter.c: Include <math-tests.h>.
62448         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62449         the relevant type.
62450         * math/bug-nexttoward.c: Include <math-tests.h>.
62451         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62452         the relevant type.
62453         * math/test-misc.c: Include <math-tests.h>.
62454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62455         the relevant type.
62457 2013-06-12  Andreas Jaeger  <aj@suse.de>
62459         * po/ia.po: Update Interlingua translation from translation
62460         project.
62462 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62464         * include/fenv.h: Include stdbool.h.
62465         (struct rm_ctx): New structure.
62466         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62467         Define macro.
62468         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62469         (SET_RESTORE_ROUNDF): Likewise.
62470         (SET_RESTORE_ROUNDL): Likewise.
62471         (SET_RESTORE_ROUND_NOEX): Likewise.
62472         (SET_RESTORE_ROUND_NOEXF): Likewise.
62473         (SET_RESTORE_ROUND_NOEXL): Likewise.
62474         (SET_RESTORE_ROUND_53BIT): Likewise.
62475         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62476         (libc_feresetround_noexf_ctx): Likewise.
62477         (libc_feresetround_noexl_ctx): Likewise.
62478         (libc_feholdsetround_53bit_ctx): Likewise.
62479         (libc_feresetround_53bit_ctx): Likewise.
62480         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62481         (libc_feholdexcept_setround_sse_ctx): New function.
62482         (libc_fesetenv_sse_ctx): Likewise.
62483         (libc_feupdateenv_sse_ctx): Likewise.
62484         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62485         (libc_feholdexcept_setround_387_ctx): Likewise.
62486         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62487         (libc_feholdsetround_387_prec_ctx): Likewise.
62488         (libc_feholdsetround_387_ctx): Likewise.
62489         (libc_feholdsetround_387_53bit_ctx): Likewise.
62490         (libc_feholdsetround_sse_ctx): Likewise.
62491         (libc_feresetround_sse_ctx): Likewise.
62492         (libc_feresetround_387_ctx): Likewise.
62493         (libc_feupdateenv_387_ctx): Likewise.
62494         (libc_feholdexcept_setroundf_ctx): Define macro.
62495         (libc_fesetenvf_ctx): Likewise.
62496         (libc_feupdateenvf_ctx): Likewise.
62497         (libc_feholdsetroundf_ctx): Likewise.
62498         (libc_feresetroundf_ctx): Likewise.
62499         (libc_feholdexcept_setround_ctx): Likewise.
62500         (libc_fesetenv_ctx): Likewise.
62501         (libc_feupdateenv_ctx): Likewise.
62502         (libc_feholdsetround_ctx): Likewise.
62503         (libc_feresetround_ctx): Likewise.
62504         (libc_feholdexcept_setroundl_ctx): Likewise.
62505         (libc_feupdateenvl_ctx): Likewise.
62506         (libc_feholdsetroundl_ctx): Likewise.
62507         (libc_feresetroundl_ctx): Likewise.
62508         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62509         (libc_feresetround_53bit_ctx): Likewise.
62511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62513         * locale/iso-639.def: Convert to UTF-8.
62515 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62517         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62518         (EXCEPTION_TESTS_double): Likewise.
62519         (EXCEPTION_TESTS_long_double): Likewise.
62520         (EXCEPTION_TESTS): Likewise.
62521         * math/libm-test.inc (test_exceptions): Only test exceptions if
62522         EXCEPTION_TESTS (FLOAT).
62524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62526         * benchtests/Makefile (string-bench): Add strcpy_chk and
62527         stpcpy_chk.
62528         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62529         * benchtests/bench-stpcpy_chk.c: New file.
62530         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62531         * benchtests/bench-strcpy_chk.c: New file.
62532         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62533         code.
62534         (do_test): Likewise.
62536 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62539         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62540         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62541         with tabs where appropriate.
62542         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62543         dl-procinfo.h.
62544         [PPC_PLATFORM_PPC440]: Likewise.
62545         [PPC_PLATFORM_PPC464]: Likewise.
62546         [PPC_PLATFORM_PPC476]: Likewise.
62547         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62548         ppc464, and ppc476 platform strings merging from ports/
62549         dl-procinfo.h.
62551 2013-06-11  Andreas Schwab  <schwab@suse.de>
62553         [BZ #14991]
62554         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62555         (from_ucs4_idx): Regenerate.
62556         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62557         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62558         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62559         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62560         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62561         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62562         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62563         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62564         from FROM_LOOP and TO_LOOP specific macros.
62565         (BODY): Handle combining characters.
62566         * iconvdata/BIG5HKSCS.irreversible: Update.
62567         * iconvdata/BIG5HKSCS.precomposed: New file.
62568         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62569         characters.
62570         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62574         * include/sys/time.h: Fix indentation and add copyright header.
62576         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62577         (do_test): Likewise.
62578         * string/test-memchr.c (do_one_test): Likewise.
62579         (do_test): Likewise.
62580         * string/test-memcmp.c (do_one_test): Likewise.
62581         (do_test): Likewise.
62582         * string/test-memcpy.c (do_one_test): Likewise.
62583         (do_test): Likewise.
62584         * string/test-memmem.c (do_one_test): Likewise.
62585         (do_test): Likewise.
62586         (do_random_tests): Likewise.
62587         * string/test-memmove.c (do_one_test): Likewise.
62588         (do_test): Likewise.
62589         * string/test-memset.c (do_one_test): Likewise.
62590         (do_test): Likewise.
62591         * string/test-rawmemchr.c (do_one_test): Likewise.
62592         (do_test): Likewise.
62593         * string/test-strcasecmp.c (do_one_test): Likewise.
62594         (do_test): Likewise.
62595         * string/test-strcasestr.c (do_one_test): Likewise.
62596         (do_test): Likewise.
62597         * string/test-strcat.c (do_one_test): Likewise.
62598         (do_test): Likewise.
62599         * string/test-strchr.c (do_one_test): Likewise.
62600         (do_test): Likewise.
62601         * string/test-strcmp.c (do_one_test): Likewise.
62602         (do_test): Likewise.
62603         * string/test-strcpy.c (do_one_test): Likewise.
62604         (do_test): Likewise.
62605         * string/test-string.h: Likewise.
62606         (test_init): Likewise.
62607         * string/test-strlen.c (do_one_test): Likewise.
62608         (do_test): Likewise.
62609         * string/test-strncasecmp.c (do_one_test): Likewise.
62610         (do_test): Likewise.
62611         * string/test-strncat.c (do_one_test): Likewise.
62612         (do_test): Likewise.
62613         * string/test-strncmp.c (do_one_test): Likewise.
62614         (do_test_limit): Likewise.
62615         (do_test): Likewise.
62616         * string/test-strncpy.c (do_one_test): Likewise.
62617         (do_test): Likewise.
62618         * string/test-strnlen.c (do_one_test): Likewise.
62619         (do_test): Likewise.
62620         * string/test-strpbrk.c (do_one_test): Likewise.
62621         (do_test): Likewise.
62622         * string/test-strrchr.c (do_one_test): Likewise.
62623         (do_test): Likewise.
62624         * string/test-strspn.c (do_one_test): Likewise.
62625         (do_test): Likewise.
62626         * string/test-strstr.c (do_one_test): Likewise.
62627         (do_test): Likewise.
62629         * benchtests/Makefile (string-bench): Add string benchmarks.
62630         * benchtests/bench-bcopy-ifunc.c: New file.
62631         * benchtests/bench-bcopy.c: New file.
62632         * benchtests/bench-bzero-ifunc.c: New file.
62633         * benchtests/bench-bzero.c: New file.
62634         * benchtests/bench-memccpy-ifunc.c: New file.
62635         * benchtests/bench-memccpy.c: New file.
62636         * benchtests/bench-memchr-ifunc.c: New file.
62637         * benchtests/bench-memchr.c: New file.
62638         * benchtests/bench-memcmp-ifunc.c: New file.
62639         * benchtests/bench-memcmp.c: New file.
62640         * benchtests/bench-memmem-ifunc.c: New file.
62641         * benchtests/bench-memmem.c: New file.
62642         * benchtests/bench-memmove-ifunc.c: New file.
62643         * benchtests/bench-memmove.c: New file.
62644         * benchtests/bench-mempcpy-ifunc.c: New file.
62645         * benchtests/bench-mempcpy.c: New file.
62646         * benchtests/bench-memset-ifunc.c: New file.
62647         * benchtests/bench-memset.c: New file.
62648         * benchtests/bench-rawmemchr-ifunc.c: New file.
62649         * benchtests/bench-rawmemchr.c: New file.
62650         * benchtests/bench-stpcpy-ifunc.c: New file.
62651         * benchtests/bench-stpcpy.c: New file.
62652         * benchtests/bench-stpncpy-ifunc.c: New file.
62653         * benchtests/bench-stpncpy.c: New file.
62654         * benchtests/bench-strcasecmp-ifunc.c: New file.
62655         * benchtests/bench-strcasecmp.c: New file.
62656         * benchtests/bench-strcasestr-ifunc.c: New file.
62657         * benchtests/bench-strcasestr.c: New file.
62658         * benchtests/bench-strcat-ifunc.c: New file.
62659         * benchtests/bench-strcat.c: New file.
62660         * benchtests/bench-strchr-ifunc.c: New file.
62661         * benchtests/bench-strchr.c: New file.
62662         * benchtests/bench-strchrnul-ifunc.c: New file.
62663         * benchtests/bench-strchrnul.c: New file.
62664         * benchtests/bench-strcmp-ifunc.c: New file.
62665         * benchtests/bench-strcmp.c: New file.
62666         * benchtests/bench-strcpy-ifunc.c: New file.
62667         * benchtests/bench-strcpy.c: New file.
62668         * benchtests/bench-strcspn-ifunc.c: New file.
62669         * benchtests/bench-strcspn.c: New file.
62670         * benchtests/bench-strlen-ifunc.c: New file.
62671         * benchtests/bench-strlen.c: New file.
62672         * benchtests/bench-strncasecmp-ifunc.c: New file.
62673         * benchtests/bench-strncasecmp.c: New file.
62674         * benchtests/bench-strncat-ifunc.c: New file.
62675         * benchtests/bench-strncat.c: New file.
62676         * benchtests/bench-strncmp-ifunc.c: New file.
62677         * benchtests/bench-strncmp.c: New file.
62678         * benchtests/bench-strncpy-ifunc.c: New file.
62679         * benchtests/bench-strncpy.c: New file.
62680         * benchtests/bench-strnlen-ifunc.c: New file.
62681         * benchtests/bench-strnlen.c: New file.
62682         * benchtests/bench-strpbrk-ifunc.c: New file.
62683         * benchtests/bench-strpbrk.c: New file.
62684         * benchtests/bench-strrchr-ifunc.c: New file.
62685         * benchtests/bench-strrchr.c: New file.
62686         * benchtests/bench-strspn-ifunc.c: New file.
62687         * benchtests/bench-strspn.c: New file.
62688         * benchtests/bench-strstr-ifunc.c: New file.
62689         * benchtests/bench-strstr.c: New file.
62691         * benchtests/Makefile: Disable parallel execution of targets.
62692         (string-bench): Add memcpy.
62693         (benchset): New variable to store a list of benchmark sets.
62694         (bench-func): Renamed from bench.
62695         (bench-set): New target.
62696         (bench): Depend on bench-func and bench-set.
62697         * benchtests/README: Add section on benchmark sets.
62698         * benchtests/bench-memcpy-ifunc.c: New file.
62699         * benchtests/bench-memcpy.c: New file.
62700         * benchtests/bench-string.h: New file.
62702 2013-06-11  Andreas Schwab  <schwab@suse.de>
62704         [BZ #15577]
62705         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62706         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62707         values in the triple.
62708         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62709         terminator in the group key.
62711 2013-06-11  Andreas Jaeger  <aj@suse.de>
62713         * po/zh_TW.po: Update Chinese (traditional) translation from
62714         translation project.
62716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62718         * include/time.h (__clock_gettime): Add libc_hidden_proto.
62719         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62720         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
62721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62722         (clock_getcpuclockid): Likewise.
62723         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62724         Add weak_alias and libc_hidden_def.
62725         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62726         * rt/clock_gettime.c (clock_gettime): Rename to
62727         __clock_gettime.  Add weak_alias and libc_hidden_def.
62728         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62729         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62730         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
62731         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62732         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62733         Likewise.
62734         * rt/clock_settime.c (clock_settime): Rename to
62735         __clock_settime.  Add weak_alias and libc_hidden_def.
62736         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62738 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
62740         * mach/err_boot.sub: Remove trailing whitespace.
62741         * mach/err_ipc.sub: Likewise.
62742         * mach/err_mach.sub: Likewise.
62744         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62745         (ROUNDING_TESTS_double): Likewise.
62746         (ROUNDING_TESTS_long_double): Likewise.
62747         (ROUNDING_TESTS): Likewise.
62748         * math/libm-test.inc: Include <math-tests.h>.
62749         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62750         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62751         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62752         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62754 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62756         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62757         of assigning.
62759 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
62761         * sysdeps/gnu/errlist.awk: Do not generate space at end of
62762         otherwise empty TRANS lines.
62763         * sysdeps/gnu/errlist.c: Regenerated.
62765         * catgets/gencat.c (error_print): Use (void) in function
62766         definition.
62767         * crypt/crypt_util.c (__init_des): Likewise.
62768         * crypt/speeds.c (Stop): Likewise.
62769         (main): Likewise.
62770         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62771         * inet/ruserpass.c (token): Likewise.
62772         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62773         * intl/localealias.c (extend_alias_table): Likewise.
62774         * intl/plural-exp.c (init_germanic_plural): Likewise.
62775         * libio/fcloseall.c (__fcloseall): Likewise.
62776         * libio/genops.c (_IO_flush_all): Likewise.
62777         (_IO_flush_all_linebuffered): Likewise.
62778         (_IO_cleanup): Likewise.
62779         (_IO_iter_begin): Likewise.
62780         (_IO_iter_end): Likewise.
62781         (_IO_list_lock): Likewise.
62782         (_IO_list_unlock): Likewise.
62783         (_IO_list_resetlock): Likewise.
62784         * libio/getchar.c (getchar): Likewise.
62785         * libio/getchar_u.c (getchar_unlocked): Likewise.
62786         * libio/getwchar.c (getwchar): Likewise.
62787         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62788         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62789         * login/getpt.c (__getpt): Likewise.
62790         * login/tst-utmp.c (main): Likewise.
62791         * malloc/hooks.c (__malloc_check_init): Likewise.
62792         * malloc/malloc.c (__malloc_stats): Likewise.
62793         * malloc/mtrace.c (tr_break): Likewise.
62794         (mtrace): Likewise.
62795         (muntrace): Likewise.
62796         * misc/fstab.c (endfsent): Likewise.
62797         * misc/getclktck.c (__getclktck): Likewise.
62798         * misc/getdtsz.c (__getdtablesize): Likewise.
62799         * misc/gethostid.c (gethostid): Likewise.
62800         * misc/getpagesize.c (__getpagesize): Likewise.
62801         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62802         (__get_nprocs): Likewise.
62803         (__get_phys_pages): Likewise.
62804         (__get_avphys_pages): Likewise.
62805         * misc/getttyent.c (getttyent): Likewise.
62806         (setttyent): Likewise.
62807         (endttyent): Likewise.
62808         * misc/getusershell.c (getusershell): Likewise.
62809         (endusershell): Likewise.
62810         (setusershell): Likewise.
62811         (initshells): Likewise.
62812         * misc/hsearch.c (__hdestroy): Likewise.
62813         * misc/sync.c (sync): Likewise.
62814         * misc/syslog.c (closelog_internal): Likewise.
62815         (closelog): Likewise.
62816         * misc/ttyslot.c (ttyslot): Likewise.
62817         * misc/vhangup.c (vhangup): Likewise.
62818         * posix/fork.c (__fork): Likewise.
62819         * posix/getegid.c (__getegid): Likewise.
62820         * posix/geteuid.c (__geteuid): Likewise.
62821         * posix/getgid.c (__getgid): Likewise.
62822         * posix/getpid.c (__getpid): Likewise.
62823         * posix/getppid.c (__getppid): Likewise.
62824         * posix/getuid.c (__getuid): Likewise.
62825         * posix/pause.c (pause): Likewise.
62826         * posix/setpgrp.c (setpgrp): Likewise.
62827         * posix/setsid.c (__setsid): Likewise.
62828         * posix/test-vfork.c (noop): Likewise.
62829         * resolv/gethnamaddr.c (_endhtent): Likewise.
62830         (_gethtent): Likewise.
62831         (ht_endhostent): Likewise.
62832         (gethostent): Likewise.
62833         (dns_service): Likewise.
62834         * stdlib/drand48.c (drand48): Likewise.
62835         * stdlib/lrand48.c (lrand48): Likewise.
62836         * stdlib/mrand48.c (mrand48): Likewise.
62837         * stdlib/rand.c (rand): Likewise.
62838         * stdlib/random.c (__random): Likewise.
62839         * stdlib/setenv.c (clearenv): Likewise.
62840         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62841         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62842         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62843         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62844         (__get_nprocs): Likewise.
62845         (__get_phys_pages): Likewise.
62846         (__get_avphys_pages): Likewise.
62847         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62848         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62849         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62850         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62851         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62852         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62853         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62854         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62855         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62856         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62857         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62858         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62859         * sysdeps/posix/clock.c (clock): Likewise.
62860         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62861         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62862         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62863         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62864         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62866         (__get_nprocs_conf): Likewise.
62867         (__get_phys_pages): Likewise.
62868         (__get_avphys_pages): Likewise.
62869         * time/clock.c (clock): Likewise.
62870         * time/tzset.c (__tzname_max): Likewise.
62872 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62874         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62875         (__bswap_32): Do not use "register".
62876         * crypt/crypt.c (_ufc_doit_r): Likewise.
62877         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62879         * gmon/gmon.c (__monstartup): Likewise.
62880         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62881         * hurd/hurdmalloc.c (more_memory): Likewise.
62882         (malloc): Likewise.
62883         (free): Likewise.
62884         (realloc): Likewise.
62885         (malloc_fork_prepare): Likewise.
62886         (malloc_fork_parent): Likewise.
62887         (malloc_fork_child): Likewise.
62888         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62889         (_svcauth_des): Likewise.
62890         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62891         * inet/inet_net.c (inet_network): Likewise.
62892         * inet/inet_netof.c (inet_netof): Likewise.
62893         * inet/rcmd.c (__validuser2_sa): Likewise.
62894         * io/fts.c (fts_open): Likewise.
62895         (fts_load): Likewise.
62896         (fts_close): Likewise.
62897         (fts_read): Likewise.
62898         (fts_children): Likewise.
62899         (fts_build): Likewise.
62900         (fts_stat): Likewise.
62901         (fts_sort): Likewise.
62902         (fts_alloc): Likewise.
62903         (fts_lfree): Likewise.
62904         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62905         (_IO_file_xsgetn): Likewise.
62906         (_IO_file_xsgetn_mmap): Likewise.
62907         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62908         (_IO_cookie_write): Likewise.
62909         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62910         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62911         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62912         * malloc/obstack.c (_obstack_begin): Likewise.
62913         (_obstack_begin_1): Likewise.
62914         (_obstack_newchunk): Likewise.
62915         (_obstack_allocated_p): Likewise.
62916         (obstack_free): Likewise.
62917         (_obstack_memory_used): Likewise.
62918         * misc/getttyent.c (getttynam): Likewise.
62919         (getttyent): Likewise.
62920         (skip): Likewise.
62921         (value): Likewise.
62922         * misc/getusershell.c (initshells): Likewise.
62923         * misc/syslog.c (__vsyslog_chk): Likewise.
62924         * misc/ttyslot.c (ttyslot): Likewise.
62925         * nis/nis_hash.c (__nis_hash): Likewise.
62926         * posix/fnmatch_loop.c (FCT): Likewise.
62927         * posix/getconf.c (print_all): Likewise.
62928         (main): Likewise.
62929         * posix/getopt.c (exchange): Likewise.
62930         * posix/glob.c (globfree): Likewise.
62931         (prefix_array): Likewise.
62932         (__glob_pattern_type): Likewise.
62933         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62934         (NS_GET32): Likewise.
62935         (NS_PUT16): Likewise.
62936         (NS_PUT32): Likewise.
62937         * resolv/gethnamaddr.c (getanswer): Likewise.
62938         (gethostbyname2): Likewise.
62939         (gethostbyaddr): Likewise.
62940         (_gethtent): Likewise.
62941         (_gethtbyname2): Likewise.
62942         (_gethtbyaddr): Likewise.
62943         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62944         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62945         * resolv/res_init.c (__res_vinit): Likewise.
62946         (net_mask): Likewise.
62947         * resolv/res_mkquery.c (outchar): Likewise.
62948         (PRINT): Likewise.
62949         * stdio-common/printf_fp.c (outchar): Likewise.
62950         (PRINT): Likewise.
62951         * stdio-common/printf_fphex.c (outchar): Likewise.
62952         (PRINT): Likewise.
62953         * stdio-common/printf_size.c (outchar): Likewise.
62954         (PRINT): Likewise.
62955         * stdio-common/test_rdwr.c (main): Likewise.
62956         * stdio-common/tfformat.c (matches): Likewise.
62957         * stdio-common/vfprintf.c (outchar): Likewise.
62958         (printf_unknown): Likewise.
62959         (buffered_vfprintf): Likewise.
62960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62961         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62962         (ReadFile): Likewise.
62963         * stdlib/qsort.c (SWAP): Likewise.
62964         (_quicksort): Likewise.
62965         * stdlib/setenv.c (__add_to_environ): Likewise.
62966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62967         * stdlib/strtol_l.c (__strtol_l): Likewise.
62968         * stdlib/tst-strtod.c (main): Likewise.
62969         * stdlib/tst-strtol.c (main): Likewise.
62970         * stdlib/tst-strtoll.c (main): Likewise.
62971         * string/bits/string2.h (__strcmp_cc): Likewise.
62972         (__strcmp_cg): Likewise.
62973         (__strcspn_c1): Likewise.
62974         (__strcspn_c2): Likewise.
62975         (__strcspn_c3): Likewise.
62976         (__strspn_c1): Likewise.
62977         (__strspn_c2): Likewise.
62978         (__strspn_c3): Likewise.
62979         (__strsep_1c): Likewise.
62980         (__strsep_2c): Likewise.
62981         (__strsep_3c): Likewise.
62982         * string/memccpy.c (__memccpy): Likewise.
62983         * string/stpcpy.c (__stpcpy): Likewise.
62984         * string/strcmp.c (strcmp): Likewise.
62985         * string/strrchr.c (strrchr): Likewise.
62986         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62987         Likewise.
62988         * sysdeps/mach/hurd/getcwd.c
62989         (_hurd_canonicalize_directory_name_internal): Likewise.
62990         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62991         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62992         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62993         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62994         Likewise, in both definitions.
62995         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62996         definitions.
62997         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62998         64] (__bswap_64): Likewise.
62999         * time/test_time.c (main): Likewise.
63000         * time/tzfile.c (__tzfile_read): Likewise.
63001         (__tzfile_compute): Likewise.
63002         * time/tzset.c (__tzset_parse_tz): Likewise.
63003         (tzset_internal): Likewise.
63004         (compute_change): Likewise.
63005         * wcsmbs/wcscat.c (__wcscat): Likewise.
63006         * wcsmbs/wcschr.c (wcschr): Likewise.
63007         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63008         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63009         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63010         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63011         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63012         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63013         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63014         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63015         * wcsmbs/wmemset.c (wmemset): Likewise.
63017 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63019         * scripts/config.guess: Update to version 2013-05-16.
63020         * scripts/config.sub: Update to version 2013-04-24.
63021         * scripts/install-sh: Update to version 2011-11-20.07.
63022         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63023         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63025 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63027         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63028         * elf/sln.c: Likewise.
63029         * hurd/hurd/ioctl.h: Likewise.
63030         * hurd/hurdmalloc.c: Likewise.
63031         * hurd/xattr.c: Likewise.
63032         * include/shlib-compat.h: Likewise.
63033         * inet/ruserpass.c: Likewise.
63034         * libio/iofgets_u.c: Likewise.
63035         * libio/iofgetws_u.c: Likewise.
63036         * locale/programs/ld-identification.c: Likewise.
63037         * locale/programs/ld-time.c: Likewise.
63038         * mach/msg-destroy.c: Likewise.
63039         * nss/nss_files/files-netgrp.c: Likewise.
63040         * resolv/res_data.c: Likewise.
63041         * soft-fp/op-1.h: Likewise.
63042         * soft-fp/op-2.h: Likewise.
63043         * soft-fp/op-4.h: Likewise.
63044         * soft-fp/op-common.h: Likewise.
63045         * stdio-common/printf_fphex.c: Likewise.
63046         * stdlib/strtod_l.c: Likewise.
63047         * sunrpc/rpc/clnt.h: Likewise.
63048         * sysdeps/generic/framestate.c: Likewise.
63049         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63050         * sysdeps/i386/bsd-setjmp.S: Likewise.
63051         * sysdeps/i386/__longjmp.S: Likewise.
63052         * sysdeps/i386/setjmp.S: Likewise.
63053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63054         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63062         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63071         * sysdeps/ieee754/support.c: Likewise.
63072         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63073         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63074         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63075         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63076         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63077         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63079         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63080         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63081         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63082         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63083         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63084         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63085         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63086         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63087         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63088         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63091 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
63093         * posix/transbug.c: Remove executable mode.
63095 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
63097         * crypt/speeds.c: Remove trailing whitespace.
63098         * dlfcn/default.c: Likewise.
63099         * elf/ifuncdep2.c: Likewise.
63100         * elf/ifuncmain1.c: Likewise.
63101         * elf/ifuncmain1vis.c: Likewise.
63102         * elf/testobj.h: Likewise.
63103         * elf/tst-stackguard1.c: Likewise.
63104         * gmon/sys/gmon.h: Likewise.
63105         * hurd/hurdmsg.c: Likewise.
63106         * hurd/new-fd.c: Likewise.
63107         * hurd/ports-get.c: Likewise.
63108         * iconvdata/ibm1008_420.c: Likewise.
63109         * inet/tst-getni1.c: Likewise.
63110         * inet/tst-getni2.c: Likewise.
63111         * libio/ioungetc.c: Likewise.
63112         * libio/wfiledoalloc.c: Likewise.
63113         * manual/libm-err-tab.pl: Likewise.
63114         * math/w_dremf.c: Likewise.
63115         * misc/ftruncate.c: Likewise.
63116         * posix/bug-glob2.c: Likewise.
63117         * posix/tst-pcre.c: Likewise.
63118         * posix/wait4.c: Likewise.
63119         * resolv/README: Likewise.
63120         * resolv/res_debug.h: Likewise.
63121         * resolv/tst-inet_ntop.c: Likewise.
63122         * setjmp/bug269-setjmp.c: Likewise.
63123         * soft-fp/extended.h: Likewise.
63124         * soft-fp/op-1.h: Likewise.
63125         * soft-fp/op-2.h: Likewise.
63126         * soft-fp/op-4.h: Likewise.
63127         * soft-fp/op-8.h: Likewise.
63128         * soft-fp/testit.c: Likewise.
63129         * stdio-common/bug16.c: Likewise.
63130         * stdlib/random.c: Likewise.
63131         * sunrpc/rpcsvc/rquota.x: Likewise.
63132         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63133         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63135         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63136         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63139         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63141         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63142         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63143         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63145         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63147         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63148         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63150         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63153         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63154         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63155         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63156         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63159         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63161         * sysdeps/ieee754/s_lib_version.c: Likewise.
63162         * sysdeps/mach/hurd/check_fds.c: Likewise.
63163         * sysdeps/mach/hurd/getsockname.c: Likewise.
63164         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63165         * sysdeps/mach/hurd/recvfrom.c: Likewise.
63166         * sysdeps/powerpc/bits/link.h: Likewise.
63167         * sysdeps/powerpc/dl-procinfo.c: Likewise.
63168         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63169         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63170         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63171         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63173         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63174         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63175         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63176         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63177         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63178         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63179         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63181         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63182         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63183         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63184         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63186         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63188         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63190         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63195         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63201         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63202         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63203         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63204         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63205         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63206         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63207         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63208         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63209         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63210         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63211         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63212         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63213         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63214         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63215         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63216         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63219         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63221         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63222         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63224         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63225         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63226         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63227         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63228         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63229         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63230         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63231         * sysdeps/powerpc/sysdep.h: Likewise.
63232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63233         * sysdeps/s390/s390-64/sub_n.S: Likewise.
63234         * sysdeps/sh/dl-trampoline.S: Likewise.
63235         * sysdeps/sh/memset.S: Likewise.
63236         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63237         * sysdeps/sh/strlen.S: Likewise.
63238         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63239         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63240         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63241         * sysdeps/sparc/sparc32/rem.S: Likewise.
63242         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63243         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63244         * sysdeps/sparc/sparc32/strchr.S: Likewise.
63245         * sysdeps/sparc/sparc32/udiv.S: Likewise.
63246         * sysdeps/sparc/sparc32/urem.S: Likewise.
63247         * sysdeps/sparc/sparc64/add_n.S: Likewise.
63248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63249         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63250         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63252         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63253         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63254         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63255         * sysdeps/unix/bsd/times.c: Likewise.
63256         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63257         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
63258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
63259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
63260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
63261         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
63262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
63263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
63264         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
63265         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
63266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
63267         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63268         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
63269         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63270         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63271         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
63272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63273         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63274         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63275         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63276         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63277         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63278         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63279         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63280         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63281         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63282         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63283         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63284         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63285         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63286         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63287         * sysdeps/x86_64/strcspn.S: Likewise.
63289 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63291         * locale/C-translit.h: Revert #include <stdint.h> because this is a
63292         generated file.  Regenerate properly from gen-translit.pl.
63293         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
63294         locale/C-translit.h.
63296 2013-06-05  Andreas Schwab  <schwab@suse.de>
63298         [BZ #15100]
63299         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63300         week as 6 instead of -1.
63301         * time/tst-strptime.c (day_tests): Add test case.
63303 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63305         * sysdeps/generic/math_private.h
63306         (libc_feholdexcept_setround_53bit): Replace with
63307         libc_feholdsetround_53bit.
63308         (libc_feupdateenv_53bit): Replace with
63309         libc_feresetround_53bit.
63310         (SET_RESTORE_ROUND_53BIT): Adjust.
63312 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63314         * string/test-strchrnul.c: Add copyright header.
63316         * posix/tst-getaddrinfo4.c: Increase test timeout.
63318 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
63320         [BZ #15536]
63321         * math/libm-test.inc (MAX_EXP): Remove
63322         (MIN_EXP): Define.
63323         (ulp): Use MIN_EXP - MANT_DIG.
63324         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63326 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
63328         * po/be.po: Revert last change.
63329         * po/zh_CN.po: Likewise.
63330         * po/header.pot: Likewise.
63332 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
63334         * Makefile ($(common-objpfx)linkobj/libc.so): Define
63335         link-libc-deps to empty as target-specific variable.
63336         * Makerules (link-libc-args): New variable.
63337         (libc-for-link): Likewise.
63338         (link-libc-deps): Likewise.
63339         (lib%.so): Depend on $(link-libc-deps).  Link with
63340         $(link-libc-args).
63341         (build-module): Link with $(link-libc-args).
63342         (build-module-asneeded): Likewise.
63343         (build-module-helper-objlist): Filter out $(link-libc-deps) from
63344         list of objects.
63345         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63346         target-specific variable.
63347         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63348         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63349         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63350         libc.
63351         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63352         libc and ld.so.
63353         ($(objpfx)libpcprofile.so): Likewise.
63354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63355         libc_nonshared.a.
63356         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63357         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63358         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63359         $(link-libc-deps).
63360         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63361         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63362         * login/Makefile ($(objpfx)libutil.so): Likewise.
63363         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63364         * math/Makefile ($(objpfx)libm.so): Likewise.
63365         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63366         $(objpfx)libnsl.so): Define libc-for-link as target-specific
63367         variable instead of depending directly on libc.
63368         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63369         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63370         $(link-libc-deps).
63371         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63372         libc.
63373         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63374         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63375         ($(objpfx)libanl.so): Likewise.
63376         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63377         ld.so.
63378         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63379         $(link-libc-deps).
63380         * sysdeps/i386/fpu/Makefile: Remove file.
63381         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63382         ($(objpfx)libm.so): Remove dependency on ld.so.
63384 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
63386         [BZ # 15553]
63387         * nis/yp_xdr.c (XDRMAXNAME): Define.
63388         (XDRMAXRECORD): Define.
63389         (xdr_domainname): Use XDRMAXNAME.
63390         (xdr_mapname): Likewise.
63391         (xdr_peername): Likewise.
63392         (xdr_keydat): Use XDRMAXRECORD.
63393         (xdr_valdat): Likewise.
63395 2013-05-30  Jeff Law  <law@redhat.com>
63397         [BZ #14256]
63398         * manual/errno.texi (ESTALE): Update to account for more than
63399         just NFS file systems.
63400         * sysdeps/gnu/errlist.c: Regenerated.
63402 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63404         [BZ #15465]
63405         * elf/Makefile (tests): Add tst-null-argv.
63406         (modules-names):  Add tst-null-argv-lib.
63407         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63408         (tst-null-argv-ENV): Set environment for tst-null-argv.
63409         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63410         (RTLD_PROGNAME): New macro.
63411         * elf/tst-null-argv.c: New test case.
63412         * elf/tst-null-argv-lib.c: Library for test case.
63413         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63414         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63415         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63416         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63417         * elf/dl-init.c (call_init): Likewise.
63418         (_dl_init): Likewise.
63419         * elf/dl-load.c (print_search_path): Likewise.
63420         (_dl_map_object): Likewise.
63421         * elf/dl-lookup.c (do_lookup_x): Likewise.
63422         (add_dependency): Likewise.
63423         (_dl_lookup_symbol_x): Likewise.
63424         (_dl_debug_bindings): Likewise.
63425         * elf/dl-open.c (_dl_show_scope): Likewise.
63426         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63427         * elf/dl-version.c (match_symbol): Likewise.
63428         (_dl_check_map_versions): Likewise.
63429         * elf/rtld.c (dl_main): Likewise.
63430         (print_unresolved): Use RTLD_PROGNAME.
63431         (print_missing_version): Likewise.
63432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63433         (elf_machine_rela): Likewise.
63434         * sysdeps/powerpc/powerpc32/dl-machine.c
63435         (__process_machine_rela): Likewise.
63436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63437         Likewise.
63438         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63439         Likewise.
63440         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63441         Likewise.
63442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63444         Likewise.
63445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63446         Likewise.
63447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63449 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63451         * po/be.po: Add descriptive title.
63452         * po/zh_CN.po: Likewise.
63453         * po/header.pot: Likewise.
63455 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63457         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63458         error message.
63459         (enlarge_archive): Likewise.
63461 2013-05-28  Ben North  <ben@redfrontdoor.org>
63463         * manual/arith.texi (frexp): It is the magnitude of the return
63464         value which lies in [0.5, 1), not the return value itself.
63466 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63470 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63472         * stdio-common/bug26.c (main): Correct fscanf template.
63474         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63475         declare _dl_skip_args.
63477         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63478         Don't declare.
63480         * manual/platform.texi: Add missing @end deftypefun.
63482 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63484         [BZ #15529]
63485         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63486         bit of mantissa of 2^16382.
63487         * math/libm-test.inc (hypot_test_data): Add more tests.
63489         * math/libm-test.inc: Add drem and pow10 to list of tested
63490         functions.
63491         (pow10_test): New function.
63492         (drem_test): Likewise.
63493         (drem_test_tonearest): Likewise.
63494         (drem_test_towardzero): Likewise.
63495         (drem_test_downward): Likewise.
63496         (drem_test_upward): Likewise.
63497         (main): Call the new functions.
63499         * math/libm-test.inc (finite_test_data): Remove.
63500         (finite_test): Run tests from isfinite_test_data.
63501         (gamma_test_data): Remove.
63502         (gamma_test): Run tests from lgamma_test_data.
63503         * sysdeps/i386/fpu/libm-test-ulps: Update.
63504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63506 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63508         * manual/platform.texi: Add PowerPC PPR function set documentation.
63509         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63510         implementation.
63512 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63514         * math/libm-test.inc (MAX_EXP): Define.
63515         (ULPDIFF): Define.
63516         (ulp): New function.
63517         (check_float_internal): Use ULPDIFF.
63518         (cpow_test): Disable failing test.
63519         (check_ulp): Test ulp() implementation.
63520         (main): Call check_ulp before starting tests.
63522 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63524         * math/gen-libm-test.pl (generate_testfile): Do not handle
63525         START_DATA and END_DATA.
63526         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63527         END_DATA.
63528         (acos_tonearest_test_data): Likewise.
63529         (acos_towardzero_test_data): Likewise.
63530         (acos_downward_test_data): Likewise.
63531         (acos_upward_test_data): Likewise.
63532         (acosh_test_data): Likewise.
63533         (asin_test_data): Likewise.
63534         (asin_tonearest_test_data): Likewise.
63535         (asin_towardzero_test_data): Likewise.
63536         (asin_downward_test_data): Likewise.
63537         (asin_upward_test_data): Likewise.
63538         (asinh_test_data): Likewise.
63539         (atan_test_data): Likewise.
63540         (atanh_test_data): Likewise.
63541         (atan2_test_data): Likewise.
63542         (cabs_test_data): Likewise.
63543         (cacos_test_data): Likewise.
63544         (cacosh_test_data): Likewise.
63545         (carg_test_data): Likewise.
63546         (casin_test_data): Likewise.
63547         (casinh_test_data): Likewise.
63548         (catan_test_data): Likewise.
63549         (catanh_test_data): Likewise.
63550         (cbrt_test_data): Likewise.
63551         (ccos_test_data): Likewise.
63552         (ccosh_test_data): Likewise.
63553         (ceil_test_data): Likewise.
63554         (cexp_test_data): Likewise.
63555         (cimag_test_data): Likewise.
63556         (clog_test_data): Likewise.
63557         (clog10_test_data): Likewise.
63558         (conj_test_data): Likewise.
63559         (copysign_test_data): Likewise.
63560         (cos_test_data): Likewise.
63561         (cos_tonearest_test_data): Likewise.
63562         (cos_towardzero_test_data): Likewise.
63563         (cos_downward_test_data): Likewise.
63564         (cos_upward_test_data): Likewise.
63565         (cosh_test_data): Likewise.
63566         (cosh_tonearest_test_data): Likewise.
63567         (cosh_towardzero_test_data): Likewise.
63568         (cosh_downward_test_data): Likewise.
63569         (cosh_upward_test_data): Likewise.
63570         (cpow_test_data): Likewise.
63571         (cproj_test_data): Likewise.
63572         (creal_test_data): Likewise.
63573         (csin_test_data): Likewise.
63574         (csinh_test_data): Likewise.
63575         (csqrt_test_data): Likewise.
63576         (ctan_test_data): Likewise.
63577         (ctan_tonearest_test_data): Likewise.
63578         (ctan_towardzero_test_data): Likewise.
63579         (ctan_downward_test_data): Likewise.
63580         (ctan_upward_test_data): Likewise.
63581         (ctanh_test_data): Likewise.
63582         (ctanh_tonearest_test_data): Likewise.
63583         (ctanh_towardzero_test_data): Likewise.
63584         (ctanh_downward_test_data): Likewise.
63585         (ctanh_upward_test_data): Likewise.
63586         (erf_test_data): Likewise.
63587         (erfc_test_data): Likewise.
63588         (exp_test_data): Likewise.
63589         (exp_tonearest_test_data): Likewise.
63590         (exp_towardzero_test_data): Likewise.
63591         (exp_downward_test_data): Likewise.
63592         (exp_upward_test_data): Likewise.
63593         (exp10_test_data): Likewise.
63594         (exp2_test_data): Likewise.
63595         (expm1_test_data): Likewise.
63596         (fabs_test_data): Likewise.
63597         (fdim_test_data): Likewise.
63598         (finite_test_data): Likewise.
63599         (floor_test_data): Likewise.
63600         (fma_test_data): Likewise.
63601         (fma_towardzero_test_data): Likewise.
63602         (fma_downward_test_data): Likewise.
63603         (fma_upward_test_data): Likewise.
63604         (fmax_test_data): Likewise.
63605         (fmin_test_data): Likewise.
63606         (fmod_test_data): Likewise.
63607         (fpclassify_test_data): Likewise.
63608         (frexp_test_data): Likewise.
63609         (gamma_test_data): Likewise.
63610         (hypot_test_data): Likewise.
63611         (ilogb_test_data): Likewise.
63612         (isfinite_test_data): Likewise.
63613         (isgreater_test_data): Likewise.
63614         (isgreaterequal_test_data): Likewise.
63615         (isinf_test_data): Likewise.
63616         (isless_test_data): Likewise.
63617         (islessequal_test_data): Likewise.
63618         (islessgreater_test_data): Likewise.
63619         (isnan_test_data): Likewise.
63620         (isnormal_test_data): Likewise.
63621         (issignaling_test_data): Likewise.
63622         (isunordered_test_data): Likewise.
63623         (j0_test_data): Likewise.
63624         (j1_test_data): Likewise.
63625         (jn_test_data): Likewise.
63626         (ldexp_test_data): Likewise.
63627         (lgamma_test_data): Likewise.
63628         (lrint_test_data): Likewise.
63629         (lrint_tonearest_test_data): Likewise.
63630         (lrint_towardzero_test_data): Likewise.
63631         (lrint_downward_test_data): Likewise.
63632         (lrint_upward_test_data): Likewise.
63633         (llrint_test_data): Likewise.
63634         (llrint_tonearest_test_data): Likewise.
63635         (llrint_towardzero_test_data): Likewise.
63636         (llrint_downward_test_data): Likewise.
63637         (llrint_upward_test_data): Likewise.
63638         (log_test_data): Likewise.
63639         (log10_test_data): Likewise.
63640         (log1p_test_data): Likewise.
63641         (log2_test_data): Likewise.
63642         (logb_test_data): Likewise.
63643         (logb_downward_test_data): Likewise.
63644         (lround_test_data): Likewise.
63645         (llround_test_data): Likewise.
63646         (modf_test_data): Likewise.
63647         (nearbyint_test_data): Likewise.
63648         (nextafter_test_data): Likewise.
63649         (nexttoward_test_data): Likewise.
63650         (pow_test_data): Likewise.
63651         (pow_tonearest_test_data): Likewise.
63652         (pow_towardzero_test_data): Likewise.
63653         (pow_downward_test_data): Likewise.
63654         (pow_upward_test_data): Likewise.
63655         (remainder_test_data): Likewise.
63656         (remainder_tonearest_test_data): Likewise.
63657         (remainder_towardzero_test_data): Likewise.
63658         (remainder_downward_test_data): Likewise.
63659         (remainder_upward_test_data): Likewise.
63660         (remquo_test_data): Likewise.
63661         (rint_test_data): Likewise.
63662         (rint_tonearest_test_data): Likewise.
63663         (rint_towardzero_test_data): Likewise.
63664         (rint_downward_test_data): Likewise.
63665         (rint_upward_test_data): Likewise.
63666         (round_test_data): Likewise.
63667         (scalb_test_data): Likewise.
63668         (scalbn_test_data): Likewise.
63669         (scalbln_test_data): Likewise.
63670         (signbit_test_data): Likewise.
63671         (sin_test_data): Likewise.
63672         (sin_tonearest_test_data): Likewise.
63673         (sin_towardzero_test_data): Likewise.
63674         (sin_downward_test_data): Likewise.
63675         (sin_upward_test_data): Likewise.
63676         (sincos_test_data): Likewise.
63677         (sinh_test_data): Likewise.
63678         (sinh_tonearest_test_data): Likewise.
63679         (sinh_towardzero_test_data): Likewise.
63680         (sinh_downward_test_data): Likewise.
63681         (sinh_upward_test_data): Likewise.
63682         (sqrt_test_data): Likewise.
63683         (tan_test_data): Likewise.
63684         (tan_tonearest_test_data): Likewise.
63685         (tan_towardzero_test_data): Likewise.
63686         (tan_downward_test_data): Likewise.
63687         (tan_upward_test_data): Likewise.
63688         (tanh_test_data): Likewise.
63689         (tgamma_test_data): Likewise.
63690         (trunc_test_data): Likewise.
63691         (y0_test_data): Likewise.
63692         (y1_test_data): Likewise.
63693         (yn_test_data): Likewise.
63694         (significand_test_data): Likewise.
63696         * math/gen-libm-test.pl (@functions): Remove variable.
63697         (generate_testfile): Don't handle START and END lines.
63698         * math/libm-test.inc (START): New macro.
63699         (END): Likewise.
63700         (END_COMPLEX): Likewise.
63701         (acos_test): Use END macro without arguments.
63702         (acos_test_tonearest): Likewise.
63703         (acos_test_towardzero): Likewise.
63704         (acos_test_downward): Likewise.
63705         (acos_test_upward): Likewise.
63706         (acosh_test): Likewise.
63707         (asin_test): Likewise.
63708         (asin_test_tonearest): Likewise.
63709         (asin_test_towardzero): Likewise.
63710         (asin_test_downward): Likewise.
63711         (asin_test_upward): Likewise.
63712         (asinh_test): Likewise.
63713         (atan_test): Likewise.
63714         (atanh_test): Likewise.
63715         (atan2_test): Likewise.
63716         (cabs_test): Likewise.
63717         (cacos_test): Use END_COMPLEX macro without arguments.
63718         (cacosh_test): Likewise.
63719         (carg_test): Use END macro without arguments.
63720         (casin_test): Use END_COMPLEX macro without arguments.
63721         (casinh_test): Likewise.
63722         (catan_test): Likewise.
63723         (catanh_test): Likewise.
63724         (cbrt_test): Use END macro without arguments.
63725         (ccos_test): Use END_COMPLEX macro without arguments.
63726         (ccosh_test): Likewise.
63727         (ceil_test): Use END macro without arguments.
63728         (cexp_test): Use END_COMPLEX macro without arguments.
63729         (cimag_test): Use END macro without arguments.
63730         (clog_test): Use END_COMPLEX macro without arguments.
63731         (clog10_test): Likewise.
63732         (conj_test): Likewise.
63733         (copysign_test): Use END macro without arguments.
63734         (cos_test): Likewise.
63735         (cos_test_tonearest): Likewise.
63736         (cos_test_towardzero): Likewise.
63737         (cos_test_downward): Likewise.
63738         (cos_test_upward): Likewise.
63739         (cosh_test): Likewise.
63740         (cosh_test_tonearest): Likewise.
63741         (cosh_test_towardzero): Likewise.
63742         (cosh_test_downward): Likewise.
63743         (cosh_test_upward): Likewise.
63744         (cpow_test): Use END_COMPLEX macro without arguments.
63745         (cproj_test): Likewise.
63746         (creal_test): Use END macro without arguments.
63747         (csin_test): Use END_COMPLEX macro without arguments.
63748         (csinh_test): Likewise.
63749         (csqrt_test): Likewise.
63750         (ctan_test): Likewise.
63751         (ctan_test_tonearest): Likewise.
63752         (ctan_test_towardzero): Likewise.
63753         (ctan_test_downward): Likewise.
63754         (ctan_test_upward): Likewise.
63755         (ctanh_test): Likewise.
63756         (ctanh_test_tonearest): Likewise.
63757         (ctanh_test_towardzero): Likewise.
63758         (ctanh_test_downward): Likewise.
63759         (ctanh_test_upward): Likewise.
63760         (erf_test): Use END macro without arguments.
63761         (erfc_test): Likewise.
63762         (exp_test): Likewise.
63763         (exp_test_tonearest): Likewise.
63764         (exp_test_towardzero): Likewise.
63765         (exp_test_downward): Likewise.
63766         (exp_test_upward): Likewise.
63767         (exp10_test): Likewise.
63768         (exp2_test): Likewise.
63769         (expm1_test): Likewise.
63770         (fabs_test): Likewise.
63771         (fdim_test): Likewise.
63772         (finite_test): Likewise.
63773         (floor_test): Likewise.
63774         (fma_test): Likewise.
63775         (fma_test_towardzero): Likewise.
63776         (fma_test_downward): Likewise.
63777         (fma_test_upward): Likewise.
63778         (fmax_test): Likewise.
63779         (fmin_test): Likewise.
63780         (fmod_test): Likewise.
63781         (fpclassify_test): Likewise.
63782         (frexp_test): Likewise.
63783         (gamma_test): Likewise.
63784         (hypot_test): Likewise.
63785         (ilogb_test): Likewise.
63786         (isfinite_test): Likewise.
63787         (isgreater_test): Likewise.
63788         (isgreaterequal_test): Likewise.
63789         (isinf_test): Likewise.
63790         (isless_test): Likewise.
63791         (islessequal_test): Likewise.
63792         (islessgreater_test): Likewise.
63793         (isnan_test): Likewise.
63794         (isnormal_test): Likewise.
63795         (issignaling_test): Likewise.
63796         (isunordered_test): Likewise.
63797         (j0_test): Likewise.
63798         (j1_test): Likewise.
63799         (jn_test): Likewise.
63800         (ldexp_test): Likewise.
63801         (lgamma_test): Likewise.
63802         (lrint_test): Likewise.
63803         (lrint_test_tonearest): Likewise.
63804         (lrint_test_towardzero): Likewise.
63805         (lrint_test_downward): Likewise.
63806         (lrint_test_upward): Likewise.
63807         (llrint_test): Likewise.
63808         (llrint_test_tonearest): Likewise.
63809         (llrint_test_towardzero): Likewise.
63810         (llrint_test_downward): Likewise.
63811         (llrint_test_upward): Likewise.
63812         (log_test): Likewise.
63813         (log10_test): Likewise.
63814         (log1p_test): Likewise.
63815         (log2_test): Likewise.
63816         (logb_test): Likewise.
63817         (logb_test_downward): Likewise.
63818         (lround_test): Likewise.
63819         (llround_test): Likewise.
63820         (modf_test): Likewise.
63821         (nearbyint_test): Likewise.
63822         (nextafter_test): Likewise.
63823         (nexttoward_test): Likewise.
63824         (pow_test): Likewise.
63825         (pow_test_tonearest): Likewise.
63826         (pow_test_towardzero): Likewise.
63827         (pow_test_downward): Likewise.
63828         (pow_test_upward): Likewise.
63829         (remainder_test): Likewise.
63830         (remainder_test_tonearest): Likewise.
63831         (remainder_test_towardzero): Likewise.
63832         (remainder_test_downward): Likewise.
63833         (remainder_test_upward): Likewise.
63834         (remquo_test): Likewise.
63835         (rint_test): Likewise.
63836         (rint_test_tonearest): Likewise.
63837         (rint_test_towardzero): Likewise.
63838         (rint_test_downward): Likewise.
63839         (rint_test_upward): Likewise.
63840         (round_test): Likewise.
63841         (scalb_test): Likewise.
63842         (scalbn_test): Likewise.
63843         (scalbln_test): Likewise.
63844         (signbit_test): Likewise.
63845         (sin_test): Likewise.
63846         (sin_test_tonearest): Likewise.
63847         (sin_test_towardzero): Likewise.
63848         (sin_test_downward): Likewise.
63849         (sin_test_upward): Likewise.
63850         (sincos_test): Likewise.
63851         (sinh_test): Likewise.
63852         (sinh_test_tonearest): Likewise.
63853         (sinh_test_towardzero): Likewise.
63854         (sinh_test_downward): Likewise.
63855         (sinh_test_upward): Likewise.
63856         (sqrt_test): Likewise.
63857         (tan_test): Likewise.
63858         (tan_test_tonearest): Likewise.
63859         (tan_test_towardzero): Likewise.
63860         (tan_test_downward): Likewise.
63861         (tan_test_upward): Likewise.
63862         (tanh_test): Likewise.
63863         (tgamma_test): Likewise.
63864         (trunc_test): Likewise.
63865         (y0_test): Likewise.
63866         (y1_test): Likewise.
63867         (yn_test): Likewise.
63868         (significand_test): Likewise.
63870 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63872         [BZ #15381]
63873         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63875 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63877         [BZ #14894]
63878         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63879         __ppc_mdoio and __ppc_mdoom.
63880         * manual/platform.texi: Document new functions __ppc_yield,
63881         __ppc_mdoio and __ppc_mdoom.
63883 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63885         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63886         (main): Mention "tls" pseudo-hwcap is legacy.
63887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63889 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63891         * math/gen-libm-test.pl (parse_args): Output only string of
63892         arguments as text for test name, not full call or descriptions of
63893         tests for extra outputs.
63894         (generate_testfile): Do not pass function name to parse_args.
63895         Generate this_func variable from START.
63896         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63897         field to arg_str.
63898         (struct test_ff_f_data): Likewise.
63899         (test_ff_f_data_nexttoward): Likewise.
63900         (struct test_fi_f_data): Likewise.
63901         (struct test_fl_f_data): Likewise.
63902         (struct test_if_f_data): Likewise.
63903         (struct test_fff_f_data): Likewise.
63904         (struct test_c_f_data): Likewise.
63905         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63906         (struct test_fF_f1_data): Likewise.
63907         (struct test_ffI_f1_data): Likewise.
63908         (struct test_c_c_data): Rename test_name field to arg_str.
63909         (struct test_cc_c_data): Likewise.
63910         (struct test_f_i_data): Likewise.
63911         (struct test_ff_i_data): Likewise.
63912         (struct test_f_l_data): Likewise.
63913         (struct test_f_L_data): Likewise.
63914         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63915         and extra2_name.
63916         (COMMON_TEST_SETUP): New macro.
63917         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63918         (COMMON_TEST_CLEANUP): Likewise.
63919         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63920         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63921         macros.
63922         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63923         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63924         macros.
63925         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63926         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63927         cleanup macros.
63928         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63929         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63930         macros.
63931         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63932         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63933         macros.
63934         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63935         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63936         cleanup macros.
63937         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63938         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63939         cleanup macros.
63940         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63941         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63942         cleanup macros.
63943         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63944         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63945         macros.
63946         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63947         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63948         macros.
63949         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63950         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63951         macros.
63952         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63953         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63954         cleanup macros.
63955         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63956         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63957         cleanup macros.
63958         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63959         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63960         macros.
63961         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63962         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63963         cleanup macros.
63964         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63965         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63966         macros.
63967         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63968         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63969         macros.
63970         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63971         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63972         cleanup macros.
63973         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63975 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63977         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63978         to _sifields.sigfault.
63979         (si_addr_lsb): Define new macro.
63980         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63981         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63982         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63984 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63986         [BZ #15441]
63987         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63988         returns -1.
63989         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63990         null return -1.
63991         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63992         loading the domain.
63994 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63996         * math/gen-libm-test.pl (parse_args): Do not include expected
63997         result in test name.
63998         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64005 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64007         * benchtests/Makefile: Sort function entries.
64009         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64010         tanh, asinh, acosh, atanh.
64011         * benchtests/acos-inputs: New file.
64012         * benchtests/acosh-inputs: New file.
64013         * benchtests/asin-inputs: New file.
64014         * benchtests/asinh-inputs: New file.
64015         * benchtests/atanh-inputs: New file.
64016         * benchtests/cosh-inputs: New file.
64017         * benchtests/log-inputs: New file.
64018         * benchtests/sinh-inputs: New file.
64019         * benchtests/tanh-inputs: New file.
64021 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64023         [BZ #15339]
64024         * posix/tst-getaddrinfo4.c: New test.
64025         * posix/Makefile (tests): Add it.
64027 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64029         [BZ #15339]
64030         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64031         when no services were used.
64032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64033         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64035 2013-05-21  Andreas Schwab  <schwab@suse.de>
64037         [BZ #15014]
64038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64039         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64040         successful.
64041         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64042         redundant variable declarations and reallocation of buffer when
64043         parsing as IPv6 address.  Always set NSS status when called from
64044         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64045         buffer too small.  Correct computation of needed size.
64046         * nss/Makefile (tests): Add test-digits-dots.
64047         * nss/test-digits-dots.c: New test.
64049 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64051         * benchtests/Makefile: Remove instructions for adding
64052         benchmark tests.
64053         * benchtests/README: New file to explain how to execute and
64054         enhance the benchmark tests.
64056 2013-05-21  Andreas Schwab  <schwab@suse.de>
64058         [BZ #15493]
64059         * setjmp/Makefile (tests): Add tst-sigsetjmp.
64060         * setjmp/tst-sigsetjmp.c: New test.
64062 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64064         * sysdeps/x86_64/memset.S (memset): New implementation.
64065         (__bzero): Likewise.
64066         (__memset_tail): New function.
64068 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64070         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64071         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64072         __memcpy_sse2_unaligned ifunc selection.
64073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64074         Add memcpy-sse2-unaligned.S.
64075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64076         Add: __memcpy_sse2_unaligned.
64078 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
64080         [BZ #15490]
64081         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64082         math_force_eval before restoring floating-point envrionment.
64083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64085         Likewise.
64086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64087         <math_private.h>.
64088         (__nearbyintl): Use math_force_eval before restoring
64089         floating-point environment.
64090         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64092         * math/gen-libm-test.pl (special_functions): Remove.
64093         (parse_args): Don't handle TEST_extra.  Handle functions with no
64094         return value.
64095         * math/libm-test.inc (struct test_sincos_data): Replace with
64096         struct test_fFF_11_data.
64097         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64098         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64099         (sincos_test_data): Change element type to struct
64100         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
64101         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64102         RUN_TEST_LOOP_sincos.
64103         * math/README.libm-test: Don't mention special handling of
64104         individual functions.
64105         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64107         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64109         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64112         * math/gen-libm-test.pl (get_variable): Remove function.
64113         (parse_args): Don't show pointer parameters to call in test
64114         names.  Use "extra output N" in test names for extra outputs
64115         rather than naming variables.
64117 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
64119         [BZ #15488]
64120         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64121         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64122         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64123         double tests.
64124         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64125         disable.
64126         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64127         check_long_double.
64129         * math/gen-libm-test.pl (@tests): Remove variable.
64130         ($count): Likewise.
64131         (new_test): Remove function.
64132         (show_exceptions): New function.
64133         (special_functions): Use show_exceptions instead of new_test.
64134         (parse_args): Likewise.
64135         (generate_testfile): Pass only function name in generated call to
64136         print_max_error or print_complex_max_error.
64137         (get_ulps): Do not handle complex tests specially.
64138         (output_test): Rename to ...
64139         (get_all_ulps_for_test): ... this.  Return a string rather than
64140         printing to a file.  Require ulps to be present.
64141         (output_ulps): Generate arrays rather than #defines.
64142         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64143         (struct ulp_data): New type.
64144         (BUILD_COMPLEX_ULP): Remove macro.
64145         (compare_ulp_data): New function.
64146         (find_ulps): Likewise.
64147         (find_test_ulps): Likewise.
64148         (find_function_ulps): Likewise.
64149         (find_complex_function_ulps): Likewise.
64150         (print_max_error): Determine allowed ulps using
64151         find_function_ulps.
64152         (print_complex_max_error): Determine allowed ulps using
64153         find_complex_function_ulps.
64154         (check_float_internal): Determine max ulps using find_test_ulps.
64155         (check_float): Do not take max_ulp parameter.  Update call to
64156         check_float_internal.
64157         (check_complex): Likewise.
64158         (check_int): Do not take max_ulp parameter.
64159         (check_long): Likewise.
64160         (check_bool): Likewise.
64161         (check_longlong): Likewise.
64162         (struct test_f_f_data): Remove max_ulp field.
64163         (struct test_ff_f_data): Likewise.
64164         (struct test_ff_f_data_nexttoward): Likewise.
64165         (struct test_fi_f_data): Likewise.
64166         (struct test_fl_f_data): Likewise.
64167         (struct test_if_f_data): Likewise.
64168         (struct test_fff_f_data): Likewise.
64169         (struct test_c_f_data): Likewise.
64170         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64171         (struct test_fF_f1_data): Likewise.
64172         (struct test_ffI_f1_data): Likewise.
64173         (struct test_c_c_data): Remove max_ulp field.
64174         (struct test_cc_c_data): Likewise.
64175         (struct test_f_i_data): Likewise.
64176         (struct test_ff_i_data): Likewise.
64177         (struct test_f_l_data): Likewise.
64178         (struct test_f_L_data): Likewise.
64179         (struct test_sincos_data): Likewise.
64180         (RUN_TEST_f_f): Do not handle ulps.
64181         (RUN_TEST_LOOP_f_f): Likewise.
64182         (RUN_TEST_2_f): Likewise.
64183         (RUN_TEST_LOOP_2_f): Likewise.
64184         (RUN_TEST_fff_f): Likewise.
64185         (RUN_TEST_LOOP_fff_f): Likewise.
64186         (RUN_TEST_c_f): Likewise.
64187         (RUN_TEST_LOOP_c_f): Likewise.
64188         (RUN_TEST_f_f1): Likewise.
64189         (RUN_TEST_LOOP_f_f1): Likewise.
64190         (RUN_TEST_fF_f1): Likewise.
64191         (RUN_TEST_LOOP_fF_f1): Likewise.
64192         (RUN_TEST_fI_f1): Likewise.
64193         (RUN_TEST_LOOP_fI_f1): Likewise.
64194         (RUN_TEST_ffI_f1): Likewise.
64195         (RUN_TEST_LOOP_ffI_f1): Likewise.
64196         (RUN_TEST_c_c): Likewise.
64197         (RUN_TEST_LOOP_c_c): Likewise.
64198         (RUN_TEST_cc_c): Likewise.
64199         (RUN_TEST_LOOP_cc_c): Likewise.
64200         (RUN_TEST_f_i): Likewise.
64201         (RUN_TEST_LOOP_f_i): Likewise.
64202         (RUN_TEST_f_i_tg): Likewise.
64203         (RUN_TEST_LOOP_f_i_tg): Likewise.
64204         (RUN_TEST_ff_i_tg): Likewise.
64205         (RUN_TEST_LOOP_ff_i_tg): Likewise.
64206         (RUN_TEST_f_b): Likewise.
64207         (RUN_TEST_LOOP_f_b): Likewise.
64208         (RUN_TEST_f_b_tg): Likewise.
64209         (RUN_TEST_LOOP_f_b_tg): Likewise.
64210         (RUN_TEST_f_l): Likewise.
64211         (RUN_TEST_LOOP_f_l): Likewise.
64212         (RUN_TEST_f_L): Likewise.
64213         (RUN_TEST_LOOP_f_L): Likewise.
64214         (RUN_TEST_sincos): Likewise.
64215         (RUN_TEST_LOOP_sincos): Likewise.
64217 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
64219         [BZ #15480]
64220         [BZ #15485]
64221         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64222         main case of finite arguments, set rounding mode to FE_TONEAREST
64223         and discard exceptions.
64224         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64225         exceptions.
64226         (remainder_tonearest_test_data): New variable.
64227         (remainder_test_tonearest): New function.
64228         (remainder_towardzero_test_data): New variable.
64229         (remainder_test_towardzero): New function.
64230         (remainder_downward_test_data): New variable.
64231         (remainder_test_downward): New function.
64232         (remainder_upward_test_data): New variable.
64233         (remainder_test_upward): New function.
64234         (main): Call the new test functions.
64236         * math/libm-test.inc (struct test_f_f1_data): Remove field
64237         extra_init.
64238         (struct test_fF_f1_data): Likewise.
64239         (struct test_ffI_f1_data): Likewise.
64240         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
64241         based on value of EXTRA_EXPECTED.
64242         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64243         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
64244         EXTRA_VAR based on value of EXTRA_EXPECTED.
64245         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64246         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
64247         EXTRA_VAR based on value of EXTRA_EXPECTED.
64248         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64249         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
64250         EXTRA_VAR based on value of EXTRA_EXPECTED.
64251         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64252         * math/gen-libm-test.pl (parse_args): Don't output initializers
64253         for extra output values.
64255         * math/libm-test.inc (check_int): Expect result to be exactly
64256         equal to expected value and do not handle ulps.
64257         (check_long): Likewise.
64258         (check_longlong): Likewise.
64260         * math/libm-test.inc (ceil_test_data): Test for "inexact"
64261         exceptions.
64262         (cimag_test_data): Likewise.
64263         (conj_test_data): Likewise.
64264         (copysign_test_data): Likewise.
64265         (cproj_test_data): Likewise.
64266         (creal_test_data): Likewise.
64267         (fabs_test_data): Likewise.
64268         (fdim_test_data): Likewise.
64269         (finite_test_data): Likewise.
64270         (floor_test_data): Likewise.
64271         (fmax_test_data): Likewise.
64272         (fmin_test_data): Likewise.
64273         (fmod_test_data): Likewise.
64274         (fpclassify_test_data): Likewise.
64275         (frexp_test_data): Likewise.
64276         (ilogb_test_data): Likewise.
64277         (isfinite_test_data): Likewise.
64278         (isgreater_test_data): Likewise.
64279         (isgreaterequal_test_data): Likewise.
64280         (isinf_test_data): Likewise.
64281         (isless_test_data): Likewise.
64282         (islessequal_test_data): Likewise.
64283         (islessgreater_test_data): Likewise.
64284         (isnan_test_data): Likewise.
64285         (isnormal_test_data): Likewise.
64286         (issignaling_test_data): Likewise.
64287         (isunordered_test_data): Likewise.
64288         (ldexp_test_data): Likewise.
64289         (lrint_test_data): Likewise.
64290         (lrint_test_data) [TEST_FLOAT]: Disable one test.
64291         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64292         (lrint_tonearest_test_data): Test for "inexact" exceptions.
64293         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64294         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64295         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64296         test input.
64297         (lrint_towardzero_test_data): Test for "inexact" exceptions.
64298         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64299         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64300         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64301         that test input.
64302         (lrint_downward_test_data): Test for "inexact" exceptions.
64303         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64304         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64305         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64306         test input.
64307         (lrint_upward_test_data): Test for "inexact" exceptions.
64308         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64309         test input.
64310         (llrint_test_data): Test for "inexact" exceptions.
64311         (llrint_test_data) [TEST_FLOAT]: Disable one test.
64312         (llrint_tonearest_test_data): Test for "inexact" exceptions.
64313         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64314         (llrint_towardzero_test_data): Test for "inexact" exceptions.
64315         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64316         (llrint_downward_test_data): Test for "inexact" exceptions.
64317         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64318         (llrint_upward_test_data): Test for "inexact" exceptions.
64319         (logb_test_data): Likewise.
64320         (logb_downward_test_data): Likewise.
64321         (nextafter_test_data): Likewise.
64322         (nexttoward_test_data): Likewise.
64323         (remainder_test_data): Likewise.
64324         (remquo_test_data): Likewise.
64325         (scalbn_test_data): Likewise.
64326         (scalbln_test_data): Likewise.
64327         (signbit_test_data): Likewise.
64328         (sqrt_test_data): Likewise.
64329         (significand_test_data): Likewise.
64331 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64333         [BZ #15424]
64334         * benchtests/bench-modf.c (struct args): Mark arg0 as
64335         volatile.
64336         * scripts/bench.pl: Mark members of struct args as volatile.
64338 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64340         [BZ # 15497]
64341         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64342         negative infinity on POWER6 or lower.
64343         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64345 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
64347         [BZ #15442]
64348         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64349         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64350         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64351         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64352         (_FP_SETQNAN): New macro.
64353         (_FP_SETQNAN_SEMIRAW): Likewise.
64354         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64355         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64356         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64357         (FP_EXTEND): Use _FP_FRAC_SNANP.
64358         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64359         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64360         into account.
64361         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64362         New macro.
64363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64364         Likewise.
64366 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64368         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64369         with DIVIDE_BY_ZERO_EXCEPTION.
64370         (gamma_test_data): Likewise.
64371         (lgamma_test_data): Likewise.
64372         (log_test_data): Likewise.
64373         (log10_test_data): Likewise.
64374         (log2_test_data): Likewise.
64375         (tgamma_test_data): Likewise.
64377         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64378         (acos_test_tonearest): Likewise.
64379         (acos_test_towardzero): Likewise.
64380         (acos_test_downward): Likewise.
64381         (acos_test_upward): Likewise.
64382         (acosh_test): Likewise.
64383         (asin_test): Likewise.
64384         (asin_test_tonearest): Likewise.
64385         (asin_test_towardzero): Likewise.
64386         (asin_test_downward): Likewise.
64387         (asin_test_upward): Likewise.
64388         (asinh_test): Likewise.
64389         (atan_test): Likewise.
64390         (atanh_test): Likewise.
64391         (atan2_test): Likewise.
64392         (cabs_test): Likewise.
64393         (cacos_test): Likewise.
64394         (cacosh_test): Likewise.
64395         (casin_test): Likewise.
64396         (casinh_test): Likewise.
64397         (catan_test): Likewise.
64398         (catanh_test): Likewise.
64399         (cbrt_test): Likewise.
64400         (ccos_test): Likewise.
64401         (ccosh_test): Likewise.
64402         (cexp_test): Likewise.
64403         (clog_test): Likewise.
64404         (clog10_test): Likewise.
64405         (cos_test): Likewise.
64406         (cos_test_tonearest): Likewise.
64407         (cos_test_towardzero): Likewise.
64408         (cos_test_downward): Likewise.
64409         (cos_test_upward): Likewise.
64410         (cosh_test): Likewise.
64411         (cosh_test_tonearest): Likewise.
64412         (cosh_test_towardzero): Likewise.
64413         (cosh_test_downward): Likewise.
64414         (cosh_test_upward): Likewise.
64415         (cpow_test): Likewise.
64416         (csin_test): Likewise.
64417         (csinh_test): Likewise.
64418         (csqrt_test): Likewise.
64419         (ctan_test): Likewise.
64420         (ctan_test_tonearest): Likewise.
64421         (ctan_test_towardzero): Likewise.
64422         (ctan_test_downward): Likewise.
64423         (ctan_test_upward): Likewise.
64424         (ctanh_test): Likewise.
64425         (ctanh_test_tonearest): Likewise.
64426         (ctanh_test_towardzero): Likewise.
64427         (ctanh_test_downward): Likewise.
64428         (ctanh_test_upward): Likewise.
64429         (erf_test): Likewise.
64430         (erfc_test): Likewise.
64431         (exp_test): Likewise.
64432         (exp_test_tonearest): Likewise.
64433         (exp_test_towardzero): Likewise.
64434         (exp_test_downward): Likewise.
64435         (exp_test_upward): Likewise.
64436         (exp10_test): Likewise.
64437         (exp2_test): Likewise.
64438         (expm1_test): Likewise.
64439         (fmod_test): Likewise.
64440         (gamma_test): Likewise.
64441         (hypot_test): Likewise.
64442         (j0_test): Likewise.
64443         (j1_test): Likewise.
64444         (jn_test): Likewise.
64445         (lgamma_test): Likewise.
64446         (log_test): Likewise.
64447         (log10_test): Likewise.
64448         (log1p_test): Likewise.
64449         (log2_test): Likewise.
64450         (logb_test_downward): Likewise.
64451         (pow_test): Likewise.
64452         (pow_test_tonearest): Likewise.
64453         (pow_test_towardzero): Likewise.
64454         (pow_test_downward): Likewise.
64455         (pow_test_upward): Likewise.
64456         (remainder_test): Likewise.
64457         (remquo_test): Likewise.
64458         (sin_test): Likewise.
64459         (sin_test_tonearest): Likewise.
64460         (sin_test_towardzero): Likewise.
64461         (sin_test_downward): Likewise.
64462         (sin_test_upward): Likewise.
64463         (sincos_test): Likewise.
64464         (sinh_test): Likewise.
64465         (sinh_test_tonearest): Likewise.
64466         (sinh_test_towardzero): Likewise.
64467         (sinh_test_downward): Likewise.
64468         (sinh_test_upward): Likewise.
64469         (sqrt_test): Likewise.
64470         (tan_test): Likewise.
64471         (tan_test_tonearest): Likewise.
64472         (tan_test_towardzero): Likewise.
64473         (tan_test_downward): Likewise.
64474         (tan_test_upward): Likewise.
64475         (tanh_test): Likewise.
64476         (tgamma_test): Likewise.
64477         (y0_test): Likewise.
64478         (y1_test): Likewise.
64479         (yn_test): Likewise.
64481         * math/gen-libm-test.pl (adjust_arg): Remove function.
64482         (special_function): Remove argument $in_func.  Only handle
64483         generating output for tables of tests, not inside functions.
64484         (parse_args): Likewise.
64485         (generate_testfile): Remove variable $in_func.  Update call to
64486         parse_args.
64487         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64488         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64489         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64490         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64491         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64492         (MAX_VALUE_INIT): Rename macro to max_value.
64493         (MIN_VALUE_INIT): Rename macro to min_value.
64494         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64495         (plus_zero): Remove variable.
64496         (minus_zero): Likewise.
64497         (plus_infty): Likewise.
64498         (minus_infty): Likewise.
64499         (qnan_value): Likewise.
64500         (max_value): Likewise.
64501         (min_value): Likewise.
64502         (min_subnorm_value): Likewise.
64504 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64506         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64507         uint64_t or uint32_t usage.
64508         * crypt/sha256-block.c: Likewise.
64509         * crypt/sha256-crypt.c: Likewise.
64510         * crypt/sha256.c: Likewise.
64511         * crypt/sha512-block.c: Likewise.
64512         * crypt/sha512-crypt.c: Likewise.
64513         * crypt/sha512.c: Likewise.
64514         * debug/backtrace-tst.c: Likewise.
64515         * debug/pcprofiledump.c: Likewise.
64516         * elf/cache.c: Likewise.
64517         * elf/dl-cache.c: Likewise.
64518         * elf/dl-misc.c: Likewise.
64519         * elf/dl-profile.c: Likewise.
64520         * elf/dl-support.c: Likewise.
64521         * elf/ldconfig.c: Likewise.
64522         * elf/sprof.c: Likewise.
64523         * iconv/dummy-repertoire.c: Likewise.
64524         * iconv/iconv_charmap.c: Likewise.
64525         * iconv/skeleton.c: Likewise.
64526         * iconvdata/8bit-generic.c: Likewise.
64527         * iconvdata/cp737.h: Likewise.
64528         * iconvdata/cp775.h: Likewise.
64529         * iconvdata/ibm1008.h: Likewise.
64530         * iconvdata/ibm1025.h: Likewise.
64531         * iconvdata/ibm1046.h: Likewise.
64532         * iconvdata/ibm1097.h: Likewise.
64533         * iconvdata/ibm1112.h: Likewise.
64534         * iconvdata/ibm1122.h: Likewise.
64535         * iconvdata/ibm1123.h: Likewise.
64536         * iconvdata/ibm1124.h: Likewise.
64537         * iconvdata/ibm1129.h: Likewise.
64538         * iconvdata/ibm1130.h: Likewise.
64539         * iconvdata/ibm1132.h: Likewise.
64540         * iconvdata/ibm1133.h: Likewise.
64541         * iconvdata/ibm1137.h: Likewise.
64542         * iconvdata/ibm1140.h: Likewise.
64543         * iconvdata/ibm1141.h: Likewise.
64544         * iconvdata/ibm1142.h: Likewise.
64545         * iconvdata/ibm1143.h: Likewise.
64546         * iconvdata/ibm1144.h: Likewise.
64547         * iconvdata/ibm1145.h: Likewise.
64548         * iconvdata/ibm1146.h: Likewise.
64549         * iconvdata/ibm1147.h: Likewise.
64550         * iconvdata/ibm1148.h: Likewise.
64551         * iconvdata/ibm1149.h: Likewise.
64552         * iconvdata/ibm1153.h: Likewise.
64553         * iconvdata/ibm1154.h: Likewise.
64554         * iconvdata/ibm1155.h: Likewise.
64555         * iconvdata/ibm1156.h: Likewise.
64556         * iconvdata/ibm1157.h: Likewise.
64557         * iconvdata/ibm1158.h: Likewise.
64558         * iconvdata/ibm1160.h: Likewise.
64559         * iconvdata/ibm1161.h: Likewise.
64560         * iconvdata/ibm1162.h: Likewise.
64561         * iconvdata/ibm1163.h: Likewise.
64562         * iconvdata/ibm1164.h: Likewise.
64563         * iconvdata/ibm1166.h: Likewise.
64564         * iconvdata/ibm1167.h: Likewise.
64565         * iconvdata/ibm12712.h: Likewise.
64566         * iconvdata/ibm1390.h: Likewise.
64567         * iconvdata/ibm1399.h: Likewise.
64568         * iconvdata/ibm16804.h: Likewise.
64569         * iconvdata/ibm4517.h: Likewise.
64570         * iconvdata/ibm4899.h: Likewise.
64571         * iconvdata/ibm4909.h: Likewise.
64572         * iconvdata/ibm4971.h: Likewise.
64573         * iconvdata/ibm5347.h: Likewise.
64574         * iconvdata/ibm803.h: Likewise.
64575         * iconvdata/ibm856.h: Likewise.
64576         * iconvdata/ibm901.h: Likewise.
64577         * iconvdata/ibm902.h: Likewise.
64578         * iconvdata/ibm9030.h: Likewise.
64579         * iconvdata/ibm9066.h: Likewise.
64580         * iconvdata/ibm921.h: Likewise.
64581         * iconvdata/ibm922.h: Likewise.
64582         * iconvdata/ibm9448.h: Likewise.
64583         * iconvdata/isiri-3342.h: Likewise.
64584         * iconvdata/jis0201.h: Likewise.
64585         * include/link.h: Likewise.
64586         * include/netdb.h: Likewise.
64587         * inet/check_native.c: Likewise.
64588         * inet/check_pf.c: Likewise.
64589         * inet/getipv4sourcefilter.c: Likewise.
64590         * inet/getnameinfo.c: Likewise.
64591         * inet/getsourcefilter.c: Likewise.
64592         * inet/htonl.c: Likewise.
64593         * inet/setipv4sourcefilter.c: Likewise.
64594         * inet/setsourcefilter.c: Likewise.
64595         * inet/test-inet6_opt.c: Likewise.
64596         * inet/tst-network.c: Likewise.
64597         * locale/C-collate.c: Likewise.
64598         * locale/C-ctype.c: Likewise.
64599         * locale/C-time.c: Likewise.
64600         * locale/C-translit.h: Likewise.
64601         * locale/loadarchive.c: Likewise.
64602         * locale/programs/3level.h: Likewise.
64603         * locale/programs/charmap.c: Likewise.
64604         * locale/programs/charmap.h: Likewise.
64605         * locale/programs/ld-address.c: Likewise.
64606         * locale/programs/ld-collate.c: Likewise.
64607         * locale/programs/ld-ctype.c: Likewise.
64608         * locale/programs/ld-identification.c: Likewise.
64609         * locale/programs/ld-measurement.c: Likewise.
64610         * locale/programs/ld-messages.c: Likewise.
64611         * locale/programs/ld-monetary.c: Likewise.
64612         * locale/programs/ld-name.c: Likewise.
64613         * locale/programs/ld-numeric.c: Likewise.
64614         * locale/programs/ld-paper.c: Likewise.
64615         * locale/programs/ld-telephone.c: Likewise.
64616         * locale/programs/ld-time.c: Likewise.
64617         * locale/programs/linereader.c: Likewise.
64618         * locale/programs/locale.c: Likewise.
64619         * locale/programs/locarchive.c: Likewise.
64620         * locale/programs/locfile.h: Likewise.
64621         * locale/programs/repertoire.c: Likewise.
64622         * locale/programs/simple-hash.c: Likewise.
64623         * locale/programs/simple-hash.h: Likewise.
64624         * malloc/memusage.c: Likewise.
64625         * malloc/memusagestat.c: Likewise.
64626         * nis/nis_defaults.c: Likewise.
64627         * nis/nis_hash.c: Likewise.
64628         * nis/nis_print.c: Likewise.
64629         * nis/nis_xdr.c: Likewise.
64630         * nscd/connections.c: Likewise.
64631         * nscd/hstcache.c: Likewise.
64632         * nscd/nscd_gethst_r.c: Likewise.
64633         * nscd/nscd_getserv_r.c: Likewise.
64634         * nscd/nscd_helper.c: Likewise.
64635         * nscd/servicescache.c: Likewise.
64636         * nss/makedb.c: Likewise.
64637         * nss/nss_db/db-XXX.c: Likewise.
64638         * nss/nss_db/db-initgroups.c: Likewise.
64639         * nss/nss_db/db-netgrp.c: Likewise.
64640         * nss/nss_files/files-network.c: Likewise.
64641         * nss/nss_files/files-parse.c: Likewise.
64642         * posix/bug-regex5.c: Likewise.
64643         * posix/fnmatch_loop.c: Likewise.
64644         * posix/regcomp.c: Likewise.
64645         * posix/regexec.c: Likewise.
64646         * posix/tst-rfc3484-2.c: Likewise.
64647         * posix/tst-rfc3484-3.c: Likewise.
64648         * posix/tst-rfc3484.c: Likewise.
64649         * resolv/nss_dns/dns-canon.c: Likewise.
64650         * resolv/nss_dns/dns-network.c: Likewise.
64651         * resolv/res_init.c: Likewise.
64652         * resolv/res_mkquery.c: Likewise.
64653         * resolv/tst-aton.c: Likewise.
64654         * stdlib/cxa_atexit.c: Likewise.
64655         * stdlib/cxa_finalize.c: Likewise.
64656         * stdlib/gen-fpioconst.c: Likewise.
64657         * stdlib/strtol_l.c: Likewise.
64658         * string/tst-endian.c: Likewise.
64659         * sunrpc/auth_des.c: Likewise.
64660         * sunrpc/clnt_udp.c: Likewise.
64661         * sunrpc/rtime.c: Likewise.
64662         * sunrpc/svcauth_des.c: Likewise.
64663         * sunrpc/xdr.c: Likewise.
64664         * sunrpc/xdr_intXX_t.c: Likewise.
64665         * sunrpc/xdr_rec.c: Likewise.
64666         * sysdeps/generic/ldconfig.h: Likewise.
64667         * sysdeps/generic/ldsodefs.h: Likewise.
64668         * sysdeps/generic/memusage.h: Likewise.
64669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64675         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64677         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64679         * sysdeps/posix/getaddrinfo.c: Likewise.
64680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64682         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64684         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64685         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64686         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64687         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64688         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64689         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64691         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64692         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64693         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64694         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64695         * sysdeps/x86_64/dl-tls.h: Likewise.
64696         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64697         * time/alt_digit.c: Likewise.
64698         * time/era.c: Likewise.
64699         * wcsmbs/tst-c16c32-1.c: Likewise.
64701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64703         * math/libm-test.inc (struct test_sincos_data): New type.
64704         (RUN_TEST_LOOP_sincos): New macro.
64705         (sincos_test_data): New variable.
64706         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64708 2013-05-16  Richard Henderson  <rth@redhat.com>
64710         * math/atest-exp2.c (LIMB64): New macro.
64711         (CONSTSZ): New macro.
64712         (mp_exp1, mp_exp_m1, mp_log2): New variables.
64713         (hexdig): Move ...
64714         (print_mpn_fp): ... to function scope.
64715         (read_mpn_hex): Remove.
64716         (get_log2): Remove.
64717         (exp2_mpn): Use mp_log2.
64718         (main): Use mp_exp1.
64720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64722         * math/libm-test.inc: Remove comment about not testing "inexact"
64723         exceptions.
64724         (INEXACT_EXCEPTION): New macro.
64725         (NO_INEXACT_EXCEPTION): Likewise.
64726         (INVALID_EXCEPTION_OK): Update value.
64727         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64728         (OVERFLOW_EXCEPTION_OK): Likewise.
64729         (UNDERFLOW_EXCEPTION_OK): Likewise.
64730         (IGNORE_ZERO_INF_SIGN): Likewise.
64731         (ERRNO_UNCHANGED): Likewise.
64732         (ERRNO_EDOM): Likewise.
64733         (ERRNO_ERANGE): Likewise.
64734         (test_exceptions): Handle testing "inexact" exceptions.
64735         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64736         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64737         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64738         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64739         INEXACT_EXCEPTION.
64740         (rint_towardzero_test_data): Likewise.
64741         (rint_downward_test_data): Likewise.
64742         (rint_upward_test_data): Likewise.
64744         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64745         with OVERFLOW_EXCEPTION.
64746         (exp10_test_data): Likewise.
64747         (exp2_test_data): Likewise.
64748         (expm1_test_data): Likewise.
64749         (lgamma_test_data): Likewise.
64750         (pow_test_data): Likewise.
64751         (tgamma_test_data): Likewise.
64752         (yn_test_data): Remove duplicate test of overflow.
64754         * math/libm-test.inc (struct test_cc_c_data): New type.
64755         (RUN_TEST_LOOP_cc_c): New macro.
64756         (cpow_test_data): New variable.
64757         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64759         * math/libm-test.inc (struct test_f_L_data): New type.
64760         (RUN_TEST_LOOP_f_L): New macro.
64761         (llrint_test_data): New variable.
64762         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64763         (llrint_tonearest_test_data): New variable.
64764         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64765         (llrint_towardzero_test_data): New variable.
64766         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64767         (llrint_downward_test_data): New variable.
64768         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64769         (llrint_upward_test_data): New variable.
64770         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64771         (llround_test_data): New variable.
64772         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64774 2013-05-13  Peter Collingbourne  <pcc@google.com>
64776         * math/atest-exp2.c (get_log2): Remove const attribute.
64778 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64780         * math/libm-test.inc (struct test_f_l_data): New type.
64781         (RUN_TEST_LOOP_f_l): New macro.
64782         (lrint_test_data): New variable.
64783         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64784         (lrint_tonearest_test_data): New variable.
64785         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64786         (lrint_towardzero_test_data): New variable.
64787         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64788         (lrint_downward_test_data): New variable.
64789         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64790         (lrint_upward_test_data): New variable.
64791         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64792         (lround_test_data): New variable.
64793         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64795 2013-05-15  Peter Collingbourne  <pcc@google.com>
64797         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64798         (EXTRACT_WORDS64) Use where appropriate.
64799         (INSERT_WORDS64) Likewise.
64801         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64802         constraints with x constraints.
64803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64805         * malloc/obstack.c (_obstack_compat): Add initializer.
64807 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64810         si_trapno and add si_addr_lsb to _sifields.sigfault.
64811         (si_trapno): Remove macro.
64812         (si_addr_lsb): Define new macro.
64813         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64815 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64817         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64818         instead of TEST_f_l.
64819         (llrint_test_tonearest): Likewise.
64820         (llrint_test_towardzero): Likewise.
64821         (llrint_test_downward): Likewise.
64822         (llrint_test_upward): Likewise.
64823         (llround_test): Likewise.
64825         * math/libm-test.inc (struct test_f_i_data): Add comment.
64826         (RUN_TEST_LOOP_f_b): New macro.
64827         (RUN_TEST_LOOP_f_b_tg): Likewise.
64828         (finite_test_data): New variable.
64829         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64830         (isfinite_test_data): New variable.
64831         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64832         (isinf_test_data): New variable.
64833         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64834         (isnan_test_data): New variable.
64835         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64836         (isnormal_test_data): New variable.
64837         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64838         (issignaling_test_data): New variable.
64839         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64840         (signbit_test_data): New variable.
64841         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64843         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64844         with INVALID_EXCEPTION.
64845         (acosh_test_data): Likewise.
64846         (asin_test_data): Likewise.
64847         (atanh_test_data): Likewise.
64848         (fmod_test_data): Likewise.
64849         (log_test_data): Likewise.
64850         (log10_test_data): Likewise.
64851         (log2_test_data): Likewise.
64852         (pow_test_data): Likewise.
64853         (sqrt_test_data): Likewise.
64854         (y0_test_data): Likewise.
64855         (y1_test_data): Likewise.
64856         (yn_test_data): Likewise.
64858         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64859         function contents.
64861         * math/libm-test.inc (struct test_ff_i_data): New type.
64862         (RUN_TEST_LOOP_ff_i_tg): New macro.
64863         (isgreater_test_data): New variable.
64864         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64865         (isgreaterequal_test_data): New variable.
64866         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64867         (isless_test_data): New variable.
64868         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64869         (islessequal_test_data): New variable.
64870         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64871         (islessgreater_test_data): New variable.
64872         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64873         (isunordered_test_data): New variable.
64874         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64876 2013-05-14  David S. Miller  <davem@davemloft.net>
64878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64880 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64882         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64884         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64885         extra_test to int.
64886         (struct test_f_i_data): Change type of max_ulp to int.
64888         * math/libm-test.inc (test_ffI_f1_data): New type.
64889         (RUN_TEST_LOOP_ffI_f1): New macro.
64890         (remquo_test_data): New variable.
64891         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64893         * setjmp/tst-setjmp-fp.c: New file.
64894         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64895         (link-libm): New variable.
64896         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64898         * math/libm-test.inc (struct test_f_i_data): New type.
64899         (RUN_TEST_LOOP_f_i): New macro.
64900         (RUN_TEST_LOOP_f_i_tg): Likewise.
64901         (fpclassify_test_data): New variable.
64902         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64903         (ilogb_test_data): New variable.
64904         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64906         * math/libm-test.inc (scalbln_test): Correct function name in END
64907         call.
64909         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64910         (RUN_TEST_LOOP_fI_f1): New macro.
64911         (frexp_test_data): New variable.
64912         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64914         * math/libm-test.inc (struct test_fF_f1_data): New type.
64915         (RUN_TEST_LOOP_fF_f1): New macro.
64916         (modf_test_data): New variable.
64917         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64919         * math/libm-test.inc (struct test_f_f1_data): New type.
64920         (RUN_TEST_LOOP_f_f1): New macro.
64921         (gamma_test_data): New variable.
64922         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64923         (lgamma_test_data): New variable.
64924         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64926 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64929         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64930         (main): Comment "tls" pseudo-hwcap.
64932 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64934         * math/libm-test.inc (struct test_fl_f_data): New type.
64935         (RUN_TEST_LOOP_fl_f): New variable.
64936         (scalbln_test_data): New variable.
64937         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64939         * math/libm-test.inc (struct test_fi_f_data): New type.
64940         (RUN_TEST_LOOP_fi_f): New macro.
64941         (ldexp_test_data): New variable.
64942         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64943         (scalbn_test_data): New variable.
64944         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64946         * math/libm-test.inc (struct test_c_f_data): New type.
64947         (RUN_TEST_LOOP_c_f): New macro.
64948         (cabs_test_data): New variable.
64949         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64950         (carg_test_data): New variable.
64951         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64952         (cimag_test_data): New variable.
64953         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64954         (creal_test_data): New variable.
64955         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64957         * math/libm-test.inc (struct test_if_f_data): New type.
64958         (RUN_TEST_LOOP_if_f): New macro.
64959         (jn_test_data): New variable.
64960         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64961         (yn_test_data): New variable.
64962         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64964         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64966 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64968         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64969         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64971 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64973         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64974         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64975         (bench-deps): Add bench-timing.h.
64976         * benchtests-bench-skeleton.c: Include bench-timing.h.
64977         (main): Use TIMING_* macros instead of clock_gettime.
64978         * benchtests/bench-timing.h: New file.
64980         [BZ #14582]
64981         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64982         Renamed from _LIB_VERSION.
64983         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64985 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64987         * math/libm-test.inc (struct test_fff_f_data): New type.
64988         (RUN_TEST_LOOP_fff_f): New macro.
64989         (fma_test_data): New variable.
64990         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64991         (fma_towardzero_test_data): New variable.
64992         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64993         (fma_downward_test_data): New variable.
64994         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64995         (fma_upward_test_data): New variable.
64996         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64998         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64999         (struct test_c_c_data): New type.
65000         (RUN_TEST_LOOP_c_c): New macro.
65001         (cacos_test_data): New variable.
65002         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65003         (cacosh_test_data): New variable.
65004         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65005         (casin_test_data): New variable.
65006         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65007         (casinh_test_data): New variable.
65008         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65009         (catan_test_data): New variable.
65010         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65011         (catanh_test_data): New variable.
65012         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65013         (ccos_test_data): New variable.
65014         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65015         (ccosh_test_data): New variable.
65016         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65017         (cexp_test_data): New variable.
65018         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65019         (clog_test_data): New variable.
65020         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65021         (clog10_test_data): New variable.
65022         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65023         (conj_test_data): New variable.
65024         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65025         (cproj_test_data): New variable.
65026         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65027         (csin_test_data): New variable.
65028         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65029         (csinh_test_data): New variable.
65030         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65031         (csqrt_test_data): New variable.
65032         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65033         (ctan_test_data): New variable.
65034         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65035         (ctan_tonearest_test_data): New variable.
65036         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65037         (ctan_towardzero_test_data): New variable.
65038         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65039         (ctan_downward_test_data): New variable.
65040         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65041         (ctan_upward_test_data): New variable.
65042         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65043         (ctanh_test_data): New variable.
65044         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65045         (ctanh_tonearest_test_data): New variable.
65046         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65047         (ctanh_towardzero_test_data): New variable.
65048         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65049         (ctanh_downward_test_data): New variable.
65050         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65051         (ctanh_upward_test_data): New variable.
65052         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65053         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65054         of BUILD_COMPLEX.
65056         * math/libm-test.inc (struct test_ff_f_data): New type.
65057         (struct test_ff_f_data_nexttoward): Likewise.
65058         (RUN_TEST_LOOP_2_f): New macro.
65059         (RUN_TEST_LOOP_ff_f): Likewise.
65060         (atan2_test_data): New variable.
65061         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65062         (copysign_test_data): New variable.
65063         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65064         (fdim_test_data): New variable.
65065         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65066         (fmax_test_data): New variable.
65067         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65068         (fmin_test_data): New variable.
65069         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65070         (fmod_test_data): New variable.
65071         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65072         (hypot_test_data): New variable.
65073         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65074         (nextafter_test_data): New variable.
65075         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65076         (nexttoward_test_data): New variable.
65077         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65078         (pow_test_data): New variable.
65079         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65080         (pow_tonearest_test_data): New variable.
65081         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65082         (pow_towardzero_test_data): New variable.
65083         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65084         (pow_downward_test_data): New variable.
65085         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65086         (pow_upward_test_data): New variable.
65087         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65088         (remainder_test_data): New variable.
65089         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65090         (scalb_test_data): New variable.
65091         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65092         * sysdeps/i386/fpu/libm-test-ulps: Update.
65094 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
65096         * math/libm-test.inc (fma_test): Use max_value instead of local
65097         variable fltmax.
65098         (nextafter_test): Likewise.
65100         * math/libm-test.inc (acos_towardzero_test_data): New variable.
65101         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65102         (acos_downward_test_data): New variable.
65103         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65104         (acos_upward_test_data): New variable.
65105         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65106         (acosh_test_data): New variable.
65107         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65108         (asin_test_data): New variable.
65109         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65110         (asin_tonearest_test_data): New variable.
65111         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65112         (asin_towardzero_test_data): New variable.
65113         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65114         (asin_downward_test_data): New variable.
65115         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65116         (asin_upward_test_data): New variable.
65117         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65118         (asinh_test_data): New variable.
65119         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65120         (atan_test_data): New variable.
65121         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65122         (atanh_test_data): New variable.
65123         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65124         (cbrt_test_data): New variable.
65125         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65126         (ceil_test_data): New variable.
65127         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65128         (cos_test_data): New variable.
65129         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65130         (cos_tonearest_test_data): New variable.
65131         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65132         (cos_towardzero_test_data): New variable.
65133         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65134         (cos_downward_test_data): New variable.
65135         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65136         (cos_upward_test_data): New variable.
65137         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65138         (cosh_test_data): New variable.
65139         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65140         (cosh_tonearest_test_data): New variable.
65141         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65142         (cosh_towardzero_test_data): New variable.
65143         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65144         (cosh_downward_test_data): New variable.
65145         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65146         (cosh_upward_test_data): New variable.
65147         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65148         (erf_test_data): New variable.
65149         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65150         (erfc_test_data): New variable.
65151         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65152         (exp_test_data): New variable.
65153         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65154         (exp_tonearest_test_data): New variable.
65155         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65156         (exp_towardzero_test_data): New variable.
65157         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65158         (exp_downward_test_data): New variable.
65159         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65160         (exp_upward_test_data): New variable.
65161         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65162         (exp10_test_data): New variable.
65163         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65164         (exp2_test_data): New variable.
65165         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65166         (expm1_test_data): New variable.
65167         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65168         (fabs_test_data): New variable.
65169         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65170         (floor_test_data): New variable.
65171         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65172         (j0_test_data): New variable.
65173         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65174         (j1_test_data): New variable.
65175         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65176         (log_test_data): New variable.
65177         (log_test): Run tests with RUN_TEST_LOOP_f_f.
65178         (log10_test_data): New variable.
65179         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65180         (log1p_test_data): New variable.
65181         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65182         (log2_test_data): New variable.
65183         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65184         (logb_test_data): New variable.
65185         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65186         (logb_downward_test_data): New variable.
65187         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65188         (nearbyint_test_data): New variable.
65189         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65190         (rint_test_data): New variable.
65191         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65192         (rint_tonearest_test_data): New variable.
65193         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65194         (rint_towardzero_test_data): New variable.
65195         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65196         (rint_downward_test_data): New variable.
65197         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65198         (rint_upward_test_data): New variable.
65199         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65200         (round_test_data): New variable.
65201         (round_test): Run tests with RUN_TEST_LOOP_f_f.
65202         (sin_test_data): New variable.
65203         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65204         (sin_tonearest_test_data): New variable.
65205         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65206         (sin_towardzero_test_data): New variable.
65207         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65208         (sin_downward_test_data): New variable.
65209         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65210         (sin_upward_test_data): New variable.
65211         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65212         (sinh_test_data): New variable.
65213         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65214         (sinh_tonearest_test_data): New variable.
65215         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65216         (sinh_towardzero_test_data): New variable.
65217         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65218         (sinh_downward_test_data): New variable.
65219         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65220         (sinh_upward_test_data): New variable.
65221         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65222         (sqrt_test_data): New variable.
65223         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65224         (tan_test_data): New variable.
65225         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65226         (tan_tonearest_test_data): New variable.
65227         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65228         (tan_towardzero_test_data): New variable.
65229         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65230         (tan_downward_test_data): New variable.
65231         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65232         (tan_upward_test_data): New variable.
65233         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65234         (tanh_test_data): New variable.
65235         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65236         (tgamma_test_data): New variable.
65237         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65238         (trunc_test_data): New variable.
65239         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65240         (y0_test_data): New variable.
65241         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65242         (y1_test_data): New variable.
65243         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65244         (significand_test_data): New variable.
65245         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65247 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
65249         [BZ #12387]
65250         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65252 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65254         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65256 2013-05-10  Andreas Jaeger  <aj@suse.de>
65258         [BZ #15448]
65259         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
65260         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
65262 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65264         * math/gen-libm-test.pl (adjust_arg): New function.
65265         (special_functions): Handle generating output in both functions
65266         and arrays.
65267         (parse_args): Likewise.
65268         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
65269         $in_func argument to parse_args.
65270         * math/libm-test.inc (struct test_f_f_data): New type.
65271         (IF_ROUND_INIT_): New macro.
65272         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
65273         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65274         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65275         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65276         (ROUND_RESTORE_): Likewise.
65277         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65278         (ROUND_RESTORE_FE_TONEAREST): Likewise.
65279         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65280         (ROUND_RESTORE_FE_UPWARD): Likewise.
65281         (RUN_TEST_LOOP_f_f): New macro.
65282         (acos_test_data): New variable.
65283         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65284         (acos_tonearest_test_data): New variable.
65285         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65287 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65289         * benchtests/bench-skeleton.c (startup): Fix coding style.
65291 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65293         [BZ #6809]
65294         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65295         negative infinity argument.
65296         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65297         negative infinity argument.
65298         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65299         negative infinity argument.
65300         * math/libm-test.inc (tgamma_test): Expect errno to be set for
65301         domain errors.
65303 2013-05-10  Florian Weimer  <fweimer@redhat.com>
65305         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65306         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65307         * iconv/iconv_prog.c (main): Likewise.
65308         * locale/programs/charmap-dir.c (charmap_readdir)
65309         (fopen_uncompressed): Likewise.
65310         * locale/programs/locfile.c (siblings_uncached)
65311         (write_locale_data): Use lstat64 instead of lstat.
65312         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
65313         stat.
65315 2013-05-10  Andreas Jaeger  <aj@suse.de>
65317         [BZ #15395]
65318         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
65319         localization.
65320         Include <locale.h>.
65322 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
65324         * elf/dl-close.c (_dl_close_worker): Add comments.
65326 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
65328         [BZ #15359]
65329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65330         high part of pi/2.
65331         (__ieee754_rem_pio2l): Update comments.
65333         [BZ #15429]
65334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65335         high part of pi/2.
65336         (__ieee754_rem_pio2l): Update comments.
65338         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65339         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65341         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65342         M_PI_4l.
65344         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65345         (M_PI_34_LOG10El): Likewise.
65346         (M_PI2_LOG10El): Likewise.
65347         (M_PI4_LOG10El): Likewise.
65348         (M_PI_LOG10El): Likewise.
65350 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65354 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
65356         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65357         (MINUS_ZERO_INIT): Likewise.
65358         (PLUS_INFTY_INIT): Likewise.
65359         (MINUS_INFTY_INIT): Likewise.
65360         (QNAN_VALUE_INIT): Likewise.
65361         (MAX_VALUE_INIT): Likewise.
65362         (MIN_VALUE_INIT): Likewise.
65363         (MIN_SUBNORM_VALUE_INIT): Likewise.
65364         (plus_zero): Initialize with PLUS_ZERO_INIT.
65365         (minus_zero): Initialize with MINUS_ZERO_INIT.
65366         (plus_infty): Initialize with PLUS_INFTY_INIT.
65367         (minus_infty): Initialize with MINUS_INFTY_INIT.
65368         (qnan_value): Initialize with QNAN_VALUE_INIT.
65369         (max_value): Initialize with MAX_VALUE_INIT.
65370         (min_value): Initialize with MIN_VALUE_INIT.
65371         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65373         * math/libm-test.inc (RUN_TEST_if_f): New macro.
65374         (jn_test): Use TEST_if_f instead of TEST_ff_f.
65375         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65376         (yn_test): Use TEST_if_f instead of TEST_ff_f.
65378         * math/libm-test.inc (RUN_TEST_f_f): New macro.
65379         (RUN_TEST_2_f): Likewise.
65380         (RUN_TEST_ff_f): Likewise.
65381         (RUN_TEST_fi_f): Likewise.
65382         (RUN_TEST_fl_f): Likewise.
65383         (RUN_TEST_fff_f): Likewise.
65384         (RUN_TEST_c_f): Likewise.
65385         (RUN_TEST_f_f1): Likewise.
65386         (RUN_TEST_fF_f1): Likewise.
65387         (RUN_TEST_fI_f1): Likewise.
65388         (RUN_TEST_ffI_f1): Likewise.
65389         (RUN_TEST_c_c): Likewise.
65390         (RUN_TEST_cc_c): Likewise.
65391         (RUN_TEST_f_i): Likewise.
65392         (RUN_TEST_f_i_tg): Likewise.
65393         (RUN_TEST_ff_i_tg): Likewise.
65394         (RUN_TEST_f_b): Likewise.
65395         (RUN_TEST_f_b_tg): Likewise.
65396         (RUN_TEST_f_l): Likewise.
65397         (RUN_TEST_f_L): Likewise.
65398         (RUN_TEST_sincos): Likewise.
65399         * math/gen-libm-test.pl (new_test): Take new argument to indicate
65400         whether to show exceptions.  Do not include ");\n" in return
65401         value.
65402         (special_functions): Output call to RUN_TEST_sincos instead of
65403         check_float calls.  Update calls to new_test.
65404         (parse_args): Output call to single RUN_TEST_* macro instead of
65405         check_* calls and other assignments.  Update calls to new_test.
65407         [BZ #2546]
65408         [BZ #2560]
65409         [BZ #5159]
65410         [BZ #15426]
65411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65412         input to result for tgamma overflow.
65413         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65414         (gamma_coeff): New variable.
65415         (NCOEFF): New macro.
65416         (gamma_positive): New function.
65417         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65418         underflow here.  Use gamma_positive instead of exp (lgamma) for
65419         other arguments.
65420         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65421         (gamma_coeff): New variable.
65422         (NCOEFF): New macro.
65423         (gammaf_positive): New function.
65424         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65425         underflow here.  Use gamma_positive instead of exp (lgamma) for
65426         other arguments.
65427         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65428         (gamma_coeff): New variable.
65429         (NCOEFF): New macro.
65430         (gammal_positive): New function.
65431         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65432         underflow here.  Use gamma_positive instead of exp (lgamma) for
65433         other arguments.
65434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65435         (gamma_coeff): New variable.
65436         (NCOEFF): New macro.
65437         (gammal_positive): New function.
65438         (__ieee754_gammal_r): Handle positive infinity, overflow and
65439         underflow here.  Handle NaN the same as positive infinity.  Remove
65440         check x < 0xffffffff for negative integers.  Use gamma_positive
65441         instead of exp (lgamma) for other arguments.
65442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65443         (gamma_coeff): New variable.
65444         (NCOEFF): New macro.
65445         (gammal_positive): New function.
65446         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65447         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65451         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65452         * sysdeps/generic/math_private.h (__gamma_productf): New
65453         prototype.
65454         (__gamma_product): Likewise.
65455         (__gamma_productl): Likewise.
65456         * math/Makefile (libm-calls): Add gamma_product.
65457         * math/libm-test.inc (tgamma_test): Add more tests.
65458         * sysdeps/i386/fpu/libm-test-ulps: Update.
65459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65461 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65463         * benchtests/bench-skeleton.c (main): Preheat CPU.
65465 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65467         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65469 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65471         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65472         and _dl_skip_args_internal.
65474 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65476         * manual/message.texi (Message Translation): Talk about users.
65477         Message to key mapping impacts design.
65479 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65481         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65483         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65485         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65486         * sysdeps/wordsize-64/glob64.c: ... here.
65488         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65489         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65490         New macros.
65492         * debug/getlogin_r_chk.c: Moved to ...
65493         * login/getlogin_r_chk.c: ... here.
65494         * debug/Makefile (routines): Move getlogin_r_chk to ...
65495         * login/Makefile (routines): ... here.
65496         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65497         * login/Versions (libc: GLIBC_2.4): ... here.
65499         * io/poll.c (__poll): Renamed from poll.
65500         Add libc_hidden_def.
65501         (poll): Define as weak alias.
65503         * debug/ptsname_r_chk.c: Moved to ...
65504         * login/ptsname_r_chk.c: ... here.
65505         * debug/Makefile (routines): Move ptsname_r_chk to ...
65506         * login/Makefile (routines): ... here.
65507         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65508         * login/Versions (libc: GLIBC_2.4): ... here.
65510         * posix/getlogin.c: Moved to ...
65511         * login/getlogin.c: ... here.
65512         * posix/getlogin_r.c: Moved to ...
65513         * login/getlogin_r.c: ... here.
65514         * posix/getlogin_r.c: Moved to ...
65515         * login/getlogin_r.c: ... here.
65516         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65517         * login/Makefile (routines): ... here.
65518         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65519         * login/Versions (libc: GLIBC_2.0): ... here.
65521         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65522         (setrlimit): Define as weak alias.
65524         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65525         Call __ names for open, ftruncate, and close.
65526         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65527         (truncate): Define as weak alias.
65529 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65531         * math/gen-libm-test.pl (parse_args): Initialize x before each
65532         test of frexp, modf and remquo.
65534         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65535         test signgam value.
65537 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65539         [BZ #15418]
65540         [BZ #15419]
65541         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65542         internal tests.
65543         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65545 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65547         * elf/dl-writev.h: New file.
65548         * elf/dl-misc.c: Include it.
65549         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65550         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65552 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65554         * math/libm-test.inc (noXFails): Remove variable.
65555         (noXPasses): Likewise.
65556         (BUILD_COMPLEX_INT): Remove macro.
65557         (print_screen): Remove xfail argument.
65558         (print_screen_max_error): Likewise.
65559         (update_stats): Likewise.
65560         (print_max_error): Likewise.  Update calls to other affected
65561         functions.
65562         (print_complex_max_error): Likewise.
65563         (test_single_exception): Update calls to print_screen.
65564         (test_single_errno): Likewise.
65565         (check_float_internal): Remove xfail argument.  Update calls to
65566         other affected functions.
65567         (check_float): Likewise.
65568         (check_complex): Likewise.
65569         (check_int): Likewise.
65570         (check_long): Likewise.
65571         (check_bool): Likewise.
65572         (check_longlong): Likewise.
65573         (main): Don't print noXFails and noXPasses.
65574         * math/gen-libm-test.pl (top level): Don't mention expected
65575         failure handling in comment.
65576         (new_test): Don't handle expected failures.
65577         (parse_args): Don't mention expected failure handling in comment.
65578         (generate_testfile): Don't handle expected failures.
65579         (parse_ulps): Likewise.
65580         (print_ulps_file): Likewise.
65581         (get_failure): Remove function.
65582         (output_test): Don't handle expected failures.
65583         * make/README.libm-test: Don't mention expected failure handling.
65585         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65586         (minus_zero): Likewise.
65587         (plus_infty): Likewise.
65588         (minus_infty): Likewise.
65589         (qnan_value): Likewise.
65590         (max_value): Likewise.
65591         (min_value): Likewise.
65592         (min_subnorm_value): Likewise.
65593         (initialize): Do not initialize those variables dynamically.
65595 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65597         * io/open.c (__open_2): Moved to ...
65598         * io/open_2.c: ... this new file.
65599         * io/open64.c (__open64_2): Moved to ...
65600         * io/open64_2.c: ... this new file.
65601         * io/openat.c (__openat_2): Moved to ...
65602         * io/openat_2.c: ... this new file.
65603         * io/openat64.c (__openat64_2): Moved to ...
65604         * io/openat64_2.c: ... this new file.
65605         * io/Makefile (routines): Add them.
65606         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65607         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65608         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65609         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65610         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65611         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65612         (__openat64): Add hidden_ver.
65613         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65614         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65616         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65617         Separately conditionalize setting of GLRO(dl_sysinfo) so
65618         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65619         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65621 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65625         definition.
65626         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65627         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65628         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65629         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65630         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65632 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65634         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65635         test signgam value.
65637         * math/libm-test.inc (hypot_test): Do not use
65638         IGNORE_ZERO_INF_SIGN.
65640 2013-05-03  Andreas Jaeger  <aj@suse.de>
65642         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65643         Linux 3.9.
65644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65645         (PF_MAX): Adjust for VSOCK change.
65647 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65651 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65653         [BZ #15264]
65654         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65655         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65656         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65658 2013-05-02  David S. Miller  <davem@davemloft.net>
65660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65662 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65664         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65666 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65668         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65670 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65672         [BZ #14952]
65673         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65674         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65675         Use __attribute__ ((__gnu_inline__)).
65676         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65677         Don't use __attribute__ ((__gnu_inline__)).
65679 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65681         [BZ #15423]
65682         * math/s_catan.c (__catan): Handle small real or imaginary part of
65683         input specially to avoid spurious underflow.
65684         * math/s_catanf.c (__catanf): Likewise.
65685         * math/s_catanh.c (__catanh): Likewise.
65686         * math/s_catanhf.c (__catanhf): Likewise.
65687         * math/s_catanhl.c (__catanhl): Likewise.
65688         * math/s_catanl.c (__catanl): Likewise.
65689         * math/libm-test.inc (catan_test): Add more tests.
65690         (catanh_test): Likewise.
65691         * sysdeps/i386/fpu/libm-test-ulps: Update.
65692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65694 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65698 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
65700         [BZ #15416]
65701         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65702         accurately for denominator in atan2.
65703         * math/s_catanf.c (__catanf): Likewise.
65704         * math/s_catanh.c (__catanh): Likewise.
65705         * math/s_catanhf.c (__catanhf): Likewise.
65706         * math/s_catanhl.c (__catanhl): Likewise.
65707         * math/s_catanl.c (__catanl): Likewise.
65708         * math/libm-test.inc (catan_test): Add more tests.
65709         (catanh_test): Likewise.
65710         * sysdeps/i386/fpu/libm-test-ulps: Update.
65711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65713 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65715         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65717         * benchtests/Makefile (bench): Remove slow benchmarks.
65718         * benchtests/atan-inputs: Add slow benchmark inputs.
65719         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65720         (BENCH_FUNC): Accept variant offset.
65721         (VARIANT): Define.
65722         * benchtests/bench-skeleton.c (main): Run benchmark for each
65723         variant.
65724         * benchtests/cos-inputs: Add slow benchmark inputs.
65725         * benchtests/exp-inputs: Likewise.
65726         * benchtests/pow-inputs: Likewise.
65727         * benchtests/sin-inputs: Likewise.
65728         * benchtests/slowatan-inputs: Remove.
65729         * benchtests/slowatan.c: Remove.
65730         * benchtests/slowcos-inputs: Remove.
65731         * benchtests/slowcos.c: Remove.
65732         * benchtests/slowexp-inputs: Remove.
65733         * benchtests/slowexp.c: Remove.
65734         * benchtests/slowpow-inputs: Remove.
65735         * benchtests/slowpow.c: Remove.
65736         * benchtests/slowsin-inputs: Remove.
65737         * benchtests/slowsin.c: Remove.
65738         * benchtests/slowtan-inputs: Remove.
65739         * benchtests/slowtan.c: Remove.
65740         * benchtests/tan-inputs: Add slow benchmark inputs.
65741         * scripts/bench.pl: Parse comments and directives.
65743         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
65744         in CPPFLAGS.
65745         ($(objpfx)bench-%.c): Remove *-ITER.
65746         * benchtests/bench-modf.c: Remove definition of ITER.
65747         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65748         (main): Loop for DURATION seconds instead of fixed number of
65749         iterations.
65750         * scripts/bench.pl: Don't expect iterations in parameters.
65752 2013-04-29  Roland McGrath  <roland@hack.frob.com>
65754         * io/fchdir.c (__fchdir): Renamed from fchdir.
65755         (fchdir): Define as weak alias.
65757 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65759         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65760         (ERRNO_EDOM): Likewise.
65761         (ERRNO_ERANGE): Likewise.
65762         (noErrnoTests): New variable.
65763         (init_max_error): Set errno to 0.
65764         (test_single_errno): New function.
65765         (test_errno): Likewise.
65766         (check_float_internal): Call test_errno.  Set errno to 0.
65767         (check_complex): Refer to errno tests in comment.
65768         (check_int): Call test_errno.  Set errno to 0.
65769         (check_long): Likewise.
65770         (check_bool): Likewise.
65771         (check_longlong): Likewise.
65772         (cos_test): Use ERRNO_* flags for errno tests instead of
65773         check_int.
65774         (expm1_test): Likewise.
65775         (fmod_test): Likewise.
65776         (ilogb_test): Likewise.
65777         (lgamma_test): Likewise.
65778         (pow_test): Likewise.
65779         (remainder_test): Likewise.
65780         (sin_test): Likewise.
65781         (tan_test): Likewise.
65782         (yn_test): Likewise.
65783         (initialize): Set errno to 0.
65784         (main): Print number of errno tests.
65785         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65787 2013-04-29  Andreas Jaeger  <aj@suse.de>
65789         [BZ #15084]
65790         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65791         and RES_USEVC.
65793         [BZ #15085]
65794         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65795         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65796         unimplemented.
65798         [BZ #15380]
65799         * stdlib/random.c (__initstate): Return NULL if
65800         __initstate fails.
65802         [BZ #15086]
65803         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65804         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65805         RES_SNGLKUPREOP.
65807 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65813         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65814         of individual tests.
65815         (casin_test): Likewise.
65816         (casinh_test): Likewise.
65818 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65820         [BZ #15409]
65821         * math/s_catan.c (__catan): Handle arguments with large real or
65822         imaginary part separately without squaring.
65823         * math/s_catanf.c (__catanf): Likewise.
65824         * math/s_catanh.c (__catanh): Likewise.
65825         * math/s_catanhf.c (__catanhf): Likewise.
65826         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65827         and redefine.
65828         (__catanhl): Handle arguments with large real or imaginary part
65829         separately without squaring.
65830         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65831         and redefine.
65832         (__catanl): Handle arguments with large real or imaginary part
65833         separately without squaring.
65834         * math/libm-test.inc (catan_test): Add more tests.
65835         (catanh_test): Likewise.
65836         * sysdeps/i386/fpu/libm-test-ulps: Update.
65837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65839 2013-04-27  Andreas Jaeger  <aj@suse.de>
65841         [BZ #15007]
65842         * stdlib/stdlib.h: Update guards for qecvt.
65843         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65844         <stdlib.h>.
65846 2013-04-27  Allan McRae  <allan@archlinux.org>
65848         * sysdeps/i386/fpu/libm-test-ulps: Update.
65850 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65852         [BZ #15406]
65853         * math/s_catan.c: Include <float.h>.
65854         (__catan): Ensure underflow exception occurs for underflowed
65855         result.
65856         * math/s_catanf.c: Include <float.h>.
65857         (__catanf): Ensure underflow exception occurs for underflowed
65858         result.
65859         * math/s_catanh.c: Include <float.h>.
65860         (__catanh): Ensure underflow exception occurs for underflowed
65861         result.
65862         * math/s_catanhf.c: Include <float.h>.
65863         (__catanhf): Ensure underflow exception occurs for underflowed
65864         result.
65865         * math/s_catanhl.c: Include <float.h>.
65866         (__catanhl): Ensure underflow exception occurs for underflowed
65867         result.
65868         * math/s_catanl.c: Include <float.h>.
65869         (__catanl): Ensure underflow exception occurs for underflowed
65870         result.
65871         * math/libm-test.inc (catan_test): Add more tests.
65872         (catanh_test): Likewise.
65874         [BZ #15405]
65875         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65876         underflowed result.
65877         * math/s_ccoshf.c (__ccoshf): Likewise.
65878         * math/s_ccoshl.c (__ccoshl): Likewise.
65879         * math/s_csin.c (__csin): Likewise.
65880         * math/s_csinf.c (__csinf): Likewise.
65881         * math/s_csinh.c (__csinh): Likewise.
65882         * math/s_csinhf.c (__csinhf): Likewise.
65883         * math/s_csinhl.c (__csinhl): Likewise.
65884         * math/s_csinl.c (__csinl): Likewise.
65885         * math/libm-test.inc (ccos_test): Add more tests.
65886         (ccosh_test): Likewise.
65887         (csin_test): Likewise.
65888         (csinh_test): Likewise.
65890 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65892         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65893         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65894         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65895         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65896         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65897         powerpc/power5+/fpu folders.
65898         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65901 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65905 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65907         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65908         additions to variable.
65909         [$(config-machine) = x86_64] (modules-names): Likewise.
65910         ($(objpfx)tst-audit3): Remove dependency.
65911         ($(objpfx)tst-audit3.out): Likewise.
65912         ($(objpfx)tst-audit4): Likewise.
65913         ($(objpfx)tst-audit4.out): Likewise.
65914         ($(objpfx)tst-audit5): Likewise.
65915         ($(objpfx)tst-audit5.out): Likewise.
65916         ($(objpfx)tst-audit6): Likewise.
65917         ($(objpfx)tst-audit6.out): Likewise.
65918         ($(objpfx)tst-audit7): Likewise.
65919         ($(objpfx)tst-audit7.out): Likewise.
65920         (tst-audit3-ENV): Remove variable.
65921         (tst-audit4-ENV): Likewise.
65922         (tst-audit5-ENV): Likewise.
65923         (tst-audit6-ENV): Likewise.
65924         (tst-audit7-ENV): Likewise.
65925         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65926         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65927         addition to variable.
65928         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65929         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65930         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65931         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65933         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65934         tst-audit3, tst-audit4 and tst-audit5.
65935         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65936         tst-audit6 and tst-audit7.
65937         [$(subdir) = elf] (modules-names): Add audit modules for those
65938         tests.
65939         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65940         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65941         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65942         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65943         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65944         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65945         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65946         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65947         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65948         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65949         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65950         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65951         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65952         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65953         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65954         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65955         Likewise.
65956         [$(subdir) = elf && $(config-cflags-avx) = yes]
65957         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65958         [$(subdir) = elf && $(config-cflags-avx) = yes]
65959         (CFLAGS-tst-auditmod4a.c): Likewise.
65960         [$(subdir) = elf && $(config-cflags-avx) = yes]
65961         (CFLAGS-tst-auditmod4b.c): Likewise.
65962         [$(subdir) = elf && $(config-cflags-avx) = yes]
65963         (CFLAGS-tst-auditmod6b.c): Likewise.
65964         [$(subdir) = elf && $(config-cflags-avx) = yes]
65965         (CFLAGS-tst-auditmod6c.c): Likewise.
65966         [$(subdir) = elf && $(config-cflags-avx) = yes]
65967         (CFLAGS-tst-auditmod7b.c): Likewise.
65968         * elf/tst-audit3.c: Move to ...
65969         * sysdeps/x86_64/tst-audit3.c: ... here.
65970         * elf/tst-audit4.c: Move to ...
65971         * sysdeps/x86_64/tst-audit4.c: ... here.
65972         * elf/tst-audit5.c: Move to ...
65973         * sysdeps/x86_64/tst-audit5.c: ... here.
65974         * elf/tst-audit6.c: Move to ...
65975         * sysdeps/x86_64/tst-audit6.c: ... here.
65976         * elf/tst-audit7.c: Move to ...
65977         * sysdeps/x86_64/tst-audit7.c: ... here.
65978         * elf/tst-auditmod3a.c: Move to ...
65979         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65980         * elf/tst-auditmod3b.c: Move to ...
65981         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65982         * elf/tst-auditmod4a.c: Move to ...
65983         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65984         * elf/tst-auditmod4b.c: Move to ...
65985         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65986         * elf/tst-auditmod5a.c: Move to ...
65987         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65988         * elf/tst-auditmod5b.c: Move to ...
65989         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65990         * elf/tst-auditmod6a.c: Move to ...
65991         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65992         * elf/tst-auditmod6b.c: Move to ...
65993         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65994         * elf/tst-auditmod6c.c: Move to ...
65995         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65996         * elf/tst-auditmod7a.c: Move to ...
65997         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65998         * elf/tst-auditmod7b.c: Move to ...
65999         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66001 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66003         [BZ #15366]
66004         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66005         define unconditionally.
66006         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66007         define unconditionally.
66008         (INT8_C, INT16_C, etc.): Likewise.
66010 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66012         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66013         __ehdr_start with hidden visibility.
66015         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66017 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66019         * math/libm-test.inc (cos_test): Use accurate hex constants.
66020         (sincost_test): Likewise.
66022 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66024         * math/libm-test.inc (catan_test): Add more tests.
66025         (catanh_test): Likewise.
66027         * math/s_catanf.c (__catanf): Use suffixed floating-point
66028         constants.
66029         * math/s_catanhf.c (__catanhf): Likewise.
66030         * math/s_catanhl.c (__catanhl): Likewise.
66031         * math/s_catanl.c (__catanl): Likewise.
66033         [BZ #15394]
66034         * math/s_catan.c (__catan): Calculate imaginary part of result
66035         with log1p not log unless computing log of number close to 0.
66036         * math/s_catanf.c (__catanf): Likewise.
66037         * math/s_catanl.c (__catanl): Likewise.
66038         * math/s_catanh.c (__catanh): Calculate real part of result with
66039         log1p not log unless computing log of number close to 0.
66040         * math/s_catanhf.c (__catanhf): Likewise.
66041         * math/s_catanhl.c (__catanhl): Likewise.
66042         * math/libm-test.inc (catan_test): Add more tests.
66043         (catanh_test): Likewise.
66044         * sysdeps/i386/fpu/libm-test-ulps: Update.
66045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66047 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66049         * benchtests/Makefile: Mention files in which fast and slow
66050         paths of math functions are implemented.
66052 2013-04-23  Roland McGrath  <roland@hack.frob.com>
66054         * sysdeps/posix/timespec_get.c: New file.
66056 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66058         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66059         POWER.
66060         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66061         for POWER.
66062         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66063         powerpc/power5/fpu folders.
66064         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66065         * benchtests/Makefile: Add modf testcase.
66066         * benchtests/bench-modf.c: New file: Benchmark test for mo
66068 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
66070         [BZ #14888]
66071         * time/Makefile (tests): Add tst-strptime-whitespace.
66072         * time/strptime_l.c (get_number): Use ISSPACE.
66073         (__strptime_internal): Likewise.
66074         * time/tst-strptime-whitespace.c: New test case.
66076 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
66078         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66079         member.
66080         (_nss_files_init): Set it here.
66082 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
66084         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66085         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66086         unsigned.
66088 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
66090         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66092 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66095         size just once.
66097 2013-04-21  David S. Miller  <davem@davemloft.net>
66099         * po/ru.po: Update Russion translation from translation project.
66101 2013-04-17  Adam Conrad  <adconrad@0c3.net>
66103         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66104         and setfsgid.
66106 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
66108         * configure.in: Remove i386 configure warning. Remove i386 case.
66109         * configure: Regenerate.
66110         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66111         Add example to error message.
66112         * sysdeps/i386/configure: Regenerate.
66114 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66116         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66117         slowtan.
66118         * benchtests/cos-inputs: New file.
66119         * benchtests/slowcos-inputs: New file.
66120         * benchtests/slowcos.c: New file.
66121         * benchtests/slowtan-inputs: New file.
66122         * benchtests/slowtan.c: New file.
66123         * benchtests/tan-inputs: New file.
66125 2013-04-16  Roland McGrath  <roland@hack.frob.com>
66127         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66128         considered kosher.
66130 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66132         * benchtests/Makefile: Include cppflags-iterator.mk to add
66133         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66135         * Makefile.in (bench-clean): New target.
66136         * benchtests/Makefile (bench-clean): Likewise.
66138 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
66140         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66142 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
66144         * stdio-common/tstdiomisc.c: Fix coding-style violation.
66146 2013-04-15  Andreas Schwab  <schwab@suse.de>
66148         * nscd/grpcache.c (cache_addgr): Properly check for short write.
66149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66150         * nscd/pwdcache.c (cache_addpw): Likewise.
66151         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
66152         more than recsize.
66154 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66156         * benchtests/Makefile (bench): Write all output to
66157         bench-out.tmp together.
66159 2013-04-15  Andreas Schwab  <schwab@suse.de>
66161         * nscd/nscd.c (main): Don't fork again after closing files.
66163 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66165         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66167         * benchtests/Rules (bench-deps): Collect dependencies into a
66168         single variable.  Add Makefile to dependencies.
66169         ($(objpfx)bench-%.c): Depend on bench-deps.
66171 2013-04-12  Roland McGrath  <roland@hack.frob.com>
66172             Xavier Roche  <roche+kml2@exalead.com>
66174         [BZ #15361]
66175         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66176         just that it's a file descriptor.
66177         * manual/llio.texi (Synchronizing AIO Operations): Update description
66178         for EBADF error from aio_fsync.
66180 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
66182         * Rules (bench): Move target definition...
66183         * benchtests/Makefile: ... here.
66185 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
66187         * math/libm-test.inc (cos_test): Fix PI/2 test.
66188         (sincos_test): Likewise.
66189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66190         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66192 2013-04-11  Andreas Schwab  <schwab@suse.de>
66194         [BZ #13988]
66195         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66196         accept exponent character only when digits were seen.
66197         * stdio-common/Makefile (tests): Add bug26.
66198         * stdio-common/bug26.c: New file.
66200         [BZ #14293]
66201         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66202         non-freeable.
66204 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66206         * Makeconfig (rtld-prefix): Define built linker prefix.
66207         * Rules (run-bench): Use it.
66208         * math/Makefile (run-regen-ulps): Likewise.
66210         * Rules (bench): Remove eval.
66212 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66213             Roland McGrath  <roland@hack.frob.com>
66214             Ondrej Bilka  <neleai@seznam.cz>
66216         [BZ #15346]
66217         * time/getdate.c: Include ctype.h and alloca.h.
66218         (__getdate_r): Trim leading and trailing spaces of input.
66219         * time/tst-getdate.c (tests): Add tests with leading and
66220         trailing spaces.
66222 2013-04-08  Roland McGrath  <roland@hack.frob.com>
66224         [BZ #14280]
66225         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66226         when computing value.
66228 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66230         * math/README.libm-test (How can I generate "libm-test-ulps"?):
66231         Use testrun.sh to run libm tests.
66233         [BZ #15309]
66234         * elf/dl-open.c (dl_open_worker): memset all of seen array.
66236 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
66238         [BZ #15264]
66239         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66243         * Makefile.in (regen-ulps): New target.
66244         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66245         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66246         [ifneq (no,$(PERL)] (regen-ulps): New target.
66247         [ifeq (no,$(PERL)] (regen-ulps): New target.
66248         * math/libm-test.inc (ulps_file_name): Define.
66249         (output_dir): New variable.
66250         (options): Add "output-dir" option.
66251         (parse_opt): Handle 'o' case.
66252         (main): If output_dir is non-NULL use it as a prefix
66253         otherwise use "".
66254         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66256 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66258         [BZ #10060, #10062]
66259         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
66260         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
66261         fail configure if __sync_val_compare_and_swap is not inlined.
66262         * sysdeps/i386/configure: Regenerate.
66263         * configure.in: Build for i686 when configured for i386.
66264         * configure: Regenerate.
66265         * README: Remove i386 reference.
66267 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66269         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
66270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66272 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66274         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66275         (lmsnanval): New variables.
66276         (F): Add conversion tests.
66277         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66278         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66280         * stdio-common/tstdiomisc.c (F): Properly collect individual
66281         tests' results.
66283         [BZ #14686, #15336]
66284         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66285         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66286         Instead, use input NaN values or generate a qNaN by arithmetic
66287         operation.  Also fix bugs to comply with the standard.
66288         * math/libm-test.inc (remainder_test): Add more tests.
66290         [BZ #15335, #15342]
66291         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66293         input NaN values or generate a qNaN by arithmetic operation.
66295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66296         unreachable code.
66298         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66299         definitions.
66301 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
66303         [BZ #14478]
66304         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66305         underflowed result.
66306         * math/s_cexpf.c (__cexpf): Likewise.
66307         * math/s_cexpl.c (__cexpl): Likewise.
66308         * math/libm-test.inc (cexp_test): Add more tests.
66310 2013-04-03  Andreas Schwab  <schwab@suse.de>
66312         [BZ #15330]
66313         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
66314         order arrays from heap if bigger than alloca cutoff.
66316 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
66318         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
66319         (SNAN_TESTS_double): Refer to GCC PR56831.
66320         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66321         GCC PR56828.
66323 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66325         * Rules (bench): Move bench.out after the run is complete.
66327         * Rules (bench): Echo currently running benchmark.
66329         * benchtests/Makefile (bench): Add atan and slowatan.
66330         * benchtests/atan-inputs: New file.
66331         * benchtests/slowatan-inputs: New file.
66332         * benchtests/slowatan.c: New file.
66334         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66335         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66336         its value.
66338         [BZ #15305]
66339         * sysdeps/unix/sysv/linux/kernel-features.h
66340         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66341         __ASSUME_XFS_RESTRICTED_CHOWN.
66342         * sysdeps/unix/sysv/linux/pathconf.c
66343         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66344         Save and restore errno.
66346 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
66348         [BZ #15327]
66349         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66350         arguments using __kernel_casinh.
66351         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66352         arguments using __kernel_casinhf.
66353         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66354         arguments using __kernel_casinhl.
66355         * math/libm-test.inc (cacosh_test): Add more tests.
66356         * sysdeps/i386/fpu/libm-test-ulps: Update.
66357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66359 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66361         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66364         * bench/Makefile (bench): Add sin and slowsin.
66365         * benchtests/sin-inputs: New file.
66366         * benchtests/slowsin-inputs: New file.
66367         * benchtests/slowsin.c: New file.
66369         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66370         (bench): Add slowexp and slowpow.
66371         (exp-ITER): Increase iterations.
66372         (pow-ITER): Likewise.
66373         * benchtests/exp-inputs: Change input.
66374         * benchtests/pow-inputs: Likewise.
66375         * benchtests/slowexp-inputs: New file.
66376         * benchtests/slowexp.c: New file.
66377         * benchtests/slowpow-inputs: New file.
66378         * benchtests/slowpow.c: New file.
66380 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66382         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66383         instructions.
66384         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66385         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66387         * benchtests/Makefile: Add rint benchtest.
66388         * benchtests/rint-inputs: Input for rint benchtest.
66390 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66392         * Versions.def (libm): Add GLIBC_2.18.
66393         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66394         hidden libm prototypes.
66395         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66396         * math/Makefile (libm-calls): Add s_issignaling.
66397         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66398         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
66399         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66400         declaration.
66401         * math/math.h [__USE_GNU] (issignaling): New macro.
66402         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66403         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66405         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66406         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66407         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66408         * manual/arith.texi (issignaling): New section.
66409         * manual/libm-err-tab.pl (@all_functions): Update comment.
66410         * math/gen-libm-test.pl (parse_args): Apply special handling for
66411         issignaling.
66412         * math/libm-test.inc (print_float, issignaling_test): New
66413         functions.
66414         (check_float_internal): Add issignaling checks.
66415         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66416         default definition.
66417         * sysdeps/powerpc/math-tests.h: New file.
66418         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66419         tests.
66420         * math/test-snan.c (TEST_FUNC): Likewise.
66422 2013-03-30  David S. Miller  <davem@davemloft.net>
66424         * po/de.po: Update from translation team.
66426 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66428         [BZ #10357]
66429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66430         imaginary part less than 1.0 and real part less than 0.5
66431         specially.
66432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66434         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66435         (cacos_test): Add more tests.
66436         (casin_test): Likewise.
66437         (casinh_test): Likewise.
66438         * sysdeps/i386/fpu/libm-test-ulps: Update.
66439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66441 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66443         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66444         ONE with its value.
66446         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66447         (__pow_mp): Replace ONE and MONE with their values.
66448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66450         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66451         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66452         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66455         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66457         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66458         (__pow_mp): Replace ZERO and MZERO with their values.
66459         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66464         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66465         (__sqr): Likewise.
66467         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66469         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66471 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66473         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66474         Declare with __attribute__ ((weak)).
66475         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66476         Call __call_tls_dtors only if it's not NULL.
66478 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66480         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66481         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66482         magic __ehdr_start linker symbol if it's defined.
66483         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66484         them up here if it was already done.
66486         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66487         (_dl_aux_init): Use const in cast when setting it.
66488         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66489         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66490         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66492         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66493         Declare them here.
66494         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66495         * csu/libc-tls.c: Nor here.
66496         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66498         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66499         (__libc_message): Never call vsyslog.
66501 2013-03-28  Alan Modra  <amodra@gmail.com>
66503         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66504         Define as empty.
66505         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66506         Likewise.
66508 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66510         [BZ #15214]
66511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66512         underflow.
66513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66515 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66517         [BZ #15304]
66518         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66519         Don't add gid passed as argument.
66521         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66523 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66525         [BZ #15307]
66526         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66527         imaginary part between 1.0 and 1.5 and real part less than 0.5
66528         specially.
66529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66531         * math/libm-test.inc (cacos_test): Add more tests.
66532         (casin_test): Likewise.
66533         (casinh_test): Likewise.
66534         * sysdeps/i386/fpu/libm-test-ulps: Update.
66535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66537 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66539         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66540         constants.
66541         (norm): Likewise.
66542         (denorm): Likewise.
66543         (__dbl_mp): Likewise.
66544         (add_magnitudes): Likewise.
66545         (sub_magnitudes): Likewise.
66546         (__add): Likewise.
66547         (__sub): Likewise.
66548         (__mul): Likewise.
66549         (__sqr): Likewise.
66550         (__inv): Likewise.
66551         (__dvd): Likewise.
66553         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66554         commented code.
66555         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66556         (__dubcos): Likewise.
66557         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66558         (__ieee754_acos): Likewise.
66559         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66561         (__exp1): Likewise.
66562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66564         (log1): Likewise.
66565         (my_log2): Likewise.
66566         (checkint): Likewise.
66567         * sysdeps/ieee754/dbl-64/e_remainder.c
66568         (__ieee754_remainder): Likewise.
66569         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66571         (bsloww): Likewise.
66572         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66574         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66575         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66576         MANTISSA_STORE_T to store computations on mantissa.  Use
66577         macros for rounding and division.
66578         (denorm): Likewise.
66579         (__dbl_mp): Likewise.
66580         (add_magnitudes): Likewise.
66581         (sub_magnitudes): Likewise.
66582         (__mul): Likewise.
66583         (__sqr): Likewise.
66584         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66585         powers of two in terms of TWOPOW macro.
66586         (mp_no): Make type of mantissa as MANTISSA_T.
66587         [!RADIXI]: Define RADIXI.
66588         [!TWO52]: Define TWO52.
66589         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66591 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66593         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66594         llroundl symbol when building for PPC32.
66596 2013-03-24  Mark H Weaver  <mhw@netris.org>
66598         * manual/arith.texi (Normalization Functions): Fix prototypes for
66599         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66601 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66603         [BZ #13889]
66604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66605         high value to check if expl overflow.
66606         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66607         to check for underflow and overflow.
66608         * math/libm-test.inc: Add exp test.
66610 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66612         [BZ #11120]
66613         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66614         with NOT_IN_libc.
66616 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66618         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66619         symbol.
66621 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66623         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66624         wrap blocks consisting of several statements.
66626         * sysdeps/generic/math-tests.h: New file.
66627         * sysdeps/i386/fpu/math-tests.h: Likewise.
66628         * math/test-snan.c: Include it.
66629         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66631 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66633         [BZ #15285]
66634         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66635         (__ieee754_j0l): Do not improve calculations using cos of twice
66636         input for inputs above LDBL_MAX / 2.0L.
66637         (__ieee754_y0l): Likewise.
66638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66639         (__ieee754_j1l): Do not improve calculations using cos of twice
66640         input for inputs above LDBL_MAX / 2.0L.
66641         (__ieee754_y1l): Likewise.
66642         * math/libm-test.inc (j0_test): Add another test.
66643         (j1_test): Likewise.
66644         (y0_test): Likewise.
66645         (y1_test): Likewise.
66646         * sysdeps/i386/fpu/libm-test-ulps: Update.
66648 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66650         * Rules ($(objpfx)bench-%.c): Include code from a C source
66651         file.
66653 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66655         [BZ #15287]
66656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66657         imaginary part 1.0 and real part less than 0.5 specially.
66658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66660         * math/libm-test.inc (cacos_test): Add more tests.
66661         (casin_test): Likewise.
66662         (casinh_test): Likewise.
66663         * sysdeps/i386/fpu/libm-test-ulps: Update.
66664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66666 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66669         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66671 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66673         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66674         * config.make.in (config-cflags-sse4): Remove variable.
66675         (config-cflags-avx): Likewise.
66676         (config-cflags-sse2avx): Likewise.
66677         (config-cflags-novzeroupper): Likewise.
66678         (config-asflags-i686): Likewise.
66679         (have-mfma4): Likewise.
66680         (have-as-vis3): Likewise.
66681         (MIG): Likewise.
66682         * configure.in (MIG): Do not AC_SUBST.
66683         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66684         (libc_cv_cc_sse4): Do not AC_SUBST.
66685         (libc_cv_cc_avx): Likewise.
66686         (libc_cv_cc_sse2avx): Likewise.
66687         (libc_cv_cc_novzeroupper): Likewise.
66688         (libc_cv_cc_fma4): Likewise.
66689         (libc_cv_as_i686): Likewise.
66690         (libc_cv_sparc_as_vis3): Likewise.
66691         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66692         LIBC_CONFIG_VAR.
66693         (config-asflags-i686): Likewise.
66694         (config-cflags-avx): Likewise.
66695         (config-cflags-sse2avx): Likewise.
66696         (have-mfma4): Likewise.
66697         (config-cflags-novzeroupper): Likewise.
66698         * sysdeps/mach/configure.in (MIG): Likewise.
66699         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66700         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66701         LIBC_CONFIG_VAR.
66702         (config-cflags-avx): Likewise.
66703         (config-cflags-sse2avx): Likewise.
66704         (have-mfma4): Likewise.
66705         (config-cflags-novzeroupper): Likewise.
66706         * configure: Regenerated.
66707         * sysdeps/i386/configure: Likewise.
66708         * sysdeps/mach/configure: Likewise.
66709         * sysdeps/sparc/configure: Likewise.
66710         * sysdeps/x86_64/configure: Likewise.
66712 2013-03-20  Roland McGrath  <roland@hack.frob.com>
66714         [BZ #14812]
66715         * locale/programs/localedef.c (options): Put N_ translation marker
66716         on argument names, not just descriptions.
66718 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66720         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66722 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
66724         [BZ #14176]
66725         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66727 2013-03-19  Roland McGrath  <roland@hack.frob.com>
66729         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66730         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66731         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66732         [!BEFORE_ABORT] (before_abort): New function.
66733         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66734         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66735         (writev_for_fatal): New function.
66736         (WRITEV_FOR_FATAL): New macro; call that.
66737         (backtrace_and_maps): New function.
66738         (BEFORE_ABORT): New macro; call that.
66739         (struct str_list): Type removed.
66740         (__libc_message, __libc_fatal): Functions removed.
66741         Include <sysdeps/posix/libc_fatal.c> instead.
66743 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
66745         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66746         constants.
66747         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66748         double constants.
66750 2013-03-19  Andreas Schwab  <schwab@suse.de>
66752         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66753         * sysdeps/gnu/configure: Regenerate.
66755         * configure.in: Substitute libc_cv_rtlddir.
66756         * configure: Regenerate.
66757         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66758         * Makeconfig (rtlddir, inst_rtlddir): New variables.
66759         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66760         * elf/Makefile (install-others, CFLAGS-interp.c)
66761         (ldso_install, common-ldd-rewrite): Likewise.
66762         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66763         $(inst_slibdir)/$(rtld-installed-name).
66764         * scripts/rellns-sh: Add -p option.
66765         * Makerules (make-shlib-link): Use rellns-sh to get relative name
66766         for source.
66768 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66770         * manual/nptl.texi: Renamed to ...
66771         * manual/threads.texi: ... this.
66772         * manual/Makefile (chapters): Update.
66774 2013-03-18  Roland McGrath  <roland@hack.frob.com>
66776         [BZ #14812]
66777         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66778         on argument names, not just descriptions.
66779         * malloc/memusagestat.c (options): Likewise.
66780         * nss/getent.c (options): Likewise.
66782 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
66784         [BZ #14812]
66785         * iconv/iconv_prog.c (options): Put N_ translation marker
66786         on argument names, not just descriptions.
66787         * iconv/iconvconfig.c (options): Likewise.
66789 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
66791         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66792         implementation which is faster on all x86_64 architectures.
66793         Tested on AMD, Intel Nehalem, SNB, IVB.
66794         * sysdeps/x86_64/strnlen.S: Likewise.
66796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66797         Remove all multiarch strlen and strnlen versions.
66798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66799         Remove strlen and strnlen related parts.
66801         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66802         Inline strlen part.
66803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66805         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66807         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66808         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66809         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66810         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66812 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66814         * manual/memory.texi (Malloc Tunable Parameters):
66815         Sort parameters alphabetically. Add comments for missing entries.
66817 2013-03-17  David S. Miller  <davem@davemloft.net>
66819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66821 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66823         [BZ #15283]
66824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66825         for arguments at most half maximum finite value.
66826         * math/libm-test.inc (j0_test): Add more tests.
66827         (j1_test): Likewise.
66828         (y0_test): Likewise.
66829         (y1_test): Likewise.
66830         * sysdeps/i386/fpu/libm-test-ulps: Update.
66831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66833         [BZ #14155]
66834         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66835         1 / x and functions P and Q for arguments above 0x1p256L.
66836         (__ieee754_y0l): Likewise.
66837         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66838         (__ieee754_y1l): Likewise.
66839         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66840         (j1_test): Likewise.
66841         (y0_test): Likewise.
66842         (y1_test): Likewise.
66844 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66846         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66847         variable.
66849 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66851         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66852         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66853         zero since it's initialized to EXEC_PAGESIZE.
66855         * sysdeps/unix/sysv/linux/ldsodefs.h
66856         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66857         * sysdeps/generic/ldsodefs.h: ... here.
66859 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66861         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66863         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66864         math/test-snan.c.
66865         * math/test-snan.c: Renamed from
66866         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66867         * math/Makefile (tests): Add test-snan.
66868         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66869         test-powerpc-snan.
66871         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66872         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66873         functions.
66874         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66875         __builtin_nan family of functions.
66876         * math/libm-test.inc (initialize): Initialize qnan_value with
66877         __builtin_nan family of functions.
66878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66879         Remove variables.
66880         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66881         Remove functions.
66882         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66883         storage class.  Initialize qNaN_var and sNaN_var with
66884         __builtin_nan and __builtin_nans families of functions,
66885         respectively.
66887         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66888         (sqrt_test): Remove duplicate test with qNaN input.
66889         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66890         (round_test, signbit_test, significand_test): Note missing +/-Inf
66891         as well as qNaN tests.
66893         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66894         qNaN_var.  Fix a few strings, too.
66895         * math/libm-test.inc (nan_value): Rename to qnan_value.
66896         * math/gen-libm-test.pl (%beautify): Adjust to that.
66897         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66898         * math/test-misc.c (main): Likewise.
66899         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66900         to __qnan_bytes, and __qnan_union, respectively.
66901         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66902         Likewise.
66903         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66904         and lqnanval, respectively.
66905         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66906         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66908         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66910         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66911         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66912         doubles.
66914         * math/test-misc.c (main): Fix copy'n'pastos.
66915         * misc/tst-efgcvt.c (special): Likewise.
66917         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66918         Remove declarations.
66920 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66922         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66923         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66924         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66925         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66927 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66930         macro to return vdso values correctly in IFUNC implementations.
66931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66932         Optimization by using IFUNC.
66934 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66935             Richard Henderson  <rth@redhat.com>
66936             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66938         * Makefile.in (bench): New target.
66939         * NEWS: Mention the benchmark framework.
66940         * Rules (bench): Likewise.
66941         (binaries-bench): Generate binaries for functions to
66942         benchmark.
66943         * benchtests/Makefile: New makefile for benchmark tests.
66944         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66945         programs.
66946         * benchtests/exp-inputs: New input file for EXP function.
66947         * benchtests/pow-inputs: New input file for POW function.
66948         * scripts/bench.pl: New script to generate source files for
66949         benchmark programs.
66951 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66953         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66954         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66955         computations on mantissa.  Use macros for rounding and
66956         division.
66957         (denorm): Likewise.
66958         (__dbl_mp): Likewise.
66959         (add_magnitudes): Likewise.
66960         (sub_magnitudes): Likewise.
66961         (__mul): Likewise.
66962         (__sqr): Likewise.
66963         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66964         powers of two in terms of TWOPOW macro.
66965         (mp_no): Make type of mantissa as MANTISSA_T.
66966         [!RADIXI]: Define RADIXI.
66967         [!TWO52]: Define TWO52.
66968         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66970         * manual/nptl.texi (cindex): Modify threads to pthreads.
66972 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66974         * sysdeps/x86_64/preconfigure: Regenerated.
66976 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66978         [BZ #14155]
66979         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66980         0x1p28 and above.
66981         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66982         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66983         0x1p28 and above.
66984         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66985         * math/libm-test.inc (j0_test): Do not allow one spurious
66986         underflow exception.
66987         (y1_test): Likewise.
66989 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66991         * manual/Makefile (chapters): Add nptl.
66992         * manual/debug.texi (Debugging Support): Add link to Threads
66993         chapter.
66994         * manual/nptl.texi: New file.
66996         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66998 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67000         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67001         for non-NULL pointer before the memory validity test. Pointed
67002         out by Holger Brunck <holger.brunck@keymile.com>.
67004 2013-03-13  Andreas Schwab  <schwab@suse.de>
67006         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67007         instead of .os.
67009 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67011         * timezone/zic.c: Update from tzcode 2013b.
67013 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67015         * manual/install.texi (Configuring and compiling):
67016         Mention i686 and i586.
67017         * INSTALL: Regenerate.
67019 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67021         * sysdeps/init_array/elf-init.c: New file.
67022         * csu/elf-init.c
67023         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67024         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67026         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67027         __gmon_start__ as global, but as static with a .preinit_array pointer.
67028         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67029         * sysdeps/init_array/crti.S: New file, empty except for comments.
67030         * sysdeps/init_array/crtn.S: Likewise.
67032 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67034         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67035         definining bcopy.
67036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67037         Remove Prefer_SSE_for_memop.
67038         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67039         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67040         HAS_PREFER_SSE_FOR_MEMOP.
67041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67042         memset-x86-64.
67043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67044         Remove bzero, memset ifunc support.
67045         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67046         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67047         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67050 2013-03-11  Andreas Schwab  <schwab@suse.de>
67052         [BZ #15234]
67053         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67054         by SHLIB_COMPAT.
67055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67056         (GLIBC_2.16): Remove pthread_atfork.
67058 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
67060         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67061         (ptestcases.h): Likewise.
67063 2013-03-08  Roland McGrath  <roland@hack.frob.com>
67065         * Makeconfig ($(common-objpfx)config.status): Depend on
67066         sysdeps/*/preconfigure{,.in} too.
67068 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
67070         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67071         (__free_hook): Use void * instead of __malloc_ptr_t.
67072         (__malloc_hook): Likewise.
67073         (__realloc_hook): Likewise.
67074         (__memalign_hook): Likewise.
67075         (__after_morecore_hook): Likewise.
67076         * malloc/arena.c (save_malloc_hook): Likewise.
67077         (save_free_hook): Likewise.
67078         * malloc/hooks.c (malloc_hook_ini): Likewise.
67079         (realloc_hook_ini): Likewise.
67080         (memalign_hook_ini): Likewise.
67081         * malloc/malloc.c (malloc_hook_ini): Likewise.
67082         (realloc_hook_ini): Likewise.
67083         (memalign_hook_ini): Likewise.
67084         (__free_hook): Likewise.
67085         (__malloc_hook): Likewise.
67086         (__realloc_hook): Likewise.
67087         (__memalign_hook): Likewise.
67088         (__libc_malloc): Likewise.
67089         (__libc_free): Likewise.
67090         (__libc_realloc): Likewise.
67091         (__libc_memalign): Likewise.
67092         (__libc_valloc): Likewise.
67093         (__libc_pvalloc): Likewise.
67094         (__libc_calloc): Likewise.
67095         (__posix_memalign): Likewise.
67096         * malloc/morecore.c (__sbrk): Likewise.
67097         (__default_morecore): Likewise.
67099         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67101         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67102         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67103         __malloc_ptrdiff_t.
67105         * malloc/malloc.h (__malloc_size_t): Remove macro.
67106         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67107         __malloc_size_t.
67108         (old_memalign_hook): Likewise.
67109         (old_realloc_hook): Likewise.
67110         (struct hdr): Likewise.
67111         (flood): Likewise.
67112         (mallochook): Likewise.
67113         (memalignhook): Likewise.
67114         (reallochook): Likewise.
67115         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67116         (tr_old_realloc_hook): Likewise.
67117         (tr_old_memalign_hook): Likewise.
67118         (tr_mallochook): Likewise.
67119         (tr_reallochook): Likewise.
67120         (tr_memalignhook): Likewise.
67122 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67125         default_ldbl_pack and using as default implementation.
67126         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67127         implementation.
67128         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67129         redundant definition.
67130         (ldbl_insert_mantissa): Likewise.
67131         (ldbl_canonicalize): Likewise.
67132         (ldbl_nearbyint): Likewise.
67133         (ldbl_pack): Rename to ldbl_pack_ppc.
67134         (ldbl_unpack): Rename to ldbl_unpack_ppc.
67135         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67136         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67138 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67141         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67143         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67146         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67147         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67149 2013-03-07  Andreas Jaeger  <aj@suse.de>
67151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67152         bits/mman-linux.h.
67154 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67156         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67157         Include mpa.h and declare __MPEXP.
67158         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67159         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67160         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67161         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67162         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67163         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67166         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67167         (__slowpow): Use long double EXPL and LOGL functions to
67168         compute POW.
67169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67170         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67171         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67172         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67173         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67174         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67177         intermediate variable to calculate exponent.
67178         (__sqr): Likewise.
67179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67180         Likewise.
67181         (__sqr): Likewise.
67183         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67184         [!NO__SQR]: Define __sqr.
67185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67186         and NO__SQR.  Remove all code except __mul and __sqr.  Include
67187         sysdeps/ieee754/dbl-64/mpa.c.
67188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67190         [BZ #12723]
67191         * posix/Makefile (tests): Add tst-pathconf.
67192         * posix/tst-pathconf.c: New test case.
67193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67194         _PC_PIPE_BUF.
67195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67197 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
67199         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67201 2013-03-06  Andreas Jaeger  <aj@suse.de>
67203         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67204         definition via __MAP_ANONYMOUS.
67206         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67207         it's not part of Linux headers.
67209         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67210         (MAP_HUGE_MASK): Define.
67212         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67213         Define.
67214         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67216         Define.
67217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67218         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67219         Define.
67220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67222         Define.
67223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67225         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67226         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67227         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67228         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67229         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67230         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67233         Handle f2fs.
67235         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67236         Handle f2fs and efivarfs.
67238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67239         f2fs.
67241         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67242         (EFIVARFS_MAGIC): Add.
67243         (F2FS_LINK_MAX): Add.
67245 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67247         * stdio-common/vfprintf.c: Replace __builtin_expect with
67248         __glibc_unlikely.
67250 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
67252         [BZ #13550]
67253         * sysdeps/generic/bp-sym.h: Remove file.
67254         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67256         <bp-sym.h> and <bp-asm.h>.
67257         (__longjmp): Don't use BP_SYM.
67258         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
67259         and <bp-asm.h>.
67260         (memcpy): Don't use BP_SYM.
67261         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
67262         <bp-sym.h> and <bp-asm.h>.
67263         (memcpy): Don't use BP_SYM.
67264         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
67265         <bp-asm.h>.
67266         (memcpy): Don't use BP_SYM.
67267         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
67268         <bp-asm.h>.
67269         (memset): Don't use BP_SYM.
67270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67272         (__bzero): Don't use BP_SYM.
67273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67275         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67276         <bp-sym.h> and <bp-asm.h>.
67277         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67278         pointers.
67279         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67280         <bp-sym.h> and <bp-asm.h>.
67281         (memcpy): Don't use BP_SYM.
67282         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67283         <bp-sym.h> and <bp-asm.h>.
67284         (memset): Don't use BP_SYM.
67285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67287         (__bzero): Don't use BP_SYM.
67288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67291         <bp-sym.h> and <bp-asm.h>.
67292         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67293         pointers.
67294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67295         <bp-sym.h> and <bp-asm.h>.
67296         (memcpy): Don't use BP_SYM.
67297         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67298         <bp-sym.h> and <bp-asm.h>.
67299         (memset): Don't use BP_SYM.
67300         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67301         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67302         (__bzero): Don't use BP_SYM.
67303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67306         <bp-sym.h> and <bp-asm.h>.
67307         (__memchr): Don't use BP_SYM.
67308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67309         <bp-sym.h> and <bp-asm.h>.
67310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67311         pointers.
67312         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
67313         <bp-sym.h> and <bp-asm.h>.
67314         (memcpy): Don't use BP_SYM.
67315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
67316         <bp-sym.h> and <bp-asm.h>.
67317         (__mempcpy): Don't use BP_SYM.
67318         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
67319         <bp-sym.h> and <bp-asm.h>.
67320         (__memrchr): Don't use BP_SYM.
67321         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67322         <bp-sym.h> and <bp-asm.h>.
67323         (memset): Don't use BP_SYM.
67324         (__bzero): Likewise.
67325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67326         <bp-sym.h> and <bp-asm.h>.
67327         (__rawmemchr): Don't use BP_SYM.
67328         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67329         <bp-sym.h> and <bp-asm.h>.
67330         (__STRCMP): Don't use BP_SYM.
67331         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67332         <bp-sym.h> and <bp-asm.h>.
67333         (strchr): Don't use BP_SYM.
67334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67335         <bp-sym.h> and <bp-asm.h>.
67336         (__strchrnul): Don't use BP_SYM.
67337         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67338         <bp-sym.h> and <bp-asm.h>.
67339         (strlen): Don't use BP_SYM.
67340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67341         <bp-sym.h> and <bp-asm.h>.
67342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67343         pointers.
67344         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67345         <bp-sym.h> and <bp-asm.h>.
67346         (__strnlen): Don't use BP_SYM.
67347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67348         <bp-sym.h> and <bp-asm.h>.
67349         (__GI__setjmp): Don't use BP_SYM.
67350         (_setjmp): Likewise.
67351         (__sigsetjmp): Likewise.
67352         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67353         (L(start_addresses)): Don't use BP_SYM.
67354         (_start): Likewise.
67355         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67356         <bp-asm.h>.
67357         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67358         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67359         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67360         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67361         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67362         <bp-asm.h>.
67363         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67364         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
67365         about bounded pointers.
67366         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67367         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67368         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67369         <bp-asm.h>.
67370         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67371         about bounded pointers.  Remove GKM FIXME comments.
67372         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67373         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67374         <bp-asm.h>.
67375         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67376         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
67377         Remove GKM FIXME comments.
67378         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67379         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67380         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67381         <bp-asm.h>.
67382         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67383         about bounded pointers.  Remove GKM FIXME comment.
67384         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67385         and <bp-asm.h>.
67386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67387         pointers.
67388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67389         <bp-sym.h> and <bp-asm.h>.
67390         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67392         <bp-sym.h> and <bp-asm.h>.
67393         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67394         comment.
67396 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67398         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67399         call free(NULL).
67401 2013-03-05  David S. Miller  <davem@davemloft.net>
67403         * po/es.po: Update from translation team.
67405 2013-03-05  Andreas Jaeger  <aj@suse.de>
67407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67408         <bits/mman-linux.h>.
67409         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67410         is fine.
67411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67412         <bits/mman-linux.h> to end of file.
67413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67414         is fine.
67415         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67416         <bits/mman-linux.h> to end of file.
67417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67418         is fine.
67419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67420         <bits/mman-linux.h> to end of file.
67422         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67423         (MCL_CURRENT, MCL_FUTURE): Define here.
67425 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67427         [BZ #15232]
67428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67429         attribute_hidden.
67430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67432 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67435         fourth parameter needed for rt_sigprocmask syscall.
67436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67440         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67441         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67443 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67445         [BZ #13550]
67446         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67447         comment about bounded pointers.
67448         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67449         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67451 2013-03-04  Andreas Jaeger  <aj@suse.de>
67453         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67454         common definitions.
67456         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67457         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67458         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67463 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67465         [BZ #15055]
67466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67467         __ieee754_sqrl instead of __sqrl.
67469 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67471         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67472         * sysdeps/powerpc/fpu_control.h: ... here.
67473         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67474         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67475         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67476         * sysdeps/powerpc/bits/mathinline.h: ... here.
67478 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67480         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67481         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67482         to just [NEED_DL_SYSINFO_DSO].
67483         * elf/dl-support.c: Likewise.
67484         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67485         * elf/rtld.c (dl_main): Likewise.
67486         * elf/setup-vdso.h (setup_vdso): Likewise.
67487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67488         * sysdeps/unix/sysv/linux/dl-sysdep.c
67489         (_dl_discover_osversion): Likewise.
67491 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67493         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67494         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67496 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67498         * NEWS: Mention libm performance improvements and non-x86 PI
67499         futex support.
67501         * csu/libc-start.c (__pthread_initialize_minimal): Change
67502         function arguments.
67503         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67505 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67507         [BZ #13550]
67508         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67510         <bp-sym.h> and <bp-asm.h>.
67511         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67512         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67513         and <bp-asm.h>.
67514         (memcpy): Don't use BP_SYM.
67515         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67516         <bp-asm.h>.
67517         (__mpn_add_n): Don't use BP_SYM.
67518         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67519         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67520         and <bp-asm.h>.
67521         (__mpn_addmul_1): Don't use BP_SYM.
67522         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67523         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67524         <bp-sym.h>.
67525         (_setjmp): Don't use BP_SYM.
67526         (__novmx_setjmp): Likewise.
67527         (__GI__setjmp): Likewise.
67528         (__vmx_setjmp): Likewise.
67529         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67530         <bp-sym.h>.
67531         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67532         (__bzero): Don't use BP_SYM.
67533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67535         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67536         <bp-sym.h> and <bp-asm.h>.
67537         (memcpy): Don't use BP_SYM.
67538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67539         <bp-sym.h> and <bp-asm.h>.
67540         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67542         <bp-sym.h> and <bp-asm.h>.
67543         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67544         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67545         <bp-asm.h>.
67546         (__mpn_lshift): Don't use BP_SYM.
67547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67548         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67549         <bp-asm.h>.
67550         (memset): Don't use BP_SYM.
67551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67553         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67554         <bp-asm.h>.
67555         (__mpn_mul_1): Don't use BP_SYM.
67556         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67558         <bp-sym.h> and <bp-asm.h>.
67559         (memcmp): Don't use BP_SYM.
67560         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67561         <bp-sym.h> and <bp-asm.h>.
67562         (memcpy): Don't use BP_SYM.
67563         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67564         <bp-sym.h> and <bp-asm.h>.
67565         (memset): Don't use BP_SYM.
67566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67567         <bp-sym.h> and <bp-asm.h>.
67568         (strncmp): Don't use BP_SYM.
67569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67570         <bp-sym.h> and <bp-asm.h>.
67571         (memcpy): Don't use BP_SYM.
67572         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67573         <bp-sym.h> and <bp-asm.h>.
67574         (memset): Don't use BP_SYM.
67575         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67576         <bp-sym.h> and <bp-asm.h>.
67577         (__memchr): Don't use BP_SYM.
67578         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67579         <bp-sym.h> and <bp-asm.h>.
67580         (memcmp): Don't use BP_SYM.
67581         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67582         <bp-sym.h> and <bp-asm.h>.
67583         (memcpy): Don't use BP_SYM.
67584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67585         <bp-sym.h> and <bp-asm.h>.
67586         (__mempcpy): Don't use BP_SYM.
67587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67588         <bp-sym.h> and <bp-asm.h>.
67589         (__memrchr): Don't use BP_SYM.
67590         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67591         <bp-sym.h> and <bp-asm.h>.
67592         (memset): Don't use BP_SYM.
67593         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67594         <bp-sym.h> and <bp-asm.h>.
67595         (__rawmemchr): Don't use BP_SYM.
67596         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67597         <bp-sym.h> and <bp-asm.h>.
67598         (__STRCMP): Don't use BP_SYM.
67599         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67600         <bp-sym.h> and <bp-asm.h>.
67601         (strchr): Don't use BP_SYM.
67602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67603         <bp-sym.h> and <bp-asm.h>.
67604         (__strchrnul): Don't use BP_SYM.
67605         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67606         <bp-sym.h> and <bp-asm.h>.
67607         (strlen): Don't use BP_SYM.
67608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67609         <bp-sym.h> and <bp-asm.h>.
67610         (strncmp): Don't use BP_SYM.
67611         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67612         <bp-sym.h> and <bp-asm.h>.
67613         (__strnlen): Don't use BP_SYM.
67614         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67615         <bp-asm.h>.
67616         (__mpn_rshift): Don't use BP_SYM.
67617         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67619         <bp-sym.h> and <bp-asm.h>.
67620         (__sigsetjmp): Don't use BP_SYM.
67621         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67622         (L(start_addresses)): Don't use BP_SYM.
67623         (_start): Likewise.
67624         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67625         <bp-asm.h>.
67626         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67627         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67628         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67629         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67630         <bp-asm.h>.
67631         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67632         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67633         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67634         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67635         <bp-asm.h>.
67636         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67637         comments.
67638         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67639         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67640         <bp-asm.h>.
67641         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67642         FIXME comments.
67643         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67644         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67645         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67646         <bp-asm.h>.
67647         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67648         comment.
67649         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67650         and <bp-asm.h>.
67651         (strncmp): Don't use BP_SYM,
67652         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67653         <bp-asm.h>.
67654         (__mpn_sub_n): Don't use BP_SYM.
67655         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67656         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67657         and <bp-asm.h>.
67658         (__mpn_submul_1): Don't use BP_SYM.
67659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67661         <bp-sym.h> and <bp-asm.h>.
67662         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67664         <bp-sym.h> and <bp-asm.h>.
67665         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67666         comment.
67668 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67671         Use ZK to minimize writes to Z.
67672         (sub_magnitudes): Simplify code a bit.
67673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67674         Use ZK to minimize writes to Z.
67675         (sub_magnitudes): Simplify code a bit.
67677 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67679         * csu/gmon-start.c: Add special exception to license text.
67681 2013-02-27  Richard Henderson  <rth@redhat.com>
67683         * scripts/config.guess: Update from config.git.
67684         * scripts/config.sub: Likewise.
67686 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67688         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67690         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67692         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67694         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67696         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67698 2013-02-26  Roland McGrath  <roland@hack.frob.com>
67700         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67701         [$(build-shared = yes].
67703 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67705         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67706         (__mul): Reduce iterations for calculating mantissa.
67708         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67709         MPTWO.
67710         (__mpranred): Likewise.
67712         [BZ #15160]
67713         * malloc/memusagestat.c (main): Draw graphs for heap and stack
67714         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67716 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
67718         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67719         Define __attribute__.
67721 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67723         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67724         unused.
67725         * posix/regex_internal.h (__attribute): Remove.
67726         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67727         (re_string_context_at): Likewise.
67728         (bitset_not): Use __attribute__ and mark function as possibly
67729         unused.
67730         (bitset_merge): Likewise.
67731         (bitset_mask): Likewise.
67732         (re_string_char_size_at): Likewise.
67733         (re_string_wchar_at): Likewise.
67734         (re_string_elem_size_at): Likewise.
67736 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67738         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67739         code.
67740         (cc32): Likewise.
67742         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67743         (__acr): Likewise.
67744         (__cpy): Likewise.
67745         (norm): Likewise.
67746         (denorm): Likewise.
67747         (__dbl_mp): Likewise.
67748         (add_magnitudes): Likewise.
67749         (sub_magnitudes): Likewise.
67750         (__mul): Likewise.
67751         (__inv): Likewise.
67753         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67754         style.
67756         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67757         style.
67759         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67760         code.
67762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67763         up changes with default code.
67764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67765         Likewise.
67767 2013-02-24  Allan McRae  <allan@archlinux.org>
67769         * manual/socket.texi (The Internet Namespace): Order menu items
67770         to match that in the file.
67772         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67773         node listing of the info page menu.
67775 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
67777         [BZ #13550]
67778         * sysdeps/i386/bp-asm.h: Remove file.
67779         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67780         (PARMS): Do not use macros from bp-asm.h.
67781         (S1): Likewise.
67782         (S2): Likewise.
67783         (SIZE): Likewise.
67784         (__mpn_add_n): Do not use BP_SYM
67785         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67786         "bp-asm.h".
67787         (PARMS): Do not use macros from bp-asm.h.
67788         (S1): Likewise.
67789         (SIZE): Likewise.
67790         (__mpn_addmul_1): Do not use BP_SYM
67791         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67792         "bp-asm.h".
67793         (PARMS): Do not use macros from bp-asm.h.
67794         (SIGMSK): Likewise.
67795         (_setjmp): Likewise.  Do not use BP_SYM.
67796         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67797         "bp-asm.h".
67798         (PARMS): Do not use macros from bp-asm.h.
67799         (SIGMSK): Likewise.
67800         (setjmp): Likewise.  Do not use BP_SYM.
67801         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67802         "bp-asm.h".
67803         (PARMS): Do not use macros from bp-asm.h.
67804         (__frexp): Do not use BP_SYM.
67805         (frexp): Likewise.
67806         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67807         "bp-asm.h".
67808         (PARMS): Do not use macros from bp-asm.h.
67809         (__frexpf): Do not use BP_SYM.
67810         (frexpf): Likewise.
67811         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67812         "bp-asm.h".
67813         (PARMS): Do not use macros from bp-asm.h.
67814         (__frexpl): Do not use BP_SYM.
67815         (frexpl): Likewise.
67816         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67817         "bp-asm.h".
67818         (PARMS): Do not use macros from bp-asm.h.
67819         (__remquo): Do not use BP_SYM.
67820         (remquo): Likewise.
67821         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67822         "bp-asm.h".
67823         (PARMS): Do not use macros from bp-asm.h.
67824         (__remquof): Do not use BP_SYM.
67825         (remquof): Likewise.
67826         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67827         "bp-asm.h".
67828         (PARMS): Do not use macros from bp-asm.h.
67829         (__remquol): Do not use BP_SYM.
67830         (remquol): Likewise.
67831         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67832         "bp-asm.h".
67833         (PARMS): Do not use macros from bp-asm.h.
67834         (DEST): Likewise.
67835         (SRC): Likewise.
67836         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67837         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67838         "bp-asm.h".
67839         (PARMS): Do not use macros from bp-asm.h.
67840         (strlen): Do not use BP_SYM.
67841         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67842         "bp-asm.h".
67843         (PARMS): Do not use macros from bp-asm.h.
67844         (S1): Likewise.
67845         (S2): Likewise.
67846         (SIZE): Likewise.
67847         (__mpn_add_n): Do not use BP_SYM.
67848         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67849         "bp-asm.h".
67850         (PARMS): Do not use macros from bp-asm.h.
67851         (S1): Likewise.
67852         (SIZE): Likewise.
67853         (__mpn_addmul_1): Do not use BP_SYM.
67854         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67855         weak_alias.
67856         (bzero): Likewise.
67857         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67858         "bp-asm.h".
67859         (PARMS): Do not use macros from bp-asm.h.
67860         (S): Likewise.
67861         (SIZE): Likewise.
67862         (__mpn_lshift): Do not use BP_SYM.
67863         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67864         "bp-asm.h".
67865         (PARMS): Do not use macros from bp-asm.h.
67866         (DEST): Likewise.
67867         (SRC): Likewise.
67868         (LEN): Likewise.
67869         (memcpy): Likewise.  Do not use BP_SYM.
67870         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67871         libc_hidden_def and weak_alias.
67872         (mempcpy): Do not use BP_SYM in weak_alias.
67873         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67874         "bp-asm.h".
67875         (PARMS): Do not use macros from bp-asm.h.
67876         (DEST): Likewise.
67877         (LEN): Likewise.
67878         [!BZERO_P] (CHR): Likewise.
67879         (memset): Likewise.  Do not use BP_SYM.
67880         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67881         "bp-asm.h".
67882         (PARMS): Do not use macros from bp-asm.h.
67883         (S1): Likewise.
67884         (SIZE): Likewise.
67885         (__mpn_mul_1): Do not use BP_SYM.
67886         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67887         "bp-asm.h".
67888         (PARMS): Do not use macros from bp-asm.h.
67889         (S): Likewise.
67890         (SIZE): Likewise.
67891         (__mpn_rshift): Do not use BP_SYM.
67892         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67893         "bp-asm.h".
67894         (PARMS): Do not use macros from bp-asm.h.
67895         (STR): Likewise.
67896         (CHR): Likewise.
67897         (strchr): Likewise.  Do not use BP_SYM.
67898         (index): Do not use BP_SYM in weak_alias.
67899         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67900         "bp-asm.h".
67901         (PARMS): Do not use macros from bp-asm.h.
67902         (DEST): Likewise.
67903         (SRC): Likewise.
67904         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67905         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67906         "bp-asm.h".
67907         (PARMS): Do not use macros from bp-asm.h.
67908         (strlen): Do not use BP_SYM.
67909         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67910         "bp-asm.h".
67911         (PARMS): Do not use macros from bp-asm.h.
67912         (S1): Likewise.
67913         (S2): Likewise.
67914         (SIZE): Likewise.
67915         (__mpn_sub_n): Do not use BP_SYM.
67916         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67917         "bp-asm.h".
67918         (PARMS): Do not use macros from bp-asm.h.
67919         (S1): Likewise.
67920         (SIZE): Likewise.
67921         (__mpn_submul_1): Do not use BP_SYM.
67922         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67923         "bp-asm.h".
67924         (PARMS): Do not use macros from bp-asm.h.
67925         (S1): Likewise.
67926         (S2): Likewise.
67927         (SIZE): Likewise.
67928         (__mpn_add_n): Do not use BP_SYM.
67929         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67930         weak_alias.
67931         (bzero): Likewise.
67932         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67933         "bp-asm.h".
67934         (PARMS): Do not use macros from bp-asm.h.
67935         (BLK2): Likewise.
67936         (LEN): Likewise.
67937         (memcmp): Do not use BP_SYM.
67938         (bcmp): Do not use BP_SYM in weak_alias.
67939         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67940         "bp-asm.h".
67941         (PARMS): Do not use macros from bp-asm.h.
67942         (DEST): Likewise.
67943         (SRC): Likewise.
67944         (LEN): Likewise.
67945         (memcpy): Likewise.  Do not use BP_SYM.
67946         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67947         "bp-asm.h".
67948         (PARMS): Do not use macros from bp-asm.h.
67949         (DEST): Likewise.
67950         (SRC): Likewise.
67951         (LEN): Likewise.
67952         (memmove): Likewise.  Do not use BP_SYM.
67953         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67954         "bp-asm.h".
67955         (PARMS): Do not use macros from bp-asm.h.
67956         (DEST): Likewise.
67957         (SRC): Likewise.
67958         (LEN): Likewise.
67959         (__mempcpy): Likewise.  Do not use BP_SYM.
67960         (mempcpy): Do not use BP_SYM in weak_alias.
67961         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67962         "bp-asm.h".
67963         (PARMS): Do not use macros from bp-asm.h.
67964         (DEST): Likewise.
67965         (LEN): Likewise.
67966         [!BZERO_P] (CHR): Likewise.
67967         (memset): Likewise.  Do not use BP_SYM.
67968         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67969         "bp-asm.h".
67970         (PARMS): Do not use macros from bp-asm.h.
67971         (STR2): Likewise.
67972         (strcmp): Do not use BP_SYM.
67973         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67974         "bp-asm.h".
67975         (PARMS): Do not use macros from bp-asm.h.
67976         (STR): Likewise.
67977         (DELIM): Likewise.
67978         [USE_AS_STRTOK_R] (SAVE): Likewise.
67979         (FUNCTION): Likewise.  Do not use BP_SYM.
67980         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67981         aliases.
67982         (strtok_r): Likewise.
67983         (__GI___strtok_r): Likewise.
67984         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67985         (PARMS): Do not use macros from bp-asm.h.
67986         (S): Likewise.
67987         (SIZE): Likewise.
67988         (__mpn_lshift): Do not use BP_SYM.
67989         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67990         (PARMS): Do not use macros from bp-asm.h.
67991         (STR): Likewise.
67992         (CHR): Likewise.
67993         (__memchr): Do not use BP_SYM.
67994         (memchr): Do not use BP_SYM in weak_alias.
67995         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67996         (PARMS): Do not use macros from bp-asm.h.
67997         (BLK2): Likewise.
67998         (LEN): Likewise.
67999         (memcmp): Do not use BP_SYM.
68000         (bcmp): Do not use BP_SYM in weak_alias.
68001         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68002         (PARMS): Do not use macros from bp-asm.h.
68003         (S1): Likewise.
68004         (SIZE): Likewise.
68005         (__mpn_mul_1): Do not use BP_SYM.
68006         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68007         "bp-asm.h".
68008         (PARMS): Do not use macros from bp-asm.h.
68009         (STR): Likewise.
68010         (CHR): Likewise.
68011         (__rawmemchr): Do not use BP_SYM.
68012         (rawmemchr): Do not use BP_SYM in weak_alias.
68013         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68014         (PARMS): Do not use macros from bp-asm.h.
68015         (S): Likewise.
68016         (SIZE): Likewise.
68017         (__mpn_rshift): Do not use BP_SYM.
68018         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68019         (PARMS): Do not use macros from bp-asm.h.
68020         (SIGMSK): Likewise.
68021         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68022         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68023         (_start): Do not use BP_SYM.
68024         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68025         (PARMS): Do not use macros from bp-asm.h.
68026         (DEST): Likewise.
68027         (SRC): Likewise.
68028         (__stpcpy): Likewise.  Do not use BP_SYM.
68029         (stpcpy): Do not use BP_SYM in weak_alias.
68030         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68031         "bp-asm.h".
68032         (PARMS): Do not use macros from bp-asm.h.
68033         (DEST): Likewise.
68034         (SRC): Likewise.
68035         (LEN): Likewise.
68036         (__stpncpy): Likewise.  Do not use BP_SYM.
68037         (stpncpy): Do not use BP_SYM in weak_alias.
68038         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68039         (PARMS): Do not use macros from bp-asm.h.
68040         (STR): Likewise.
68041         (CHR): Likewise.
68042         (strchr): Likewise.  Do not use BP_SYM.
68043         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68044         "bp-asm.h".
68045         (PARMS): Do not use macros from bp-asm.h.
68046         (STR): Likewise.
68047         (CHR): Likewise.
68048         (__strchrnul): Likewise.  Do not use BP_SYM.
68049         (strchrnul): Do not use BP_SYM in weak_alias.
68050         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68051         "bp-asm.h".
68052         (PARMS): Do not use macros from bp-asm.h.
68053         (STOP): Likewise.
68054         (strcspn): Do not use BP_SYM.
68055         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68056         "bp-asm.h".
68057         (PARMS): Do not use macros from bp-asm.h.
68058         (STR): Likewise.
68059         (STOP): Likewise.
68060         (strpbrk): Likewise.  Do not use BP_SYM.
68061         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68062         "bp-asm.h".
68063         (PARMS): Do not use macros from bp-asm.h.
68064         (STR): Likewise.
68065         (CHR): Likewise.
68066         (strrchr): Likewise.  Do not use BP_SYM.
68067         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68068         (PARMS): Do not use macros from bp-asm.h.
68069         (SKIP): Likewise.
68070         (strspn): Do not use BP_SYM.
68071         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68072         (PARMS): Do not use macros from bp-asm.h.
68073         (STR): Likewise.
68074         (DELIM): Likewise.
68075         (SAVE): Likewise.
68076         (FUNCTION): Likewise.  Do not use BP_SYM.
68077         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68078         aliases.
68079         (strtok_r): Likewise.
68080         (__GI___strtok_r): Likewise.
68081         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68082         (PARMS): Do not use macros from bp-asm.h.
68083         (S1): Likewise.
68084         (S2): Likewise.
68085         (SIZE): Likewise.
68086         (__mpn_sub_n): Do not use BP_SYM.
68087         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68088         "bp-asm.h".
68089         (PARMS): Do not use macros from bp-asm.h.
68090         (S1): Likewise.
68091         (SIZE): Likewise.
68092         (__mpn_submul_1): Do not use BP_SYM.
68093         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68094         <bp-sym.h>.
68095         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68096         and <bp-asm.h>.
68097         (PARMS): Do not use macros from bp-asm.h.
68098         (FLAGS): Likewise.
68099         (PTID): Likewise.
68100         (TLS): Likewise.
68101         (CTID): Likewise.
68102         (__clone): Do not use BP_SYM.
68103         (clone): Do not use BP_SYM in weak_alias.
68104         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68105         and <bp-asm.h>.
68106         (PARMS): Do not use macros from bp-asm.h.
68107         (LEN): Likewise.
68108         (__mmap64): Do not use BP_SYM.
68109         (mmap64): Do not use BP_SYM in weak_alias.
68110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68111         <bp-sym.h> and <bp-asm.h>.
68112         (PARMS): Do not use macros from bp-asm.h.
68113         (__posix_fadvise64_l64): Do not use BP_SYM.
68114         * sysdeps/unix/sysv/linux/i386/semtimedop.S
68115         (PARMS): Do not use macros from bp-asm.h.
68116         (NSOPS): Likewise.
68117         (semtimedop): Do not use BP_SYM.
68118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68119         and <bp-asm.h>.
68121 2013-02-21  Allan McRae  <allan@archlinux.org>
68123         * manual/message.texi (Charset conversion in gettext):
68124         Move @end statement to beginning of line.
68126 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68129         static.
68130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68131         Likewise.
68133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68134         (denorm): Likewise.
68135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68138 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68140         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68141         tail-call to the resolved function if pltexit isn't needed.
68143 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68146         or Y being zero as being unlikely.
68147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68148         Likewise.
68150 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
68152         * manual/nss.texi (System Databases and Name Service Switch):
68153         Remove frobnicate @pxref.
68155 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68157         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68158         __attribute__ ((unused)) to __attribute__ ((__unused__)).
68160 2013-02-20  Petr Machata  <pmachata@redhat.com>
68162         * elf/elf.h (R_ARM_TARGET1): New macro.
68163         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68164         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68165         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68166         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68167         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68168         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68169         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68170         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68171         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68172         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68173         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68174         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68175         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68176         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68177         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68178         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68179         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68180         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68181         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68182         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68183         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68184         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68185         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68186         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68187         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68188         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68189         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68190         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68191         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68192         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68193         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68194         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68195         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68196         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68197         (R_ARM_THM_GOT_BREL12): Likewise.
68198         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68199         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68200         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68201         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68202         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68203         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68204         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68205         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68206         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68211         __attribute_used__ to __attribute__ ((unused)).
68213 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68215         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68216         powerpc mpa.c.
68217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68218         comment formatting.
68219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68221 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
68223         [BZ #13550]
68224         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68225         Remove macro.
68226         (ENTER): Remove both macro definitions.
68227         (LEAVE): Likewise.
68228         (CHECK_BOUNDS_LOW): Likewise.
68229         (CHECK_BOUNDS_HIGH): Likewise.
68230         (CHECK_BOUNDS_BOTH): Likewise.
68231         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68232         (RETURN_BOUNDED_POINTER): Likewise.
68233         (RETURN_NULL_BOUNDED_POINTER): Likewise.
68234         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68235         (POP_ERRNO_LOCATION_RETURN): Likewise.
68236         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68237         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68238         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68239         macros.
68240         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68241         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68242         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68243         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68244         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68245         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68246         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68247         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68248         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68249         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68250         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68251         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68252         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68253         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68254         removed macros.
68255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68256         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68257         macros.
68258         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68259         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
68260         * sysdeps/i386/i586/memset.S (memset): Likewise.
68261         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
68262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68263         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
68264         macros.
68265         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68266         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
68267         Change uses of L(2) to L(out).
68268         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
68269         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
68270         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
68271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68272         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
68273         removed macros.
68274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68275         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68276         macros.
68277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68278         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68279         (RETURN): Do not use macro LEAVE.
68280         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68281         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68282         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68283         * sysdeps/i386/i686/memset.S (memset): Likewise.
68284         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68285         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68286         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68287         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68288         Likewise.
68289         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68290         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
68291         L(1_2) and L(1_3) into L(1).
68292         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68293         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68294         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68295         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68296         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68297         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68298         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68299         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68300         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68301         macros.
68302         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68304         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68305         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68306         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68307         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68308         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68309         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
68310         * sysdeps/i386/strcspn.S (strcspn): Likewise.
68311         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
68312         * sysdeps/i386/strrchr.S (strrchr): Likewise.
68313         * sysdeps/i386/strspn.S (strspn): Likewise.
68314         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
68315         conditional code.
68316         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68317         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
68318         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68319         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
68320         L(1_3) into L(1_1).
68321         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68323         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68324         macros.
68325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68327 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
68329         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68330         macro.
68332 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68334         * math/atest-exp.c (exp_mpn): Remove ROUND.
68335         * math/atest-exp2.c (exp_mpn): Likewise.
68336         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68338         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68339         * stdlib/tst-tls-atexit-lib.c: Likewise.
68340         * stdlib/tst-tls-atexit.c: Likewise.
68342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68344         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68345         and __attribute_alloc_size__.
68347 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68349         * include/programs/xmalloc.h: Change __attribute_alloc_size to
68350         __attribute_alloc_size__.
68351         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68352         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68354 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68356         * include/programs/xmalloc.h: New file.
68357         * catgets/gencat.c: Include it.
68358         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68359         * elf/pldd.c: Likewise.
68360         * iconv/iconv_charmap.c: Likewise.
68361         * iconv/iconvconfig.c: Likewise.
68362         * iconv/strtab.c: Likewise.
68363         * locale/programs/locale.c: Likewise.
68364         * locale/programs/localedef.h: Likewise.
68365         * locale/programs/simple-hash.c: Likewise.
68366         * nscd/nscd.h: Likewise.
68367         * nss/makedb.c: Likewise.
68368         * sysdeps/generic/ldconfig.h: Likewise.
68370 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68372         * Versions.def: Add GLIBC_2.18.
68373         * include/link.h (struct link_map): New member l_tls_dtor_count.
68374         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68375         (__call_tls_dtors): Likewise.
68376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68377         __cxa_thread_atexit_impl.
68378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68379         Likewise.
68380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68381         Likewise.
68382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68383         Likewise.
68384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68385         Likewise.
68386         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68388         Likewise.
68389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68390         Likewise.
68391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68393         Likewise.
68394         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68395         (tests): Add test case tst-tls-atexit.
68396         (modules-names): Add shared library for tst-tls-atexit.
68397         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68398         (GLIBC_PRIVATE): Add __call_tls_dtors.
68399         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68400         for libstdc++.
68401         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68402         * stdlib/tst-tls-atexit.c: New test case.
68403         * stdlib/tst-tls-atexit-lib.c: New test case.
68405         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68407         * elf/Versions (ld): Add _dl_find_dso_for_object.
68408         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68409         * elf/dl-open.c (_dl_find_dso_for_object): New function.
68410         (dl_open_worker): Use _dl_find_dso_for_object.
68411         * elf/dl-sym.c (do_sym): Likewise.
68412         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68414 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68416         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68417         Syntactic changes only.
68418         (_dl_runtime_profile): Do a tail-call to the resolved function.
68420 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
68422         [BZ #13550]
68423         * sysdeps/x86_64/bp-asm.h: Remove file.
68424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68425         <bp-sym.h> and <bp-asm.h>.
68426         (__clone): Do not use BP_SYM.
68427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68428         <bp-sym.h> and <bp-asm.h>.
68429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68430         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68431         "bp-asm.h".
68432         (_setjmp): Do not use BP_SYM.
68433         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68434         "bp-asm.h".
68435         (setjmp): Do not use BP_SYM.
68436         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68437         libc_hidden_def.
68438         (mempcpy): Do not use BP_SYM in weak_alias.
68439         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68440         "bp-asm.h".
68441         (strchr): Do not use BP_SYM.
68442         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68443         "bp-asm.h".
68444         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68445         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68446         (_start): Do not use BP_SYM.
68447         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68448         "bp-asm.h".
68449         (strcat): Do not use BP_SYM.
68450         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68451         "bp-asm.h".
68452         (STRCMP): Do not use BP_SYM.
68453         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68454         "bp-asm.h".
68455         (STRCPY): Do not use BP_SYM.
68456         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68457         "bp-asm.h".
68458         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68459         "bp-asm.h".
68460         (FUNCTION): Do not use BP_SYM.
68461         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68462         weak_alias.
68463         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68465 2013-02-17  Andreas Jaeger  <aj@suse.de>
68467         * time/Versions: Sort entries.
68468         * string/Versions: Likewise.
68469         * resolv/Versions: Likewise.
68470         * posix/Versions: Likewise.
68471         * iconv/Versions: Likewise.
68472         * elf/Versions: Likewise.
68473         * wcsmbs/Versions: Likewise.
68475 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68478         loop termination condition.
68480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68481         variable to calculate EZ.
68482         (__sqr): Likewise.
68484         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68485         the lower precision input.
68487 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68489         [BZ #13550]
68490         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68491         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68492         (run-via-rtld-prefix): Do not handle %-bp tests.
68493         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68494         (all-object-suffixes): Remove .ob.
68495         (bppfx): Remove variable.
68496         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68497         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68498         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68499         [$(build-bounded) = yes] (libtype.ob): Likewise.
68500         * Makerules (elide-routines.ob): Remove variable.
68501         (do-tests-clean): Do not handle *-bp.out.
68502         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68503         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68504         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68505         (tests): Do not include $(tests-bp.out).
68506         (xtests): Do not include $(xtests-bp.out).
68507         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68508         [$(build-bounded) = yes] ($(addprefix
68509         $(objpfx),$(binaries-bounded))): Remove rule.
68510         ($(objpfx)%-bp.out): Remove rule.
68511         * config.make.in (build-bounded): Remove variable.
68512         * crypt/Makefile [$(build-bounded) = yes]
68513         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68514         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68515         append to variable.
68516         [$(build-bounded) = yes] (install-lib): Likewise.
68517         [$(build-bounded) = yes] (generated): Likewise.
68518         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68519         Remove rule.
68520         * intl/Makefile [$(build-bounded) = yes]
68521         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68522         * math/Makefile [$(build-bounded) = yes]
68523         ($(tests:%=$(objpfx)%-bp): Likewise.
68524         * misc/Makefile [$(build-bounded) = yes]
68525         ($(objpfx)tst-tsearch-bp): Likewise.
68526         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68527         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68528         Remove dependency.
68529         * string/Makefile (o-objects.ob): Remove variable.
68530         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68531         (CFLAGS-.ob): Remove variable.
68532         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68534         both definitions of variable.
68535         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68536         (ASFLAGS-.ob): Remove variable.
68538 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68540         [BZ #13550]
68541         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68542         Remove __BOUNDED_POINTERS__ from condition.
68543         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68544         * string/bits/string2.h [!__NO_STRING_INLINES &&
68545         !__BOUNDED_POINTERS__]: Likewise.
68546         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68547         Likewise.
68548         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68549         Remove conditional code.
68550         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68551         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68552         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68553         condition.
68555         [BZ #13550]
68556         * csu/libc-start.c: Do not include <bp-sym.h>.
68557         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68558         * elf/dl-open.c: Do not include <bp-sym.h>.
68559         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68560         * math/fegetenv.c: Do not include <bp-sym.h>.
68561         (fegetenv): Do not use BP_SYM in versioned symbols.
68562         * nptl/sysdeps/pthread/bits/libc-lockP.h
68563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68564         <bp-sym.h>.
68565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68566         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68568         (__pthread_mutex_destroy): Likewise.
68569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68570         (__pthread_mutex_lock): Likewise.
68571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68572         (__pthread_mutex_trylock): Likewise.
68573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68574         (__pthread_mutex_unlock): Likewise.
68575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68576         (__pthread_mutexattr_init): Likewise.
68577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68578         (__pthread_mutexattr_destroy): Likewise.
68579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68580         (__pthread_mutexattr_settype): Likewise.
68581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68582         (__pthread_rwlock_init): Likewise.
68583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68584         (__pthread_rwlock_destroy): Likewise.
68585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68586         (__pthread_rwlock_rdlock): Likewise.
68587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68588         (__pthread_rwlock_tryrdlock): Likewise.
68589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68590         (__pthread_rwlock_wrlock): Likewise.
68591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68592         (__pthread_rwlock_trywrlock): Likewise.
68593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68594         (__pthread_rwlock_unlock): Likewise.
68595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68596         (__pthread_key_create): Likewise.
68597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68598         (__pthread_setspecific): Likewise.
68599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68600         (__pthread_getspecific): Likewise.
68601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68602         Likewise.
68603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68604         (_pthread_cleanup_push_defer): Likewise.
68605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68606         (_pthread_cleanup_pop_restore): Likewise.
68607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68608         (pthread_setcancelstate): Likewise.
68609         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68610         <bp-sym.h>.
68611         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68612         (memchr): Do not use BP_SYM in weak_alias.
68613         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68614         (fegetenv): Do not use BP_SYM in versioned symbols.
68615         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68616         (fesetenv): Do not use BP_SYM in versioned symbols.
68617         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68618         (feupdateenv): Do not use BP_SYM in versioned symbols.
68619         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68620         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68621         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68622         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68623         (open64): Do not use BP_SYM in weak_alias.
68624         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68625         (fegetenv): Do not use BP_SYM in versioned symbols.
68626         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68627         (fesetenv): Do not use BP_SYM in versioned symbols.
68628         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68629         (feupdateenv): Do not use BP_SYM in versioned symbols.
68630         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68631         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68632         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68633         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68634         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68635         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68636         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68637         <bp-sym.h>.
68638         (__libc_start_main): Do not use BP_SYM.
68640 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68643         redundant return line.
68644         (norm): Likewise.
68645         (denorm): Likewise.
68646         (dbl_mp): Likewise.
68647         (sub_magnitudes): Likewise.
68648         (__add): Likewise.
68649         (__sub): Likewise.
68650         (__mul): Likewise.
68651         (__inv): Likewise.
68652         (__dvd): Likewise.
68653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68654         (norm): Likewise.
68655         (denorm): Likewise.
68656         (dbl_mp): Likewise.
68657         (sub_magnitudes): Likewise.
68658         (__add): Likewise.
68659         (__sub): Likewise.
68660         (__mul): Likewise.
68661         (__inv): Likewise.
68662         (__dvd): Likewise.
68664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68665         instead of __mul.
68666         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68667         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68668         (cc32): Likewise.
68670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68671         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68673         of __mul for squares.
68674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68675         function
68676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68677         Likewise.
68678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68681 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68683         [BZ #13550]
68684         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68685         code.
68686         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68687         prototype or function definition.  Rename ubp_* variables and
68688         parameters.  Remove argv definitions conditional on
68689         [__BOUNDED_POINTERS__].
68690         * debug/backtrace.c (__backtrace): Do not use __unbounded.
68691         * elf/dl-runtime.c (_dl_fixup): Likewise.
68692         * include/set-hooks.h (RUN_HOOK): Likewise.
68693         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68694         definition.
68695         * string/strcpy.c (strcpy): Do not use __unbounded.
68696         * sysdeps/generic/frame.h (struct layout): Likewise.
68697         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68698         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68699         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68700         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68701         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68702         (__backtrace): Likewise.
68703         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68704         use __ptrvalue.
68705         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68707         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68708         Likewise.
68709         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68710         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68712         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68713         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68714         Do not use __unbounded.
68715         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68716         Rename __unboundedrlimits parameter to rlimits in prototype.
68717         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68718         Do not use __unbounded.
68719         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68720         not use __ptrvalue.
68721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68722         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68725         __ptrvalue or __unbounded.
68726         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68727         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68728         use __unbounded.
68729         (__new_msgctl): Do not use __ptrvalue.
68730         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68731         __unbounded.
68732         (__libc_msgrcv): Do not use __ptrvalue.
68733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68734         startup_info): Do not use __unbounded.
68735         (__libc_start_main): Likewise.  Rename ubp_* variables and
68736         parameters.  Remove argv definitions conditional on
68737         [__BOUNDED_POINTERS__].
68738         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68739         __ptrvalue.
68740         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68741         use __unbounded.
68742         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68743         or __ptrvalue.
68744         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68745         use __unbounded.
68746         (__new_shmctl): Do not use __ptrvalue.
68747         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68748         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68749         Likewise.
68750         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68752         (__libc_sigaction): Likewise.
68753         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68755         Likewise.
68756         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68758 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
68760         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68762         * string/mempcpy.c: Implement by calling memcpy.
68764 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
68766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68769         evaluation.
68771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68772         values in the mantissa.
68774         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68775         minimize writes to Z.
68776         (sub_magnitudes): Simplify code a bit.
68778 2013-02-12  Roland McGrath  <roland@hack.frob.com>
68780         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68781         from the message.  The linker prefixes all warnings with that already.
68783 2013-02-12  Andreas Schwab  <schwab@suse.de>
68785         [BZ #15078]
68786         * posix/regexec.c (extend_buffers): Add parameter min_len.
68787         (check_matching): Pass minimum needed length.
68788         (clean_state_log_if_needed): Likewise.
68789         (get_subexp): Likewise.
68790         * posix/Makefile (tests): Add bug-regex34.
68791         (bug-regex34-ENV): Define.
68792         * posix/bug-regex34.c: New file.
68794         [BZ #11561]
68795         * posix/regcomp.c (parse_bracket_exp): When looking up collating
68796         elements compare against the byte sequence of it, not its name.
68797         * posix/Makefile (tests): Add bug-regex35.
68798         (bug-regex35-ENV): Define.
68799         * posix/bug-regex35.c: New file.
68801 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68803         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68804         comment.
68805         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68806         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68807         (CHECK_EOL): Add undef.
68809 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68811         * bits/stdlib-bsearch.h: New file.
68812         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68813         * stdlib/stdlib.h: Likewise.
68815 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68817         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68818         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68819         declaration.
68820         * manual/search.texi (Array Search Function): Add missing const in
68821         lfind prototype.
68822         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68823         declaration to use rlim_t.
68824         (Basic Scheduling Functions): Remove erroneous const from
68825         sched_getparam prototype.  Remove erroneous * from
68826         sched_get_priority_max and sched_get_priority_min prototypes.
68827         (Resource Usage): Fix summary @comment on vtimes to refer to
68828         sys/vtimes.h rather than vtimes.h.
68829         Add missing *s in vtimes prototype.
68830         (Limits on Resources): Fix ulimit prototype to return long int.
68831         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68832         prototypes to use long int rather than double.
68833         (BSD Random): Fix initstate and setstate to use char *, not void *.
68834         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68835         prototype to make second argument 'struct aiocb64 *const[]'.
68836         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68837         (Status of AIO Operations): Remove erroneous const in aio_return and
68838         aio_return64 prototypes.
68839         (Synchronizing I/O): Fix sync prototype to return void.
68840         * manual/startup.texi (Suboptions): Remove an erroneous const in
68841         getsubopt prototype.
68842         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68843         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68844         use size_t rather than int.
68845         (Scanning All Users): Likewise for getpwent_r.
68846         (Setting Groups): Add missing const to setgroups prototype.
68847         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68848         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68849         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68850         'const void *' rather than 'const char *'.
68851         (Host Address Functions): Likewise for inet_ntop.
68852         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68853         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68854         ssize_t for return value.
68855         (Sending Data): Likewise for send, sendto, sendmsg.
68856         (Socket Option Functions): Add a missing const in setsockopt prototype.
68857         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68858         use wchar_t for the argument.
68859         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68860         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68861         take no arguments.
68862         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68863         double/float/long double for second argument.
68864         Fix return types of significand, significandf, significandl.
68865         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68866         argument in fchmod prototype.
68867         (File Owner): Use uid_t and gid_t in fchown prototype.
68868         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68869         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68870         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68871         use 'const struct dirent **' as argument types to CMP function pointer
68872         argument.
68873         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68874         (File Times): Fix summary magic @comment for struct utimbuf and utime
68875         to refer to utime.h, not time.h.
68876         * manual/string.texi (Argz Functions): Add missing const in
68877         argz_extract and argz_next prototypes.
68878         (Finding Tokens in a String): Likewise for basename.
68879         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68880         (Copying and Concatenation): Fix typo in wmemmove prototype.
68881         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68882         (Signal Stack): Remove erroneous const in sigstack prototype.
68883         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68884         prototype.
68885         (Simple Calendar Time): Likewise for stime.
68886         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68887         prototype.
68888         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68889         say sys/sysctl.h instead.
68890         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68891         and vsyslog prototypes.
68893 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68895         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68896         Remove.
68898 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68900         * misc/sys/mman.h: Fix typo in mremap comment.
68902 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68904         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68905         the '\0' terminator.
68907 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68909         [BZ #13550]
68910         * debug/segfault.c: Don't include <bp-checks.h>.
68911         * sysdeps/generic/bp-checks.h: Remove file.
68912         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68913         (__GETDENTS): Don't use CHECK_N.
68914         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68915         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68916         (__getgroups): Don't use CHECK_N.
68917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68918         (setgroups): Don't use CHECK_N.
68919         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68920         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68921         (__libc_msgrcv): Don't use CHECK_N.
68922         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68923         (__libc_msgsnd): Don't use CHECK_N.
68924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68925         <bp-checks.h>.
68926         (__libc_pread): Don't use CHECK_N.
68927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68928         include <bp-checks.h>.
68929         (__libc_pread64): Don't use CHECK_N.
68930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68931         include <bp-checks.h>.
68932         (__libc_pwrite): Don't use CHECK_N.
68933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68934         include <bp-checks.h>.
68935         (__libc_pwrite64): Don't use CHECK_N.
68936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68937         <bp-checks.h>.
68938         (__libc_pread): Don't use CHECK_N.
68939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68940         include <bp-checks.h>.
68941         (__libc_pread64): Don't use CHECK_N.
68942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68943         include <bp-checks.h>.
68944         (__libc_pwrite): Don't use CHECK_N.
68945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68946         include <bp-checks.h>.
68947         (__libc_pwrite64): Don't use CHECK_N.
68948         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68949         (do_pread): Don't use CHECK_N.
68950         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68951         (do_pread64): Don't use CHECK_N.
68952         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68953         (do_pwrite): Don't use CHECK_N.
68954         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68955         (do_pwrite64): Don't use CHECK_N.
68956         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68957         (__libc_readv): Don't use CHECK_N.
68958         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68959         (semop): Don't use CHECK_N.
68960         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68961         <bp-checks.h>.
68962         (semtimedop): Don't use CHECK_N.
68963         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68964         (__libc_pread): Don't use CHECK_N.
68965         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68966         <bp-checks.h>.
68967         (__libc_pread64): Don't use CHECK_N.
68968         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68969         <bp-checks.h>.
68970         (__libc_pwrite): Don't use CHECK_N.
68971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68972         <bp-checks.h>.
68973         (__libc_pwrite64): Don't use CHECK_N.
68974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68975         <bp-checks.h>.
68976         (__libc_msgrcv): Don't use CHECK_N.
68977         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68978         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68979         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68980         (__libc_writev): Don't use CHECK_N.
68982 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68984         * string/strcpy.c: Removed unused variable.
68986         * Makeconfig (+sysdep-includes): Define with := rather than =.
68987         Use an existing include/ subdir of each sysdeps dir before it.
68989 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68991         * nscd/connection.c (register_traced_file): Comment function.
68992         [HAVE_INOTIFY] (union __inev): Define.
68993         [HAVE_INOTIFY] (inotify_check_files): New function.
68994         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68995         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68996         clear_db_cache.
68997         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68999 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69001         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69002         loaded if not already and that a failure is permanent.
69004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69006         [BZ #15006]
69007         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69008         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69010 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69012         [BZ #13550]
69013         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69014         (CHECK_1_NULL_OK): Likewise.
69015         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69016         (__fxstat): Do not use CHECK_1.
69017         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69018         <bp-checks.h>.
69019         (___fxstat64): Do not use CHECK_1.
69020         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69021         <bp-checks.h>.
69022         (__fxstatat): Do not use CHECK_1.
69023         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69024         <bp-checks.h>.
69025         (__fxstatat64): Do not use CHECK_1.
69026         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69027         <bp-checks.h>.
69028         (__fxstat): Do not use CHECK_1.
69029         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69030         <bp-checks.h>.
69031         (__fxstatat): Do not use CHECK_1.
69032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69033         <bp-checks.h>.
69034         (__getresgid): Do not use CHECK_1.
69035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69036         <bp-checks.h>.
69037         (__getresuid): Do not use CHECK_1.
69038         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69039         <bp-checks.h>.
69040         (__lxstat): Do not use CHECK_1.
69041         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69042         <bp-checks.h>.
69043         (__old_msgctl): Do not use CHECK_1.
69044         (__new_msgctl): Likewise.
69045         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69046         <bp-checks.h>.
69047         (__new_setrlimit): Do not use CHECK_1.
69048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69049         <bp-checks.h>.
69050         (__old_shmctl): Do not use CHECK_1.
69051         (__new_shmctl): Likewise.
69052         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69053         <bp-checks.h>.
69054         (__xstat): Do not use CHECK_1.
69055         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69056         (__lxstat): Do not use CHECK_1.
69057         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69058         <bp-checks.h>.
69059         (___lxstat64): Do not use CHECK_1.
69060         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69061         (__old_msgctl): Do not use CHECK_1.
69062         (__new_msgctl): Likewise.
69063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69064         <bp-checks.h>.
69065         (__gettimeofday): Do not use CHECK_1.
69066         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69067         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69069         <bp-checks.h>.
69070         (__gettimeofday): Do not use CHECK_1.
69071         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69072         (__old_shmctl): Do not use CHECK_1_NULL_OK.
69073         (__new_shmctl): Do not use CHECK_1.
69074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69075         <bp-checks.h>.
69076         (do_sigtimedwait): Do not use CHECK_1.
69077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69078         <bp-checks.h>.
69079         (do_sigwaitinfo): Do not use CHECK_1.
69080         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69081         <bp-checks.h>.
69082         (msgctl): Do not use CHECK_1.
69083         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69084         <bp-checks.h>.
69085         (shmctl): Do not use CHECK_1.
69086         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69087         (ustat): Do not use CHECK_1.
69088         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69089         <bp-checks.h>.
69090         (__fxstat): Do not use CHECK_1.
69091         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69092         <bp-checks.h>.
69093         (__fxstatat): Do not use CHECK_1.
69094         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69095         <bp-checks.h>.
69096         (__lxstat): Do not use CHECK_1.
69097         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69098         <bp-checks.h>.
69099         (__xstat): Do not use CHECK_1.
69100         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69101         (__xstat): Do not use CHECK_1.
69102         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69103         (___xstat64): Do not use CHECK_1.
69105         [BZ #13550]
69106         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69107         definitions.
69108         (CHECK_BOUNDS_HIGH): Likewise.
69109         * string/strcpy.c: Do not include <bp-checks.h>.
69110         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69112 2013-02-07  Roland McGrath  <roland@hack.frob.com>
69114         * nscd/nscd-client.h (__nscd_drop_map_ref):
69115         Add __attribute__ ((unused)).
69116         * nis/nss-nisplus.h (niserr2nss): Likewise.
69118         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69119         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69121         * csu/libc-tls.c (init_static_tls, init_slotinfo):
69122         Remove inline keyword.
69123         * include/rounding-mode.h (round_away): Likewise.
69124         * libio/wfileops.c (adjust_wide_data): Likewise.
69125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69126         (__m128i_strloadu_tolower): Likewise.
69127         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69128         (__m128i_strloadu_tolower): Likewise.
69129         * time/mktime.c (ydhms_diff): Likewise.
69130         * locale/elem-hash.h (elem_hash): Likewise.
69131         * locale/setlocale.c (setdata): Likewise.
69132         * posix/regex_internal.h (re_string_char_size_at): Likewise.
69133         (re_string_wchar_at): Likewise.
69134         (bitset_not, bitset_merge, bitset_mask): Likewise.
69135         [!(__GNUC__ > 3)] (inline): Remove macro.
69136         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69137         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69138         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69139         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69140         * string/memcmp.c (memcmp_bytes): Likewise.
69141         * locale/programs/locarchive.c (compute_hashval): Likewise.
69142         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69143         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69144         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69145         * nss/getent.c (print_rpc, print_protocols): Likewise.
69146         (print_passwd, print_group, print_aliases): Likewise.
69147         * nis/nss-nisplus.h (niserr2nss): Likewise.
69148         * nscd/connections.c (restart_p): Likewise.
69149         Change return type to bool.
69151 2013-02-05  Roland McGrath  <roland@hack.frob.com>
69153         * Makeconfig (all-Depend-files): Add existing
69154         $(sorted-subdirs:=/Depend) files.
69155         (all-subdirs): Remove nss.
69156         * sysdeps/unix/inet/Subdirs: Add it here instead.
69157         * hesiod/Depend: New file.
69159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69160         instead of calling alloca.
69162         * io/lseek.c (__lseek): Rename to __libc_lseek.
69163         Define __lseek as an alias.
69165         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69167 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
69169         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69170         else clause and remove check for non-standard endianness.
69172 2013-02-04  David S. Miller  <davem@davemloft.net>
69174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69176 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
69178         [BZ #13550]
69179         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69180         (__ubp_memchr): Remove prototype.
69181         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69182         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69183         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69184         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69185         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69186         Remove alias.
69187         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69188         (__ubp_memchr): Likewise.
69189         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69190         (__ubp_memchr): Likewise.
69191         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69192         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69193         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69195         CHECK_STRING.
69196         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69197         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69198         (__getcwd): Do not use CHECK_STRING.
69199         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69200         <bp-checks.h>.
69201         (__real_chown): Do not use CHECK_STRING.
69202         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69203         <bp-checks.h>.
69204         (fchownat): Do not use CHECK_STRING.
69205         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69206         CHECK_STRING.
69207         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69208         <bp-checks.h>.
69209         (__lchown): Do not use CHECK_STRING.
69210         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69215         include <bp-checks.h>.
69216         (truncate64): Do not use CHECK_STRING.
69217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69218         <bp-checks.h>.
69219         (__real_chown): Do not use CHECK_STRING.
69220         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69221         <bp-checks.h>.
69222         (__lchown): Do not use CHECK_STRING.
69223         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69224         <bp-checks.h>.
69225         (__chown): Do not use CHECK_STRING.
69226         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69227         <bp-checks.h>.
69228         (truncate64): Do not use CHECK_STRING.
69229         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69230         Likewise.
69231         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69232         (__xmknod): Do not use CHECK_STRING.
69233         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69234         <bp-checks.h>.
69235         (__xmknodat): Do not use CHECK_STRING.
69236         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69237         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69239 2013-02-04  Andreas Schwab  <schwab@suse.de>
69241         [BZ #14142]
69242         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69243         * include/netdb.h: Likewise for h_errno.
69244         * elf/tst-stackguard1.c: Include <tls.h>.
69246 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
69248         * elf/link.h (struct link_map): Extend the l_addr comment.
69249         * include/link.h (struct link_map): Likewise.
69251 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
69253         [BZ #13550]
69254         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69255         (BOUNDED_1): Remove macro.
69256         * debug/backtrace.c: Don't include <bp-checks.h>.
69257         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
69258         (__backtrace): Likewise.
69259         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
69260         <bp-checks.h>.
69261         (__backtrace): Don't use BOUNDED_1.
69262         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
69263         <bp-checks.h>.
69264         (__backtrace): Don't use BOUNDED_1.
69265         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
69266         (__backtrace): Don't use BOUNDED_1.
69267         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
69268         (shmat): Don't use BOUNDED_N.
69270 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
69272         [BZ #13550]
69273         * sysdeps/generic/bp-start.h: Remove file.
69274         * csu/libc-start.c: Don't include <bp-start.h>.
69275         (LIBC_START_MAIN): Set up __environ directly instead of using
69276         INIT_ARGV_and_ENVIRON.
69277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69278         <bp-start.h>.
69280         [BZ #13550]
69281         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69282         definitions.
69283         (CHECK_FCNTL): Likewise.
69284         (CHECK_N_PAGES): Likewise.
69286         [BZ #13550]
69287         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69288         definitions.
69289         (CHECK_SIGSET_NULL_OK): Likewise.
69290         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69291         <bp-checks.h>.
69292         (sigpending): Don't use CHECK_SIGSET.
69293         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69294         <bp-checks.h>.
69295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69296         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69297         <bp-checks.h>.
69298         (do_sigsuspend): Don't use CHECK_SIGSET.
69299         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69300         use CHECK_SIGSET.
69301         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69302         (do_sigwait): Don't use CHECK_SIGSET.
69303         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69304         use CHECK_SIGSET.
69305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69306         include <bp-checks.h>.
69307         (sigpending): Don't use CHECK_SIGSET.
69308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69309         include <bp-checks.h>.
69310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69311         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
69312         <bp-checks.h>.
69313         (sigpending): Don't use CHECK_SIGSET.
69314         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
69315         <bp-checks.h>.
69316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69318         [BZ #13550]
69319         * sysdeps/generic/bp-semctl.h: Remove file.
69320         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69321         <bp-checks.h> and <bp-semctl.h>.
69322         (__old_semctl): Don't use CHECK_SEMCTL.
69323         (__new_semctl): Likewise.
69324         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69325         and <bp-semctl.h>.
69326         (__old_semctl): Don't use CHECK_SEMCTL.
69327         (__new_semctl): Likewise.
69328         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69329         <bp-checks.h> and <bp-semctl.h>.
69330         (__old_semctl): Don't use CHECK_SEMCTL.
69331         (__new_semctl): Likewise.
69332         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69333         <bp-checks.h> and <bp-semctl.h>.
69334         (semctl): Don't use CHECK_SEMCTL.
69336         [BZ #13550]
69337         * Makerules (elide-bp-thunks): Remove variable.
69338         (elide-routines.oS): Don't use $(elide-bp-thunks).
69339         (elide-routines.os): Likewise.
69340         (elide-routines.o): Likewise.
69341         (elide-routines.op): Likewise.
69342         (elide-routines.og): Likewise.
69343         (objects): Don't use $(bp-thunks).
69344         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69345         include.
69346         (common-generated): Do not add s-proto-bp.d.
69347         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69348         (int): Likewise.
69349         (typ): Likewise.
69350         Do not generate makefile rules for bounded-pointer thunks.
69351         * sysdeps/generic/bp-thunks.h: Remove file.
69352         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69353         * sysdeps/unix/s-proto-bp.S: Likewise.
69355         [BZ #15062]
69356         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69357         parts of result separately when argument is not close to line from
69358         -i to i and one part of argument is small.
69359         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69360         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69361         * math/libm-test.inc (cacos_test): Add more tests.
69362         (casin_test): Likewise.
69363         (casinh_test): Likewise.
69364         * sysdeps/i386/fpu/libm-test-ulps: Update.
69365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69367 2013-01-31  David S. Miller  <davem@davemloft.net>
69369         * po/de.po: Update from translation team.
69371 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
69373         * time/tzfile.c: Include stdint.h for SIZE_MAX.
69375 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
69377         * configure.in (_AC_PROG_CC_C89): New definition.
69378         * configure: Regenerate.
69380         * configure.in (AC_PROG_CPP): New definition.
69381         * configure: Regenerate.
69383 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69385         * debug/tst-backtrace.h: New file.
69386         * debug/tst-backtrace2.c: Include tst-backtrace.h.
69387         (ret): Remove variable.
69388         (x): Likewise.
69389         (FAIL): Remove macro.
69390         (NO_INLINE): Likewise.
69391         (fn1): Use match function instead of strstr.
69392         * debug/tst-backtrace3.c: Include tst-backtrace.h.
69393         (ret): Remove variable.
69394         (x): Likewise.
69395         (FAIL): Remove macro.
69396         (NO_INLINE): Likewise.
69397         (fn): Use match function instead of strstr.
69398         * debug/tst-backtrace4.c: Include tst-backtrace.h.
69399         (ret): Remove variable.
69400         (x): Likewise.
69401         (FAIL): Remove macro.
69402         (NO_INLINE): Likewise.
69403         (handle_signal): Use match function instead of strstr.
69404         * debug/tst-backtrace5.c: Include tst-backtrace.h.
69405         (ret): Remove variable.
69406         (x): Likewise.
69407         (FAIL): Remove macro.
69408         (NO_INLINE): Likewise.
69409         (handle_signal): Use match function instead of strstr.
69411 2013-01-23  Roland McGrath  <roland@hack.frob.com>
69413         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69415 2013-01-23  David S. Miller  <davem@davemloft.net>
69417         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69418         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69419         argument of CAS if possible.
69420         * sysdeps/sparc/sparc64/bits/atomic.h
69421         (__arch_compare_and_exchange_val_32_acq): Likewise.
69422         (__arch_compare_and_exchange_val_64_acq): Likewise.
69424 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69426         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69427         * sysdeps/posix/ulimit.c: ... this.
69428         Include <limits.h>.
69429         * sysdeps/unix/bsd/ulimit.c: Remove file.
69431 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69433         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69434         (LDFLAGS-tst-array5): Likewise.
69436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69438         [BZ #15036]
69439         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69440         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69441         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69442         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69444 2013-01-21  David S. Miller  <davem@davemloft.net>
69446         * sysdeps/sparc/backtrace.c: New file.
69447         * sysdeps/sparc/sparc32/backtrace.h: New file.
69448         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69449         * sysdeps/sparc/sparc64/backtrace.h: New file.
69450         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69451         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69452         -funwind-tables.
69454 2013-01-21  Andreas Schwab  <schwab@suse.de>
69456         [BZ #15020]
69457         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69458         closed its stdout.
69460 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69463         "mpa2.h".
69464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69466 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69467             Mark Mitchell  <mark@codesourcery.com>
69468             Tom de Vries  <tom@codesourcery.com>
69469             Paul Pluzhnikov  <ppluzhnikov@google.com>
69471         * debug/tst-backtrace2.c: New file.
69472         * debug/tst-backtrace3.c: Likewise.
69473         * debug/tst-backtrace4.c: Likewise.
69474         * debug/tst-backtrace5.c: Likewise.
69475         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69476         (CFLAGS-tst-backtrace3.c): Likewise.
69477         (CFLAGS-tst-backtrace4.c): Likewise.
69478         (CFLAGS-tst-backtrace5.c): Likewise.
69479         (LDFLAGS-tst-backtrace2): Likewise.
69480         (LDFLAGS-tst-backtrace3): Likewise.
69481         (LDFLAGS-tst-backtrace4): Likewise.
69482         (LDFLAGS-tst-backtrace5): Likewise.
69483         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69484         tst-backtrace4 and tst-backtrace5.
69486 2013-01-18  Anton Blanchard  <anton@samba.org>
69487             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69490         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69494         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69495         "+r" and remove output regs list as redundant.  Add explicit inline
69496         asm to specify register of return val to work around compiler codegen
69497         bug.  Remove (int) cast on return value.  Add return type parameter to
69498         use in macro so that this macro does not truncate return value for
69499         64-bit values.
69500         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69501         pass to INTERNAL_VSYSCALL_NCS.
69502         (INLINE_VSYSCALL): Add 'long int' as return type to
69503         INTERNAL_VSYSCALL_NCS macro invocation.
69504         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69505         INTERNAL_VSYSCALL_NCS macro invocation.
69506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69508 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69510         [BZ #14496]
69511         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69512         Fix application of SIMD FP exception mask.
69514         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69515         mp_no from a power of two.
69516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69517         __mpexp_twomm1.  Use __pow_mp.
69519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69520         multiplication.
69522 2013-01-17  David S. Miller  <davem@davemloft.net>
69524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69528         [BZ #15023]
69529         * include/complex.h: Condition contents on [!_COMPLEX_H].
69530         (__kernel_casinhf): New prototype.
69531         (__kernel_casinh): Likewise.
69532         (__kernel_casinhl): Likewise.
69533         * math/Makefile (libm_calls): Add k_casinh.
69534         * math/k_casinh.c: New file.
69535         * math/k_casinhf.c: Likewise.
69536         * math/k_casinhl.c: Likewise.
69537         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69538         finite nonzero arguments.
69539         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69540         finite nonzero arguments.
69541         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69542         finite nonzero arguments.
69543         * math/s_casinh.c: Do not include <float.h>.
69544         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69545         * math/s_casinhf.c: Do not include <float.h>.
69546         (__casinhf): Move code for finite nonzero arguments to
69547         k_casinhf.c.
69548         * math/s_casinhl.c: Do not include <float.h>.
69549         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69550         redefine.
69551         (__casinhl): Move code for finite nonzero arguments to
69552         k_casinhl.c.
69553         * math/libm-test.inc (cacos_test): Add more tests.
69554         * sysdeps/i386/fpu/libm-test-ulps: Update.
69555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69557 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69559         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69560         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69561         [!HAVE_MREMAP]: Remove [defined linux] case.
69562         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69564 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69566         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69568 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69570         * elf/elf.h (R_386_SIZE32): New relocation.
69571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69572         R_386_SIZE32.
69573         (elf_machine_rela): Likewise.
69574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69575         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69579         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69580         (FP_FAST_FMA): Do not define.
69581         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69582         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69583         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69584         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69585         !_SOFT_FLOAT]: Likewise.
69586         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69588         value.
69589         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69590         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69591         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69593         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69594         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69595         file.
69597 2013-01-16  Andreas Schwab  <schwab@suse.de>
69599         [BZ #14327]
69600         * include/stdlib.h (__mktemp): Add declaration.
69601         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69602         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69604 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69606         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69607         definitions.
69608         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69609         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69610         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69611         definitions here.
69612         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69613         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69614         definitions.
69615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69616         and ONE.
69617         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69618         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69619         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69620         definitions.
69621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69622         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69623         definitions.
69624         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69626         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69628 2013-01-15  David S. Miller  <davem@davemloft.net>
69630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69631         trunc{,f} to libm-sysdep_routes.
69632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69634         file.
69635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69637         file.
69638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69639         file.
69640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69642         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69643         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69644         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69645         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69646         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69647         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69650         nearbyint{,f} to libm-sysdep_routes.
69651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69653         New file.
69654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69655         file.
69656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69657         New file.
69658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69659         file.
69660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69662         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69663         file.
69664         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69665         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69666         file.
69667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69668         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69669         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69672         libc_feholdexcept and libc_fesetenv.
69674 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69676         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69678 2013-01-14  David S. Miller  <davem@davemloft.net>
69680         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69681         (SPARC_ASM_VIS2_IFUNC): Likewise.
69682         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69684         use of 'siam' instruction.
69685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69686         Likewise.
69687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69688         Likewise.
69689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69690         Likewise.
69691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69696         file.
69697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69698         file.
69699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69700         file.
69701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69702         file.
69703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69708         new VIS2 routines.
69709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69712         Likewise.
69713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69718         routines to libm-sysdep_routines.
69719         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69722         fdim/fdimf to libm-sysdep_routines.
69723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69724         file.
69725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69727         file.
69728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69731         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69732         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69733         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69734         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69736 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69739         to optimize copies.
69741         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69746         local variable MPTWO.
69747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69748         Likewise.
69750 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69752         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69753         GLOB_NOESCAPE.
69755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69757         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69761         * manual/pattern.texi (glob_t): Document gl_flags.
69762         (glob64_t): Likewise.
69764 2013-01-11  David S. Miller  <davem@davemloft.net>
69766         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69767         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69768         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
69769         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69770         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69771         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69772         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69773         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69774         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69775         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69776         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69777         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69778         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69780         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69781         sparc V9 rather than using V8 code.
69782         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69783         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69785         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69786         Move to...
69787         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69788         Here.
69790 2013-01-11  Roland McGrath  <roland@hack.frob.com>
69792         [BZ #14941]
69793         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69794         not in the main loop.
69795         * configure: Regenerated.
69797 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
69799         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69800         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69801         to just #else.
69802         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69803         [!__GLIBC_HAVE_LONG_LONG] case.
69804         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69805         condition to just #else.
69806         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69807         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69808         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69809         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69810         unconditional.
69811         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69812         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69813         #elif condition to just #else.
69814         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69815         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69816         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69817         #elif condition to just #else.
69819 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69821         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69822         (EF_MIPS_ARCH_64): Fix value.
69823         (EF_MIPS_ARCH_32R2): New.
69824         (EF_MIPS_ARCH_64R2): New.
69826 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69828         * Makeconfig (+link-pie-before-libc): New.
69829         (+link-pie-after-libc): Likewise.
69830         (+link-pie-tests): Likewise.
69831         (+link-pie): Rewritten.
69832         (link-before-libc): Remove $(config-LDFLAGS).
69833         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69834         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69835         (config-LDFLAGS): Renamed to ...
69836         (rtld-LDFLAGS): This.
69837         (rtld-tests-LDFLAGS): New macro.
69838         (link-libc-rpath-link): Likewise.
69839         (link-libc-tests-rpath-link): Likewise.
69840         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69841         (link-libc): Prepand $(link-libc-rpath-link).
69842         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69843         (test-program-prefix): New macro.
69844         (test-via-rtld-prefix): Likewise.
69845         (test-program-cmd): Likewise.
69846         (host-test-program-cmd): Likewise.
69847         * Makefile ($(common-objpfx)testrun.sh): Replace
69848         $(run-program-prefix) with $(test-program-prefix).
69849         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69850         $(rtld-LDFLAGS).
69851         ($(common-objpfx)shlib.lds): Likewise.
69852         (build-module-helper): Likewise.
69853         ($(common-objpfx)format.lds): Likewise.
69854         * Rules (binaries-pie-tests): New.
69855         (binaries-pie-notests): Likewise.
69856         (binaries-pie): Rewritten.
69857         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69858         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69859         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69860         (make-test-out): Replace $(host-built-program-cmd) with
69861         $(host-test-program-cmd).
69862         * config.make.in (build-hardcoded-path-in-tests): New variable.
69863         * configure.in (--enable-hardcoded-path-in-tests): New configure
69864         option.
69865         (hardcoded_path_in_tests): New AC_SUBST.
69866         * configure: Regenerated.
69867         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69868         $(built-program-cmd) with $(test-program-cmd).
69869         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69870         (test_program_cmd): This.
69871         * elf/Makefile ($(objpfx)order.out): Run test with
69872         $(test-program-prefix).
69873         ($(objpfx)order2.out): Likewise.
69874         ($(objpfx)tst-initorder.out): Likewise.
69875         ($(objpfx)tst-initorder2.out): Likewise.
69876         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69877         $(test-program-cmd).
69878         ($(objpfx)tst-array1-static.out): Likewise.
69879         ($(objpfx)tst-array2.out): Likewise.
69880         ($(objpfx)tst-array3.out): Likewise.
69881         ($(objpfx)tst-array4.out): Likewise.
69882         ($(objpfx)tst-array5.out): Likewise.
69883         ($(objpfx)tst-array5-static.out): Likewise.
69884         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69885         $(test-program-cmd).
69886         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69887         $(run-program-prefix) with $(test-program-prefix).
69888         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69889         (test_program_prefix): This.
69890         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69891         $(run-program-prefix) with $(test-program-prefix).
69892         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69893         (test_program_prefix): This.
69894         * iconvdata/tst-tables.sh: Likewise.
69895         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69896         $(run-program-prefix) with $(test-program-prefix).
69897         ($(objpfx)tst-translit.out): Likewise.
69898         ($(objpfx)tst-gettext2.out): Likewise.
69899         ($(objpfx)tst-gettext4.out): Likewise.
69900         ($(objpfx)tst-gettext6.out): Likewise.
69901         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69902         (test_program_prefix): This.
69903         * intl/tst-gettext2.sh: Likewise.
69904         * intl/tst-gettext4.sh  Likewise.
69905         * intl/tst-gettext6.sh: Likewise.
69906         * intl/tst-translit.sh: Likewise.
69907         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69908         with $(test-program-cmd).
69909         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69910         $(run-program-prefix) with $(test-program-prefix).
69911         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69912         (test_program_prefix): This.
69913         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69914         $(run-program-prefix) with $(test-program-prefix).
69915         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69916         (test_program_prefix): This.
69917         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69918         * posix/Makefile ($(objpfx)globtest.out): Replace
69919         $(run-via-rtld-prefix) and $(test-wrapper) with
69920         $(test-program-prefix) and $(test-via-rtld-prefix).
69921         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69922         $(test-program-prefix).
69923         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69924         $(host-test-program-cmd).
69925         (tst-spawn-ARGS): Likewise.
69926         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69927         $(test-program-prefix).
69928         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69929         (test_via_rtld_prefix): This.
69930         (test_wrapper): Renamed to ...
69931         (test_program_prefix): This.
69932         (run_program_prefix): Replaced by test_program_prefix.
69933         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69934         (test_program_prefix): This.
69935         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69936         with $(host-test-program-cmd).
69937         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69938         $(run-program-prefix) with $(test-program-prefix).
69939         ($(objpfx)tst-printf.out): Likewise.
69940         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69941         $(test-program-cmd).
69942         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69943         (test_program_prefix): This.
69944         * stdio-common/tst-unbputc.sh: Likewise.
69945         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69946         $(run-program-prefix) with $(test-program-prefix).
69947         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69948         (test_program_prefix): This.
69949         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69950         $(built-program-cmd) with $(test-program-cmd).
69952 2013-01-11  Andreas Jaeger  <aj@suse.de>
69954         [BZ #15003]
69955         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69956         value. Sync with Linux 3.7.
69958 2013-01-10  David S. Miller  <davem@davemloft.net>
69960         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69961         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69962         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69964 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69966         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69967         never set.
69968         * configure: Regenerated.
69970 2013-01-10  David S. Miller  <davem@davemloft.net>
69972         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69973         sparc V9 rather than using V8 code.
69974         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69975         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69977 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69979         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69980         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69981         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69982         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69983         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69984         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69985         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69986         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69987         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69988         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69989         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69990         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69991         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69992         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69993         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69994         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69995         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69996         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69997         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69998         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69999         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70000         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70001         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70002         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70003         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70004         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70005         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70007 2013-01-10  David S. Miller  <davem@davemloft.net>
70009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70011 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70013         * posix/Makefile (tests-static): New variable.
70014         (tests): Add $(tests-static).
70015         (tst-exec-static-ARGS): New variable.
70016         (tst-spawn-static-ARGS): Likewise.
70017         * posix/tst-exec-static.c: New file.
70018         * posix/tst-spawn-static.c: Likewise.
70019         * posix/tst-exec.c: Support run directly.
70020         * posix/tst-spawn.c: Likewise.
70022 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70024         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70025         long.
70026         * math/bits/mathcalls.h (llrint): Likewise.
70027         (llround): Likewise.
70028         * stdlib/stdlib.h (struct drand48_data): Likewise.
70029         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70030         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70031         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70032         Likewise.
70033         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70034         Likewise.
70035         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70036         (elf_greg_t): Likewise.
70037         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70038         (__jmp_buf): Likewise.
70039         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70040         definitions.
70041         (llrint): Likewise, for all definitions.
70042         (llrintl): Likewise.
70044         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70045         Remove [__GNUC__] condition.
70046         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70047         condition to just [__USE_ISOC99].
70048         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70050 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70052         [BZ #14200]
70053         * sysdeps/unix/sysv/linux/x86/bits/environments.h
70054         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70055         defined.
70056         (_POSIX_V6_ILP32_OFF32): Likewise.
70057         (_XBS5_ILP32_OFF32): Likewise.
70058         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70059         (__ILP32_OFFBIG_LDFLAGS): Likewise.
70061 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70063         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70066         doubles __mpexp_twomm1.  Adjust usage.
70067         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70068         Remove.
70070 2013-01-10  Andreas Schwab  <schwab@suse.de>
70072         [BZ #14964]
70073         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70074         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70076 2013-01-09  David S. Miller  <davem@davemloft.net>
70078         [BZ #15003]
70079         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70080         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70081         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70082         (TCP_FASTOPEN): Define.
70083         (tcp_repair_opt): New structure.
70084         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70085         enum values.
70086         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70087         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70088         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70089         (tcp_cookie_transactions): New structure.
70091 2013-01-09  Anton Blanchard  <anton@samba.org>
70093         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70094         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70095         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70096         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70098 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
70100         * include/features.h (__USE_ANSI): Remove.
70102 2013-01-09  Roland McGrath  <roland@hack.frob.com>
70104         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70106         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70108 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
70110         * sysdeps/s390/fpu/libm-test-ulps: Update.
70112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70114         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70115         (__acr): Likewise.
70116         (__cpy): Likewise.
70117         (norm): Likewise.
70118         (denorm): Likewise.
70119         (__mp_dbl): Likewise.
70120         (__dbl_mp): Likewise.
70121         (add_magnitudes): Likewise.
70122         (sub_magnitudes): Likewise.
70123         (__add): Likewise.
70124         (__sub): Likewise.
70125         (__mul): Likewise.
70126         (__inv): Likewise.
70127         (__dvd): Likewise.
70128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70129         (__acr): Likewise.
70130         (__cpy): Likewise.
70131         (norm): Likewise.
70132         (denorm): Likewise.
70133         (__mp_dbl): Likewise.
70134         (__dbl_mp): Likewise.
70135         (add_magnitudes): Likewise.
70136         (sub_magnitudes): Likewise.
70137         (__add): Likewise.
70138         (__sub): Likewise.
70139         (__mul): Likewise.
70140         (__inv): Likewise.
70141         (__dvd): Likewise.
70142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70143         (__acr): Likewise.
70144         (__cpy): Likewise.
70145         (norm): Likewise.
70146         (denorm): Likewise.
70147         (__mp_dbl): Likewise.
70148         (__dbl_mp): Likewise.
70149         (add_magnitudes): Likewise.
70150         (sub_magnitudes): Likewise.
70151         (__add): Likewise.
70152         (__sub): Likewise.
70153         (__mul): Likewise.
70154         (__inv): Likewise.
70155         (__dvd): Likewise.
70157 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
70159         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70160         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70161         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70162         2 && __USE_EXTERN_INLINES]: Likewise.
70164 2013-01-08  Andreas Jaeger  <aj@suse.de>
70166         [BZ #14985]
70167         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70168         Remove.
70169         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70170         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70172 2013-01-07  Anton Blanchard  <anton@samba.org>
70174         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70175         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70176         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70177         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70178         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70179         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70180         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70181         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70183         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70184         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70185         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70187         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70188         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70190         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70192         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70193         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70194         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70195         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70196         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70197         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70198         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70199         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70200         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70201         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70202         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70203         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70204         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70206         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70207         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70208         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70209         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70210         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70211         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70212         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70213         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70214         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70215         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70216         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70218 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
70220         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70221         (__MALLOC_PMT): Likewise.
70222         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70223         [__GNUC__], only on [_LIBC].
70224         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70225         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70226         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70227         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70228         forward declaration.
70229         (realloc_hook_ini): Likewise.
70230         (memalign_hook_ini): Likewise.
70231         (__libc_memalign): Do not use __MALLOC_PMT in variable
70232         declaration.
70233         (__libc_valloc): Likewise.
70234         (__libc_pvalloc): Likewise.
70235         (__libc_calloc): Likewise.
70236         (__posix_memalign): Likewise.
70238         [BZ #14996]
70239         * math/s_casinh.c: Include <float.h>.
70240         (__casinh): Do not do computation with squaring and square root
70241         for large arguments.
70242         * math/s_casinhf.c: Include <float.h>.
70243         (__casinhf): Do not do computation with squaring and square root
70244         for large arguments.
70245         * math/s_casinhl.c: Include <float.h>.
70246         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70247         (__casinhl): Do not do computation with squaring and square root
70248         for large arguments.
70249         * math/libm-test.inc (casin_test): Add more tests.
70250         (casinh_test): Likewise.
70251         * sysdeps/i386/fpu/libm-test-ulps: Update.
70252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70254 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
70256         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70257         (__x86_64_raw_data_cache_size): Likewise.
70258         (__x86_64_data_cache_size_half): Likewise.
70259         (__x86_64_raw_data_cache_size_half): Likewise.
70260         (__x86_64_shared_cache_size): Likewise.
70261         (__x86_64_raw_shared_cache_size): Likewise.
70262         (__x86_64_shared_cache_size_half): Likewise.
70263         (__x86_64_raw_shared_cache_size_half): Likewise.
70264         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
70265         to ...
70266         (__x86_data_cache_size): This.
70267         (__x86_64_raw_data_cache_size): Renamed to ...
70268         (__x86_raw_data_cache_size): This.
70269         (__x86_64_data_cache_size_half): Renamed to ...
70270         (__x86_data_cache_size_half): This.
70271         (__x86_64_raw_data_cache_size_half): Renamed to ...
70272         (__x86_raw_data_cache_size_half): This.
70273         (__x86_64_shared_cache_size): Renamed to ...
70274         (__x86_shared_cache_size): This.
70275         (__x86_64_raw_shared_cache_size): Renamed to ...
70276         (__x86_raw_shared_cache_size): This.
70277         (__x86_64_shared_cache_size_half): Renamed to ...
70278         (__x86_shared_cache_size_half): This.
70279         (__x86_64_raw_shared_cache_size_half): Renamed to ...
70280         (__x86_raw_shared_cache_size_half): This.
70281         * sysdeps/x86_64/memcpy.S: Updated.
70282         * sysdeps/x86_64/memset.S: Likewise.
70283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70285         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70287 2013-01-04  David S. Miller  <davem@davemloft.net>
70289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70291 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
70293         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70294         1 to avoid redefinition warning.
70295         (__USE_GNU): Don't define.
70296         (init_signaling_nan): Protoize.
70298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70300 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70302         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70304         (__cpymn): Likewise.
70305         (norm): Remove commented code.
70306         (denorm): Likewise.
70307         (__mp_dbl): Likewise.
70308         (__inv): Likewise.
70309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
70310         (__cpymn): Likewise.
70311         (norm): Remove commented code.
70312         (denorm): Likewise.
70313         (__mp_dbl): Likewise.
70314         (__inv): Likewise.
70316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
70317         mp_no value for 1.0 and 2.0.
70318         (norm): Use RADIXI instead of radixi.d.
70319         (denorm): Likewise.
70320         (__mul): Use 0.0 instead of zero.d.
70321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70322         mp_no value for 1.0 and 2.0.
70323         (norm): Use RADIXI instead of radixi.d.
70324         (denorm): Likewise.
70325         (__mul): Use 0.0 instead of zero.d.
70327 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
70329         [BZ #14994]
70330         * math/s_casinh.c (__casinh): Reduce finite argument to first
70331         quadrant then set signs of results at the end.
70332         * math/s_casinhf.c (__casinhf): Likewise.
70333         * math/s_casinhl.c (__casinhl): Likewise.
70334         * math/libm-test.inc (casin_test): Add more tests.
70335         (casinh_test): Likewise.
70336         * sysdeps/i386/fpu/libm-test-ulps: Update.
70337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70339 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70341         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70343         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70345         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70346         declarations.
70347         (denorm): Likewise.
70348         (__mp_dbl): Likewise.
70349         (__inv): Likewise.
70351         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70352         and adjust the header comment.
70354         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70355         variable name from declaration.
70357 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
70359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70360         Initialize COMMON_CPUID_INDEX_7 element.
70361         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70362         (CPUID_RTM): Likewise.
70363         (HAS_RTM): Likewise.
70364         (COMMON_CPUID_INDEX_7): New enum.
70366 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
70368         [BZ #14981]
70369         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70370         size is zero, record memory as freed.
70372 2013-01-03  Andreas Jaeger  <aj@suse.de>
70374         * po/ia.po: Add new Interlingua translation.
70376 2012-01-03  Allan McRae  <allan@archlinux.org>
70378         * locale/programs/localedef.c: Fix description of '--posix' flag.
70380 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
70382         * NEWS: Update dates in second copyright notice.
70383         * README: Update copyright dates in example.
70384         * manual/libc.texinfo: Update copyright dates.
70385         * scripts/test-installation.pl: Update copyright date in --version
70386         output.
70388         * hurd/ctty-input.c: Fix copyright notice formatting.
70389         * hurd/ctty-output.c: Likewise.
70390         * hurd/dtable.c: Likewise.
70391         * hurd/hurd-raise.c: Likewise.
70392         * hurd/hurdprio.c: Likewise.
70393         * hurd/msgportdemux.c: Likewise.
70394         * misc/sys/file.h: Likewise.
70395         * misc/sys/ioctl.h: Likewise.
70396         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70397         * sysdeps/mach/hurd/chdir.c: Likewise.
70398         * sysdeps/mach/hurd/fchdir.c: Likewise.
70399         * sysdeps/mach/hurd/rename.c: Likewise.
70400         * sysdeps/mach/hurd/rmdir.c: Likewise.
70401         * sysdeps/mach/hurd/seekdir.c: Likewise.
70402         * sysdeps/mach/hurd/setsid.c: Likewise.
70403         * sysdeps/posix/wait3.c: Likewise.
70405         * All files with FSF copyright notices: Update copyright dates
70406         using scripts/update-copyrights.
70407         * intl/plural.c: Regenerated.
70408         * locale/programs/charmap-kw.h: Likewise.
70409         * locale/programs/locfile-kw.h: Likewise.
70411 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
70413         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70414         four values.
70416         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70417         calculation loop and add branch prediction.
70419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70420         check access beyond bounds of m1np.
70422         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70423         MPTWO.
70424         (__inv): Remove local variable MPTWO to use the global
70425         constant.
70426         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70427         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70428         variable MPTWO.
70429         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70430         MP3HALFS static const.
70432 2013-01-01  David S. Miller  <davem@davemloft.net>
70434         * po/ca.po: Update from translation team.
70436 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70438         * scripts/update-copyrights: New file.
70439         * Makeconfig: Reformat copyright notice.
70440         * ctype/ctype.h: Likewise.
70441         * debug/swprintf_chk.c: Likewise.
70442         * elf/dl-cache.c: Likewise.
70443         * elf/dl-debug.c: Likewise.
70444         * elf/dl-object.c: Likewise.
70445         * grp/initgroups.c: Likewise.
70446         * hurd/Makefile: Likewise.
70447         * hurd/hurd/signal.h: Likewise.
70448         * hurd/hurdfault.c: Likewise.
70449         * hurd/hurdioctl.c: Likewise.
70450         * hurd/hurdlookup.c: Likewise.
70451         * hurd/intr-msg.c: Likewise.
70452         * iconv/gconv_open.c: Likewise.
70453         * libio/swprintf.c: Likewise.
70454         * locale/lc-ctype.c: Likewise.
70455         * locale/nl_langinfo.c: Likewise.
70456         * mach/Machrules: Likewise.
70457         * mach/Makefile: Likewise.
70458         * malloc/obstack.h: Likewise.
70459         * manual/Makefile: Likewise.
70460         * manual/tsort.awk: Likewise.
70461         * misc/bits/stab.def: Likewise.
70462         * nis/nis_print_group_entry.c: Likewise.
70463         * nis/nis_table.c: Likewise.
70464         * nis/nss_compat/compat-pwd.c: Likewise.
70465         * nis/nss_compat/compat-spwd.c: Likewise.
70466         * po/Makefile: Likewise.
70467         * posix/fnmatch.c: Likewise.
70468         * posix/regex.h: Likewise.
70469         * resolv/Makefile: Likewise.
70470         * resolv/nss_dns/dns-network.c: Likewise.
70471         * resolv/res_hconf.c: Likewise.
70472         * scripts/gen-sorted.awk: Likewise.
70473         * soft-fp/soft-fp.h: Likewise.
70474         * stdio-common/printf.h: Likewise.
70475         * stdlib/monetary.h: Likewise.
70476         * stdlib/random.c: Likewise.
70477         * stdlib/random_r.c: Likewise.
70478         * sysdeps/generic/Makefile: Likewise.
70479         * sysdeps/gnu/Makefile: Likewise.
70480         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70503         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70504         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70505         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70506         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70507         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70508         * sysdeps/mach/hurd/errnos.awk: Likewise.
70509         * sysdeps/mach/hurd/fork.c: Likewise.
70510         * sysdeps/mach/hurd/getcwd.c: Likewise.
70511         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70512         * sysdeps/mach/hurd/mmap.c: Likewise.
70513         * sysdeps/mach/hurd/utimes.c: Likewise.
70514         * sysdeps/mach/hurd/xmknod.c: Likewise.
70515         * sysdeps/posix/profil.c: Likewise.
70516         * sysdeps/posix/readdir_r.c: Likewise.
70517         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70518         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70519         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70520         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70522         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70523         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70524         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70526         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70527         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70528         * sysdeps/pthread/lio_listio.c: Likewise.
70529         * sysdeps/sparc/dl-procinfo.h: Likewise.
70530         * sysdeps/unix/i386/sysdep.S: Likewise.
70531         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70532         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70533         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70534         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70536         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70537         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70538         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70539         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70540         * sysdeps/wordsize-32/divdi3.c: Likewise.
70541         * time/sys/time.h: Likewise.
70542         * wcsmbs/Makefile: Likewise.
70544 2013-01-01  David S. Miller  <davem@davemloft.net>
70546         * po/fr.po: Update from translation team.
70548         * catgets/gencat.c: Update copyright year.
70549         * csu/version.c: Likewise.
70550         * debug/catchsegv.sh: Likewise.
70551         * debug/pcprofiledump.c: Likewise.
70552         * debug/xtrace.sh: Likewise.
70553         * elf/ldconfig.c: Likewise.
70554         * elf/ldd.bash.in: Likewise.
70555         * elf/pldd.c: Likewise.
70556         * elf/sotruss.ksh: Likewise.
70557         * elf/sprof.c: Likewise.
70558         * iconv/iconv_prog.c: Likewise.
70559         * iconv/iconvconfig.c: Likewise.
70560         * locale/programs/locale.c: Likewise.
70561         * locale/programs/localedef.c: Likewise.
70562         * login/programs/pt_chown.c: Likewise.
70563         * malloc/memusage.sh: Likewise.
70564         * malloc/memusagestat.c: Likewise.
70565         * malloc/mtrace.pl: Likewise.
70566         * nscd/nscd.c: Likewise.
70567         * nss/getent.c: Likewise.
70568         * nss/makedb.c: Likewise.
70569         * posix/getconf.c: Likewise.
70571 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70573         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70574         numbers.
70576 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70578         * math/bits/mathcalls.h (modf): Use __nonnull.
70580 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70582         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70583         (split): Use macro CN instead of the bare value.
70584         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70585         could be used.
70586         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70587         instead of the bare value.
70588         (power1): Likewise.
70590 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70593         __ATAN_TWOM.
70594         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70596         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70597         their values.
70598         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70599         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70600         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70601         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70603 2012-12-28  Andreas Jaeger  <aj@suse.de>
70605         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70606         values are from Linux 3.7.
70608         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70609         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70611 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70613         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70614         TRUE case.
70616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70617         (norm): Likewise.
70618         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70619         variables with preprocessor constants.
70620         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70621         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70622         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70624 2012-12-27  Bruno Haible  <bruno@clisp.org>
70626         [BZ #14317]
70627         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70628         only if needed.
70630 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70633         and use variable directly.
70634         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70636         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70637         MPONE.
70638         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70639         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70640         variable MPONE.
70641         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70643         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70644         include directive.  Remove local variable MPONE.
70645         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70646         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70647         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70649 2012-12-25  David S. Miller  <davem@davemloft.net>
70651         * version.h (RELEASE): Set to "development".
70652         (VERSION): Set to "2.17.90".
70653         * NEWS: Add 2.18 section.
70655 2012-12-21  David S. Miller  <davem@davemloft.net>
70657         * po/hr.po: Update from translation team.
70659 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70661         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70663 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70665         * NEWS:  Mention new memcpy for MIPS.
70667 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70669         * manual/contrib.texi (Contributors): Spelling correction.
70671 2012-12-15  David S. Miller  <davem@davemloft.net>
70673         * po/ru.po: Update from translation team.
70675 2012-12-13  David S. Miller  <davem@davemloft.net>
70677         * NEWS: Mention IFUNC testsuite enhancements.
70679         * po/pl.po: Update from translation team.
70680         * po/bg.po: Likewise.
70682         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70683         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70685 2012-12-11  David S. Miller  <davem@davemloft.net>
70687         * po/sv.po: Update from translation team.
70689         * po/vi.po: Update from translation team.
70691         * po/cs.po: Update from translation team.
70693         * po/de.po: Update from translation team.
70694         * po/eo.po: Likewise.
70695         * po/nl.po: Likewise.
70697 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
70699         [BZ #14246]
70700         * manual/argp.texi (Argp Helper Functions): Move node to follow
70701         Argp Parsing State.
70703         [BZ #14872]
70704         * manual/conf.texi (Limits on File System Capacity): Mention if
70705         terminating null is included in the max size.
70707 2012-12-10  Andreas Jaeger  <aj@suse.de>
70709         * po/cs.po: Update from translation team.
70711 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
70713         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70714         void pointer and cast to uintptr_t.
70715         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70716         path.
70717         * sysdeps/s390/s390-64/memcpy.S: Likewise.
70718         * sysdeps/s390/s390-64/memset.S: Likewise.
70720 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
70722         [BZ #14833]
70723         * menual/message.texi (Message Translation): Fix typos.
70724         (Helper programs for gettext): Likewise.
70726 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
70728         [BZ #14898]
70729         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70730         Change to -1.
70732 2012-12-07  David S. Miller  <davem@davemloft.net>
70734         * po/libc.pot: Update.
70736 2012-12-07  Richard Henderson  <rth@redhat.com>
70738         [BZ #10114]
70739         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70740         normal/normal case to before the switch.
70741         (_FP_DIV): Likewise.
70743 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
70744             Mike Frysinger  <vapier@gentoo.org>
70746         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70747         check for __NR_fadvise64_64.
70749 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
70751         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70752         0, not just to plain "0" as a statement.
70753         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70754         with cw.
70756 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
70758         * NEWS: Use sourceware.org in Bugzilla URL.
70760 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70763         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70765         * stdio-common/tst-put-error.c (do_test): Add newline to the
70766         padded test to ensure flush.
70768 2012-12-05  Jeff Law  <law@redhat.com>
70770         * sunrpc/etc.rpc (fedfs_admin): Add entry.
70772 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
70774         * README: Don't refer to ports add-on as distributed separately.
70775         Mention AArch64 in list of systems supported in the ports add-on.
70777         * LICENSES: Add more non-FSF copyright and license notices.
70779         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70780         ((unused)).
70782         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70784         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70785         10000 as width of padded output.
70787 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70789         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70791         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70792         variable LX with __attribute__ ((unused)).
70793         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70794         Likewise.
70795         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70796         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70797         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70798         with __attribute__ ((unused)).
70800 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
70802         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70804 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70806         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70807         (CFLAGS-nldbl-acos.c): New variable.
70808         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70809         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70810         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70811         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70812         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70813         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70814         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70815         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70816         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70817         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70818         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70819         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70820         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70821         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70822         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70823         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70824         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70825         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70826         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70827         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70828         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70829         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70830         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70831         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70832         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70833         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70834         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70835         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70836         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70837         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70838         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70839         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70840         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70841         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70842         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70843         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70844         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70845         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70846         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70847         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70848         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70849         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70850         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70851         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70852         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70853         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70854         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70855         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70856         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70857         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70858         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70859         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70860         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70861         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70862         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70863         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70864         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70865         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70866         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70867         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70868         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70869         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70870         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70871         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70872         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70873         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70874         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70875         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70876         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70877         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70878         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70879         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70880         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70881         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70882         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70883         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70884         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70885         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70886         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70887         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70888         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70889         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70890         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70891         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70892         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70893         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70894         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70895         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70896         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70897         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70898         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70899         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70900         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70901         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70902         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70903         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70904         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70907         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70909         [BZ #14914]
70910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70911         whole low double instead of just low 47 bits when splitting values
70912         into two parts.
70914 2012-12-03  Allan McRae  <allan@archlinux.org>
70916         * manual/stdio.texi (Predefined Printf Handlers): Remove
70917         @hsep and @vsep usage.
70919 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70921         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70922         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70924 2012-12-03  Jeff Law  <law@redhat.com>
70926         * time/sys/time.h (settimeofday): Do not mark TV argument
70927         as __nonnull.
70929 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70931         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70932         when currently writing and seek to current position when not.
70933         * libio/Makefile (tests): Remove bug-fclose1.
70934         * libio/bug-fclose1.c: Delete.
70936 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70938         * manual/arith.texi (feenableexcept): Fix typo.
70939         (fedisableexcept): Likewise.
70941 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70943         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70944         second, differently-typed declaration, rather than a cast.
70946 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70948         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70949         * include/rpc/svc.h: ... here.
70951 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70953         [BZ #13013]
70954         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70955         depending n and resplen2 to catch cases where answer
70956         equals answerp2.
70958 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70960         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70961         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70963 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70965         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70967 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70969         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70971 2012-11-28  Jeff Law  <law@redhat.com>
70973         [BZ #13761]
70974         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70975         dataset_temporary.  Track alloca usage into alloca_used.
70976         If dataset is large allocate and release it via malloc/free.
70978 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70980         [BZ #14197]
70981         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70983 2012-11-28  David S. Miller  <davem@davemloft.net>
70985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70987 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70989         [BZ #14803]
70990         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70991         of pi/2 rounded to nearest to 64 bits.
70992         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70993         nearest to 64 bits.
70994         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70995         bits.
70997 2012-11-28  Jeff Law <law@redhat.com>
70998             Martin Osvald <mosvald@redhat.com>
71000         [BZ #14889]
71001         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71002         * sunrpc/svc.c: Include time.h.
71003         (__svc_accept_failed): New function.
71004         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71005         any reason other than EINTR, call __svc_accept_failed.
71006         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71007         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71009 2012-11-28  Andreas Schwab  <schwab@suse.de>
71011         * scripts/abilist.awk: Also handle indirect functions in .opd
71012         section.
71014 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71016         [BZ #13881]
71017         * sysdeps/x86/fpu/powl_helper.c: New file.
71018         * sysdeps/x86/fpu/Makefile: Likewise.
71019         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71020         (p3): New object.
71021         (__ieee754_powl): Use __powl_helper for finite arguments except
71022         integer exponents below 8.
71023         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71024         (p3): New object.
71025         (__ieee754_powl): Use __powl_helper for finite arguments except
71026         integer exponents below 8.
71027         * math/libm-test.inc (pow_test): Add more tests and enable some
71028         previously disabled tests.
71029         * sysdeps/i386/fpu/libm-test-ulps: Update.
71030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71032 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71033             Carlos O'Donell  <carlos_odonell@mentor.com>
71035         * nss/makedb.c (is_prime): Assert that input is odd and greater
71036         than 4.  Note that fact in a comment too.
71037         (next_prime): Add 4 to input.
71039 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71041         [BZ #11741]
71042         * libio/Makefile (tests): Add test case tst-fwrite-error.
71043         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71044         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71045         * libio/tst-fwrite-error.c: New test case.
71047 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
71049         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71050         before casting to void *.
71051         * include/libc-internal.h (__pointer_type): New macro.
71052         (__integer_if_pointer_type_sub): Likewise.
71053         (__integer_if_pointer_type): Likewise.
71054         (cast_to_integer): Likewise.
71055         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71056         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71057         before casting to atomic64_t.
71058         (atomic_exchange_acq): Likewise.
71059         (__arch_exchange_and_add_body): Likewise.
71060         (__arch_add_body): Likewise.
71061         (atomic_add_negative): Likewise.
71062         (atomic_add_zero): Likewise.
71064 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
71066         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71067         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71068         (add_fdes): Likewise.
71069         (linear_search_fdes): Likewise.
71070         (binary_search_unencoded_fdes): Likewise.
71072 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
71074         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71076 2012-11-24  Adam Conrad  <adconrad@0c3.net>
71078         * configure.in: Autodetect C++ header directories.
71079         * configure: Regenerated.
71081 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
71083         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71085 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
71087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71089 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
71091         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71092         LDBL_MANT_DIG == 106]: Disable some tests.
71093         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71094         Likewise.
71095         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71096         Likewise.
71098         [BZ #14871]
71099         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71100         input for small inputs.  Return +/- pi/2 for large inputs.
71101         * math/libm-test.inc (atan_test): Add more tests.
71103         * sysdeps/generic/unwind-dw2-fde-glibc.c
71104         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71105         __attribute__ ((unused)).
71107         [BZ #14645]
71108         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71109         x * y if x and y are nonzero and z is zero.
71111         [BZ #14811]
71112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71113         nonzero exponents with absolute value below 0x1p-117 to +/-
71114         0x1p-117.
71116         [BZ #14869]
71117         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71118         up arguments below 2**-450, not just those below 2**-500.
71119         * math/libm-test.inc (hypot_test): Add another test.
71121         [BZ #14868]
71122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71123         Return a+b for ratio over 2**120, not 2**60.
71124         * math/libm-test.inc (hypot_test): Add another test.
71126         * math/libm-test.inc (clog_test): Use
71127         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71128         (clog10_test): Likewise.
71130         [BZ #6778]
71131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71133 2012-11-22  Andreas Schwab  <schwab@suse.de>
71135         * sysdeps/i386/fpu/libm-test-ulps: Update.
71137 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
71139         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71140         printf output with newline.
71142 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
71144         [BZ #14865]
71145         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71146         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71147         -z nodlopen, -z initfirst and -z execstack support.
71148         * configure: Regenerated.
71150         * elf/elf.h (DF_1_NODIRECT): New macro.
71151         (DF_1_IGNMULDEF): Likewise.
71152         (DF_1_NOKSYMS): Likewise.
71153         (DF_1_NOHDR): Likewise.
71154         (DF_1_EDITED): Likewise.
71155         (DF_1_NORELOC): Likewise.
71156         (DF_1_SYMINTPOSE): Likewise.
71157         (DF_1_GLOBAUDIT): Likewise.
71158         (DF_1_SINGLETON): Likewise.
71159         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71160         DT_1_SUPPORTED_MASK bits.
71161         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71163 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
71165         * sysdeps/unix/make-syscalls.sh: Document prefixes.
71167 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
71169         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71170         macro.
71172         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71173         (sendmmsg): Move declarations...
71174         * socket/sys/socket.h: ... here.
71175         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71176         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71177         include it from...
71178         * socket/recvmmsg.c: ... this new file.
71179         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71180         (sendmmsg): Rename to __sendmmsg, create weak alias and make
71181         definition of __sendmmsg hidden.
71182         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71183         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71184         Move ENOSYS stub into and include it from...
71185         * socket/sendmmsg.c: ... this new file.
71186         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71187         (sysdep_routines): Move recvmmsg and sendmmsg...
71188         * socket/Makefile (routines): ... here.
71189         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71190         (GLIBC_PRIVATE): Add __sendmmsg.
71191         * include/sys/socket.h (__sendmmsg): Add declarations.
71192         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71193         sendmmsg.
71195 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
71197         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71198         variable I1 with __attribute__ ((unused)).
71199         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71201 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71203         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71204         DUMMY variables with __attribute__ ((unused)).
71206         * bits/byteswap.h: Include <bits/types.h>.
71207         (__bswap_64): Use __uint64_t instead of unsigned long long int.
71209 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71211         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71212         string_t.  Do not manually set errno.
71213         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71214         length with __strnlen.  Make sure to both set errno and return it on
71215         failure.
71217 2012-11-19  David S. Miller  <davem@davemloft.net>
71219         With help from Joseph Myers.
71220         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71221         very large arguments properly.
71222         * math/libm-test.inc (atan_test): New tests.
71223         (atan2_test): New tests.
71224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71227 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71229         [BZ #14856]
71230         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71231         Define to 3.
71233         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71234         [POSIX] (EADDRNOTAVAIL): Likewise.
71235         [POSIX] (EAFNOSUPPORT): Likewise.
71236         [POSIX] (EALREADY): Likewise.
71237         [POSIX] (ECONNABORTED): Likewise.
71238         [POSIX] (ECONNREFUSED): Likewise.
71239         [POSIX] (ECONNRESET): Likewise.
71240         [POSIX] (EDESTADDRREQ): Likewise.
71241         [POSIX] (EDQUOT): Likewise.
71242         [POSIX] (EHOSTUNREACH): Likewise.
71243         [POSIX] (EIDRM): Likewise.
71244         [POSIX] (EISCONN): Likewise.
71245         [POSIX] (ELOOP): Likewise.
71246         [POSIX] (EMULTIHOP): Likewise.
71247         [POSIX] (ENETDOWN): Likewise.
71248         [POSIX] (ENETUNREACH): Likewise.
71249         [POSIX] (ENOBUFS): Likewise.
71250         [POSIX] (ENODATA): Likewise.
71251         [POSIX] (ENOLINK): Likewise.
71252         [POSIX] (ENOMSG): Likewise.
71253         [POSIX] (ENOPROTOOPT): Likewise.
71254         [POSIX] (ENOSR): Likewise.
71255         [POSIX] (ENOSTR): Likewise.
71256         [POSIX] (ENOTCONN): Likewise.
71257         [POSIX] (ENOTSOCK): Likewise.
71258         [POSIX] (EOPNOTSUPP): Likewise.
71259         [POSIX] (EOVERFLOW): Likewise.
71260         [POSIX] (EPROTO): Likewise.
71261         [POSIX] (EPROTONOSUPPORT): Likewise.
71262         [POSIX] (EPROTOTYPE): Likewise.
71263         [POSIX] (ESTALE): Likewise.
71264         [POSIX] (ETIME): Likewise.
71265         [POSIX] (ETXTBSY): Likewise.
71266         [POSIX] (EWOULDBLOCK): Likewise.
71267         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
71268         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
71269         [POSIX] (SEEK_CUR): Likewise.
71270         [POSIX] (SEEK_END): Likewise.
71271         [POSIX || UNIX98] (mode_t): Do not require.
71272         [POSIX] (off_t): Likewise.
71273         [POSIX] (pid_t): Likewise.
71274         [POSIX] (sys/stat.h): Do not allow header.
71275         [POSIX] (unistd.h): Likewise.
71276         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71277         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71278         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71279         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71280         require.
71281         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71282         sigevent): Specify elements.
71283         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71284         entry.
71285         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71286         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71288         * conform/data/cpio.h-data [POSIX]: Disable whole file.
71289         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71290         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71291         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71292         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71293         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71294         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71295         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71296         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71297         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71298         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71299         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71300         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71301         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71302         Likewise.
71303         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71304         Likewise.
71305         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71306         Likewise.
71307         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71308         Likewise.
71309         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
71310         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
71311         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
71312         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
71313         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
71314         Specify lower bound on value.
71315         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
71316         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
71317         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
71318         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
71319         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71320         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71321         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71322         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71323         value.
71324         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71325         as optional.
71326         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71327         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71328         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71329         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71330         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71331         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71332         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71333         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71334         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71335         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71336         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71337         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71338         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71339         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71340         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71341         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71342         entry.
71343         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71344         optional.
71345         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71346         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71347         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71348         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71349         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71350         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71351         Likewise.
71352         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71353         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71354         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71355         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71356         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
71357         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71358         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71359         as optional.
71360         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71362         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71363         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71364         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71365         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71366         specify as optional.
71367         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71368         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71369         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71370         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71371         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71372         [XPG3] (NL_LANGMAX): Likewise.
71373         [POSIX || XPG3] (NL_MSGMAX): Likewise.
71374         [POSIX || XPG3] (NL_NMAX): Likewise.
71375         [POSIX || XPG3] (NL_SETMAX): Likewise.
71376         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71377         [XPG3] (NZERO): Likewise.
71378         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71379         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71380         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71381         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71382         (REG_ERANGE): Expect.
71383         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71384         optional-constant.
71385         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71386         Use (void) in prototype.
71387         [POSIX] (*_t): Allow.
71388         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71389         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71390         (WRDE_BADVAL): Expect.
71392         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71393         expect.
71394         [XPG3 || XPG4] (O_RSYNC): Likewise.
71395         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71396         Likewise.
71397         [XPG3 || XPG4] (pthread_sigmask): Likewise.
71398         [XPG3 || XPG4] (sigqueue): Likewise.
71399         [XPG3 || XPG4] (sigtimedwait): Likewise.
71400         [XPG3 || XPG4] (sigwaitinfo): Likewise.
71401         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71402         [XPG3 || XPG4] (vsnprintf): Likewise.
71403         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71404         Likewise.
71405         [XPG3 || XPG4] (blksize_t): Likewise.
71406         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71407         Likewise.
71408         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71409         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71410         [XPG3 || XPG4] (struct itimerspec): Likewise.
71411         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71412         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71413         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71414         [XPG3 || XPG4] (clockid_t): Likewise.
71415         [XPG3 || XPG4] (timer_t): Likewise.
71416         [XPG3 || XPG4] (clock_getres): Likewise.
71417         [XPG3 || XPG4] (clock_gettime): Likewise.
71418         [XPG3 || XPG4] (clock_settime): Likewise.
71419         [XPG3 || XPG4] (nanosleep): Likewise.
71420         [XPG3 || XPG4] (timer_create): Likewise.
71421         [XPG3 || XPG4] (timer_delete): Likewise.
71422         [XPG3 || XPG4] (timer_gettime): Likewise.
71423         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71424         [XPG3 || XPG4] (timer_settime): Likewise.
71425         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71426         [XPG3 || XPG4] (getlogin_r): Likewise.
71427         [XPG3 || XPG4] (pread): Likewise.
71428         [XPG3 || XPG4] (pthread_atfork): Likewise.
71429         [XPG3 || XPG4] (pwrite): Likewise.
71431         [BZ #14835]
71432         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71433         <bits/siginfo.h>.
71435 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71437         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71438         finalizing MALLSTREAM.
71440         * sysdeps/mach/hurd/syncfs.c: New file.
71442 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71444         [BZ #14719]
71445         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71446         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71447         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71448         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71449         (_nss_dns_gethostbyname4_r): Likewise.
71450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71451         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71453 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71455         [BZ #13763]
71456         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71458 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71460         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71461         * elf/cache.c (print_entry): Print ",AArch64" for
71462         FLAG_AARCH64_LIB64
71464         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71465         * elf/cache.c (print_entry): Print ",hard-float" for
71466         FLAG_ARM_LIBHF.
71468 2012-11-18  David S. Miller  <davem@davemloft.net>
71470         With help from Joseph Myers.
71471         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71472         cutoff to 2**-13.
71473         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71474         cutoff to 2**-25.
71475         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71476         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71477         small.
71478         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71479         * math/libm-test.inc (y0_test): New tests.
71480         (y1_test): New tests.
71481         * sysdeps/i386/fpu/libm-test-ulps: Update.
71482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71485 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71487         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71488         64-bit targets.
71489         * configure: Regenerated.
71491 2012-11-17  David S. Miller  <davem@davemloft.net>
71493         [BZ #14811]
71494         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71495         nonzero exponents with absolute value below 0x1p-128 to +/-
71496         0x1p-128.
71498 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71500         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71502         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71504         * posix/getconf-speclist.c: New file.
71505         * posix/posix-envs.def: Likewise.
71506         * posix/confstr.c (START_ENV_GROUP): New macro.
71507         (END_ENV_GROUP): Likewise.
71508         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71509         (KNOWN_PRESENT_ENV_STRING): Likewise.
71510         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71511         (UNKNOWN_ENVIRONMENT): Likewise.
71512         (confstr): Include posix-envs.def instead of handling
71513         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71514         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71515         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71516         (END_ENV_GROUP): Likewise.
71517         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71518         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71519         (UNKNOWN_ENVIRONMENT): Likewise.
71520         (__sysconf): Include posix-envs.def instead of handling associated
71521         cases directly here.
71522         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71523         preprocessing getconf-speclist.c rather than running getconf or
71524         generating empty file.
71526 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71528         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71530 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71532         [BZ #14672]
71533         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71535 2012-11-16  David S. Miller  <davem@davemloft.net>
71537         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71538         smaller than LDBL_EPSILON/2.0L, just return xm1.
71540 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71542         * elf/tst-array1.c (init): Set constructor priority to 1000.
71543         (fini): Set destructor priority to 1000.
71544         * elf/tst-array2dep.c: Likewise.
71546 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71548         [BZ #11741]
71549         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71550         (_IO_new_file_xsputn): Also return EOF if none of the input
71551         data was written when overflow failed.
71552         * libio/iopadn.c (_IO_padn): Likewise.
71553         * libio/iowpadn.c (_IO_wpadn): Likewise.
71554         * stdio-common/tst-put-error.c: Add copyright notice.
71555         (do_test): Add case for printing padded string.
71556         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71557         _IO_padn returned error.
71558         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71559         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71560         return EOF.
71562 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71564         * libio/libioP.h: Add comment note that the references to C++
71565         bits are now obsolete.
71567 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71569         * math/libm-test.inc (check_complex): Use asprintf.
71571 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71573         * debug/pcprofiledump.c (print_version): Update copyright year.
71574         * malloc/memusagestat.c (print_version): Likewise.
71576 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71578         [BZ #14831]
71579         * elf/Makefile (tests): Add tst-audit8.
71580         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71581         ($(objpfx)tst-audit8.out): New target.
71582         (tst-audit8-ENV): New variable.
71583         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71584         audit if l_reloc_result is NULL.
71585         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71586         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71587         * elf/tst-audit8.c: New file.
71589 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71591         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71592         * misc/Makefile (CFLAGS-select.c): Define.
71593         * posix/Makefile (CFLAGS-pause.c): Define.
71595 2012-11-13  David S. Miller  <davem@davemloft.net>
71597         * crypt/Makefile: Move test targets after toplevel Rules
71598         inclusion.  Grab any necessary sysdep routines when linking.
71599         * crypt/md5.c (md5_process_block): Remove define, we will always
71600         name it __md5_process_block.
71601         (md5_finish_ctx): Update md5_process_block call.
71602         (md5_stream): Likewise.
71603         (md5_process_bytes): Likewise.
71604         (md5_process_block): Rename to __md5_process_block and move to ...
71605         * crypt/md5-block.c: ... here.
71606         * crypt/sha256.c (sha256_process_block): Move to ...
71607         * crypt/sha256-block.c: ... here.
71608         * crypt/sha512.c (sha512_process_block): Move to ...
71609         * crypt/sha512-block.c: ... here.
71610         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71611         path.
71612         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71613         * sysdeps/sparc/sparc64/multiarch/Makefile
71614         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71615         crypt subdir.
71616         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71617         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71618         multiarch changes.
71619         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71620         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71621         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71622         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71623         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71624         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71625         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71626         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71627         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71628         file.
71629         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71630         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71631         file.
71632         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71634 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71636         * timezone/tzselect.ksh: Update from tzcode git revision
71637         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71638         * timezone/zdump.c: Likewise.
71639         * timezone/zic.c: Likewise.
71640         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71641         in TZVERSION setting, not $(PKGVERSION).
71642         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71643         REPORT_BUGS_TO settings.
71645         [BZ #14838]
71646         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71647         macro.
71649 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71651         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71652         detection to immediately after _FP_ROUND().
71653         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71654         bits are 0.
71656 2012-11-11  David S. Miller  <davem@davemloft.net>
71658         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71659         inttypes.h
71660         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71661         __close rather than their public counterparts.
71663 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71665         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71666         file.
71667         [UNIX98] (sem_timedwait): Do not expect.
71668         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71669         [XPG4 || UNIX98] (sockatmark): Do not expect.
71670         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71671         (clock_getcpuclockid): Do not expect.
71672         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71673         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71674         Do not expect.
71675         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71676         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71677         [UNIX98] (vwscanf): Likewise.
71678         [UNIX98] (vswscanf): Likewise.
71680 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71682         * timezone/version.h: Remove file.
71683         * timezone/README: Do not refer to version.h.
71684         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71685         $(objpfx)version.h.
71686         ($(objpfx)zdump.o): Likewise.
71687         ($(objpfx)version.h): New target.
71689         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71690         2012i.
71691         * timezone/README: Don't mention modification to tzselect.ksh.
71692         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71693         work on unmodified tzselect.ksh.  Substitute version numbers in
71694         tzselect.ksh.
71696         * Makefile (format-me): Remove.
71697         (INSTALL): Adjust indentation.  Use commands directly instead of
71698         using $(format-me).
71700         * aclocal.m4 (ACX_PKGVERSION): New macro.
71701         (ACX_BUGURL): Likewise.
71702         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71703         (PKGVERSION): New AC_DEFINE_UNQUOTED.
71704         (REPORT_BUGS_TO): Likewise.
71705         * configure: Regenerated.
71706         * config.h.in (PKGVERSION): New macro.
71707         (REPORT_BUGS_TO): Likewise.
71708         * config.make.in (PKGVERSION): New variable.
71709         (PKGVERSION_TEXI): Likewise.
71710         (REPORT_BUGS_TO): Likewise.
71711         (REPORT_BUGS_TEXI): Likewise.
71712         * Makefile (format-me): Use -I$(common-objpfx)manual.
71713         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71714         ($(common-objpfx)manual/%): New target.
71715         (manual/%): Remove target.
71716         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71717         (print_version): Use PKGVERSION.
71718         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71719         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71720         and REPORT_BUGS_TO.
71721         ($(objpfx)xtrace): Likewise.
71722         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71723         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71724         (print_version): Use PKGVERSION.
71725         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71726         (do_version): Use PKGVERSION.
71727         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71728         REPORT_BUGS_TO.
71729         (common-ldd-rewrite): Likewise.
71730         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71731         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71732         (print_version): Use PKGVERSION.
71733         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71734         * elf/pldd.c (argp_program_bug_address): Remove variable.
71735         (more_help): New function.
71736         (argp): Use more_help.
71737         (print_version): Use PKGVERSION.
71738         * elf/sln.c (main): Use PKGVERSION.
71739         (usage): Use REPORT_BUGS_TO.
71740         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71741         (top level): Use PKGVERSION.
71742         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71743         (print_version): Use PKGVERSION.
71744         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71745         (print_version): Use PKGVERSION.
71746         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71747         (print_version): Use PKGVERSION.
71748         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71749         (print_version): Use PKGVERSION.
71750         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71751         (print_version): Use PKGVERSION.
71752         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71753         (print_version): Use PKGVERSION.
71754         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71755         and BUGURL.
71756         ($(objpfx)memusage): Likewise.
71757         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71758         (do_version): Use PKGVERSION.
71759         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71760         (print_version): Use PKGVERSION.
71761         * malloc/mtrace.pl ($PACKAGE): Remove variable.
71762         ($PKGVERSION): New variable.
71763         ($REPORT_BUGS_TO): Likewise.
71764         (usage): Use $REPORT_BUGS_TO.
71765         (top level): Use $PKGVERSION.
71766         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71767         ($(objpfx)pkgvers.texi): New rule.
71768         ($(objpfx)stamp-pkgvers): Likewise.
71769         * manual/install.texi: Include pkgvers.texi.
71770         (--with-pkgversion): Document new configure option.
71771         (--with-bugurl): Likewise.
71772         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71773         than necessarily for this particular distribution.  Use
71774         REPORT_BUGS_TO for where to report bugs.
71775         * INSTALL: Regenerated.
71776         * manual/libc.texinfo: Include pkgvers.texi.
71777         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71778         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71779         (print_version): Use PKGVERSION.
71780         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71781         (print_version): Use PKGVERSION.
71782         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71783         (print_version): Use PKGVERSION.
71784         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71785         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71786         macro.
71787         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71788         (print_version): Use PKGVERSION.
71789         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71790         (print_version): Use PKGVERSION.
71791         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71792         and PKGVERSION.
71794         * timezone/checktab.awk: Update from tzcode 2012i.
71795         * timezone/ialloc.c: Likewise.
71796         * timezone/private.h: Likewise.
71797         * timezone/scheck.c: Likewise.
71798         * timezone/tzfile.h: Likewise.
71799         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71800         (TZVERSION): Hardcode tzcode version number.
71801         * timezone/zdump.c: Update from tzcode 2012i.
71802         * timezone/zic.c: Likewise.
71803         * timezone/version.h: New file.
71804         * timezone/README: Describe version.h.  Update upstream location.
71806         [BZ #14824]
71807         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71808         (mktemp): Enable declaration.
71809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71812         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71813         Likewise.
71814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71815         Likewise.
71816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71817         Likewise.
71818         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71819         Likewise.
71820         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71821         Likewise.
71822         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71823         Likewise.
71825         [BZ #14821]
71826         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71827         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71828         for copies of such integer values.
71829         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71830         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71832 2012-11-09  Andreas Jaeger  <aj@suse.de>
71834         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71835         definitions and declarations that are provided by
71836         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71838 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71840         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71841         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71842         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71843         definition.
71845 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71847         * elf/elf.h: Update comment before AArch64 relocations.
71849 2012-11-07  David S. Miller  <davem@davemloft.net>
71851         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71852         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71853         (__start_context): Declare.
71854         (__makecontext_ret): Delete.
71855         (__makecontext): Hook up __start_context instead of
71856         __makecontext_ret.
71857         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71858         (sysdep_routines): Add __start_context when in stdlib.
71860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71862         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71863         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71864         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71865         hardcoded "nm".
71866         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71867         (READELF): New variable.  Use it instead of hardcoded "readelf".
71869 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71871         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71872         * sysdeps/x86/Makefile: Here.
71873         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71874         * sysdeps/x86/tst-xmmymm.sh: This.
71876 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71878         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71879         expectations.
71880         [UNIX98] (pthread_barrier_t): Do not expect.
71881         [UNIX98] (pthread_barrierattr_t): Likewise.
71882         [UNIX98] (pthread_spinlock_t): Likewise.
71883         [UNIX98] (pthread_barrier_destroy): Likewise.
71884         [UNIX98] (pthread_barrier_init): Likewise.
71885         [UNIX98] (pthread_barrier_wait): Likewise.
71886         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71887         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71888         [UNIX98] (pthread_barrierattr_init): Likewise.
71889         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71890         [UNIX98] (pthread_getcpuclockid): Likewise.
71891         [UNIX98] (pthread_mutex_timedlock): Likewise.
71892         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71893         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71894         [UNIX98] (pthread_sigmask): Likewise.
71895         [UNIX98] (pthread_spin_destroy): Likewise.
71896         [UNIX98] (pthread_spin_init): Likewise.
71897         [UNIX98] (pthread_spin_lock): Likewise.
71898         [UNIX98] (pthread_spin_trylock): Likewise.
71899         [UNIX98] (pthread_spin_unlock): Likewise.
71900         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71901         Do not expect.
71902         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71903         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71904         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71905         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71906         [XPG3 || XPG4] (pthread_key_t): Likewise.
71907         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71908         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71909         [XPG3 || XPG4] (pthread_once_t): Likewise.
71910         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71911         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71912         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71913         [XPG3 || XPG4] (pthread_t): Likewise.
71915         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71916         not expect.
71917         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71919         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71920         Change function return type to int.
71922         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71923         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71924         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71925         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71926         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71927         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71928         [!POSIX] (posix_madvise): Likewise.
71929         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71930         && !UNIX98].
71931         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71932         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71933         (mode_t): Likewise.
71934         (posix_mem_offset): Likewise.
71935         (posix_typed_mem_get_info): Likewise.
71936         (posix_typed_mem_open): Likewise.
71938         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71939         Change condition to [XOPEN2K8].
71941         * conform/conformtest.pl: Preprocess allow-header data with -x c
71942         instead of from stdin.
71943         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71944         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71945         [C99-based standards] (cerfc): Likewise.
71946         [C99-based standards] (cexp2): Likewise.
71947         [C99-based standards] (cexpm1): Likewise.
71948         [C99-based standards] (clog10): Likewise.
71949         [C99-based standards] (clog1p): Likewise.
71950         [C99-based standards] (clog2): Likewise.
71951         [C99-based standards] (clgamma): Likewise.
71952         [C99-based standards] (ctgamma): Likewise.
71953         [C99-based standards] (cerff): Likewise.
71954         [C99-based standards] (cerfcf): Likewise.
71955         [C99-based standards] (cexp2f): Likewise.
71956         [C99-based standards] (cexpm1f): Likewise.
71957         [C99-based standards] (clog10f): Likewise.
71958         [C99-based standards] (clog1pf): Likewise.
71959         [C99-based standards] (clog2f): Likewise.
71960         [C99-based standards] (clgammaf): Likewise.
71961         [C99-based standards] (ctgammaf): Likewise.
71962         [C99-based standards] (cerfl): Likewise.
71963         [C99-based standards] (cerfcl): Likewise.
71964         [C99-based standards] (cexp2l): Likewise.
71965         [C99-based standards] (cexpm1l): Likewise.
71966         [C99-based standards] (clog10l): Likewise.
71967         [C99-based standards] (clog1pl): Likewise.
71968         [C99-based standards] (clog2l): Likewise.
71969         [C99-based standards] (clgammal): Likewise.
71970         [C99-based standards] (ctgammal): Likewise.
71971         * conform/data/inttypes.h-data [C99-based standards]: Include
71972         stdint.h-data.  Remove all expectations for stdint.h contents.
71973         [C99-based standards] (PRI*): Do not allow.
71974         [C99-based standards] (SCN*): Likewise.
71975         [C99-based standards] (*_t): Likewise.
71976         [C99-based-standards] (PRId8): Expect macro.
71977         [C99-based-standards] (PRIi8): Likewise.
71978         [C99-based-standards] (PRIo8): Likewise.
71979         [C99-based-standards] (PRIu8): Likewise.
71980         [C99-based-standards] (PRIx8): Likewise.
71981         [C99-based-standards] (PRIX8): Likewise.
71982         [C99-based-standards] (SCNd8): Likewise.
71983         [C99-based-standards] (SCNi8): Likewise.
71984         [C99-based-standards] (SCNo8): Likewise.
71985         [C99-based-standards] (SCNu8): Likewise.
71986         [C99-based-standards] (SCNx8): Likewise.
71987         [C99-based-standards] (PRIdLEAST8): Likewise.
71988         [C99-based-standards] (PRIiLEAST8): Likewise.
71989         [C99-based-standards] (PRIoLEAST8): Likewise.
71990         [C99-based-standards] (PRIuLEAST8): Likewise.
71991         [C99-based-standards] (PRIxLEAST8): Likewise.
71992         [C99-based-standards] (PRIXLEAST8): Likewise.
71993         [C99-based-standards] (SCNdLEAST8): Likewise.
71994         [C99-based-standards] (SCNiLEAST8): Likewise.
71995         [C99-based-standards] (SCNoLEAST8): Likewise.
71996         [C99-based-standards] (SCNuLEAST8): Likewise.
71997         [C99-based-standards] (SCNxLEAST8): Likewise.
71998         [C99-based-standards] (PRIdFAST8): Likewise.
71999         [C99-based-standards] (PRIiFAST8): Likewise.
72000         [C99-based-standards] (PRIoFAST8): Likewise.
72001         [C99-based-standards] (PRIuFAST8): Likewise.
72002         [C99-based-standards] (PRIxFAST8): Likewise.
72003         [C99-based-standards] (PRIXFAST8): Likewise.
72004         [C99-based-standards] (SCNdFAST8): Likewise.
72005         [C99-based-standards] (SCNiFAST8): Likewise.
72006         [C99-based-standards] (SCNoFAST8): Likewise.
72007         [C99-based-standards] (SCNuFAST8): Likewise.
72008         [C99-based-standards] (SCNxFAST8): Likewise.
72009         [C99-based-standards] (PRId16): Likewise.
72010         [C99-based-standards] (PRIi16): Likewise.
72011         [C99-based-standards] (PRIo16): Likewise.
72012         [C99-based-standards] (PRIu16): Likewise.
72013         [C99-based-standards] (PRIx16): Likewise.
72014         [C99-based-standards] (PRIX16): Likewise.
72015         [C99-based-standards] (SCNd16): Likewise.
72016         [C99-based-standards] (SCNi16): Likewise.
72017         [C99-based-standards] (SCNo16): Likewise.
72018         [C99-based-standards] (SCNu16): Likewise.
72019         [C99-based-standards] (SCNx16): Likewise.
72020         [C99-based-standards] (PRIdLEAST16): Likewise.
72021         [C99-based-standards] (PRIiLEAST16): Likewise.
72022         [C99-based-standards] (PRIoLEAST16): Likewise.
72023         [C99-based-standards] (PRIuLEAST16): Likewise.
72024         [C99-based-standards] (PRIxLEAST16): Likewise.
72025         [C99-based-standards] (PRIXLEAST16): Likewise.
72026         [C99-based-standards] (SCNdLEAST16): Likewise.
72027         [C99-based-standards] (SCNiLEAST16): Likewise.
72028         [C99-based-standards] (SCNoLEAST16): Likewise.
72029         [C99-based-standards] (SCNuLEAST16): Likewise.
72030         [C99-based-standards] (SCNxLEAST16): Likewise.
72031         [C99-based-standards] (PRIdFAST16): Likewise.
72032         [C99-based-standards] (PRIiFAST16): Likewise.
72033         [C99-based-standards] (PRIoFAST16): Likewise.
72034         [C99-based-standards] (PRIuFAST16): Likewise.
72035         [C99-based-standards] (PRIxFAST16): Likewise.
72036         [C99-based-standards] (PRIXFAST16): Likewise.
72037         [C99-based-standards] (SCNdFAST16): Likewise.
72038         [C99-based-standards] (SCNiFAST16): Likewise.
72039         [C99-based-standards] (SCNoFAST16): Likewise.
72040         [C99-based-standards] (SCNuFAST16): Likewise.
72041         [C99-based-standards] (SCNxFAST16): Likewise.
72042         [C99-based-standards] (PRId32): Likewise.
72043         [C99-based-standards] (PRIi32): Likewise.
72044         [C99-based-standards] (PRIo32): Likewise.
72045         [C99-based-standards] (PRIu32): Likewise.
72046         [C99-based-standards] (PRIx32): Likewise.
72047         [C99-based-standards] (PRIX32): Likewise.
72048         [C99-based-standards] (SCNd32): Likewise.
72049         [C99-based-standards] (SCNi32): Likewise.
72050         [C99-based-standards] (SCNo32): Likewise.
72051         [C99-based-standards] (SCNu32): Likewise.
72052         [C99-based-standards] (SCNx32): Likewise.
72053         [C99-based-standards] (PRIdLEAST32): Likewise.
72054         [C99-based-standards] (PRIiLEAST32): Likewise.
72055         [C99-based-standards] (PRIoLEAST32): Likewise.
72056         [C99-based-standards] (PRIuLEAST32): Likewise.
72057         [C99-based-standards] (PRIxLEAST32): Likewise.
72058         [C99-based-standards] (PRIXLEAST32): Likewise.
72059         [C99-based-standards] (SCNdLEAST32): Likewise.
72060         [C99-based-standards] (SCNiLEAST32): Likewise.
72061         [C99-based-standards] (SCNoLEAST32): Likewise.
72062         [C99-based-standards] (SCNuLEAST32): Likewise.
72063         [C99-based-standards] (SCNxLEAST32): Likewise.
72064         [C99-based-standards] (PRIdFAST32): Likewise.
72065         [C99-based-standards] (PRIiFAST32): Likewise.
72066         [C99-based-standards] (PRIoFAST32): Likewise.
72067         [C99-based-standards] (PRIuFAST32): Likewise.
72068         [C99-based-standards] (PRIxFAST32): Likewise.
72069         [C99-based-standards] (PRIXFAST32): Likewise.
72070         [C99-based-standards] (SCNdFAST32): Likewise.
72071         [C99-based-standards] (SCNiFAST32): Likewise.
72072         [C99-based-standards] (SCNoFAST32): Likewise.
72073         [C99-based-standards] (SCNuFAST32): Likewise.
72074         [C99-based-standards] (SCNxFAST32): Likewise.
72075         [C99-based-standards] (PRId64): Likewise.
72076         [C99-based-standards] (PRIi64): Likewise.
72077         [C99-based-standards] (PRIo64): Likewise.
72078         [C99-based-standards] (PRIu64): Likewise.
72079         [C99-based-standards] (PRIx64): Likewise.
72080         [C99-based-standards] (PRIX64): Likewise.
72081         [C99-based-standards] (SCNd64): Likewise.
72082         [C99-based-standards] (SCNi64): Likewise.
72083         [C99-based-standards] (SCNo64): Likewise.
72084         [C99-based-standards] (SCNu64): Likewise.
72085         [C99-based-standards] (SCNx64): Likewise.
72086         [C99-based-standards] (PRIdLEAST64): Likewise.
72087         [C99-based-standards] (PRIiLEAST64): Likewise.
72088         [C99-based-standards] (PRIoLEAST64): Likewise.
72089         [C99-based-standards] (PRIuLEAST64): Likewise.
72090         [C99-based-standards] (PRIxLEAST64): Likewise.
72091         [C99-based-standards] (PRIXLEAST64): Likewise.
72092         [C99-based-standards] (SCNdLEAST64): Likewise.
72093         [C99-based-standards] (SCNiLEAST64): Likewise.
72094         [C99-based-standards] (SCNoLEAST64): Likewise.
72095         [C99-based-standards] (SCNuLEAST64): Likewise.
72096         [C99-based-standards] (SCNxLEAST64): Likewise.
72097         [C99-based-standards] (PRIdFAST64): Likewise.
72098         [C99-based-standards] (PRIiFAST64): Likewise.
72099         [C99-based-standards] (PRIoFAST64): Likewise.
72100         [C99-based-standards] (PRIuFAST64): Likewise.
72101         [C99-based-standards] (PRIxFAST64): Likewise.
72102         [C99-based-standards] (PRIXFAST64): Likewise.
72103         [C99-based-standards] (SCNdFAST64): Likewise.
72104         [C99-based-standards] (SCNiFAST64): Likewise.
72105         [C99-based-standards] (SCNoFAST64): Likewise.
72106         [C99-based-standards] (SCNuFAST64): Likewise.
72107         [C99-based-standards] (SCNxFAST64): Likewise.
72108         [C99-based-standards] (PRIdMAX): Likewise.
72109         [C99-based-standards] (PRIiMAX): Likewise.
72110         [C99-based-standards] (PRIoMAX): Likewise.
72111         [C99-based-standards] (PRIuMAX): Likewise.
72112         [C99-based-standards] (PRIxMAX): Likewise.
72113         [C99-based-standards] (PRIXMAX): Likewise.
72114         [C99-based-standards] (SCNdMAX): Likewise.
72115         [C99-based-standards] (SCNiMAX): Likewise.
72116         [C99-based-standards] (SCNoMAX): Likewise.
72117         [C99-based-standards] (SCNuMAX): Likewise.
72118         [C99-based-standards] (SCNxMAX): Likewise.
72119         [C99-based-standards] (PRIdPTR): Likewise.
72120         [C99-based-standards] (PRIiPTR): Likewise.
72121         [C99-based-standards] (PRIoPTR): Likewise.
72122         [C99-based-standards] (PRIuPTR): Likewise.
72123         [C99-based-standards] (PRIxPTR): Likewise.
72124         [C99-based-standards] (PRIXPTR): Likewise.
72125         [C99-based-standards] (SCNdPTR): Likewise.
72126         [C99-based-standards] (SCNiPTR): Likewise.
72127         [C99-based-standards] (SCNoPTR): Likewise.
72128         [C99-based-standards] (SCNuPTR): Likewise.
72129         [C99-based-standards] (SCNxPTR): Likewise.
72130         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72131         allow.
72132         * conform/data/stdint.h-data: Update comments to clarify
72133         requirements.
72134         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
72135         type.
72136         [C99-based standards] (INT8_MAX): Likewise.
72137         [C99-based standards] (INT16_MIN): Likewise.
72138         [C99-based standards] (INT16_MAX): Likewise.
72139         [C99-based standards] (INT32_MIN): Likewise.
72140         [C99-based standards] (INT32_MAX): Likewise.
72141         [C99-based standards] (INT64_MIN): Likewise.
72142         [C99-based standards] (INT64_MAX): Likewise.
72143         [C99-based standards] (UINT8_MAX): Likewise.
72144         [C99-based standards] (UINT16_MAX): Likewise.
72145         [C99-based standards] (UINT32_MAX): Likewise.
72146         [C99-based standards] (UINT64_MAX): Likewise.
72147         [C99-based standards] (INT_LEAST8_MIN): Likewise.
72148         [C99-based standards] (INT_LEAST8_MAX): Likewise.
72149         [C99-based standards] (INT_LEAST16_MIN): Likewise.
72150         [C99-based standards] (INT_LEAST16_MAX): Likewise.
72151         [C99-based standards] (INT_LEAST32_MIN): Likewise.
72152         [C99-based standards] (INT_LEAST32_MAX): Likewise.
72153         [C99-based standards] (INT_LEAST64_MIN): Likewise.
72154         [C99-based standards] (INT_LEAST64_MAX): Likewise.
72155         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72156         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72157         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72158         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72159         [C99-based standards] (INT_FAST8_MIN): Likewise.
72160         [C99-based standards] (INT_FAST8_MAX): Likewise.
72161         [C99-based standards] (INT_FAST16_MIN): Likewise.
72162         [C99-based standards] (INT_FAST16_MAX): Likewise.
72163         [C99-based standards] (INT_FAST32_MIN): Likewise.
72164         [C99-based standards] (INT_FAST32_MAX): Likewise.
72165         [C99-based standards] (INT_FAST64_MIN): Likewise.
72166         [C99-based standards] (INT_FAST64_MAX): Likewise.
72167         [C99-based standards] (UINT_FAST8_MAX): Likewise.
72168         [C99-based standards] (UINT_FAST16_MAX): Likewise.
72169         [C99-based standards] (UINT_FAST32_MAX): Likewise.
72170         [C99-based standards] (UINT_FAST64_MAX): Likewise.
72171         [C99-based standards] (INTPTR_MIN): Likewise.
72172         [C99-based standards] (INTPTR_MAX): Likewise.
72173         [C99-based standards] (UINTPTR_MAX): Likewise.
72174         [C99-based standards] (INTMAX_MIN): Likewise.
72175         [C99-based standards] (INTMAX_MAX): Likewise.
72176         [C99-based standards] (UINTMAX_MAX): Likewise.
72177         [C99-based standards] (PTRDIFF_MIN): Likewise.
72178         [C99-based standards] (PTRDIFF_MAX): Likewise.
72179         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72180         [C99-based standards] (SIZE_MAX): Likewise.
72181         [C99-based standards] (WCHAR_MAX): Likewise.
72182         [C99-based standards] (WINT_MAX): Likewise.
72183         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
72184         constraint on value.
72185         [C99-based standards] (WCHAR_MIN): Likewise.
72186         [C99-based standards] (WINT_MIN): Likewise.
72187         [C99-based standards] (*_t): Allow.
72188         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72189         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72190         Include math.h-data and complex.h-data.  Remove all expectations
72191         of math.h and complex.h contents.
72192         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72193         at end of line.
72194         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72195         (struct tm): Expect tag.
72196         [C99-based-standards] (wcstof): Expect function.
72197         [C99-based-standards] (wcstold): Likewise.
72198         [C99-based-standards] (wcstoll): Likewise.
72199         [C99-based-standards] (wcstoull): Likewise.
72200         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72201         macro-int-constant.  Specify type.
72202         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
72203         constraint on value.
72204         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72205         Specify type.
72206         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72207         Specify value.
72208         [ISO C standards]: Do not allow headers.
72209         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72210         wcs[abcdefghijklmnopqrstuvwxyz]*.
72211         [ISO C standards] (*_t): Do not allow.
72212         * conform/data/wctype.h-data [C99-based standards] (iswblank):
72213         Expect function.
72214         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72215         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72216         Specify type.
72217         [ISO C standards]: Do not allow headers.
72218         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72219         is[abcdefghijklmnopqrstuvwxyz]*.
72220         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72221         to[abcdefghijklmnopqrstuvwxyz]*.
72222         [ISO C standards] (*_t): Do not allow.
72223         * conform/data/stdalign.h-data: New file.
72224         * conform/data/stdbool.h-data: Likewise.
72225         * conform/data/stdnoreturn.h-data: Likewise.
72227 2012-11-07  Roland McGrath  <roland@hack.frob.com>
72229         [BZ #14815]
72230         * manual/filesys.texi (Directory Entries): Typo fix.
72231         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72233 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72235         * elf/elf.h (EM_AARCH64): New macro.
72236         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72237         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72238         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72239         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72240         (R_AARCH64_TLSDESC): Likewise.
72241         (NT_ARM_TLS): Likewise.
72242         (NT_ARM_HW_BREAK): Likewise.
72243         (NT_ARM_HW_WATCH): Likewise.
72245 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72247         [BZ #14811]
72248         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72249         (__ieee754_powl): Saturate nonzero exponents with absolute value
72250         below 0x1p-79 to +/- 0x1p-79.
72251         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72252         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72253         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72254         nonzero exponents with absolute value below 0x1p-32 to +/-
72255         0x1p-32.
72256         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72257         (__ieee754_powl): Saturate nonzero exponents with absolute value
72258         below 0x1p-79 to +/- 0x1p-79.
72259         * math/libm-test.inc (pow_test): Add more tests.
72261 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72263         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
72264         _dl_s390_cap_flags with kernel. Increase string length.
72265         (_dl_s390_platforms): Add z196 and zEC12.
72267 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72269         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
72270         Change XOPEN21K to XOPEN2K.
72272 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
72274         * string/memmove.c: Use memcpy when possible.
72276 2012-11-06  Andreas Jaeger  <aj@suse.de>
72278         * po/eo.po: Update from translation team.
72280 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
72282         [BZ #14793]
72283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72284         exponent and small x and y exponents, scale x or y up.  Increase
72285         by 2 the exponent used in scaling up.
72286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72288         * math/libm-test.inc (fma_test): Add more tests.
72289         (fma_test_towardzero): Likewise.
72290         (fma_test_downward): Likewise.
72291         (fma_test_upward): Likewise.
72293 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
72295         [BZ #14805]
72296         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72297         fenv_t *.
72299         [BZ #14801]
72300         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72301         namespace for names of struct fields.
72302         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72303         fenv_t fields.
72304         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72305         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72307 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72309         [BZ #3665]
72310         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
72312 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72314         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
72315         PTR_DEMANGLE.
72317         [BZ #5246]
72318         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
72319         PTR_DEMANGLE.
72321 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
72323         [BZ #14797]
72324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72325         definitely overflow as x * y not x * y + z.
72326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72328         * math/libm-test.inc (fma_test): Add more tests.
72329         (fma_test_towardzero): Likewise.
72330         (fma_test_downward): Likewise.
72331         (fma_test_upward): Likewise.
72333 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72335         [BZ #157]
72337         * include/stub-tag.h: Remove file.
72338         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72339         '#include' of it.
72340         * manual/maint.texi (Porting): Don't reference it.
72341         * Makerules ($(objpfx)stubs): Likewise.
72342         * dirent/closedir.c: Don't include <stub-tag.h>.
72343         * dirent/dirfd.c: Likewise.
72344         * dirent/fdopendir.c: Likewise.
72345         * dirent/getdents.c: Likewise.
72346         * dirent/getdents64.c: Likewise.
72347         * dirent/opendir.c: Likewise.
72348         * dirent/readdir.c: Likewise.
72349         * dirent/readdir64.c: Likewise.
72350         * dirent/readdir64_r.c: Likewise.
72351         * dirent/readdir_r.c: Likewise.
72352         * dirent/rewinddir.c: Likewise.
72353         * dirent/seekdir.c: Likewise.
72354         * dirent/telldir.c: Likewise.
72355         * gmon/profil.c: Likewise.
72356         * grp/setgroups.c: Likewise.
72357         * inet/if_index.c: Likewise.
72358         * io/access.c: Likewise.
72359         * io/chdir.c: Likewise.
72360         * io/chmod.c: Likewise.
72361         * io/chown.c: Likewise.
72362         * io/close.c: Likewise.
72363         * io/dup.c: Likewise.
72364         * io/dup2.c: Likewise.
72365         * io/dup3.c: Likewise.
72366         * io/euidaccess.c: Likewise.
72367         * io/faccessat.c: Likewise.
72368         * io/fchdir.c: Likewise.
72369         * io/fchmod.c: Likewise.
72370         * io/fchmodat.c: Likewise.
72371         * io/fchown.c: Likewise.
72372         * io/fchownat.c: Likewise.
72373         * io/fcntl.c: Likewise.
72374         * io/flock.c: Likewise.
72375         * io/fstatfs.c: Likewise.
72376         * io/fstatfs64.c: Likewise.
72377         * io/fstatvfs.c: Likewise.
72378         * io/fstatvfs64.c: Likewise.
72379         * io/futimens.c: Likewise.
72380         * io/fxstat.c: Likewise.
72381         * io/fxstat64.c: Likewise.
72382         * io/fxstatat.c: Likewise.
72383         * io/fxstatat64.c: Likewise.
72384         * io/getcwd.c: Likewise.
72385         * io/isatty.c: Likewise.
72386         * io/lchmod.c: Likewise.
72387         * io/lchown.c: Likewise.
72388         * io/link.c: Likewise.
72389         * io/linkat.c: Likewise.
72390         * io/lseek.c: Likewise.
72391         * io/lseek64.c: Likewise.
72392         * io/lxstat64.c: Likewise.
72393         * io/mkdir.c: Likewise.
72394         * io/mkdirat.c: Likewise.
72395         * io/mkfifo.c: Likewise.
72396         * io/mkfifoat.c: Likewise.
72397         * io/open.c: Likewise.
72398         * io/open64.c: Likewise.
72399         * io/openat.c: Likewise.
72400         * io/openat64.c: Likewise.
72401         * io/pipe.c: Likewise.
72402         * io/pipe2.c: Likewise.
72403         * io/poll.c: Likewise.
72404         * io/posix_fadvise.c: Likewise.
72405         * io/posix_fadvise64.c: Likewise.
72406         * io/posix_fallocate.c: Likewise.
72407         * io/posix_fallocate64.c: Likewise.
72408         * io/read.c: Likewise.
72409         * io/readlink.c: Likewise.
72410         * io/readlinkat.c: Likewise.
72411         * io/rmdir.c: Likewise.
72412         * io/sendfile.c: Likewise.
72413         * io/sendfile64.c: Likewise.
72414         * io/statfs.c: Likewise.
72415         * io/statfs64.c: Likewise.
72416         * io/statvfs.c: Likewise.
72417         * io/statvfs64.c: Likewise.
72418         * io/symlink.c: Likewise.
72419         * io/symlinkat.c: Likewise.
72420         * io/ttyname.c: Likewise.
72421         * io/ttyname_r.c: Likewise.
72422         * io/umask.c: Likewise.
72423         * io/unlink.c: Likewise.
72424         * io/unlinkat.c: Likewise.
72425         * io/utime.c: Likewise.
72426         * io/utimensat.c: Likewise.
72427         * io/write.c: Likewise.
72428         * io/xmknod.c: Likewise.
72429         * io/xmknodat.c: Likewise.
72430         * io/xstat.c: Likewise.
72431         * io/xstat64.c: Likewise.
72432         * login/getpt.c: Likewise.
72433         * login/grantpt.c: Likewise.
72434         * login/unlockpt.c: Likewise.
72435         * math/e_acoshl.c: Likewise.
72436         * math/e_acosl.c: Likewise.
72437         * math/e_asinl.c: Likewise.
72438         * math/e_atan2l.c: Likewise.
72439         * math/e_atanhl.c: Likewise.
72440         * math/e_coshl.c: Likewise.
72441         * math/e_expl.c: Likewise.
72442         * math/e_fmodl.c: Likewise.
72443         * math/e_gammal_r.c: Likewise.
72444         * math/e_hypotl.c: Likewise.
72445         * math/e_j0l.c: Likewise.
72446         * math/e_j1l.c: Likewise.
72447         * math/e_jnl.c: Likewise.
72448         * math/e_lgammal_r.c: Likewise.
72449         * math/e_log10l.c: Likewise.
72450         * math/e_log2l.c: Likewise.
72451         * math/e_logl.c: Likewise.
72452         * math/e_powl.c: Likewise.
72453         * math/e_rem_pio2l.c: Likewise.
72454         * math/e_sinhl.c: Likewise.
72455         * math/e_sqrtl.c: Likewise.
72456         * math/fclrexcpt.c: Likewise.
72457         * math/fedisblxcpt.c: Likewise.
72458         * math/feenablxcpt.c: Likewise.
72459         * math/fegetenv.c: Likewise.
72460         * math/fegetexcept.c: Likewise.
72461         * math/fegetround.c: Likewise.
72462         * math/feholdexcpt.c: Likewise.
72463         * math/fesetenv.c: Likewise.
72464         * math/fesetround.c: Likewise.
72465         * math/feupdateenv.c: Likewise.
72466         * math/fgetexcptflg.c: Likewise.
72467         * math/fraiseexcpt.c: Likewise.
72468         * math/fsetexcptflg.c: Likewise.
72469         * math/ftestexcept.c: Likewise.
72470         * math/k_cosl.c: Likewise.
72471         * math/k_rem_pio2l.c: Likewise.
72472         * math/k_sinl.c: Likewise.
72473         * math/k_tanl.c: Likewise.
72474         * math/s_asinhl.c: Likewise.
72475         * math/s_atanl.c: Likewise.
72476         * math/s_cbrtl.c: Likewise.
72477         * math/s_erfl.c: Likewise.
72478         * math/s_expm1l.c: Likewise.
72479         * math/s_log1pl.c: Likewise.
72480         * math/s_tanhl.c: Likewise.
72481         * misc/acct.c: Likewise.
72482         * misc/brk.c: Likewise.
72483         * misc/chflags.c: Likewise.
72484         * misc/chroot.c: Likewise.
72485         * misc/fchflags.c: Likewise.
72486         * misc/fgetxattr.c: Likewise.
72487         * misc/flistxattr.c: Likewise.
72488         * misc/fremovexattr.c: Likewise.
72489         * misc/fsetxattr.c: Likewise.
72490         * misc/fsync.c: Likewise.
72491         * misc/ftruncate.c: Likewise.
72492         * misc/futimes.c: Likewise.
72493         * misc/futimesat.c: Likewise.
72494         * misc/getdomain.c: Likewise.
72495         * misc/getdtsz.c: Likewise.
72496         * misc/gethostid.c: Likewise.
72497         * misc/gethostname.c: Likewise.
72498         * misc/getloadavg.c: Likewise.
72499         * misc/getpagesize.c: Likewise.
72500         * misc/getsysstats.c: Likewise.
72501         * misc/getxattr.c: Likewise.
72502         * misc/gtty.c: Likewise.
72503         * misc/ioctl.c: Likewise.
72504         * misc/lgetxattr.c: Likewise.
72505         * misc/listxattr.c: Likewise.
72506         * misc/llistxattr.c: Likewise.
72507         * misc/lremovexattr.c: Likewise.
72508         * misc/lsetxattr.c: Likewise.
72509         * misc/lutimes.c: Likewise.
72510         * misc/madvise.c: Likewise.
72511         * misc/mincore.c: Likewise.
72512         * misc/mlock.c: Likewise.
72513         * misc/mlockall.c: Likewise.
72514         * misc/mmap.c: Likewise.
72515         * misc/mprotect.c: Likewise.
72516         * misc/msync.c: Likewise.
72517         * misc/munlock.c: Likewise.
72518         * misc/munlockall.c: Likewise.
72519         * misc/munmap.c: Likewise.
72520         * misc/preadv.c: Likewise.
72521         * misc/preadv64.c: Likewise.
72522         * misc/ptrace.c: Likewise.
72523         * misc/pwritev.c: Likewise.
72524         * misc/pwritev64.c: Likewise.
72525         * misc/readv.c: Likewise.
72526         * misc/reboot.c: Likewise.
72527         * misc/remap_file_pages.c: Likewise.
72528         * misc/removexattr.c: Likewise.
72529         * misc/revoke.c: Likewise.
72530         * misc/select.c: Likewise.
72531         * misc/setdomain.c: Likewise.
72532         * misc/setegid.c: Likewise.
72533         * misc/seteuid.c: Likewise.
72534         * misc/sethostid.c: Likewise.
72535         * misc/sethostname.c: Likewise.
72536         * misc/setregid.c: Likewise.
72537         * misc/setreuid.c: Likewise.
72538         * misc/setxattr.c: Likewise.
72539         * misc/sstk.c: Likewise.
72540         * misc/stty.c: Likewise.
72541         * misc/swapoff.c: Likewise.
72542         * misc/swapon.c: Likewise.
72543         * misc/sync.c: Likewise.
72544         * misc/syncfs.c: Likewise.
72545         * misc/syscall.c: Likewise.
72546         * misc/truncate.c: Likewise.
72547         * misc/ualarm.c: Likewise.
72548         * misc/usleep.c: Likewise.
72549         * misc/ustat.c: Likewise.
72550         * misc/utimes.c: Likewise.
72551         * misc/vhangup.c: Likewise.
72552         * misc/writev.c: Likewise.
72553         * posix/_exit.c: Likewise.
72554         * posix/alarm.c: Likewise.
72555         * posix/execve.c: Likewise.
72556         * posix/fexecve.c: Likewise.
72557         * posix/fork.c: Likewise.
72558         * posix/fpathconf.c: Likewise.
72559         * posix/getaddrinfo.c: Likewise.
72560         * posix/getegid.c: Likewise.
72561         * posix/geteuid.c: Likewise.
72562         * posix/getgid.c: Likewise.
72563         * posix/getgroups.c: Likewise.
72564         * posix/getlogin.c: Likewise.
72565         * posix/getlogin_r.c: Likewise.
72566         * posix/getpgid.c: Likewise.
72567         * posix/getpid.c: Likewise.
72568         * posix/getppid.c: Likewise.
72569         * posix/getresgid.c: Likewise.
72570         * posix/getresuid.c: Likewise.
72571         * posix/getsid.c: Likewise.
72572         * posix/getuid.c: Likewise.
72573         * posix/glob64.c: Likewise.
72574         * posix/nanosleep.c: Likewise.
72575         * posix/pathconf.c: Likewise.
72576         * posix/pause.c: Likewise.
72577         * posix/posix_madvise.c: Likewise.
72578         * posix/pread.c: Likewise.
72579         * posix/pread64.c: Likewise.
72580         * posix/pwrite.c: Likewise.
72581         * posix/pwrite64.c: Likewise.
72582         * posix/sched_getaffinity.c: Likewise.
72583         * posix/sched_getp.c: Likewise.
72584         * posix/sched_gets.c: Likewise.
72585         * posix/sched_primax.c: Likewise.
72586         * posix/sched_primin.c: Likewise.
72587         * posix/sched_rr_gi.c: Likewise.
72588         * posix/sched_setaffinity.c: Likewise.
72589         * posix/sched_setp.c: Likewise.
72590         * posix/sched_sets.c: Likewise.
72591         * posix/sched_yield.c: Likewise.
72592         * posix/setgid.c: Likewise.
72593         * posix/setlogin.c: Likewise.
72594         * posix/setpgid.c: Likewise.
72595         * posix/setresgid.c: Likewise.
72596         * posix/setresuid.c: Likewise.
72597         * posix/setsid.c: Likewise.
72598         * posix/setuid.c: Likewise.
72599         * posix/sleep.c: Likewise.
72600         * posix/spawni.c: Likewise.
72601         * posix/sysconf.c: Likewise.
72602         * posix/times.c: Likewise.
72603         * posix/wait.c: Likewise.
72604         * posix/wait3.c: Likewise.
72605         * posix/wait4.c: Likewise.
72606         * posix/waitpid.c: Likewise.
72607         * resolv/gai_sigqueue.c: Likewise.
72608         * resource/getpriority.c: Likewise.
72609         * resource/getrlimit.c: Likewise.
72610         * resource/getrusage.c: Likewise.
72611         * resource/nice.c: Likewise.
72612         * resource/setpriority.c: Likewise.
72613         * resource/setrlimit.c: Likewise.
72614         * resource/ulimit.c: Likewise.
72615         * rt/aio_cancel.c: Likewise.
72616         * rt/aio_fsync.c: Likewise.
72617         * rt/aio_read.c: Likewise.
72618         * rt/aio_sigqueue.c: Likewise.
72619         * rt/aio_suspend.c: Likewise.
72620         * rt/aio_write.c: Likewise.
72621         * rt/clock_getres.c: Likewise.
72622         * rt/clock_gettime.c: Likewise.
72623         * rt/clock_nanosleep.c: Likewise.
72624         * rt/clock_settime.c: Likewise.
72625         * rt/lio_listio.c: Likewise.
72626         * rt/mq_close.c: Likewise.
72627         * rt/mq_getattr.c: Likewise.
72628         * rt/mq_notify.c: Likewise.
72629         * rt/mq_open.c: Likewise.
72630         * rt/mq_receive.c: Likewise.
72631         * rt/mq_send.c: Likewise.
72632         * rt/mq_setattr.c: Likewise.
72633         * rt/mq_timedreceive.c: Likewise.
72634         * rt/mq_timedsend.c: Likewise.
72635         * rt/mq_unlink.c: Likewise.
72636         * rt/shm_open.c: Likewise.
72637         * rt/shm_unlink.c: Likewise.
72638         * rt/timer_create.c: Likewise.
72639         * rt/timer_delete.c: Likewise.
72640         * rt/timer_getoverr.c: Likewise.
72641         * rt/timer_gettime.c: Likewise.
72642         * rt/timer_settime.c: Likewise.
72643         * setjmp/__longjmp.c: Likewise.
72644         * setjmp/setjmp.c: Likewise.
72645         * signal/kill.c: Likewise.
72646         * signal/killpg.c: Likewise.
72647         * signal/raise.c: Likewise.
72648         * signal/sigaction.c: Likewise.
72649         * signal/sigaltstack.c: Likewise.
72650         * signal/sigblock.c: Likewise.
72651         * signal/sigignore.c: Likewise.
72652         * signal/sigintr.c: Likewise.
72653         * signal/signal.c: Likewise.
72654         * signal/sigpause.c: Likewise.
72655         * signal/sigpending.c: Likewise.
72656         * signal/sigqueue.c: Likewise.
72657         * signal/sigreturn.c: Likewise.
72658         * signal/sigset.c: Likewise.
72659         * signal/sigsetmask.c: Likewise.
72660         * signal/sigstack.c: Likewise.
72661         * signal/sigsuspend.c: Likewise.
72662         * signal/sigtimedwait.c: Likewise.
72663         * signal/sigvec.c: Likewise.
72664         * signal/sigwait.c: Likewise.
72665         * signal/sigwaitinfo.c: Likewise.
72666         * signal/sysv_signal.c: Likewise.
72667         * socket/accept.c: Likewise.
72668         * socket/accept4.c: Likewise.
72669         * socket/bind.c: Likewise.
72670         * socket/connect.c: Likewise.
72671         * socket/getpeername.c: Likewise.
72672         * socket/getsockname.c: Likewise.
72673         * socket/getsockopt.c: Likewise.
72674         * socket/isfdtype.c: Likewise.
72675         * socket/listen.c: Likewise.
72676         * socket/recv.c: Likewise.
72677         * socket/recvfrom.c: Likewise.
72678         * socket/recvmsg.c: Likewise.
72679         * socket/send.c: Likewise.
72680         * socket/sendmsg.c: Likewise.
72681         * socket/sendto.c: Likewise.
72682         * socket/setsockopt.c: Likewise.
72683         * socket/shutdown.c: Likewise.
72684         * socket/sockatmark.c: Likewise.
72685         * socket/socket.c: Likewise.
72686         * socket/socketpair.c: Likewise.
72687         * stdio-common/ctermid.c: Likewise.
72688         * stdio-common/cuserid.c: Likewise.
72689         * stdio-common/remove.c: Likewise.
72690         * stdio-common/rename.c: Likewise.
72691         * stdio-common/renameat.c: Likewise.
72692         * stdio-common/tempname.c: Likewise.
72693         * stdlib/getcontext.c: Likewise.
72694         * stdlib/makecontext.c: Likewise.
72695         * stdlib/setcontext.c: Likewise.
72696         * stdlib/swapcontext.c: Likewise.
72697         * stdlib/system.c: Likewise.
72698         * streams/fattach.c: Likewise.
72699         * streams/fdetach.c: Likewise.
72700         * streams/getmsg.c: Likewise.
72701         * streams/getpmsg.c: Likewise.
72702         * streams/putmsg.c: Likewise.
72703         * streams/putpmsg.c: Likewise.
72704         * sysdeps/unix/bsd/getpt.c: Likewise.
72705         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72706         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72707         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72709         Likewise.
72710         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72711         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72712         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72713         * sysvipc/msgctl.c: Likewise.
72714         * sysvipc/msgget.c: Likewise.
72715         * sysvipc/msgrcv.c: Likewise.
72716         * sysvipc/msgsnd.c: Likewise.
72717         * sysvipc/semctl.c: Likewise.
72718         * sysvipc/semget.c: Likewise.
72719         * sysvipc/semop.c: Likewise.
72720         * sysvipc/semtimedop.c: Likewise.
72721         * sysvipc/shmat.c: Likewise.
72722         * sysvipc/shmctl.c: Likewise.
72723         * sysvipc/shmdt.c: Likewise.
72724         * sysvipc/shmget.c: Likewise.
72725         * termios/tcdrain.c: Likewise.
72726         * termios/tcflow.c: Likewise.
72727         * termios/tcflush.c: Likewise.
72728         * termios/tcgetattr.c: Likewise.
72729         * termios/tcgetpgrp.c: Likewise.
72730         * termios/tcsendbrk.c: Likewise.
72731         * termios/tcsetattr.c: Likewise.
72732         * termios/tcsetpgrp.c: Likewise.
72733         * time/adjtime.c: Likewise.
72734         * time/clock.c: Likewise.
72735         * time/getitimer.c: Likewise.
72736         * time/gettimeofday.c: Likewise.
72737         * time/setitimer.c: Likewise.
72738         * time/settimeofday.c: Likewise.
72739         * time/stime.c: Likewise.
72740         * time/time.c: Likewise.
72742 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
72744         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72745         /usr/old/bin.
72747         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72748         instead of spaces.
72749         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72751 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
72753         [BZ #14796]
72754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72755         FE_TONEAREST before applying Dekker multiplication and Knuth
72756         addition.  Clear inexact exceptions and check for exact zero
72757         results afterwards.
72758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72761         * math/libm-test.inc (fma_test): Add more tests.
72762         (fma_test_towardzero): Likewise.
72763         (fma_test_downward): Likewise.
72764         (fma_test_upward): Likewise.
72765         * sysdeps/generic/math_private.h (default_libc_fesetround): New
72766         function.
72767         (libc_fesetround): New macro.
72768         (libc_fesetroundf): Likewise.
72769         (libc_fesetroundl): Likewise.
72770         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72771         function.
72772         (libc_fesetround_387): Likewise.
72773         (libc_fesetroundf): New macro.
72774         (libc_fesetround): Likewise.
72775         (libc_fesetroundl): Likewise.
72776         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72777         function.
72778         (libc_fesetroundf): New macro.
72779         (libc_fesetround): Likewise.
72780         (libc_fesetroundl): Likewise.
72781         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72782         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72783         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72784         libm_hidden_ver.
72785         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72786         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72787         libm_hidden_def.
72788         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72789         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72790         libm_hidden_ver.
72791         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72792         libm_hidden_def.
72794         [BZ #3439]
72795         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72796         integer constant usable in #if and use that to give value to enum
72797         constant.
72798         (FE_DIVBYZERO): Likewise.
72799         (FE_UNDERFLOW): Likewise.
72800         (FE_OVERFLOW): Likewise.
72801         (FE_INVALID): Likewise.
72802         (FE_INVALID_SNAN): Likewise.
72803         (FE_INVALID_ISI): Likewise.
72804         (FE_INVALID_IDI): Likewise.
72805         (FE_INVALID_ZDZ): Likewise.
72806         (FE_INVALID_IMZ): Likewise.
72807         (FE_INVALID_COMPARE): Likewise.
72808         (FE_INVALID_SOFTWARE): Likewise.
72809         (FE_INVALID_SQRT): Likewise.
72810         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72811         (FE_TONEAREST): Likewise.
72812         (FE_TOWARDZERO): Likewise.
72813         (FE_UPWARD): Likewise.
72814         (FE_DOWNWARD): Likewise.
72815         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72816         (FE_DIVBYZERO): Likewise.
72817         (FE_OVERFLOW): Likewise.
72818         (FE_UNDERFLOW): Likewise.
72819         (FE_INEXACT): Likewise.
72820         (FE_TONEAREST): Likewise.
72821         (FE_DOWNWARD): Likewise.
72822         (FE_UPWARD): Likewise.
72823         (FE_TOWARDZERO): Likewise.
72824         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72825         (FE_UNDERFLOW): Likewise.
72826         (FE_OVERFLOW): Likewise.
72827         (FE_DIVBYZERO): Likewise.
72828         (FE_INVALID): Likewise.
72829         (FE_TONEAREST): Likewise.
72830         (FE_TOWARDZERO): Likewise.
72831         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72832         (FE_OVERFLOW): Likewise.
72833         (FE_UNDERFLOW): Likewise.
72834         (FE_DIVBYZERO): Likewise.
72835         (FE_INEXACT): Likewise.
72836         (FE_TONEAREST): Likewise.
72837         (FE_TOWARDZERO): Likewise.
72838         (FE_UPWARD): Likewise.
72839         (FE_DOWNWARD): Likewise.
72840         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72841         (FE_DIVBYZERO): Likewise.
72842         (FE_OVERFLOW): Likewise.
72843         (FE_UNDERFLOW): Likewise.
72844         (FE_INEXACT): Likewise.
72845         (FE_TONEAREST): Likewise.
72846         (FE_DOWNWARD): Likewise.
72847         (FE_UPWARD): Likewise.
72848         (FE_TOWARDZERO): Likewise.
72850 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72852         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72854 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72856         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72857         commands.  Quote $PWD.
72858         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72859         -x" by "export".
72860         (remove_newlines): Remove.
72862 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72864         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72865         * stdlib/stdlib.h (atof): Moved to ...
72866         * include/bits/stdlib-float.h: Here.  New file.
72867         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72868         * stdlib/bits/stdlib-float.h: New file.
72869         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72870         -mno-sse -mno-mmx.
72871         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72872         <xmmintrin.h>.
72874 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72876         * conform/conformtest.pl (@headers): Add fenv.h.
72877         * conform/data/fenv.h-data: New file.
72878         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72879         include of <math/fenv.h>.
72881         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72882         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72883         && !UNIX98].  Enables tests for XOPEN2K8.
72884         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72885         POSIX2008]: Likewise.
72887         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72888         (struct rusage): Do not expect type or its members.
72890         [BZ #3439]
72891         * math/math.h (FP_NAN): Define macro to integer constant usable in
72892         #if and use that to give value to enum constant.
72893         (FP_INFINITE): Likewise.
72894         (FP_ZERO): Likewise.
72895         (FP_SUBNORMAL): Likewise.
72896         (FP_NORMAL): Likewise.
72898 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72900         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72901         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72902         arguments.
72904 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72906         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72907         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72908         autoconf-time if not.
72909         * configure.in: Remove AC_PREREQ.
72911 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72913         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72914         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72915         of the internal implementation.
72917 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72919         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72920         except include of <misc/sys/syslog.h>.
72922 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72925         function returns with a NULL context exit with zero.
72927 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72929         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72931 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72933         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72934         (run_program_cmd): This.
72935         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72936         (tst_langinfo): New variable.  Use it.
72938 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72940         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72941         floating point opcodes.
72943 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72945         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72946         variable.
72948         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72950         * sysdeps/mach/hurd/powerpc: Remove directory.
72951         * sysdeps/mach/powerpc: Likewise.
72953 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72955         * scripts/check-local-headers.sh: Ignore c++ headers.
72957 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72959         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72960         __libc_cleanup_region_start argument.
72962 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72964         [BZ #14784]
72965         [BZ #14785]
72966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72967         x * y using scaling, not as x * y + z.
72968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72970         * math/libm-test.inc (fma_test): Add more tests.
72971         (fma_test_towardzero): Likewise.
72972         (fma_test_downward): Likewise.
72973         (fma_test_upward): Likewise.
72975 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72977         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72979 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72981         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72982         New variable.
72984 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72986         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72988 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72991         Fix sort order.
72992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72993         Likewise.
72995 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72998         Fix the order of the list for glibc 2.17.
72999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73000         Likewise.
73002 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73006 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73008         [BZ #14610]
73009         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73010         for low part of x being zero before using __atanl (y).
73011         * math/libm-test.inc (atan2_test): Add another test.
73013         * manual/install.texi (Configuring and compiling): Document
73014         general use of test-wrapper and test-wrapper-env.
73015         * INSTALL: Regenerated.
73017         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73018         (__fma): Do not extract and scale down low bits on after-rounding
73019         systems when result rounded to normal precision would have normal
73020         exponent.
73021         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73022         (__fmal): Do not extract and scale down low bits on after-rounding
73023         systems when result rounded to normal precision would have normal
73024         exponent.
73025         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73026         (__fmal): Do not extract and scale down low bits on after-rounding
73027         systems when result rounded to normal precision would have normal
73028         exponent.
73029         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73030         macro.
73031         (fma_test): Add more tests.
73032         (fma_test_towardzero): Likewise.
73033         (fma_test_downward): Likewise.
73034         (fma_test_upward): Likewise.
73036 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73038         * sysdeps/i386/tininess.h: Renamed to ...
73039         * sysdeps/x86/tininess.h: This.
73040         * sysdeps/x86_64/tininess.h: Removed.
73042 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73044         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73045         input.  Use $(build-program-cmd).
73046         ($(objpfx)tst-array1-static.out): Likewise.
73047         ($(objpfx)tst-array2.out): Likewise.
73048         ($(objpfx)tst-array3.out): Likewise.
73049         ($(objpfx)tst-array4.out): Likewise.
73050         ($(objpfx)tst-array5.out): Likewise.
73051         ($(objpfx)tst-array5-static.out): Likewise.
73053 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
73055         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73056         if defined.
73058         * nss/nsswitch.h (nss_interface_function): Provide new
73059         macro for use with NSS functions.
73060         * grp/initgroups.c: Use new macro.
73061         * nss/getXXbyYY.c: Likewise.
73062         * nss/getXXbyYY_r.c: Likewise.
73063         * nss/getXXent.c: Likewise.
73064         * nss/getXXent_r.c: Likewise.
73065         * sysdeps/posix/getaddrinfo.c: Likewise.
73067 2012-10-30  Andreas Jaeger  <aj@suse.de>
73069         * po/ru.po: Update Russion translation from translation project.
73071 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73073         [BZ #14152]
73074         [BZ #14783]
73075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73076         result and shift together with sticky bit instead of replicating
73077         round-to-nearest rounding.
73078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73080         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
73081         missing underflow exceptions.
73082         (fma_test_towardzero): Add more tests.
73083         (fma_test_downward): Likewise.
73084         (fma_test_upward): Likewise.
73086         [BZ #14047]
73087         * sysdeps/generic/tininess.h: New file.
73088         * sysdeps/i386/tininess.h: Likewise.
73089         * sysdeps/sh/tininess.h: Likewise.
73090         * sysdeps/x86_64/tininess.h: Likewise.
73091         * stdlib/tst-strtod-underflow.c: Likewise.
73092         * stdlib/tst-tininess.c: Likewise.
73093         * stdlib/strtod_l.c: Include <tininess.h>.
73094         (round_and_return): Do not set errno for exact underflow cases.
73095         Force an underflow exception when setting errno for underflow.
73096         Determine underflow based on rounding to normal precision if
73097         TININESS_AFTER_ROUNDING.
73098         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73099         ERANGE for exact underflow cases.
73100         * stdlib/Makefile (tests): Add tst-tininess and
73101         tst-strtod-underflow.
73102         ($(objpfx)tst-tininess): Use $(link-libm).
73103         ($(objpfx)tst-strtod-underflow): Likewise.
73105 2012-10-30  Andreas Jaeger  <aj@suse.de>
73107         [BZ #14767]
73108         * elf/Makefile (tests): Remove conditional for have-initfini-array
73109         since this is now always required and the variable does not exist
73110         anymore.
73111         (tests-static): Likewise.
73112         (modules-names): Likewise.
73114         * po/eo.po: Add Esperanto translation from translation project.
73116         * elf/tst-array1.c (fini_array): Make writeable so that it can be
73117         merged with constructor/destructor.
73118         (init_array): Likewise.
73119         * elf/tst-array2dep.c (fini_array): Likewise.
73120         (init_array): Likewise.
73122 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
73124         * manual/message.texi: Delete @cartouche tags.
73126 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
73128         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73129         EOPNOTSUPP.
73130         * sysdeps/mach/hurd/fsync.c: Likewise.
73132         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73133         [_POSIX_REALTIME_SIGNALS]: Change condition to
73134         [_POSIX_REALTIME_SIGNALS > 0].
73136 2012-10-27  Andreas Jaeger  <aj@suse.de>
73138         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73139         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73141         [__WORDSIZE != 64]: Likewise.
73143 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
73145         *  iconvdata/tst-table.sh: Remove ${SHELL}.
73146         *  iconvdata/tst-tables.sh: Likewise.
73148 2012-10-25  David S. Miller  <davem@davemloft.net>
73150         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73151         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73152         of strtoull.
73154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73155         ifunc-impl-list.c
73156         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73157         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73158         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73159         file.
73161 2012-10-25  Roland McGrath  <roland@hack.frob.com>
73163         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73164         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73165         __getdirentries.
73167 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73168             Jim Blandy  <jimb@codesourcery.com>
73170         * scripts/cross-test-ssh.sh: New file.
73171         * manual/install.texi (Configuring and compiling): Document use of
73172         cross-test-ssh.sh.
73173         * INSTALL: Regenerated.
73175 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
73177         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73178         EOPNOTSUPP.
73180 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73182         * Makeconfig (run-program-prefix): Fix comment.
73184 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73185             Jim Blandy  <jimb@codesourcery.com>
73187         * Makeconfig (test-wrapper): New variable,
73188         (test-wrapper-env): Likewise.
73189         [$(cross-compiling) = yes && $(test-wrapper) != ""]
73190         (run-built-tests): Define to yes.
73191         (run-program-prefix): Use $(test-wrapper).
73192         (built-program-cmd): Likewise.
73193         * Rules (make-test-out): Use $(test-wrapper-env) and
73194         $(host-built-program-cmd).
73195         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73196         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73197         tst-pathopt.sh.
73198         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73199         $(test-wrapper-env) to tst-rtld-load-self.sh.
73200         ($(objpfx)order2.out): Use $(test-wrapper).
73201         ($(objpfx)tst-initorder.out): Likewise.
73202         ($(objpfx)tst-initorder2.out): Likewise.
73203         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73204         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73205         (test_wrapper_env): New variable.  Use it to run ld.so.
73206         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73207         Use it to run ld.so.
73208         (test_wrapper_env): Likewise.
73209         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73210         $(test-wrapper) to run-iconv-test.sh.
73211         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73212         (ICONV): Use $test_wrapper.
73213         * posix/Makefile ($(objpfx)globtest.out): Pass
73214         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73215         globtest.sh, not $(run-program-prefix).
73216         * posix/globtest.sh (run_via_rtld_prefix): New variable.
73217         (test_wrapper): Likewise.
73218         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
73219         set together with run_via_rtld_prefix.
73220         (run_program_prefix): Define in terms of test_wrapper and
73221         run_via_rtld_prefix.
73223 2012-10-24  Roland McGrath  <roland@hack.frob.com>
73225         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73226         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73227         Targets removed.
73229         [BZ #14743]
73230         * include/time.h: Remove librt_hidden_proto (clock_gettime).
73231         Declare __clock_getres, __clock_gettime, __clock_settime,
73232         __clock_nanosleep, and __clock_getcpuclockid.
73233         * rt/clock_gettime.c: Define __clock_gettime as an alias.
73234         Remove librt_hidden_def (clock_gettime).
73235         * sysdeps/unix/clock_gettime.c: Likewise.
73236         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73237         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73238         * rt/clock_getres.c: Define __clock_getres as an alias.
73239         * sysdeps/posix/clock_getres.c: Likewise.
73240         * rt/clock_settime.c: Define __clock_settime as an alias.
73241         * sysdeps/unix/clock_settime.c: Likewise.
73242         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73243         * sysdeps/unix/clock_nanosleep.c: Likewise.
73244         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73245         * rt/clock-compat.c: New file.
73246         * rt/Makefile (librt-routines): Add clock-compat and move
73247         $(clock-routines) to ...
73248         (routines): ... here, new variable.
73249         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73250         Don't add get_clockfreq here.
73251         * rt/Versions (libc: GLIBC_2.17): New version set.
73252         Add clock_* symbols here.
73253         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
73254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73255         (GLIBC_2.17): Add clock_* symbols.
73256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73260         Likewise.
73261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73262         Likewise.
73263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73267         * NEWS: Mention the move.
73269         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
73270         Use __open, __read, __close rather than their public counterparts.
73271         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73272         (__get_clockfreq_via_cpuinfo): Likewise.
73273         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73274         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73276         * config.h.in (HAVE_IFUNC): New #undef.
73277         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73278         was successful.
73279         * configure: Regenerated.
73281 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73283         * configure.in: Move READELF check to start of file.
73284         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73285         libc_cv_asm_gnu_indirect_function in the process.
73286         * configure: Regenerated.
73288 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73290         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73291         send the output to /dev/null.
73292         (libc_cv_cc_with_libunwind): Likewise.
73293         (libc_cv_as_noexecstack): Likewise.
73294         * configure: Regenerate.
73296 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73298         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73300         * posix/globtest.sh (TMPDIR): Do not set.
73301         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73302         (testout): Likewise.
73304 2012-10-24  Andreas Jaeger  <aj@suse.de>
73306         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73307         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73308         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73309         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
73310         posix_fadvise64, posix_fallocate64.
73312         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
73313         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
73314         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
73315         Likewise.
73316         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
73317         Likewise.
73318         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73321         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73322         <bits/fcntl-linux.h>.
73323         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73326         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73327         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73328         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73329         [__WORDSIZE != 64]: Likewise.
73331 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73333         * Makeconfig (run-built-tests): New variable.
73334         * Rules [$(cross-compiling) = yes]: Change condition to
73335         [$(run-built-tests) = no].
73336         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73337         to [$(run-built-tests) = yes].
73338         * elf/Makefile [$(cross-compiling) = no]: Likewise.
73339         * grp/Makefile [$(cross-compiling) = no]: Likewise.
73340         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73341         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73342         * intl/Makefile [$(cross-compiling) = no]: Likewise.
73343         * io/Makefile [$(cross-compiling) = no]: Likewise.
73344         * libio/Makefile [$(cross-compiling) = no]: Likewise.
73345         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73346         * misc/Makefile [$(cross-compiling) = no]: Likewise.
73347         * posix/Makefile [$(cross-compiling) = no]: Likewise.
73348         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73349         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73350         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73351         * string/Makefile [$(cross-compiling) = no]: Likewise.
73353         * posix/Makefile ($(objpfx)globtest.out): Pass
73354         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73355         $(rtld-installed-name).
73356         * posix/globtest.sh (elf_objpfx): Remove variable.
73357         (rtld_installed_name): Likewise.
73358         (library_path): Likewise.
73359         (run_program_prefix): New variable.  Use for running globtest
73360         binary.
73362 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
73363             Joseph Myers  <joseph@codesourcery.com>
73365         * Makeconfig (host-built-program-cmd): New variable.
73366         * elf/Makefile (tst-stackguard1-ARGS): Use
73367         $(host-built-program-cmd).
73368         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73369         (tst-spawn-ARGS): Likewise.
73370         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73372 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73373             Jim Blandy  <jimb@codesourcery.com>
73375         * Makeconfig (run-via-rtld-prefix): New variable.
73376         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73377         (built-program-cmd): Likewise.
73379 2012-10-22  Andreas Jaeger  <aj@suse.de>
73381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73382         __O_RSYNC if it exists, otherwise to O_SYNC.
73384 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
73385             Joseph Myers  <joseph@codesourcery.com>
73387         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73388         /dev/null.
73389         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73390         from /dev/null
73391         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73392         /dev/null.
73394 2012-10-22  Andreas Jaeger  <aj@suse.de>
73396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73397         Define always.
73398         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73401         bits/fcntl-linux.h.
73403         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73404         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73406         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73407         to __O_LARGEFILE.
73408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73409         to __O_LARGEFILE.
73411 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
73412             Joseph Myers  <joseph@codesourcery.com>
73414         * config.make.in (NM): New variable.
73416 2012-10-21  Andreas Jaeger  <aj@suse.de>
73418         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73419         definitions and declarations that are provided by
73420         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73422 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73424         [BZ #14683]
73425         * elf/Makefile (tests-static): Add tst-leaks1-static.
73426         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73427         ($(objpfx)tst-leaks1-static): New rule.
73428         ($(objpfx)tst-leaks1-static-mem): Likewise.
73429         (tst-leaks1-static-ENV): New macro.
73430         * elf/dl-open.c (dl_open_worker): Check the main application
73431         only if SHARED is defined.
73432         * elf/tst-leaks1-static.c: New file.
73434 2012-10-20  Andreas Jaeger  <aj@suse.de>
73436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73437         generic values for Linux.
73438         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73439         and declarations that are provided by <bits/fcntl-linux.h> and
73440         include <bits/fcntl-linux.h>.
73441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73444 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73446         * io/fcntl.h: Move include of <bits/types.h> to the top and
73447         include it unconditionally.
73449 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73451         * wcsmbs/Makefile (tests-ifunc): New variable.
73452         (tests): Add $(tests-ifunc).
73453         * wcsmbs/test-wcschr-ifunc.c: New file.
73454         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73455         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73456         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73457         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73458         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73460         * string/Makefile (tests-ifunc): New variable.
73461         (tests): Add $(tests-ifunc).
73462         * string/test-memccpy.c (TEST_NAME): New macro.
73463         * string/test-memchr.c (TEST_NAME): Likewise.
73464         * string/test-memcmp.c (TEST_NAME): Likewise.
73465         * string/test-memcpy.c (TEST_NAME): Likewise.
73466         * string/test-memmem.c (TEST_NAME): Likewise.
73467         * string/test-memmove.c (TEST_NAME): Likewise.
73468         * string/test-memset.c (TEST_NAME): Likewise.
73469         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73470         * string/test-stpcpy.c (TEST_NAME): Likewise.
73471         * string/test-stpncpy.c (TEST_NAME): Likewise.
73472         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73473         * string/test-strcasestr.c (TEST_NAME): Likewise.
73474         * string/test-strcat.c (TEST_NAME): Likewise.
73475         * string/test-strchr.c (TEST_NAME): Likewise.
73476         * string/test-strcmp.c(TEST_NAME): Likewise.
73477         * string/test-strcpy.c (TEST_NAME): Likewise.
73478         * string/test-strcspn.c (TEST_NAME): Likewise.
73479         * string/test-strlen.c (TEST_NAME): Likewise.
73480         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73481         * string/test-strncmp.c (TEST_NAME): Likewise.
73482         * string/test-strncpy.c (TEST_NAME): Likewise.
73483         * string/test-strnlen.c (TEST_NAME): Likewise.
73484         * string/test-strpbrk.c (TEST_NAME): Likewise.
73485         * string/test-strrchr.c (TEST_NAME): Likewise.
73486         * string/test-strspn.c (TEST_NAME): Likewise.
73487         * string/test-strstr.c (TEST_NAME): Likewise.
73488         * string/test-bcopy-ifunc.c: New file.
73489         * string/test-bzero-ifunc.c: Likewise.
73490         * string/test-memccpy-ifunc.c: Likewise.
73491         * string/test-memchr-ifunc.c: Likewise.
73492         * string/test-memcmp-ifunc.c: Likewise.
73493         * string/test-memcpy-ifunc.c: Likewise.
73494         * string/test-memmem-ifunc.c: Likewise.
73495         * string/test-memmove-ifunc.c: Likewise.
73496         * string/test-mempcpy-ifunc.c: Likewise.
73497         * string/test-memset-ifunc.c: Likewise.
73498         * string/test-rawmemchr-ifunc.c: Likewise.
73499         * string/test-stpcpy-ifunc.c: Likewise.
73500         * string/test-stpncpy-ifunc.c: Likewise.
73501         * string/test-strcasecmp-ifunc.c: Likewise.
73502         * string/test-strcasestr-ifunc.c: Likewise.
73503         * string/test-strcat-ifunc.c: Likewise.
73504         * string/test-strchr-ifunc.c: Likewise.
73505         * string/test-strchrnul-ifunc.c: Likewise.
73506         * string/test-strcmp-ifunc.c: Likewise.
73507         * string/test-strcpy-ifunc.c: Likewise.
73508         * string/test-strcspn-ifunc.c: Likewise.
73509         * string/test-strlen-ifunc.c: Likewise.
73510         * string/test-strncasecmp-ifunc.c: Likewise.
73511         * string/test-strncat-ifunc.c: Likewise.
73512         * string/test-strncmp-ifunc.c: Likewise.
73513         * string/test-strncpy-ifunc.c: Likewise.
73514         * string/test-strnlen-ifunc.c: Likewise.
73515         * string/test-strpbrk-ifunc.c: Likewise.
73516         * string/test-strrchr-ifunc.c: Likewise.
73517         * string/test-strspn-ifunc.c: Likewise.
73518         * string/test-strstr-ifunc.c: Likewise.
73520         * debug/Makefile (tests-ifunc): New variable.
73521         (tests): Add $(tests-ifunc).
73522         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73523         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73524         * debug/test-stpcpy_chk-ifunc.c: New file.
73525         * debug/test-strcpy_chk-ifunc.c: Likewise.
73527 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73529         [BZ #13601]
73530         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73531         header is not read in.
73533 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73535         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73536         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73537         directly.  Pass built executable to script as
73538         $(built-program-cmd).
73539         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73540         $testprogram without using LD_LIBRARY_PATH and $ldso.
73542         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73543         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73544         $(rtld-installed-name).
73545         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73546         (rtld_installed_name): Likewise.
73547         (library_path): Likewise.
73548         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73549         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73550         $(run-program-prefix) to tst-tables.sh.
73551         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73552         it to run tst-table-from and tst-table-to.
73553         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73554         Pass it to tst-table.sh.
73555         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73556         $(run-program-prefix) to tst-gettext.sh.
73557         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73558         tst-translit.sh.
73559         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73560         tst-gettext2.sh.
73561         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73562         to run tst-gettext.
73563         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73564         to run tst-gettext2.
73565         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73566         to run tst-translit.
73567         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73568         $(run-program-prefix) to tst-mtrace.sh.
73569         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73570         to run tst-mtrace.
73571         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73572         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73573         $(rtld-installed-name).
73574         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73575         (rtld_installed_name): Likewise.
73576         (run_program_prefix): New variable.  Use it to run wordexp-test.
73578         * Makeconfig (ARCH): Remove all definitions.
73579         (machine): Likewise.
73580         [ARCH]: Remove conditional code.
73581         [!objdir]: Give error.
73582         [!objdir] (objpfx): Remove.
73583         [!objdir] (common-objpfx): Likewise.
73584         [!objdir] (common-objdir): Likewise.
73585         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73586         AC_CONFIG_FILES call.
73587         * configure: Regenerated.
73589         [BZ #13888]
73590         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73591         or TMPDIR.
73592         (testout): Likewise.
73594         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73595         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73596         $(rtld-installed-name).
73597         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73598         (rtld_installed_name): Likewise.
73599         (runit): Remove function.
73600         (run_getconf): New variable,  Use it for running getconf binary.
73602 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73604         [BZ #14716]
73605         * string/test-memmem.c (check_result): New function.
73606         (do_one_test): Use it.
73607         (check1): New function.
73608         (test_main): Use it.
73610 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73612         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73614 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73616         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73617         (_G_LSEEK64): Likewise.
73618         (_G_MMAP64): Likewise.
73619         (_G_FSTAT64): Likewise.
73620         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73621         (_G_LSEEK64): Likewise.
73622         (_G_MMAP64): Likewise.
73623         (_G_FSTAT64): Likewise.
73624         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73625         unconditional.  Call __mmap64 directly.
73626         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73627         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73628         __lseek64 directly.
73629         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73630         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73631         __mmap64 directly.
73632         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73633         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73634         __lseek64 directly.
73635         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73636         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73637         __lseek64 directly.
73638         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73639         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73640         __lseek64 directly.
73641         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73642         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73643         __fxstat64 directly.
73644         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73645         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73646         unconditional.
73647         (freopen64) [!_G_OPEN64]: Remove conditional code.
73648         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73649         unconditional.
73650         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73651         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73652         unconditional.
73653         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73654         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73655         unconditional.
73656         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73657         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73658         unconditional.
73659         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73660         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73661         unconditional.
73662         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73663         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73664         unconditional.
73665         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73666         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73667         unconditional.
73668         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73670 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73672         [BZ #12140]
73673         * manual/memory.texi (Malloc Tunable Parameters): Add note
73674         about free list pointers overwriting some perturb bytes.
73675         Wording suggested by Roland McGrath.
73677 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73679         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73680         (lgamma_test): Likewise.
73681         (tgamma_test): Likewise.
73683 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73685         [BZ #14700]
73686         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73687         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73689 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
73691         * NEWS: Mention BZ #14716.
73692         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73693         when removing AVAILABLE1_USES_J macro.
73695 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
73697         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73698         (__bswap_64): __uint64_t for unsigned 64-bit int.
73700 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
73702         * include/string.h (memmem): Declare libc hidden alias.
73703         * string/memmem.c (memmem): Define libc hidden alias.
73704         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73705         __read, __close instead of open, read, close.
73707 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
73709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73710         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73711         global and hidden.
73712         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73713         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73714         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73715         Likewise.
73716         (__rawmemchr_sse2): Likewise.
73717         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73718         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73719         (__strchr_sse2): Likewise.
73720         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73721         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73722         (__strcasecmp_sse2): Likewise.
73723         (__strncasecmp_sse2): Likewise.
73724         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73725         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73726         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73727         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73728         (__strrchr_sse2): Likewise.
73729         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73730         ifunc-impl-list.c.
73731         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73732         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73733         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73734         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73735         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73736         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73737         * sysdeps/x86_64/multiarch/memset.S: Likewise.
73738         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73739         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73740         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73741         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73742         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73743         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73744         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73745         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73746         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73747         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73748         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73749         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73750         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73751         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73752         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73753         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73754         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73755         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73756         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73757         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73758         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73759         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73760         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73762         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73763         global and hidden.
73764         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73765         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73766         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73767         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73768         Likewise.
73769         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73770         Likewise.
73771         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73772         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73773         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73774         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73775         ifunc-impl-list.c.
73776         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73777         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73778         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73779         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73780         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73781         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73782         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73783         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73784         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73785         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73786         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73787         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73788         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73789         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73790         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73791         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73792         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73793         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73794         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73795         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73796         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73797         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73798         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73799         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73800         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73801         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73802         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73803         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73804         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73805         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73806         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73807         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73808         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73809         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73810         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73811         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73812         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73813         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73814         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73815         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73816         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73818         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73819         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73820         * include/ifunc-impl-list.h: New file.
73821         * misc/ifunc-impl-list.c: Likewise.
73822         * misc/Makefile (routines): Add ifunc-impl-list.
73823         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73824         * string/test-string.h: Include <ifunc-impl-list.h>.
73825         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73826         TEST_NAME]: New variables.
73827         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73828         are defined.
73829         (test_init): Call __libc_ifunc_impl_list to initialize
73830         func_list if TEST_IFUNC and TEST_NAME are defined.
73832         * string/Makefile (strop-tests): Add bcopy and bzero.
73833         * string/test-bcopy.c: New file.
73834         * string/test-bzero.c: Likewise.
73835         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73836         defined.
73837         * string/test-memset.c: Support bzero test if TEST_BZERO is
73838         defined.
73839         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73840         __libc_memmove.
73841         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73842         __libc_memset.
73843         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73844         of memset.
73846 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73848         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73849         * configure: Regenerated.
73851         * Makeconfig (+link-static-before-libc): Don't include
73852         $(link-static-libc).
73854         * libio/libio.h (_IO_pos_t): Remove.
73856 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73858         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73859         McGrath.
73861 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73863         * crypt/crypt-entry.c: Include fips-private.h.
73864         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73865         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73866         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73867         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73869 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73871         * crypt/crypt-private.h: Include stdbool.h.
73872         (_ufc_setup_salt_r): Return bool.
73873         * crypt/crypt-entry.c: Include errno.h.
73874         (__crypt_r): Return NULL with EINVAL for bad salt.
73875         * crypt/crypt_util.c (bad_for_salt): New.
73876         (_ufc_setup_salt_r): Check that salt is long enough and within
73877         the specified alphabet.
73878         * crypt/badsalttest.c: New file.
73879         * crypt/Makefile (tests): Add it.
73880         ($(objpfx)badsalttest): New.
73882 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73884         * NEWS: Add entry for BZ #14602.
73886 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73888         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73889         type-generic.
73890         * math/libm-test.inc: Update comment listing what functions and
73891         macros are tested.
73892         (isgreater_test): New function.
73893         (isgreaterequal_test): Likewise.
73894         (isless_test): Likewise.
73895         (islessequal_test): Likewise.
73896         (islessgreater_test): Likewise.
73897         (isunordered_test): Likewise.
73898         (main): Call the new functions.
73900 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73902         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73903         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73904         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73905         * sysdeps/i386/configure: Regenerated.
73906         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73907         * sysdeps/mach/configure: Regenerated.
73908         * sysdeps/mach/hurd/configure: Regenerated.
73909         * sysdeps/powerpc/configure: Regenerated.
73910         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73911         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73912         * sysdeps/s390/s390-32/configure: Regenerated.
73913         * sysdeps/s390/s390-64/configure: Regenerated.
73914         * sysdeps/sh/configure: Regenerated.
73915         * sysdeps/sparc/configure: Regenerated.
73916         * sysdeps/unix/sysv/linux/configure: Regenerated.
73917         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73918         * sysdeps/x86_64/configure: Regenerated.
73920         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73921         defined.  Don't check if MAP is NULL.
73923 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73925         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73926         (_G_stat64): Likewise.
73927         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73928         (_G_stat64): Likewise.
73929         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73930         instead of struct _G_stat64.
73931         * libio/fileops.c (mmap_remap_check): Likewise.
73932         (decide_maybe_mmap): Likewise.
73933         (_IO_new_file_seekoff): Likewise.
73934         (_IO_file_stat): Likewise.
73935         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73936         _G_off64_t.
73937         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73938         instead of struct _G_stat64.
73939         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73941 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73943         [BZ #14602]
73944         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73945         Replace with ...
73946         (CHECK_EOL): New macro.
73947         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73948         CHECK_EOL.
73949         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73950         Replace with CHECK_EOL.
73951         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73952         Replace with CHECK_EOL.
73954 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73956         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73957         type-generic.
73958         * math/libm-test.inc: Update comment listing what functions and
73959         macros are tested.
73960         (finite_test): New function.
73961         (isinf_test): Likewise.
73962         (isnan_test): Likewise.
73963         (fpclassify_test): Test subnormal input.
73964         (isfinite_test): Likewise.
73965         (isnormal_test): Likewise.
73966         (main): Call the new functions.
73968 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73970         [BZ #14660]
73971         * Makerules (%.dynsym): Force C locale when running
73972         $(OBJDUMP) --dynamic-syms.
73974 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73976         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73977         <stdint.h>.
73979 2012-10-06  David S. Miller  <davem@davemloft.net>
73981         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73982         upper 32-bits of the length value in %o2 since we use branch-on-register
73983         tests which consider the entire 64-bit register.
73985 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73987         * string/test-strstr.c (check2): Add a test for page boundary.
73989 2012-10-05  David S. Miller  <davem@davemloft.net>
73991         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73992         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73993         file.
73994         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73995         sysdep_routines.
73996         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73997         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73998         and bzero when HWCAP_SPARC_CRYPTO is present.
74000 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74002         [BZ #14602]
74003         * string/test-strstr.c (check2): New function.
74004         (test_main): Call check2.
74006         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74007         and bug-strchr1.
74008         * string/bug-strcasestr1.c (do_test): Moved to ...
74009         * string/test-strcasestr.c (check1): Here.  New function.
74010         (do_one_test): Break out result checking code into ...
74011         (check_result): This.  New function.
74012         (do_one_test): Call check_result.
74013         (test_main): Call check1.
74014         * string/bug-strchr1.c (do_test): Moved to ...
74015         * string/test-strchr.c (check1): Here.  New function.
74016         (do_one_test): Break out result checking code into ...
74017         (check_result): This.  New function.
74018         (do_one_test): Call check_result.
74019         (test_main): Call check1.
74020         * string/bug-strstr1.c (main): Moved to ...
74021         * string/test-strstr.c (check1): Here.  New function.
74022         (do_one_test): Break out result checking code into ...
74023         (check_result): This.  New function.
74024         (do_one_test): Call check_result.
74025         (test_main): Call check1.
74026         * string/bug-strcasestr1.c: Removed.
74027         * string/bug-strchr1.c: Likewise.
74028         * string/bug-strstr1.c: Likewise.
74030         * elf/Makefile (dl-routines): Add hwcaps.
74031         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74032         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74033         (_dl_important_hwcaps): Moved to ...
74034         * elf/dl-hwcaps.c: Here.  New file.
74035         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74037         [BZ #14557]
74038         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74039         if IS_IN_rtld isn't defined.
74041         * elf/dl-support.c (_dl_sysinfo_map): New.
74042         Include "get-dynamic-info.h" and "setup-vdso.h".
74043         (_dl_non_dynamic_init): Call setup_vdso.
74044         * elf/dynamic-link.h: Don't include <assert.h>.
74045         (elf_get_dynamic_info): Moved to ...
74046         * elf/get-dynamic-info.h: Here.  New file.
74047         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74048         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74049         * elf/setup-vdso.h: Here.  New file.
74050         * elf/rtld.c: Include "setup-vdso.h".
74051         (dl_main): Call setup_vdso.
74053 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
74055         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74056         creal in comment listing functions tested.  List finite, isinf,
74057         isnan, isless, islessequal, isgreater, isgreaterequal,
74058         islessgreater, isunordered, lgamma_r and pow10 as functions and
74059         macros not tested.  Mention which functions not tested are aliases
74060         for other functions.  Fix typo.  Note that signs of NaNs are not
74061         tested.
74063         * scripts/config.guess: Update from config.git.
74064         * scripts/config.sub: Likewise.
74066 2012-10-04  Roland McGrath  <roland@hack.frob.com>
74068         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74069         * misc/madvise.c (madvise): Renamed to __madvise.
74070         Make madvise a weak alias.
74071         * include/sys/mman.h: Declare __madvise.
74072         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74073         * sysdeps/unix/syscalls.list
74074         (madvise): Make __madvise the strong name, and madvise a weak alias.
74075         * sysdeps/unix/sysv/linux/syscalls.list
74076         (madvise, mmap): Remove redundant entries.
74077         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74078         * malloc/malloc.c (mtrim): Likewise.
74079         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74081 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74083         * sysdeps/mach/hurd/dl-cache.c: File removed.
74084         * config.h.in (USE_LDCONFIG): New #undef.
74085         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74086         * configure: Regenerated.
74087         * elf/Makefile (dl-routines): Add dl-cache only under
74088         [$(use-ldconfig) = yes].
74089         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74090         cache on [USE_LDCONFIG].
74091         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74092         [USE_LDCONFIG].
74093         * elf/rtld.c (dl_main): Likewise.
74095 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
74097         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74098         _SC_LEVEL4_CACHE_LINESIZE.
74100 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74102         * sysdeps/unix/bsd/confstr.h: File removed.
74104 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
74106         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74107         sys/sdt-config.h.
74109 2012-10-02  Roland McGrath  <roland@hack.frob.com>
74111         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74112         Make 'mapoff' field ElfW(Off) rather than off_t.
74114 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
74116         * nscd/Makefile: Remove nscd-cflags and all its users.
74117         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74118         (CFLAGS-nonlib): Add compiler flags for nscd modules.
74120         [BZ #10631]
74121         * malloc.c (malloc_printerr): Clarify error message.
74123 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
74125         [BZ #14648]
74126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74127         Set bit_FMA_Usable if FMA is supported.
74128         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74129         macro.
74130         (bit_FMA4_Usable): Updated.
74131         (index_FMA_Usable): New macro.
74132         (CPUID_FMA): Likewise.
74133         (HAS_FMA): Defined with bit_FMA_Usable.
74135 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74137         * bits/types.h (__swblk_t): Type removed.
74138         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74139         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74141         (__SWBLK_T_TYPE): Likewise.
74142         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74143         (__SWBLK_T_TYPE): Likewise.
74144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74145         (__SWBLK_T_TYPE): Likewise.
74146         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74147         (__SWBLK_T_TYPE): Likewise.
74149 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
74150             Honza Horak <hhorak@redhat.com>
74152         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74153         (xdr_mapname): Use YPMAXMAP as maxsize.
74154         (xdr_peername): Use YPMAXPEER as maxsize.
74155         (xdr_keydat): Use YPAXRECORD as maxsize.
74156         (xdr_valdat): Use YPMAXRECORD as maxsize.
74158 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74160         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74162         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74163         * csu/init-first.c: ... here.
74164         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74165         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74166         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74167         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74168         * sysdeps/i386/init-first.c: File removed.
74169         * sysdeps/sh/init-first.c: File removed.
74171 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
74173         [BZ #14645]
74174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74175         if x * y might underflow to zero and z is zero.
74176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74178         * math/libm-test.inc (min_subnorm_value): New variable.
74179         (fma_test): Add more tests.
74180         (fma_test_towardzero): Likewise.
74181         (fma_test_downward): Likewise.
74182         (fma_test_upward): Likewise.
74183         (initialize): Set min_subnorm_value.
74185 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
74187         [BZ #14638]
74188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74189         0 + 0.
74190         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74191         mode for addition resulting in exact zero.
74192         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74194         exact 0 + 0.
74195         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74197         * math/libm-test.inc (fma_test): Add more tests.
74198         (fma_test_towardzero): New function.
74199         (fma_test_downward): Likewise.
74200         (fma_test_upward): Likewise.
74201         (main): Call the new functions.
74203 2012-09-28  David S. Miller  <davem@davemloft.net>
74205         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74207 2012-09-28  Roland McGrath  <roland@hack.frob.com>
74209         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74210         instead of SIGALRM.
74212         * sysdeps/gnu/_G_config.h: Moved to ...
74213         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74214         * sysdeps/mach/hurd/_G_config.h: Moved to ...
74215         * sysdeps/generic/_G_config.h: ... here.
74217         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
74219         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74221         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74222         Conditionalize target on [libnss_test1.so-version].
74224         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74226         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74227         (elfobjdir): Move out of conditionals.
74229         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74230         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74231         (__nss_lookup_function): Conditionalize label remove_from_tree on
74232         [!DO_STATIC_NSS || SHARED], matching its only use.
74234 2012-09-28  David S. Miller  <davem@davemloft.net>
74236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74237         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74238         file.
74239         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74240         sysdep_routines.
74241         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74243         when HWCAP_SPARC_CRYPTO is present.
74245 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74247         * io/tst-mknodat.c: Create a FIFO instead of a socket.
74249 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
74251         [BZ #6530]
74252         * stdio-common/vfprintf.c (process_string_arg): Revert
74253         2000-07-22 change.
74255 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
74257         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74258         for testcase.
74259         * stdio-common/tst-sprintf.c: Include <locale.h>
74260         (main): Test sprintf's handling of incomplete multibyte
74261         characters.
74263 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
74265         * elf/dl-runtime.c (VERSYMIDX): Removed.
74266         * elf/dl-version.c (VERSYMIDX): Likewise.
74267         * elf/do-rel.h (VERSYMIDX): Likewise.
74268         (VALIDX): Likewise.
74269         * elf/dynamic-link.h (VERSYMIDX): Likewise.
74270         * elf/rtld.c (VALIDX): Likewise.
74271         (ADDRIDX): Likewise.
74272         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
74273         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74274         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74275         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74276         (VALIDX): Likewise.
74277         (ADDRIDX): Likewise.
74279 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74281         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74283 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
74285         [BZ #11438]
74286         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74287         to global scope.
74288         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74289         addresses are in the same scope as 192.0.2/24.
74290         * posix/gai.conf: Document new scope table defaults.
74292 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74294         [BZ #5298]
74295         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74296         for ftell.  Compute offsets from write pointers instead.
74297         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74299 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74301         [BZ #14543]
74302         * libio/Makefile (tests): New test case tst-fseek.
74303         * libio/tst-fseek.c: New test case to verify that fseek/ftell
74304         combination works in wide mode.
74305         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74306         state when the external buffer state changes.
74308 2012-09-27  David S. Miller  <davem@davemloft.net>
74310         [BZ #14376]
74311         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
74312         pass reloc->r_addend in as the 'high' argument to
74313         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
74315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74317 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74319         * rt/tst-aio2.c: Include <pthread.h>.
74320         * rt/tst-aio3.c: Likewise.
74322 2012-09-27  Steve Ellcey  <sellcey@mips.com>
74324         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74326 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
74328         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74329         contents on [SHARED].
74331 2012-09-26  Marek Polacek  <polacek@redhat.com>
74333         [BZ #14530]
74334         [BZ #13741]
74335         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74336         for C++ and GCC <4.3 as well as for non GCC compilers.
74338 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
74340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74342 2012-09-25  Roland McGrath  <roland@hack.frob.com>
74344         * Makefile.in (all, install): Declare with .PHONY.
74345         Reported by Michael Hope <michael.hope@linaro.org>.
74347 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74349         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74350         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74351         system header.
74352         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74353         Likewise.
74354         (sydep_routines): Add the new and the internal functions.
74355         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74356         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74358         (GLIBC_2.17): Add the new function.
74359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74360         (GLIBC_2.17): Likewise.
74361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74362         (GLIBC_2.17): Likewise.
74363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74364         (GLIBC_2.17): Likewise.
74365         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74367 2012-09-25  Alan Modra  <amodra@gmail.com>
74369         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74370         Add release barrier before setting once_control to say
74371         initialisation is done.  Add hints on lwarx.  Use macro in
74372         place of isync.
74373         (clear_once_control): Add release barrier.
74375 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74377         [BZ #13629]
74378         * math/s_clog.c (__clog): Handle more values close to |z| = 1
74379         specially.
74380         * math/s_clog10.c (__clog10): Likewise.
74381         * math/s_clog10f.c (__clog10f): Likewise.
74382         * math/s_clog10l.c (__clog10l): Likewise.
74383         * math/s_clogf.c (__clogf): Likewise.
74384         * math/s_clogl.c (__clogl): Likewise.
74385         * math/Makefile (libm-calls): Add x2y2m1.
74386         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74387         (__x2y2m1): Likewise.
74388         (__x2y2m1l): Likewise.
74389         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74390         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74391         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74392         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74393         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74394         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74395         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74396         * sysdeps/i386/fpu/libm-test-ulps: Update.
74397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74399         [BZ #14621]
74400         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74401         int as type of variable DEPTH.
74402         (glob): Use size_t instead of int as type of variables NEWCOUNT
74403         and OLD_PATHC.
74405 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74407         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74408         Add s_sincosf-sse2.
74409         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74410         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74411         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74412         macros for using routine as __sincosf_ia32.
74413         Use macro for function declaration and weak_alias.
74414         * sysdeps/i386/fpu/libm-test-ulps: Update.
74416         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74419         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74420         subnormal argument.
74421         * math/s_cexpf.c (__cexpf): Likewise.
74422         * math/s_csinf.c (__csinf): Likewise.
74423         * math/s_csinhf.c (__csinhf): Likewise.
74424         * math/s_ctanf.c (__ctanf): Likewise.
74425         * math/s_ctanhf.c (__ctanhf): Likewise.
74426         * math/s_ccosh.c (__ccoshf): Likewise.
74427         * math/s_cexp.c (__cexpl): Likewise.
74428         * math/s_csin.c (__csin): Likewise.
74429         * math/s_csinh.c (__csinh): Likewise.
74430         * math/s_ctan.c (__ctan): Likewise.
74431         * math/s_ctanh.c (ctanh): Likewise.
74432         * math/s_ccoshl.c (__ccoshl): Likewise.
74433         * math/s_cexpl.c (__cexpl): Likewise.
74434         * math/s_csinl.c (__csinl): Likewise.
74435         * math/s_csinhl.c (__csinhl): Likewise.
74436         * math/s_ctanl.c (__ctanl): Likewise.
74437         * math/s_ctanhl.c (__ctanhl): Likewise.
74439 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74441         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74442         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74443         (_IO_off_t): Define to __off_t, not _G_off_t.
74444         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74445         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74446         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74447         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74448         type of __dummy and __dummy2 fields.
74449         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74450         (_G_ssize_t): Likewise.
74451         (_G_off_t): Likewise.
74452         (_G_pid_t): Likewise.
74453         (_G_uid_t): Likewise.
74454         (_G_wchar_t): Likewise.
74455         (_G_wint_t): Likewise.
74456         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74457         (_G_ssize_t): Likewise.
74458         (_G_off_t): Likewise.
74459         (_G_pid_t): Likewise.
74460         (_G_uid_t): Likewise.
74461         (_G_wchar_t): Likewise.
74462         (_G_wint_t): Likewise.
74463         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74464         (_G_ssize_t): Likewise.
74465         (_G_off_t): Likewise.
74466         (_G_pid_t): Likewise.
74467         (_G_uid_t): Likewise.
74468         (_G_wchar_t): Likewise.
74469         (_G_wint_t): Likewise.
74471 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74473         * malloc/arena.c: Include malloc-sysdep.h.
74474         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74475         is sufficient to shrink the heap or an unmap is needed.
74476         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74477         new function check_may_shrink_heap.
74478         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74479         new function check_may_shrink_heap.
74481 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74483         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74484         comments.
74486 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74488         * catgets/test-gencat.sh: Add "set -e".
74489         * elf/tst-pathopt.sh: Likewise.
74490         * grp/tst_fgetgrent.sh: Likewise.
74491         * iconvdata/run-iconv-test.sh: Likewise.
74492         * intl/tst-gettext.sh: Likewise.
74493         * intl/tst-gettext2.sh: Likewise.
74494         * intl/tst-gettext4.sh: Likewise.
74495         * intl/tst-gettext6.sh: Likewise.
74496         * intl/tst-translit.sh: Likewise.
74497         * io/ftwtest-sh: Likewise.
74498         * libio/test-freopen.sh: Likewise.
74499         * malloc/tst-mtrace.sh: Likewise.
74500         * posix/globtest.sh: Likewise.
74501         * posix/tst-getconf.sh: Likewise.
74502         * posix/wordexp-tst.sh: Likewise.
74503         * stdio-common/tst-printf.sh: Likewise.
74504         * stdio-common/tst-unbputc.sh: Likewise.
74505         * stdlib/tst-fmtmsg.sh: Likewise.
74506         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74507         * catgets/Makefile: Do not specify -e option when running
74508         testsuite shell scripts.
74509         * elf/Makefile: Likewise.
74510         * grp/Makefile: Likewise.
74511         * iconvdata/Makefile: Likewise.
74512         * intl/Makefile: Likewise.
74513         * io/Makefile: Likewise.
74514         * libio/Makefile: Likewise.
74515         * malloc/Makefile: Likewise.
74516         * posix/Makefile: Likewise.
74517         * stdio-common/Makefile: Likewise.
74518         * stdlib/Makefile: Likewise.
74519         * sysdeps/x86_64/Makefile: Likewise.
74521         * io/ftwtest-sh: Add copyright header.
74522         * posix/globtest.sh: Likewise.
74523         * posix/tst-getconf.sh: Likewise.
74524         * posix/wordexp-tst.sh: Likewise.
74525         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74527 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74529         [BZ #13679]
74530         * Makeconfig (+link): Defined as $(+link-static) if
74531         $(build-shared) isn't yes.
74532         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74533         isn't yes.
74534         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74536         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74538         [BZ #14562]
74539         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74540         new chunk size with MALLOC_ALIGN_MASK.
74542 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74544         [BZ #5044]
74545         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74546         <rounding-mode.h>.
74547         (__printf_fphex): Determine rounding using get_rounding_mode and
74548         round_away.
74549         * stdio-common/tst-printf-round.c (struct hex_test): New
74550         structure.
74551         (hex_tests): New variable.
74552         (test_hex_in_one_mode): New function.
74553         (do_test): Also run tests for hex float output.
74555 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74557         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74558         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74559         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74560         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74561         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74562         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74563         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74564         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74566 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74568         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74569         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74570         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74571         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74573 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74575         [BZ #14579]
74576         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74577         mode only.
74578         * elf/tst-rtld-load-self.sh: New test.
74579         * elf/Makefile: Run it.
74581 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74583         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74584         (tst-writev-ENV): Remove.
74585         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74587 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74589         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74591 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74593         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74594         unconditional.
74595         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74596         Likewise.
74597         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74598         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74599         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74600         Likewise.
74602 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74604         [BZ #14587]
74605         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74606         * config.make.in (have-cpp-asm-debuginfo): Removed.
74607         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74608         * configure: Regenerated.
74610 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74612         [BZ #5044]
74613         * stdio-common/printf_fp.c: Include <stdbool.h> and
74614         <rounding-mode.h>.
74615         (___printf_fp): Determine rounding using get_rounding_mode and
74616         round_away.
74617         * stdio-common/tst-printf-round.c: New file.
74618         * stdio-common/Makefile (tests): Add tst-printf-round.
74619         (link-libm): New variable.
74620         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74622 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74624         [BZ #14576]
74625         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74626         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74627         Likewise.
74628         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74629         Likewise.
74631 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74633         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74634         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74635         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74636         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74638 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74640         [BZ #14518]
74641         * include/rounding-mode.h: New file.
74642         * sysdeps/generic/get-rounding-mode.h: Likewise.
74643         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74644         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74645         (MAX_VALUE): New macro.
74646         (MIN_VALUE): Likewise.
74647         (overflow_value): New function.
74648         (underflow_value): Likewise.
74649         (round_and_return): Use overflow_value and underflow_value to
74650         determine return values in overflow and underflow cases.  Use
74651         round_away to determine rounding depending on rounding mode.
74652         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74653         determine return values in overflow and underflow cases.
74654         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74655         (struct test_results): New structure.
74656         (struct test): Use struct test_results to store expected results
74657         for all rounding modes.
74658         (TEST): Include expected results for all rounding modes.
74659         (test_in_one_mode): New function.
74660         (do_test): Use test_in_one_mode to compute and check results.
74661         Check results for all rounding modes.
74662         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74663         $(link-libm).
74665 2012-12-09  Allan McRae  <allan@archlinux.org>
74667         * sysdeps/i386/fpu/libm-test-ulps: Update
74669 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74671         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74672         (_G_int32_t): Likewise.
74673         (_G_uint16_t): Likewise.
74674         (_G_uint32_t): Likewise.
74675         (_G_HAVE_BOOL): Likewise.
74676         (_G_HAVE_ATEXIT): Likewise.
74677         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74678         (_G_HAVE_IO_FILE_OPEN): Likewise.
74679         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74680         (_G_int32_t): Likewise.
74681         (_G_uint16_t): Likewise.
74682         (_G_uint32_t): Likewise.
74683         (_G_HAVE_BOOL): Likewise.
74684         (_G_HAVE_ATEXIT): Likewise.
74685         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74686         (_G_HAVE_IO_FILE_OPEN): Likewise.
74687         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74688         (_G_int32_t): Likewise.
74689         (_G_uint16_t): Likewise.
74690         (_G_uint32_t): Likewise.
74691         (_G_HAVE_BOOL): Likewise.
74692         (_G_HAVE_ATEXIT): Likewise.
74693         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74694         (_G_HAVE_IO_FILE_OPEN): Likewise.
74696 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
74698         * csu/libc-tls.c: Update copyright years.
74700 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
74702         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74703         [!_G_USING_THUNKS]: Remove conditional code.
74704         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74705         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74707         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74708         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74709         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74710         (_G_VTABLE_LABEL_PREFIX): Likewise.
74711         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74712         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74713         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74714         (_G_VTABLE_LABEL_PREFIX): Likewise.
74715         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74716         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74717         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74718         (_G_VTABLE_LABEL_PREFIX): Likewise.
74719         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74721 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
74723         * libio/Makefile: Include ../Makeconfig before tests.
74724         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74725         only if $(build-shared) is yes.
74727         * iconv/gconv_db.c: Update copyright years.
74729 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74731         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74732         unwind info if defined PIC. Fix special cases description.
74733         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74735         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74736         DP_HI_MASK entry.
74737         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74739 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
74741         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74743         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74744         is NULL.
74746         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74747         (LDLIBS-tst-chk4): This.
74748         (LDFLAGS-tst-chk5): Renamed to ...
74749         (LDLIBS-tst-chk5): This.
74750         (LDFLAGS-tst-chk6): Renamed to ...
74751         (LDLIBS-tst-chk6): This.
74752         (LDFLAGS-tst-lfschk4): Renamed to ...
74753         (LDLIBS-tst-lfschk4): This.
74754         (LDFLAGS-tst-lfschk5): Renamed to ...
74755         (LDLIBS-tst-lfschk5): This.
74756         (LDFLAGS-tst-lfschk6): Renamed to ...
74757         (LDLIBS-tst-lfschk6): This.
74759         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74760         on $(common-objpfx)soversions.mk.
74762 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
74764         [BZ #10014]
74765         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74766         example host name.
74768 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
74770         * malloc/arena.c (arena_get_retry): New function that gets
74771         another arena for the caller to try its request on.
74772         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74773         current arena cannot fulfill the request.
74774         (__libc_memalign): Likewise.
74775         (__libc_memalign): Likewise.
74776         (__libc_pvalloc): Likewise.
74777         (__libc_calloc): Likewise.
74779 2012-09-05  John Tobey  <john.tobey@gmail.com>
74781         [BZ #13542]
74782         * manual/arith.texi (Operations on Complex): Fix description
74783         of carg branch cut.
74785 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74787         [BZ #10014]
74788         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74789         host name.
74791         [BZ #10038]
74792         * manual/memory.texi (Memory): Make order of menu items match
74793         order of sections.
74795 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74797         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74798         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
74799         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74801 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74803         * csu/libc-tls.c (static_dtv): Renamed to ...
74804         (_dl_static_dtv): This.  Make it global.
74805         (_dl_initial_dtv): Removed.
74806         (__libc_setup_tls): Updated.
74807         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74808         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74809         DL_INITIAL_DTV.
74811 2012-09-06  Petr Machata  <pmachata@redhat.com>
74813         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74814         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74815         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74816         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74818 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74820         [BZ #14545]
74821         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74822         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74823         freeing dtv[-1].
74825 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74827         [BZ #14544]
74828         * Makeconfig (link-static-before-libc): Replace $(+prector)
74829         with $(+prectorT).
74830         (link-static-after-libc): Replace $(+postctor) with
74831         $(+postctorT).
74832         (link-bounded): Replace $(+prector)/$(+postctor) with
74833         $(+prectorT)/$(+postctorT).
74834         (+prectorT): New macro.
74835         (+postctorT): Likewise.
74837 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74839         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74840         (round_str): Handle values above the maximum for IBM long double
74841         as inexact.
74842         * stdlib/tst-strtod-round.c (tests): Regenerated.
74844 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74846         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74847         assembler flag.
74848         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74849         zarch_nohighgprs around the zarch optimized routines.
74850         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74851         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74852         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74853         for zarch.
74855 2012-09-05  David S. Miller  <davem@davemloft.net>
74857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74859         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74860         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74861         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74862         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74863         entries.
74865 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74867         * malloc/arena.c: Fold copyright years.
74868         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74870 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74872         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74874 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74876         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74878 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74880         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74881         change internal state upon failure.
74883 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74885         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74886         * malloc/memusage.c (mmap): Likewise.
74887         (mmap64, mremap): Likewise.  Adjust name in comment.
74889 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74891         * libio/fileops.c: Fix typos in comments.
74892         * libio/oldfileops.c: Likewise.
74893         * libio/wfileops.c: Likewise.
74895 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74897         [BZ #1349]
74898         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74899         (tst-malloc-usable-ENV): Set environment for test case.
74900         * malloc/hooks.c (malloc_check_get_size): New function to get
74901         requested size.
74902         * malloc/malloc.c (musable): Use malloc_check_get_size.
74903         * malloc/tst-malloc-usable.c: New test case.
74905 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74907         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74909 2012-09-05  Allan McRae  <allan@archlinux.org>
74911         [BZ #13966]
74912         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74913         determine header location.
74914         * configure: Regenerated.
74916 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74918         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74919         float format.
74920         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74921         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74922         format.
74923         (test): Regenerate.
74925 2012-09-04  David S. Miller  <davem@davemloft.net>
74927         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74928         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74929         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74931 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74933         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74934         failures.
74936         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74938 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74940         [BZ #9914]
74941         * libio/iogetdelim.c: Include <limits.h>.
74942         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74943         + len + 1 would overflow.
74945 2012-09-03  Andreas Jaeger  <aj@suse.de>
74947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74948         * sysdeps/i386/fpu/libm-test-ulps: Update.
74950 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74952         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74953         Add s_sinf-sse2, s_conf-sse2.
74955         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74956         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74957         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74958         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74960         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74961         for using routine as __sinf_ia32.
74962         Use macro for function declaration and weak_alias.
74963         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74964         for using routine as __cosf_ia32.
74965         Use macro for function declaration and weak_alias.
74967         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74968         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74970         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74971         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74974         * math/libm-test.inc (cos_test): Add more test cases.
74975         (sin_test): Likewise.
74976         (sincos_test): Likewise.
74978 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74980         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74981         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74982         hidden.
74983         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74985 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74987         [BZ #14538]
74988         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74989         first element of the GOT.
74990         (elf_machine_load_address): Return the difference between
74991         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74993 2012-09-01  Allan McRae  <allan@archlinux.org>
74995         [BZ #13412]
74996         * configure.in (AWK): Require gawk version 3.0 or later.
74997         * configure: Regenerated.
74999 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75001         * sysdeps/unix/sysv/linux/kernel-features.h
75002         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75003         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75004         [__NR_clock_getres]: Make code unconditional.
75005         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75006         (clock_getcpuclockid): Remove code left unreachable by removal of
75007         conditionals.
75008         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75009         code unconditional.
75010         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75011         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75012         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75013         Make code unconditional.
75014         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75015         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75016         * sysdeps/unix/sysv/linux/clock_settime.c
75017         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75018         conditional code.
75019         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75020         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75022 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75024         [BZ #14476]
75025         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75026         scripts/test-installation.pl.
75028         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75029         and $ld_so_version if it is set.
75031 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75033         [BZ #14516]
75034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75035         failure if reading from procfs failed.
75036         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75038 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75040         * sysdeps/unix/sysv/linux/kernel-features.h
75041         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75042         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75043         Remove conditional code.
75044         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75045         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75046         Remove conditional code.
75047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75048         * sysdeps/unix/sysv/linux/i386/fxstat.c
75049         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75050         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75051         * sysdeps/unix/sysv/linux/i386/fxstatat.c
75052         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75053         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75054         * sysdeps/unix/sysv/linux/i386/lxstat.c
75055         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75056         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75057         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75058         Remove conditional code.
75059         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75060         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75061         Remove conditional code.
75062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75063         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75064         <kernel-features.h>.
75065         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75066         Remove.
75067         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75068         Remove conditional code.
75069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75070         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75071         Remove conditional.
75073 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
75075         [BZ #5400]
75076         * NEWS: Add fixed bug number.
75078 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75080         [BZ #14519]
75081         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75082         underflowing exponent in case of negative sign.
75083         * stdlib/tst-strtod-round-data: Add more tests.
75084         * stdlib/tst-strtod-round.c (tests): Regenerated.
75086         [BZ #3479]
75087         * stdlib/strtod_l.c (NDIG): Remove.
75088         (HEXNDIG): Likewise.
75089         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75090         smallest representable value.
75091         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75092         lie within an exact representation of 1/2 ulp of the result.
75093         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75094         unconditionally.
75095         (TENS_P9_IDX): Define unconditionally.
75096         (TENS_P9_SIZE): Likewise.
75097         (TENS_P10_IDX): Likewise.
75098         (TENS_P10_SIZE): Likewise.
75099         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75100         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75101         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75102         entries for 10^2^13 and 10^2^14.
75103         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75104         (TENS_P13_IDX): Define.
75105         (TENS_P13_SIZE): Likewise.
75106         (TENS_P14_IDX): Likewise.
75107         (TENS_P14_SIZE): Likewise.
75108         (_fpioconst_pow10): Change array size to
75109         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
75110         unconditional.
75111         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75112         1024]: Add entries for 10^2^13 and 10^2^14.
75113         [LAST_POW10 > _LAST_POW10]: Remove #error.
75114         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75115         (_fpioconst_pow10): Change array size to
75116         FPIOCONST_POW10_ARRAY_SIZE.
75117         * stdlib/gen-fpioconst.c: New file.
75118         * stdlib/gen-tst-strtod-round.c: Likewise.
75119         * stdlib/tst-strtod-round-data: Likewise.
75120         * stdlib/tst-strtod-round.c: Likewise.
75121         * stdlib/Makefile (tests): Add tst-strtod-round.
75123         [BZ #14459]
75124         * stdlib/strtod_l.c: Include <stdint.h>.
75125         (NDEBUG): Do not define.
75126         (round_and_return): Change EXPONENT parameter to type intmax_t.
75127         Rearrange calculations to avoid internal overflow possibilities.
75128         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75129         Rearrange calculations to avoid internal overflow possibilities.
75130         Assert that number fits inside MPNSIZE limbs.
75131         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75132         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
75133         calculations and add assertions to avoid internal overflow
75134         possibilities.  Add casts to avoid signed/unsigned operations.
75135         * stdlib/tst-strtod-overflow.c: New file.
75136         * stdlib/Makefile (tests): Add tst-strtod-overflow.
75138 2012-08-25  Marek Polacek  <polacek@redhat.com>
75140         * time/time.h: Fix some typos in comments.
75142 2012-08-23  Roland McGrath  <roland@hack.frob.com>
75144         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75145         * posix/tst-rfc3484-2.c: Likewise.
75146         * posix/tst-rfc3484-3.c: Likewise.
75148 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
75150         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75151         (EF_ARM_ABI_FLOAT_HARD): Likewise.
75153 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
75155         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75156         #include of fxstatat64.c.
75158 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75160         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75161         * shadow/getspent_r.c: Likewise.
75162         * shadow/getspnam.c: Likewise.
75163         * shadow/getspnam_r.c: Likewise.
75164         * gshadow/getsgent.c: Likewise.
75165         * gshadow/getsgent_r.c: Likewise.
75166         * gshadow/getsgnam.c: Likewise.
75167         * gshadow/getsgnam_r.c: Likewise.
75168         * inet/getnetbyad.c: Likewise.
75169         * inet/getnetbyad_r.c: Likewise.
75170         * inet/getnetbynm.c: Likewise.
75171         * inet/getnetbynm_r.c: Likewise.
75172         * inet/getnetent.c: Likewise.
75173         * inet/getnetent_r.c: Likewise.
75174         * inet/getproto.c: Likewise.
75175         * inet/getproto_r.c: Likewise.
75176         * inet/getprtent.c: Likewise.
75177         * inet/getprtent_r.c: Likewise.
75178         * inet/getprtname.c: Likewise.
75179         * inet/getprtname_r.c: Likewise.
75180         * inet/getrpcbyname.c: Likewise.
75181         * inet/getrpcbyname_r.c: Likewise.
75182         * inet/getrpcbynumber.c: Likewise.
75183         * inet/getrpcbynumber_r.c: Likewise.
75184         * inet/getrpcent.c: Likewise.
75185         * inet/getrpcent_r.c: Likewise.
75186         * inet/getaliasent.c: Likewise.
75187         * inet/getaliasent_r.c: Likewise.
75188         * inet/getaliasname.c: Likewise.
75189         * inet/getaliasname_r.c: Likewise.
75190         * nscd/getgrgid_r.c: Likewise.
75191         * nscd/getgrnam_r.c: Likewise.
75192         * nscd/gethstbyad_r.c: Likewise.
75193         * nscd/gethstbynm3_r.c: Likewise.
75194         * nscd/getpwnam_r.c: Likewise.
75195         * nscd/getpwuid_r.c: Likewise.
75196         * nscd/getsrvbynm_r.c: Likewise.
75197         * nscd/getsrvbypt_r.c: Likewise.
75198         * nscd/gai.c: Likewise.
75200         * configure.in (build_nscd): New substituted variable, set
75201         by --disable-build-nscd and defaults to $use_nscd.
75202         * configure: Regenerated.
75203         * config.make.in (build-nscd): New substituted variable.
75204         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75205         Change conditional to require [$(build-nscd) = yes] as well.
75206         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75208         [BZ #13696]
75209         * configure.in (use_nscd): New substituted variable, set by
75210         --disable-nscd.  If enabled, define USE_NSCD.
75211         * configure: Regenerated.
75212         * config.h.in: Add USE_NSCD.
75213         * config.make.in (use-nscd): New substituted variable.
75214         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75215         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75216         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75217         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75218         (CFLAGS-getgrnam_r.c): Likewise.
75219         (CFLAGS-initgroups.c): Likewise.
75220         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75221         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75222         Variables removed.
75223         * inet/getnetgrent_r.c
75224         (nscd_setnetgrent): New function, broken out of ...
75225         (setnetgrent): ... here.  Call it.
75226         (innetgr): Conditionalize nscd bits on [USE_NSCD].
75227         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75228         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75229         * nscd/Makefile (routines, aux): Move definitions after include of
75230         Makeconfig.  Conditionalize on [$(use-nscd) != no].
75231         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75232         Conditionalize on [USE_NSCD].
75233         (is_nscd, nscd_init_cb): Likewise.
75234         (nss_load_library): Conditionalize init callback on [USE_NSCD].
75235         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75236         * nss/nss_db/db-init.c: Likewise.
75237         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75238         [USE_NSCD].
75239         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75240         (make_request): Use it.
75241         (cache_valid_p): New function.
75242         (__check_pf): Use it.
75243         * NEWS: Add item for --disable-nscd.
75245 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
75247         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75248         to support sed >= 4.2.1-20-ga9bf076.
75249         * configure: Regenerated.
75251 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75253         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75254         Conditionalize whole body on [IREL].
75256 2012-08-22  Jeff Law <law@redhat.com>
75258         [BZ #14505]
75259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
75260         if the family is PF_UNSPEC.
75262 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
75264         * Makerules (lib-version): Rename from V.
75265         (install-lib-nosubdir): Change V to lib-version.
75267 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
75269         [BZ #14252]
75270         * powerpc32/power6/wcschr.c: New file.
75271         * powerpc32/power6/wcscpy.c: New file.
75272         * powerpc32/power6/wcsrchr.c: New file.
75273         * powerpc64/power6/wcschr.c: New file.
75274         * powerpc64/power6/wcscpy.c: New file.
75275         * powerpc64/power6/wcsrchr.c: New file.
75277 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75279         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75280         (two_way_short_needle): Use it.
75281         * string/strstr.c (AVAILABLE1_USES_J): Define.
75282         * string/strcasestr.c: Likewise.
75284         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75285         array references.
75286         * string/strcasestr.c (TOLOWER): Make side-effect safe.
75288         [BZ #11607]
75289         * NEWS: Add an entry.
75290         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75291         define their defaults.
75292         (two_way_short_needle): Detect end-of-string on-the-fly.
75293         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75294         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75295         * string/bug-strcasestr1.c: New test.
75296         * string/Makefile: Run it.
75298 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75300         [BZ #11607]
75301         * string/str-two-way.h (two_way_short_needle): Optimize matching of
75302         the first character.
75304 2012-08-21  Roland McGrath  <roland@hack.frob.com>
75306         * csu/elf-init.c (__libc_csu_irel): Function removed.
75307         * csu/libc-start.c (apply_irel): New function.
75308         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75310 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
75312         * sysdeps/unix/sysv/linux/kernel-features.h
75313         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
75314         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
75315         <kernel-features.h>.
75316         [__NR_fadvise64_64]: Make code unconditional.
75317         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
75318         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75319         !__NR_fadvise64_64)]: Likewise.
75320         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75321         !__NR_fadvise64_64))]: Likewise.
75322         [__NR_fadvise64]: Make code unconditional.
75323         [!__NR_fadvise64]: Remove conditional code.
75324         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75325         <kernel-features.h>.
75326         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75327         unconditional.
75328         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75329         conditional code.
75330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75331         not include <kernel-features.h>.
75332         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75333         unconditional.
75334         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75335         conditional code.
75336         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75337         include <kernel-features.h>.
75338         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75339         unconditional.
75340         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75341         conditional code.
75343 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75345         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75346         slight instruction rearrangements per scrollpipe analysis.
75347         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75349 2012-08-20  Roland McGrath  <roland@hack.frob.com>
75351         * manual/syslog.texi (syslog; vsyslog, closelog):
75352         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75353         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75355         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75356         DSOCAPS to match condition on defining it.
75358 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
75360         * sysdeps/unix/sysv/linux/kernel-features.h
75361         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75363         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75364         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75366         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75367         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75369         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75370         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75372         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75373         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75375         * sysdeps/unix/sysv/linux/kernel-features.h
75376         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75377         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75378         unconditional.
75379         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75380         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75381         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75382         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75383         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75384         Make code unconditional.
75385         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75386         (__mmap64) [!__NR_mmap2]: Likewise.
75387         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75388         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75389         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75390         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75391         [__NR_mmap2]: Make code unconditional.
75392         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75393         (__mmap64) [!__NR_mmap2]: Likewise.
75395 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75397         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75399 2012-08-18  Andreas Jaeger  <aj@suse.de>
75401         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75403 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75405         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75406         * include/unistd.h (__have_sock_cloexec): Likewise.
75407         (__have_pipe2): Likewise.
75408         (__have_dup3): Likewise.
75410 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75412         [BZ #9685]
75413         * include/unistd.h (__have_pipe2): Change define into an extern int.
75414         (__have_dup3): Likewise.
75415         * socket/have_sock_cloexec.c: Include fcntl.h.
75416         (__have_pipe2): New variable.
75417         (__have_dup3): Likewise.
75419 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
75421         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75423 2012-08-17  Marek Polacek  <polacek@redhat.com>
75425         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75426         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75428 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75430         * configure.in: Add AC_SUBST for sysheaders.
75431         * configure: Regenerated.
75432         * config.make.in (sysheaders): New substituted variable.
75434         * sysdeps/unix/mkfifo.c: Moved ...
75435         * sysdeps/posix/mkfifo.c: ... here.
75436         * sysdeps/unix/mkfifoat.c: Moved ...
75437         * sysdeps/posix/mkfifoat.c: ... here.
75439         * sysdeps/unix/utime.c: Moved ...
75440         * sysdeps/posix/utime.c: ... here.
75442         * sysdeps/unix/time.c: Moved ...
75443         * sysdeps/posix/time.c: ... here.
75444         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75445         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75447         * sysdeps/unix/nice.c: Moved ...
75448         * sysdeps/posix/nice.c: ... here.
75450         * sysdeps/unix/alarm.c: Moved ...
75451         * sysdeps/posix/alarm.c: ... here.
75453         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75455 2012-08-17  Jeff Law <law@redhat.com>
75457         * intl/Makefile (codeset_mo): New variable.
75458         ($(codeset_mo)): New target.
75459         (tst-codeset.out): Depend on that.  Remove explicit rule.
75460         (tst-gettext3.out, tst-gettext5.out): Likewise.
75461         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75462         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75463         * intl/tst-codeset.sh: Remove.
75464         * intl/tst-gettext3.sh: Likewise.
75465         * intl/tst-gettext5.sh: Likewise.
75467 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75469         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75470         * sysdeps/unix/syscalls.list: ... here.
75472         * sysdeps/posix/getaddrinfo.c
75473         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75474         (gaiconf_init, gaiconf_reload): Use them.
75475         [!_STATBUF_ST_NSEC]
75476         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75477         Define using time_t rather than struct timespec.
75479         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75480         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75481         Macros removed.
75482         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75483         [!NO_THREADS].
75484         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75485         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75486         Likewise.
75488         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75489         __libc_cleanup_push argument.
75491         * bits/param.h: New file.
75492         * misc/sys/param.h: New file.
75493         * include/sys/param.h: New file.
75494         * misc/Makefile (headers): Add bits/param.h.
75495         * sysdeps/generic/sys/param.h: File removed.
75496         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75497         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75498         * sysdeps/mach/hurd/bits/param.h: New file.
75499         * sysdeps/mach/hurd/sys/param.h: File removed.
75501         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75502         last change.
75504         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75505         [_IO_MTSAFE_IO].
75506         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75507         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75508         New macros.
75510         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75511         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75512         rather than -D_IO_MTSAFE_IO conditionally.
75513         * stdio-common/Makefile (CPPFLAGS): Likewise.
75514         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75515         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75516         Use $(libio-mtsafe).
75517         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75518         of -D_IO_MTSAFE_IO.
75519         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75520         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75521         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75522         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75523         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75524         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75525         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75526         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75527         (CFLAGS-fread_u_chk.c): Likewise.
75528         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75529         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75530         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75531         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75532         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75533         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75534         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75535         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75536         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75538         * libio/Makefile: Test [$(libc-reentrant) = yes]
75539         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75541         * Makeconfig
75542         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75543         * sysdeps/pthread/configure: File removed.
75544         * sysdeps/pthread/Makeconfig: New file.
75545         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75546         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75548 2012-08-16  Gary Benson  <gbenson@redhat.com>
75550         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75551         unmapping the first object in a namespace.
75553 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75555         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75556         (__internal_setnetgrent): ... this.  Add internal_function to
75557         definition.  Add libc_hidden_def.
75558         (setnetgrent): Update caller.
75559         (internal_endnetgrent): Renamed to ...
75560         (__internal_endnetgrent): ... this.  Add internal_function to
75561         definition.  Add libc_hidden_def.
75562         (endnetgrent): Update caller.
75563         (internal_getnetgrent_r): Renamed to ...
75564         (__internal_getnetgrent_r): ... this.  Add internal_function to
75565         definition.  Add libc_hidden_def.
75566         (__getnetgrent_r): Update caller.
75567         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75569 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75571         * stdlib/longlong.h: Update from GCC.
75573 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75575         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75576         on _QL, which is set by umul_ppmm but never used.
75577         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75578         variables, which are set by GMP macros but never used.
75579         * stdio-common/_itowa.c (_itowa): Likewise.
75580         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75581         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75583 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75585         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75586         struct La_sh_regs is not constant.
75587         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75588         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75589         and struct La_sparc64_regs are not constant.
75591 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75593         * sysdeps/unix/sysv/linux/kernel-features.h
75594         (__ASSUME_POSIX_TIMERS): Remove.
75595         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75596         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75597         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75598         Make code unconditional.
75599         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75600         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75601         Make code unconditional.
75602         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75603         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75604         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75605         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75606         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75607         Make code unconditional.
75608         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75609         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75610         (__libc_missing_posix_timers): Remove.
75612 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75614         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75615         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75617         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75619         * elf/dl-sym.c: Include <stdlib.h>.
75621         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75622         constants, which avoids warnings in 32-bit builds.
75624         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75625         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75627         * misc/lseek.c: File moved to ...
75628         * io/lseek.c: ... here.
75630         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75632         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75633         shifting LEN more than 31 bits at once.
75635 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75637         [BZ #14195]
75638         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75639         segmentation fault for a case of two empty input strings.
75640         * string/test-strncasecmp.c (check1): Renamed to...
75641         (bz12205): ...this.
75642         (bz14195): Add new testcase for two empty input strings and N > 0.
75643         (test_main): Call new testcase, adapt for renamed function.
75645 2012-08-15  Andreas Jaeger  <aj@suse.de>
75647         [BZ #14090]
75648         * crypt/md5test2.c: New test, based on test supplied by Serge
75649         Belyshev <belyshev@depni.sinp.msu.ru>.
75650         * crypt/Makefile (xtests): Add md5test-giant..
75651         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75653 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75655         [BZ #14090]
75656         * crypt/md5.c (md5_process_block): Don't assume the buffer
75657         length is less than 2**32.
75658         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75659         length is less than 2**64.
75661 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75663         * string/str-two-way.h: Include <sys/param.h>.
75664         (MAX): Macro removed.
75666         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75667         Move #define and #undef of memmove to just before and after
75668         including <string.h>.
75670         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75671         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75672         and after including <string.h>.  Move declarations of
75673         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75674         to before #include "string/memmove.c".
75676         * include/dirent.h: Declare __getdirentries.
75678         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75679         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75681 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75683         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75684         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75685         * sysdeps/i386/configure: Regenerated.
75686         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75687         STABS_CURRENT_FILE, and STABS_FUN.
75688         (END): Remove call to STABS_FUN_END.
75689         (STABS_CURRENT_FILE1): Delete.
75690         (STABS_CURRENT_FILE): Likewise.
75691         (STABS_FUN): Likewise.
75692         (STABS_FUN_END): Likewise.
75693         (STABS_FUN2): Likewise.
75694         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75695         * sysdeps/x86_64/configure: Regenerated.
75697 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75699         * elf/dl-open.c: Include <atomic.h>.
75700         * elf/dl-lookup.c: Likewise.
75702 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
75704         * sysdeps/unix/sysv/linux/kernel-features.h
75705         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75706         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75707         unconditionally.
75708         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75709         unconditionally.
75710         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75711         condition on __ASSUME_CLONE_THREAD_FLAGS.
75713 2012-08-14  Andreas Jaeger  <aj@suse.de>
75715         * sysdeps/i386/fpu/libm-test-ulps: Update.
75717 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
75719         * include/atomic.h (atomic_exchange_and_add): Split into ...
75720         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75721         New atomic macros.
75723 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
75725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75727 2012-08-13  Jeff Law <law@redhat.com>
75729         * manual/stdio.texi (snprintf): Clarify handling of the trailing
75730         null byte in the output string.
75732 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
75734         * sysdeps/unix/sysv/linux/kernel-features.h
75735         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75736         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75737         (__ASSUME_ARG_MAX_STACK_BASED): Define.
75738         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75739         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75740         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
75741         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75743 2012-08-09  Jeff Law <law@redhat.com>
75745         [BZ #13939]
75746         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75747         When avoid_arena is set, don't retry in the that arena.  Pick the
75748         next one, whatever it might be.
75749         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75750         (arena_lock): Pass in new parameter to arena_get2.
75751         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75752         arena_get2.
75753         (__libc_malloc): Unify retrying after main arena failure with
75754         __libc_memalign version.
75755         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75757 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
75759         [BZ #14166]
75760         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75761         to __redirect_strstr.
75762         (__strstr_sse42): Use typeof __redirect_strstr.
75763         (__strstr_ia32): Likewise.
75764         (__libc_strstr): New prototype.
75765         (strstr): Renamed to ...
75766         (__libc_strstr): This.
75767         (strstr): New strong alias of __libc_strstr.
75768         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75769         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75770         __redirect_time.
75771         Include <time.h>.
75772         (__libc_time): New prototype.
75773         (time_ifunc): Replace time with __libc_time.
75774         (time): New strong alias and hidden definition of __libc_time.
75775         (__GI_time): Remove strong alias.
75776         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75777         Include <stddef.h>.
75778         (memmove): Redefined to __redirect_memmove.
75779         (__memmove_sse2): Use typeof __redirect_memmove.
75780         (__memmove_ssse3): Likewise.
75781         (__memmove_ssse3_back): Likewise.
75782         (__libc_memmove): New prototype.
75783         (memmove): Renamed to ...
75784         (__libc_memmove): This.
75785         (memmove): New strong alias of __libc_memmove.
75787 2012-08-08  Mark Salter  <msalter@redhat.com>
75789         * elf/elf.h
75790         (R_MN10300_TLS_GD): Define.
75791         (R_MN10300_TLS_LD): Likewise.
75792         (R_MN10300_TLS_LDO): Likewise.
75793         (R_MN10300_TLS_GOTIE): Likewise.
75794         (R_MN10300_TLS_IE): Likewise.
75795         (R_MN10300_TLS_LE): Likewise.
75796         (R_MN10300_TLS_DTPMOD): Likewise.
75797         (R_MN10300_TLS_DTPOFF): Likewise.
75798         (R_MN10300_TLS_TPOFF): Likewise.
75799         (R_MN10300_SYM_DIFF): Likewise.
75800         (R_MN10300_ALIGN): Likewise.
75801         (R_MN10300_NUM): Update.
75803 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75806         Remove.
75808 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75810         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75812         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75813         sysdeps/unix -> sysdeps/posix move.
75814         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75816 2012-08-07      Allan McRae     <allan@archlinux.org>
75818         [BZ #14303]
75819         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75820         (SUNOS_CPP): Likewise.
75821         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75822         not found.
75823         (open_input): Call CPP using execvp.
75825 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75827         * sysdeps/unix/sysv/linux/kernel-features.h
75828         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75829         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75830         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75831         (__ASSUME_WAITID_SYSCALL): Likewise.
75832         * sysdeps/unix/sysv/linux/dl-execstack.c
75833         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75834         code unconditional.
75835         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75836         conditional code.
75837         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75838         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75839         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75840         code.
75841         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75842         unconditional.
75843         [__ASSUME_WAITID_SYSCALL]: Likewise.
75844         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75846 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75848         * sysdeps/unix/closedir.c: Renamed to ...
75849         * sysdeps/posix/closedir.c: ... here.
75850         * sysdeps/unix/dirfd.c: Renamed to ...
75851         * sysdeps/posix/dirfd.c: ... here.
75852         * sysdeps/unix/dirstream.h: Renamed to ...
75853         * sysdeps/posix/dirstream.h: ... here.
75854         * sysdeps/unix/fdopendir.c: Renamed to ...
75855         * sysdeps/posix/fdopendir.c: ... here.
75856         * sysdeps/unix/opendir.c: Renamed to ...
75857         * sysdeps/posix/opendir.c: ... here.
75858         * sysdeps/unix/readdir.c: Renamed to ...
75859         * sysdeps/posix/readdir.c: ... here.
75860         * sysdeps/unix/readdir_r.c: Renamed to ...
75861         * sysdeps/posix/readdir_r.c: ... here.
75862         * sysdeps/unix/rewinddir.c: Renamed to ...
75863         * sysdeps/posix/rewinddir.c: ... here.
75864         * sysdeps/unix/seekdir.c: Renamed to ...
75865         * sysdeps/posix/seekdir.c: ... here.
75866         * sysdeps/unix/telldir.c: Renamed to ...
75867         * sysdeps/posix/telldir.c: ... here.
75868         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75869         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75870         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75871         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75873         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75874         * bits/fcntl.h: ... here.
75876         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75877         not 0.
75878         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75879         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75880         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75881         (struct flock): Move l_start, l_len to the beginning.
75882         Use __pid_t for l_pid.
75883         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75884         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75885         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75886         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75887         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75888         [__USE_LARGEFILE64] (struct flock64): New type.
75889         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75891         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75892         * bits/dirent.h: ... here.
75894         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75895         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75897 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75899         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75900         Change from 2.6.0 to 2.6.16.
75901         * sysdeps/unix/sysv/linux/configure: Regenerated.
75902         * sysdeps/unix/sysv/linux/kernel-features.h
75903         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75904         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75905         version.
75906         (__ASSUME_UTIMES): Likewise.
75907         (__ASSUME_CLONE_STOPPED): Remove.
75908         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75909         architectures, not kernel version.
75910         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75911         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75912         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75913         (__ASSUME_WAITID_SYSCALL): Likewise.
75914         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75915         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75916         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75917         refer to older versions.
75919 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75921         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75922         Define alphasort64 as an alias.
75923         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75924         Define versionsort64 as an alias.
75925         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75926         Define scandir64 as an alias.
75927         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75928         Define scandirat64 as an alias.
75929         * dirent/alphasort64.c (alphasort64):
75930         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75931         * dirent/versionsort64.c: Likewise.
75932         * dirent/scandir64.c: Likewise.
75933         * dirent/scandirat64.c: Likewise.
75934         * sysdeps/wordsize-64/alphasort.c: File removed.
75935         * sysdeps/wordsize-64/alphasort64.c: File removed.
75936         * sysdeps/wordsize-64/scandir.c: File removed.
75937         * sysdeps/wordsize-64/scandir64.c: File removed.
75938         * sysdeps/wordsize-64/scandirat.c: File removed.
75939         * sysdeps/wordsize-64/scandirat64.c: File removed.
75940         * sysdeps/wordsize-64/versionsort.c: File removed.
75941         * sysdeps/wordsize-64/versionsort64.c: File removed.
75942         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75943         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75945         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75947         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75948         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75949         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75951         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75953         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75955         [defined __arch64__ || defined __sparcv9]
75956         (__INO_T_MATCHES_INO64_T): New macro.
75957         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75958         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75959         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75960         * sysdeps/unix/sysv/linux/bits/dirent.h
75961         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75962         (_DIRENT_MATCHES_DIRENT64): New macro.
75964         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75965         Define lockf64 as an alias.
75966         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75967         Define fseeko64 as an alias.
75968         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75969         Define ftello64 as an alias.
75970         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75971         Define _IO_fgetpos64 and fgetpos64 as aliases.
75972         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75973         Define _IO_fsetpos64 and fsetpos64 as aliases.
75974         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75975         Conditionalize body on this.
75976         * libio/fseeko64.c: Likewise.
75977         * libio/ftello64.c: Likewise.
75978         * libio/iofgetpos64.c: Likewise.
75979         * libio/iofsetpos64.c: Likewise.
75980         * sysdeps/wordsize-64/lockf.c: File removed.
75981         * sysdeps/wordsize-64/lockf64.c: File removed.
75982         * sysdeps/wordsize-64/fseeko.c: File removed.
75983         * sysdeps/wordsize-64/fseeko64.c: File removed.
75984         * sysdeps/wordsize-64/ftello.c: File removed.
75985         * sysdeps/wordsize-64/ftello64.c: File removed.
75986         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75987         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75988         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75989         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75991         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75992         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75993         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75994         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75995         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75996         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75997         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75999         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76001         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76002         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76003         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76004         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76005         [defined __arch64__ || defined __sparcv9]
76006         (__OFF_T_MATCHES_OFF64_T): New macro.
76007         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76008         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76010         (__OFF_T_MATCHES_OFF64_T): New macro.
76012 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76014         * stdlib/secure-getenv.c (__secure_getenv): Replace
76015         GLIBC_2_16 with GLIBC_2_17.
76017 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76019         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76020         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76022 2012-08-03  David S. Miller  <davem@davemloft.net>
76024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76026 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76028         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76029         Remove.
76030         (__ASSUME_CORRECT_SI_PID): Likewise.
76031         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76032         (__ASSUME_TMPFS_NAME): Likewise.
76033         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76034         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76035         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76036         (HAVE_AUX_SECURE): Make definition unconditional.
76037         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76038         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76040 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76042         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76043         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76044         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76045         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76046         __eloop_threshold instead of SYMLOOP_MAX.
76048         * sysdeps/generic/eloop-threshold.h: New file.
76049         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76050         of MAXSYMLINKS.
76051         * elf/chroot_canon.c (chroot_canon): Likewise.
76053 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76055         [BZ #13717]
76056         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76057         Change to 2.6.0 everywhere.
76058         * sysdeps/unix/sysv/linux/configure: Regenerated.
76059         * sysdeps/unix/sysv/linux/kernel-features.h
76060         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76061         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76062         kernel versions.
76063         (__ASSUME_POSIX_TIMERS): Define unconditionally.
76064         (__ASSUME_FUTEX_REQUEUE): Remove.
76065         (__ASSUME_STATFS64): Define unconditionally.
76066         (__ASSUME_AT_SECURE): Likewise.
76067         (__ASSUME_CORRECT_SI_PID): Likewise.
76068         (__ASSUME_TGKILL): Define without depending on kernel version for
76069         i386.
76070         (__ASSUME_UTIMES): Likewise.
76071         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76072         kernel version.
76073         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76074         (__ASSUME_TMPFS_NAME): Likewise.
76075         * README: Update reference to Linux kernel versions.
76077 2012-08-02  Marek Polacek  <polacek@redhat.com>
76079         [BZ #14150]
76080         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
76081         libc_cv_asm_type_prefix with %.
76082         * configure: Regenerated.
76083         * include/libc-symbols.h: Remove comment about
76084         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76085         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76086         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76087         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76088         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76089         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76090         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76091         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76092         * elf/tst-unique2mod1.c: Likewise.
76093         * elf/tst-unique1mod2.c: Likewise.
76094         * elf/tst-unique1mod1.c: Likewise.
76095         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76096         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76097         Replace ASM_TYPE_DIRECTIVE with .type.
76098         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76099         * sysdeps/i386/sysdep.h: Likewise.
76100         * sysdeps/x86_64/sysdep.h: Likewise.
76101         * sysdeps/sh/sysdep.h: Likewise.
76102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76103         Do not define ASM_TYPE_DIRECTIVE.
76104         * sysdeps/powerpc/sysdep.h: Likewise.
76105         * sysdeps/powerpc/powerpc32/sysdep.h:
76106         Replace ASM_TYPE_DIRECTIVE with .type.
76107         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76108         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76109         * sysdeps/i386/fpu/e_powf.S: Likewise.
76110         * sysdeps/i386/fpu/e_expl.S: Likewise.
76111         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76112         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76113         * sysdeps/i386/fpu/e_pow.S: Likewise.
76114         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76115         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76116         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76117         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76118         * sysdeps/i386/fpu/e_log2.S: Likewise.
76119         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76120         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76121         * sysdeps/i386/fpu/e_powl.S: Likewise.
76122         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76123         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76124         * sysdeps/i386/fpu/e_logl.S: Likewise.
76125         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76126         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76127         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76128         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76129         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76130         * sysdeps/i386/fpu/e_log.S: Likewise.
76131         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76132         * sysdeps/i386/fpu/e_logf.S: Likewise.
76133         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76135         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76136         * sysdeps/i386/fpu/e_log10.S: Likewise.
76137         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76138         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76139         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76140         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76141         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76142         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76143         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76144         * sysdeps/i386/i686/strtok.S: Likewise.
76145         * sysdeps/i386/i386-mcount.S: Likewise.
76146         * sysdeps/i386/strtok.S: Likewise.
76147         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76148         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76149         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76150         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76151         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76152         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76153         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76154         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76155         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76156         * sysdeps/x86_64/_mcount.S: Likewise.
76157         * sysdeps/x86_64/strtok.S: Likewise.
76158         * sysdeps/sh/_mcount.S: Likewise.
76160 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76162         * libio/iofopen.c: Include <fcntl.h>.
76163         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76164         (_IO_fopen64, fopen64): Define as aliases.
76165         * libio/iofopen64.c: Include <fcntl.h>.
76166         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76167         Conditionalize body on this.
76168         * sysdeps/wordsize-64/iofopen.c: File removed.
76169         * sysdeps/wordsize-64/iofopen64.c: File removed.
76171 2012-08-01  Marek Polacek  <polacek@redhat.com>
76173         * libc/Makeconfig: Use elf in place of binfmt-subdir.
76174         Use dlfcn directly instead of a variable.
76175         (binfmt-subdir): Do not define.
76176         (dlfcn): Likewise.
76178 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
76180         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76181         Remove all definitions.
76182         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76183         <kernel-features.h>.
76184         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76185         (miss_F_GETOWN_EX): Remove all definitions.
76186         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76187         macro definition.
76188         [!__ASSUME_FCNTL64]: Remove conditional code.
76189         [__ASSUME_FCNTL64]: Make code unconditional.
76190         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76191         <kernel-features.h>.
76192         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76193         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76194         (lockf64) [__NR_fcntl64]: Make code unconditional.
76195         (lockf64) [__ASSUME_FCNTL64]: Likewise.
76197         * sysdeps/unix/sysv/linux/kernel-features.h
76198         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76199         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76200         Make code unconditional.
76201         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76202         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76204         [__NR_vfork]: Make code unconditional.
76205         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76206         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76208         [__NR_vfork]: Make code unconditional.
76209         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76210         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76212 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76214         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76215         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76217         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76218         Define mkstemp64 as an alias.
76219         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76220         Define mkstemps64 as an alias.
76221         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76222         Define mkostemp64 as an alias.
76223         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76224         Define mkostemps64 as an alias.
76225         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76226         Conditionalize body on this.
76227         * misc/mkostemp64.c: Likewise.
76228         * misc/mkostemps64.c: Likewise.
76229         * misc/mkstemps64.c: Likewise.
76230         * sysdeps/wordsize-64/mkstemp64.c: File removed.
76231         * sysdeps/wordsize-64/mkostemp64.c: File removed.
76232         * sysdeps/wordsize-64/mkostemp.c: File removed.
76233         * sysdeps/wordsize-64/mkstemp.c: File removed.
76234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76236         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76237         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76239         [BZ #14138]
76240         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76241         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76242         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76243         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76245         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76246         compat_symbol macros from <shlib-compat.h> rather than the underlying
76247         default_symbol_version and symbol_version macros, so that DEFAULT
76248         lines in shlib-versions are respected.
76249         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76251 2012-08-01  Florian Weimer  <fweimer@redhat.com>
76253         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76254         Declare with warn_unused_result.
76255         (setgid, setregid, setegid, setresgid): Likewise.
76256         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76257         Likewise.
76258         * WUR-REPORT: Remove set*id functions.
76260 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
76262         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
76264 2012-07-31  Roland McGrath  <roland@hack.frob.com>
76266         [BZ #10191]
76267         * include/sys/socket.h (__libc_accept, __libc_accept4):
76268         Add attribute_hidden.
76269         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
76271         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
76272         use of PTR_MANGLE.
76273         * inet/getnetgrent_r.c (setup): Likewise.
76275         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76277 2012-07-31  David S. Miller  <davem@davemloft.net>
76279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76281 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
76283         [BZ #13629]
76284         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76285         value between 1.0 and 2.0 and smaller part has absolute value less
76286         than 1.0.
76287         * math/s_clog10.c (__clog10): Likewise.
76288         * math/s_clog10f.c (__clog10f): Likewise.
76289         * math/s_clog10l.c (__clog10l): Likewise.
76290         * math/s_clogf.c (__clogf): Likewise.
76291         * math/s_clogl.c (__clogl): Likewise.
76292         * math/libm-test.inc (clog_test): Add more tests.
76293         (clog10_test): Likewise.
76294         * sysdeps/i386/fpu/libm-test-ulps: Update.
76295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76297 2012-07-31  Florian Weimer  <fweimer@redhat.com>
76299         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76300         Exit with zero in case no suitable GID is found, and write a
76301         message to standard error.
76303 2012-07-30  Roland McGrath  <roland@hack.frob.com>
76305         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76306         rather than to 1.
76307         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76308         (MAXPATHLEN): Removed.
76309         (NOGROUP, NODEV): New macros.
76310         (setbit, clrbit, isset, isclr): New macros.
76311         (howmany, roundup, powerof2): New macros.
76312         (DEV_BSIZE): New macro.
76314         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
76315         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
76317         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
76318         definition on [!__NO_LONG_DOUBLE_MATH].
76320         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76321         PTR_MANGLE and PTR_DEMANGLE.
76323         * socket/accept4.c (accept4): Rename to __libc_accept4.
76324         Define accept4 as a weak alias.
76326         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76327         on [_DIRENT_HAVE_D_TYPE].
76328         * io/ftw.c (ftw_dir): Likewise.
76330         * io/xmknod.c (__xmknod): Don't check PATH for being null.
76332         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76334         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76335         Use the BSD numbers rather than the arbitrary ones we had.
76336         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76337         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76338         (SIGXCPU, SIGXFSZ): New macros.
76339         (_NSIG): Now 32.
76341         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76342         initializer on [_LIBC_REENTRANT].
76344         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76345         definitions inside [_POSIX_MAPPED_FILES].
76347         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76349         * dirent/opendir.c: Include <fcntl.h>.
76351         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76352         (__libc_getspecific): Likewise.
76353         (__libc_key_create): Likewise.
76355         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76356         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76357         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76358         (tmpfile64): Define as alias.
76359         * sysdeps/wordsize-64/tmpfile.c: File removed.
76360         * sysdeps/wordsize-64/tmpfile64.c: File removed.
76361         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76362         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76364         * stdio-common/vfscanf.c: Include <stdbool.h>.
76365         * nss/makedb.c: Likewise.
76366         * stdio-common/_i18n_number.h: Likewise.
76367         * argp/argp-help.c: Likewise.
76368         * posix/wordexp.c: Likewise.
76369         * sysdeps/posix/spawni.c: Likewise.
76370         * nss/nss_files/files-initgroups.c: Likewise.
76371         * stdio-common/reg-modifier.c: Include <stdlib.h>.
76372         * nss/nss_files/files-initgroups.c: Likewise.
76373         * nss/nss_db/db-netgrp.c: Likewise.
76374         * nss/nss_db/db-initgroups.c: Likewise.
76375         * io/fchmodat.c: Include <sys/stat.h>.
76377         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76378         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76380         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76381         [HAVE_MMAP].
76383         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76384         Add multiple inclusion protection.
76386 2012-07-27  David S. Miller  <davem@davemloft.net>
76388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76390 2012-07-27  Gary Benson  <gbenson@redhat.com>
76392         [BZ #14298]
76393         * elf/rtld.c: Include <stap-probe.h>.
76394         (dl_main): Added static probes "init_start" and "init_complete".
76395         * elf/dl-load.c: Include <stap-probe.h>.
76396         (lose): Take new parameter "nsid".
76397         Added static probe "map_failed".
76398         (_dl_map_object_from_fd): Pass namespace id to lose.
76399         Added static probe "map_start".
76400         (open_verify): Pass namespace id to lose.
76401         * elf/dl-open.c: Include <stap-probe.h>.
76402         (dl_open_worker) Added static probes "map_complete", "reloc_start"
76403         and "reloc_complete".
76404         * elf/dl-close.c: Include <stap-probe.h>.
76405         (_dl_close_worker): Added static probes "unmap_start" and
76406         "unmap_complete".
76407         * elf/rtld-debugger-interface.txt: New file documenting the above.
76409 2012-07-26  Roland McGrath  <roland@hack.frob.com>
76411         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76412         rather than a string variable.
76413         * sunrpc/rpc_main.c (h_output): Likewise.
76414         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76416 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
76418         * inet/check_native.c: New file.
76420 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
76422         [BZ #13629]
76423         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76424         if larger part has absolute value 1.0.
76425         * math/s_clog10.c (__clog10): Likewise.
76426         * math/s_clog10f.c (__clog10f): Likewise.
76427         * math/s_clog10l.c (__clog10l): Likewise.
76428         * math/s_clogf.c (__clogf): Likewise.
76429         * math/s_clogl.c (__clogl): Likewise.
76430         * math/libm-test.inc (clog_test): Add more tests.
76431         (clog10_test): Likewise.
76432         * sysdeps/i386/fpu/libm-test-ulps: Update.
76433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76435         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76436         (pltexit): Likewise.
76437         (La_regs): Likewise.
76438         (La_retval): Likewise.
76439         (int_retval): Likewise.
76440         Update #error for removed macros to refer only to definitions in
76441         tst-audit.h.
76442         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76443         macro.
76444         (pltexit): Likewise.
76445         (La_regs): Likewise.
76446         (La_retval): Likewise.
76447         (int_retval): Likewise.
76448         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76449         macro.
76450         (pltexit): Likewise.
76451         (La_regs): Likewise.
76452         (La_retval): Likewise.
76453         (int_retval): Likewise.
76454         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76455         macro.
76456         (pltexit): Likewise.
76457         (La_regs): Likewise.
76458         (La_retval): Likewise.
76459         (int_retval): Likewise.
76460         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76461         macro.
76462         (pltexit): Likewise.
76463         (La_regs): Likewise.
76464         (La_retval): Likewise.
76465         (int_retval): Likewise.
76466         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76467         macro.
76468         (pltexit): Likewise.
76469         (La_regs): Likewise.
76470         (La_retval): Likewise.
76471         (int_retval): Likewise.
76472         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76473         macro.
76474         (pltexit): Likewise.
76475         (La_regs): Likewise.
76476         (La_retval): Likewise.
76477         (int_retval): Likewise.
76478         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76479         macro definitions in tst-audit.h.
76480         * sysdeps/i386/tst-audit.h: New file.
76481         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76482         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76483         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76484         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76485         * sysdeps/sh/tst-audit.h: Likewise.
76486         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76487         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76488         * sysdeps/x86_64/tst-audit.h: Likewise.
76490 2012-07-26  Andreas Jaeger  <aj@suse.de>
76492         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76493         ptrace.
76495         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76496         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76497         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76498         PTRACE_O_MASK.
76499         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76500         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76501         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76503         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76504         value.
76506         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76507         _sigsys.
76508         (si_call_addr, si_syscall, si_arch): Define new macro.
76509         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76510         _sigsys.
76511         (si_call_addr, si_syscall, si_arch): Define new marcro.
76512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76513         _sigsys.
76514         (si_call_addr, si_syscall, si_arch): Define new macro.
76515         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76516         _sigsys.
76517         (si_call_addr, si_syscall, si_arch): Define new macro.
76519 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76521         [BZ #13717]
76522         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76523         Change to 2.4.21 where previously 2.4.1.
76524         * sysdeps/unix/sysv/linux/configure: Regenerated.
76525         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76526         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76527         Linux kernel version.
76528         (__ASSUME_STD_AUXV): Remove.
76529         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76530         kernel version.
76531         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76532         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76533         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76534         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76535         (__ASSUME_NETLINK_SUPPORT): Likewise.
76536         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76537         (__no_netlink_support): Remove conditional definition.
76538         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76539         Remove.
76540         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76541         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76542         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76543         (if_nameindex_ioctl): Remove.
76544         (if_nameindex_netlink): Do not handle __no_netlink_support.
76545         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76546         code.
76547         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76548         Remove conditional code.
76549         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76550         code.
76551         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76552         unconditional.
76553         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76554         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76555         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76556         Remove.
76557         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76558         [!__ASSUME_STD_AUXV]: Remove conditional code.
76559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76560         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76561         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76563         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76564         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76565         code.
76566         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76568         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76569         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76570         conditional code.
76571         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76573         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76574         code.
76575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76576         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76577         conditional code.
76578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76579         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76580         code unconditional.
76581         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76582         conditional code.
76583         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76584         unconditional.
76585         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76586         conditional code.
76587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76588         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76589         unconditional.
76590         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76591         conditional code.
76592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76593         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76594         code unconditional.
76595         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76596         conditional code.
76597         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76598         unconditional.
76599         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76600         conditional code.
76601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76602         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76603         code unconditional.
76604         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76605         conditional code.
76606         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76607         unconditional.
76608         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76609         conditional code.
76611 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76613         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76614         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76615         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76616         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76617         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76618         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76619         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76620         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76621         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76622         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76623         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76624         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76625         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76626         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76627         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76628         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76629         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76630         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76631         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76633         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76634         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76635         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76637 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76639         * Versions.def: Add GLIBC_2.17.
76640         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76641         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76642         Introduce __libc_secure_getenv.
76643         * stdlib/Versions (2.17): Add secure_getenv
76644         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76645         * stdlib/secure-getenv.c: Rename __secure_getenv to
76646         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76647         symbol __secure_getenv for GLIBC_2.0.
76648         * stdlib/tst-secure-getenv.c: New.
76649         * stdlib/Makefile (tests): Add testcase.
76650         * manual/startup.texi (Environment Access): Document
76651         secure_getenv.
76652         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76653         __libc_secure_getenv.
76654         * inet/ruserpass.c (ruserpass): Likewise.
76655         * malloc/mtrace.c (mtrace): Likewise.
76656         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76657         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76658         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76659         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76660         HAVE_SECURE_GETENV.
76661         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76662         __secure_getenv to __libc_secure_getenv.
76663         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76665         Likewise.
76666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76667         Likewise.
76668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76676 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76678         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76679         (struct La_i86_retval): Likewise.
76680         (struct La_x86_64_regs): Likewise.
76681         (struct La_x86_64_retval): Likewise.
76682         (struct La_x32_regs): Likewise.
76683         (struct La_x32_retval): Likewise.
76684         (struct La_ppc32_regs): Likewise.
76685         (struct La_ppc32_retval): Likewise.
76686         (struct La_ppc64_regs): Likewise.
76687         (struct La_ppc64_retval): Likewise.
76688         (struct La_sh_regs): Likewise.
76689         (struct La_sh_retval): Likewise.
76690         (struct La_s390_32_regs): Likewise.
76691         (struct La_s390_32_retval): Likewise.
76692         (struct La_s390_64_regs): Likewise.
76693         (struct La_s390_64_retval): Likewise.
76694         (struct La_sparc32_regs): Likewise.
76695         (struct La_sparc32_retval): Likewise.
76696         (struct La_sparc64_regs): Likewise.
76697         (struct La_sparc64_retval): Likewise.
76698         (struct audit_ifaces): Remove architecture-specific pltenter and
76699         pltexit members.
76700         * sysdeps/i386/ldsodefs.h: New file.
76701         * sysdeps/powerpc/ldsodefs.h: Likewise.
76702         * sysdeps/s390/ldsodefs.h: Likewise.
76703         * sysdeps/sh/ldsodefs.h: Likewise.
76704         * sysdeps/sparc/ldsodefs.h: Likewise.
76705         * sysdeps/x86_64/ldsodefs.h: Likewise.
76707 2012-07-25  Marek Polacek  <polacek@redhat.com>
76709         [BZ #6808]
76710         * math/libm-test.inc (yn_test): Add another test.
76711         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76712         to ERANGE when the result is +-Inf.
76713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76714         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76715         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76716         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76718 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
76720         * conform/data/time.h-data (NULL): Use macro-constant.  Require
76721         equal to 0.
76722         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
76723         clock_t.
76724         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
76726 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
76728         * configure.in <sysdeps resolving>: Correct printing
76729         Implies_before.
76730         * configure: Regenerate.
76732 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
76734         * math/w_ilogb.c: Include <limits.h>.
76735         * math/w_ilogbl.c: Likewise.
76737 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76739         * manual/lang.texi (__va_copy): Document primarily as ISO C99
76740         va_copy.  Document allowing for unavailable va_copy only as
76741         pre-C99 compatibility.
76742         * manual/string.texi (Copying and Concatenation): Use va_copy
76743         instead of __va_copy in concat example.
76745 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
76747         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76748         (__sendto): Use create_address_port.  Initialize APORT and deallocate
76749         it if not null.
76751         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76752         with O_NOLINK passed to __file_name_lookup.
76754         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76755         with O_NOLINK passed to __file_name_lookup.
76757         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76758         negative N or less than NGIDS.
76760         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76761         type to string_t.  Set ERANGE as errno and return it if NAME is not big
76762         enough.  Use memcpy instead of strncpy.
76764 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76766         * elf/Makefile (check-data): Remove.
76767         (localplt.data): New vpath directive.
76768         ($(objpfx)check-localplt.out): Use localplt.data from vpath
76769         instead of $(check-data).
76770         * scripts/data/localplt-generic.data: Move to ...
76771         * sysdeps/generic/localplt.data: ... here.
76772         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76773         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76774         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76776         ... here.
76777         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76779         ... here.
76780         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76782         ... here.
76783         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76785         ... here.
76786         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76788         ... here.
76789         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76791         ... here.
76793 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76795         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76796         PPC32 and PPC64 files.
76797         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76798         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76800 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76802         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76803         __makecontext_ret to ...
76804         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76805         ... here and call exit if uc_link is NULL.  New file.
76806         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76807         __makecontext_ret.S.
76808         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76809         __makecontext_ret to ...
76810         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76811         ... here and call exit if uc_link is NULL.  New file.
76812         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76813         __makecontext_ret.S.
76815 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76817         * elf/elf.h (R_390_IRELATIVE): New definition.
76818         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76819         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76820         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76822         (elf_machine_lazy_rel): Likewise.
76823         * sysdeps/s390/dl-irel.h: New file.
76824         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76825         * sysdeps/s390/s390-64/memset.S: New asm code.
76826         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76827         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76828         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76829         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76830         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76831         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76832         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76833         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76834         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76835         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76836         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76837         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76838         * sysdeps/s390/s390-32/memset.S: New asm code.
76839         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76841 2012-07-17  Marek Polacek  <polacek@redhat.com>
76843         [BZ #14349]
76844         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76845         * sysdeps/s390/s390-64/configure.in: Likewise.
76846         * sysdeps/sparc/configure.in: Likewise.
76847         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76848         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76849         * sysdeps/i386/configure.in: Likewise.
76850         * sysdeps/x86_64/configure.in: Likewise.
76851         * sysdeps/sh/configure.in: Likewise.
76852         * sysdeps/s390/s390-32/configure: Regenerated.
76853         * sysdeps/s390/s390-64/configure: Likewise.
76854         * sysdeps/x86_64/configure: Likewise.
76855         * sysdeps/sh/configure: Likewise.
76856         * sysdeps/powerpc/powerpc64/configure: Likewise.
76857         * sysdeps/powerpc/powerpc32/configure: Likewise.
76858         * sysdeps/sparc/configure: Likewise.
76859         * sysdeps/i386/configure: Likewise.
76861         * elf/dl-open.c: Comment fixes.
76863 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76865         * Makefile [CXX] (check-data): Remove.
76866         [CXX] (c++-types.data): New vpath directive.
76867         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76868         vpath.  Do not allow for C++ type data being missing.
76869         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76870         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76871         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76872         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76873         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76874         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76875         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76877         ... here.
76878         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76880         ... here.
76881         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76883         ... here.
76884         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76886         ... here.
76887         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76889         ... here.
76890         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76892         ... here.
76893         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76895         ... here.
76896         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76899         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76900         definitions to architecture-specific files.
76901         (TLS_IE): Likewise.
76902         (TLS_LD): Likewise.
76903         (TLS_GD): Likewise.
76904         * sysdeps/i386/tls-macros.h: New file.
76905         * sysdeps/powerpc/tls-macros.h: Likewise.
76906         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76907         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76908         * sysdeps/sh/tls-macros.h: Likewise.
76909         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76910         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76911         * sysdeps/x86_64/tls-macros.h: Likewise.
76913 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76915         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76916         zero value for regular exit case.
76918         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76919         (__start_context): Preserve zero value for regular exit case.
76921 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76922             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76924         * manual/setjmp.texi (setcontext): Clarify normal process
76925         termination when uc_link is the null pointer.
76926         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76927         exit call.
76929 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76931         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76932         preprocessor.  Test for each exception mask separately.
76934 2012-07-16  Andreas Jaeger  <aj@suse.de>
76936         * po/ru.po: Update from translation team.
76938 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76940         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76941         equal to 0.
76942         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76943         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76944         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76945         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76946         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76948 2012-07-13  Andreas Jaeger  <aj@suse.de>
76950         * po/fr.po: Update from translation team.
76952 2012-07-12  Marek Polacek  <polacek@redhat.com>
76954         [BZ #14173]
76955         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76956         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76957         loop condition.
76959 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76961         [BZ #13717]
76962         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76963         Change to 2.4.1 where previously 2.4.0.
76964         * sysdeps/unix/sysv/linux/configure: Regenerated.
76965         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76966         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76967         version.
76968         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76969         (__ASSUME_AT_CLKTCK): Remove.
76970         (__ASSUME_AT_PAGESIZE): Likewise.
76971         (__ASSUME_AT_XID): Likewise.
76972         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76973         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76974         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76975         unconditionally.
76976         (HAVE_AUX_PAGESIZE): Likewise.
76977         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76978         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76979         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76981 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76983         [BZ #14307]
76984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76985         the temporary buffer used to invoke __gethostbyname2_r,
76986         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76987         host_data / struct gaih_addrtuple.
76988         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76989         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76990         header file nss/nsswitch.h.
76991         * nss/nsswitch.h (global scope): Add definition of implementation
76992         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76993         resolv/nss_dns/dns-host.c).
76995 2012-07-11  Andreas Jaeger  <aj@suse.de>
76997         * po/fr.po: Update from translation team.
76999         * po/sv.po: Update from translation team
77000         * po/fr.po: Another update from translation team.
77002 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77004         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77005         for subnormals or multiply small sinh result by itself.
77006         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77009 2012-07-11  David S. Miller  <davem@davemloft.net>
77011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77013 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77015         [BZ #14347]
77016         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77017         (INTERNAL_MARK): Shift it here.
77019 2012-07-10  Marek Polacek  <polacek@redhat.com>
77021         [BZ #14151]
77022         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77023         libc_cv_asm_global_directive with .globl.
77024         * configure: Regenerated.
77025         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77026         with .globl.
77027         * sysdeps/i386/configure: Regenerated.
77028         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77029         with .globl.
77030         * sysdeps/x86_64/configure: Regenerated.
77031         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77032         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77033         * elf/tst-unique2mod2.c: Likewise.
77034         * elf/tst-unique2mod1.c: Likewise.
77035         * elf/tst-unique1mod2.c: Likewise.
77036         * elf/tst-unique1mod1.c: Likewise.
77037         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77038         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77040         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77041         * sysdeps/mach/sysdep.h: Likewise.
77042         * sysdeps/i386/sysdep.h: Likewise.
77043         * sysdeps/i386/i386-mcount.S: Likewise.
77044         * sysdeps/x86_64/_mcount.S: Likewise.
77045         * sysdeps/x86_64/sysdep.h: Likewise.
77046         * sysdeps/sh/_mcount.S: Likewise.
77047         * sysdeps/sh/sysdep.h: Likewise.
77048         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77049         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77050         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77051         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77052         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77053         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77054         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77055         * locale/localeinfo.h: Likewise.
77056         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77057         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77059 2012-07-09  Roland McGrath  <roland@hack.frob.com>
77061         [BZ #14336]
77062         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77063         system".
77064         * manual/message.texi (The Uniforum approach): Likewise.
77065         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77066         (glibc iconv Implementation): Likewise.
77068 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
77070         [BZ #14337]
77071         * math/s_clog.c (__clog): Avoid scaling a value down where that
77072         could result in underflow.
77073         * math/s_clog10.c (__clog10): Likewise.
77074         * math/s_clog10f.c (__clog10f): Likewise.
77075         * math/s_clog10l.c (__clog10l): Likewise.
77076         * math/s_clogf.c (__clogf): Likewise.
77077         * math/s_clogl.c (__clogl): Likewise.
77078         * math/libm-test.inc (clog_test): Add more tests.
77079         (clog10_test): Likewise.
77080         * sysdeps/i386/fpu/libm-test-ulps: Update.
77081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77083 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77085         [BZ #14283]
77086         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77087         by 7 not 8 to examine high bit of fractional part.
77089         [BZ #14042]
77090         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77091         for call to __mcount_internal.
77092         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77093         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77094         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77096 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
77098         [BZ #14154]
77099         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77100         approximation for values within 0x1p-13f of an odd multiple of
77101         pi/4.
77102         * math/libm-test.inc (tan_test): Do not allow spurious underflow
77103         exception.  Add more tests.
77104         * sysdeps/i386/fpu/libm-test-ulps: Update.
77106         [BZ #6778]
77107         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77108         inputs and return -1 for them.  Do not check for +Inf in case not
77109         reachable for +Inf.
77110         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77111         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77112         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77113         and return -1 for them.  Do not check for +Inf in case not
77114         reachable for +Inf.
77115         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77116         define.
77117         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77118         and return -1 for them.  Do not check for +Inf in case not
77119         reachable for +Inf.
77120         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
77121         spurious underflow.
77122         * sysdeps/i386/fpu/libm-test-ulps: Update.
77123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77125 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
77127         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77129 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
77131         [BZ #14157]
77132         [BZ #14331]
77133         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77134         could result in spurious underflow.  Scale down values above
77135         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77136         * math/s_csqrtf.c (__csqrtf): Likewise.
77137         * math/s_csqrtl.c (__csqrtl): Likewise.
77138         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
77139         spurious underflow.
77140         * sysdeps/i386/fpu/libm-test-ulps: Update.
77141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77143 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
77145         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77146         xopen-msg.sed.
77147         * catgets/xopen-msg.awk: New file.
77148         * catgets/xopen-msg.sed: Removed.
77150         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77151         po2text.sed.
77152         * intl/po2test.awk: New file.
77153         * intl/po2test.sed: Removed.
77155 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
77157         [BZ #14328]
77158         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77159         or multiply small sinh result by itself.
77160         * math/s_ctanf.c (__ctanf): Likewise.
77161         * math/s_ctanh.c (__ctanh): Likewise.
77162         * math/s_ctanhf.c (__ctanhf): Likewise.
77163         * math/s_ctanhl.c (__ctanhl): Likewise.
77164         * math/s_ctanl.c (__ctanl): Likewise.
77165         * math/libm-test.inc (ctan_test_tonearest): New function.
77166         (ctan_test_towardzero): Likewise.
77167         (ctan_test_downward): Likewise.
77168         (ctan_test_upward): Likewise.
77169         (ctanh_test_tonearest): Likewise.
77170         (ctanh_test_towardzero): Likewise.
77171         (ctanh_test_downward): Likewise.
77172         (ctanh_test_upward): Likewise.
77173         (main): Call these new functions.
77174         * sysdeps/i386/fpu/libm-test-ulps: Update.
77175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77177 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
77179         * .gitignore: Delete /ports entry.
77181 2012-07-03  Andreas Jaeger  <aj@suse.de>
77183         * po/bg.po: Update from translation team.
77184         * po/cs.po: Likewise.
77185         * po/de.po: Likewise.
77186         * po/hr.po: Likewise.
77187         * po/nl.pl: Likewise.
77188         * po/pl.po: Likewise.
77189         * po/vi.po: Likewise.
77191 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
77193         * Makeconfig [!+link] (+link-before-libc): New variable.
77194         [!+link] (+link-after-libc): Likewise.
77195         [!+link] (+link-tests): Likewise.
77196         [!+link] (+link): Define in terms of $(+link-before-libc) and
77197         $(+link-after-libc).
77198         [!+link-static] (+link-static-before-libc): New variable.
77199         [!+link-static] (+link-static-after-libc): Likewise.
77200         [!+link-static] (+link-static-tests): Likewise.
77201         [!+link-static] (+link-static): Define in terms of
77202         $(+link-static-before-libc) and $(+link-static-after-libc).
77203         [build-shared] (link-libc-before-gnulib): New variable.
77204         [build-shared] (link-libc-tests): Likewise.
77205         [build-shared] (link-libc): Define in terms of
77206         $(link-libc-before-gnulib).
77207         [!build-shared] (link-libc-tests): New variable.
77208         (link-libc-static-tests): New variable.
77209         [!gnulib] (gnulib-arch): New variable.
77210         [!gnulib] (gnulib-tests): Likewise.
77211         [!gnulib] (static-gnulib-arch): Likewise.
77212         [!gnulib] (static-gnulib-tests): Likewise.
77213         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
77214         Define with "=" instead of ":=".
77215         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
77216         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
77217         * Rules (binaries-all-notests): New variable.
77218         (binaries-all-tests): Likewise.
77219         (binaries-static-notests): Likewise.
77220         (binaries-static-tests): Likewise.
77221         (binaries-all): Define using $(binaries-all-notests) and
77222         $(binaries-all-tests).
77223         (binaries-static): Define using $(binaries-static-notests) and
77224         $(binaries-static-tests).
77225         (binaries-shared-tests): New variable.
77226         (binaries-shared-notests): Likewise.
77227         (binaries-shared): Remove variable.
77228         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77229         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77230         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77231         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77232         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77233         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77234         * elf/Makefile (sln-modules): New variable.
77235         (extra-objs): Add $(sln-modules:=.o).
77236         (ldconfig-modules): Add static-stubs.
77237         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77238         * elf/static-stubs.c: New file.
77240         [BZ #14283]
77241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77242         by 7 not 8 to examine high bit of fractional part.  Use volatile
77243         variables when splitting into final array of floats if
77244         __FLT_EVAL_METHOD__ != 0.
77245         * math/libm-test.inc (cos_test): Add another test.
77246         (sin_test): Likewise.
77247         * sysdeps/i386/fpu/libm-test-ulps: Update.
77249         [BZ #14273]
77250         * math/libm-test.inc (cosh_test): Add more tests.
77252         * version.h (RELEASE): Set to "development".
77253         (VERSION): Set to "2.16.90".
77255 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
77257         * NEWS: Update copyright. Remove last-updated date.
77258         Mention math library bug fixes and timezone data changes.
77259         * README: Mention GNU/Hurd, x32, and HPPA support status.
77261 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
77263         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
77265 2012-06-27  Andreas Jaeger  <aj@suse.de>
77267         * manual/contrib.texi (Contributors): Add Samuel Thibault.
77269 2012-06-25  Andreas Jaeger  <aj@suse.de>
77271         * sysdeps/s390/fpu/libm-test-ulps: Update.
77273 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
77274             Thomas Schwinge  <thomas@codesourcery.com>
77276         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77277         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77279         fanotify_mark.
77281 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
77283         * sysdeps/mach/start.c: Remove file.
77284         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77285         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77286         * sysdeps/sh/init-first.c: Likewise.
77288         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77289         registers for frame unwinding purposes, add CFI directives.
77290         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77291         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77292         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77293         Likewise.
77295         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77296         __fortify_fail returning.
77297         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77299         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77300         sysdeps/sh/____longjmp_chk.S.
77301         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77302         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77303         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77304         (gen-as-const-headers): Append sigaltstack-offsets.sym.
77306         * sysdeps/sh/abort-instr.h: New file.
77307         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77308         process in case exit returns.
77310         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
77311         initialize the GOT register before use.
77313         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
77314         calculation of ARGC > 4.
77316         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
77317         meaningful names to some local labels.
77319 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77320             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77322         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77323         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77324         (__arch_compare_and_exchange_val_16_acq): Likewise.
77325         (__arch_compare_and_exchange_val_32_acq): Likewise.
77326         (atomic_exchange_and_add): Fix gUSA sequence.
77327         (atomic_add): Likewise.
77328         (atomic_add_negative): Likewise.
77329         (atomic_add_zero): Likewise.
77330         (atomic_bit_test_set): Likewise.
77332 2012-06-22  Andreas Schwab  <schwab@redhat.com>
77334         [BZ #13579]
77335         * include/link.h (struct link_map): Add l_free_initfini.
77336         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77337         l_initfini.
77338         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77339         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77340         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77341         set.
77343 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
77345         * configure.in: Use AC_LANG_SOURCE.
77346         * configure: Regenerate.
77348 2012-06-22  Roland McGrath  <roland@hack.frob.com>
77350         * configure.in (libc_cv_localstatedir): New substituted variable.
77351         * configure: Regenerated.
77352         * config.make.in (localstatedir): New variable, substituted from
77353         libc_cv_localstatedir.
77354         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77355         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77356         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77357         * sysdeps/gnu/configure: Regenerated.
77359 2012-06-21  Jeff Law  <law@redhat.com>
77361         [BZ #14277]
77362         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77363         free.  Simplify list management for _LIBC case.
77365 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
77367         [BZ #14273]
77368         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77369         Clear sign bit of 64-bit integer value before comparing against
77370         overflow value.
77372         * sysdeps/mach/configure: Regenerated.
77374 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
77376         [BZ #14278]
77377         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77379 2012-06-21  Jeff Law  <law@redhat.com>
77381         [BZ #13882]
77382         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
77383         uint16_t for elements in the "seen" array to avoid char overflows.
77384         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77385         * elf/dl-open.c (dl_open_worker): Likewise.
77387 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
77389         * scripts/list-sources.sh: Scan PORTS for translations.
77390         * po/libc.pot: Regenerated.
77392 2012-06-21  Andreas Jaeger  <aj@suse.de>
77394         [BZ #12194]
77395         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77396         warning.
77397         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77398         * bits/byteswap-16.h (__bswap_16): Likewise.
77399         * bits/byteswap.h (__bswap_constant_16): Likewise.
77401 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
77403         [BZ #14117]
77404         * sysdeps/i386/fpu_control.h: Removed.
77405         * sysdeps/x86_64/fpu_control.h: Moved to ...
77406         * sysdeps/x86/fpu_control.h: Here.
77408         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77409         (_FPU_SETCW): Likewise.
77411 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
77413         [BZ #14117]
77414         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77415         * sysdeps/x86/fpu/bits/mathinline.h: This.
77416         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77418         [BZ #14050]
77419         [BZ #14117]
77420         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77421         functions if __x86_64__ is defined.
77423 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77425         * string/endian.h: Add !__ASSEMBLER__ condition for including
77426         conversion interfaces.
77428 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77430         [BZ #14241]
77431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77432         of ABS(x) in calculating zero to negative powers other than odd
77433         integers.
77434         * math/libm-test.inc (pow_test): Add more tests.
77436 2012-06-15  Andreas Jaeger  <aj@suse.de>
77438         * manual/contrib.texi (Contributors): Update entry of Liubov
77439         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77440         Machado Filho.
77442 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77444         * string/string.h: Add __wur to GNU version of strerror_r.
77446 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77448         [BZ #14229]
77449         * string/Makefile (tests): Add tst-strtok_r.
77450         * string/tst-strtok_r.c: New file.
77451         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77452         RAX_LP/RDX_LP on SAVE_PTR.
77454 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77456         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77458 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77460         * libm_test.inc (csqrt_test): Allow more spurious underflow
77461         exceptions.
77462         (j0_test): Likewise.
77463         (j1_test): Likewise.
77464         (y0_test): Likewise.
77465         (y1_test): Likewise.
77467 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77469         * po/Makefile (libc.pot): Use UTF-8 charset.
77471 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77473         [BZ #14210]
77474         Suppress sign-conversion warning from FD_SET.
77475         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77476         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77477         not unsigned long int.
77478         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77480 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77482         [BZ #14050]
77483         [BZ #14117]
77484         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77485         __extern_always_inline instead of __extern_inline.
77486         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77487         (__signbit): Likewise.
77488         (__signbitl): Support C++ namespace.
77489         (lrintf): New inline function.
77490         (lrint): Likewise.
77491         (llrintf): Likewise.
77492         (llrint): Likewise.
77493         (fmaxf): Likewise.
77494         (fmax): Likewise.
77495         (fminf): Likewise.
77496         (fmin): Likewise.
77497         (rint): Likewise.
77498         (rintf): Likewise.
77499         (ceil): Likewise.
77500         (ceilf): Likewise.
77501         (floor): Likewise.
77502         (floorf): Likewise.
77503         (nearbyint): Likewise.
77504         (nearbyintf): Likewise.
77506 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77509         non-default versions.
77511 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77513         [BZ #14218]
77514         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77516 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77518         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77519         (FE_UPWARD, FE_DOWNWARD): Don't define.
77520         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77521         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77523         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77524         reading it.
77525         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77526         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77528 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77530         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77532         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77533         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77535 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77537         [BZ #14117]
77538         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77539         * sysdeps/i386/fpu/Implies: New file.
77540         * sysdeps/x86_64/fpu/Implies: Likewise.
77541         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77542         * sysdeps/x86/fpu/bits/fenv.h: This.
77544         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77545         __SSE_MATH__.
77547 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77549         [BZ #14134]
77550         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77551         character 0xffff that matches the last element of the
77552         conversion table.
77554 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77556         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77557         fmodl commit.
77559 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77561         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77562         values higher than 25.6283.
77564 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77566         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77567         subnormal exponent extraction and add some __builtin_expect.
77568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77569         Fix for subnormal mantissa calculation.
77571 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77573         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77574         cpu2 is -1 and errno is not ENOSYS.
77576 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77578         [BZ #14117]
77579         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77580         * sysdeps/x86/bits/string.h: This.
77581         * sysdeps/x86_64/bits/string.h: Removed.
77583         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77584         if not compiling for x86-64, but compiling for >= i486.
77586         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77587         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77589         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77590         New macro from Linux kernel 3.4.0.
77591         (FP_XSTATE_MAGIC2): Likewise.
77592         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77593         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77594         (struct _fpx_sw_bytes): New struct.
77595         (struct _xsave_hdr): Likewise.
77596         (struct _ymmh_state): Likewise.
77597         (struct _xstate): Likewise.
77599         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77600         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77601         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77602         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77603         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77604         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77606         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77607         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77608         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77609         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77610         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77611         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77613 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77615         [BZ #13743]
77616         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77617         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77618         (sysdep_headers): Include sys/platform/ppc.h.
77619         * sysdeps/powerpc/test-gettimebase.c: Test for
77620         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77621         * manual/Makefile (appendices): Include platform.texi.
77622         * manual/contrib.texi (Contributors): Update @node pointers.
77623         * manual/maint.texi (Maintenance): Likewise.
77624         (Platform): New node.
77625         * manual/platform.texi: New file.  Document the new features.
77627 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77628             Jakub Jelinek  <jakub@redhat.com>
77630         [BZ #14188]
77631         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77632         where __builtin_expect is unavailable.
77634 2012-06-03  David S. Miller  <davem@davemloft.net>
77636         * stdlib/longlong.h: Updated from GCC.
77638 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77640         [BZ #14042]
77641         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77642         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77643         __mcount_internal.
77644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77645         (GLIBC_2.16): Likewise.
77647 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77649         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77651 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77654         (default-abi): New variable.
77655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77656         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77657         variable.
77658         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77659         Likewise.
77660         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77661         Likewise.
77662         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77663         Likewise.
77665         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77666         definition.  Document in comment.
77668 2012-06-01  David S. Miller  <davem@davemloft.net>
77670         * stdlib/longlong.h: Updated from GCC.
77672 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77674         [BZ #14117]
77675         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77676         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77677         sys/debugreg.h sys/io.h here.
77678         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77679         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77680         sys/io.h.
77681         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77682         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77683         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77684         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77685         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77686         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77688         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77689         Define only if __x86_64__ is defined.
77691 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77693         [BZ #14048]
77694         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77695         Use int64_t for variable i.
77696         * math/libm-test.inc (fmod_test): Add more tests.
77698         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77699         z computation is not scheduled after fetestexcept.
77700         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77701         Use math_force_eval instead of asm to ensure calculation scheduled
77702         before exception test.
77703         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77704         Ensure a1 + u.d computation is not scheduled after fetestexcept.
77706 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
77708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77709         computation is not scheduled after fetestexcept.
77711 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77713         [BZ #14117]
77714         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77715         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77717 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77719         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77720         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77722 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77724         [BZ #14117]
77725         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77726         <bits/wordsize.h>.
77727         (__WCHAR_MIN): Support __WORDSIZE == 64.
77728         (__WCHAR_MAX): Likewise.
77730         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77731         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77733         [BZ #14183]
77734         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77735         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77737         [BZ #14117]
77738         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77739         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77741         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77742         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77744         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77745         Defined to 1 if __x86_64__ isn't defined.
77746         (_STAT_VER_LINUX_OLD): New.
77747         (st_atime): Remove duplicate.
77748         (st_mtime): Likewise.
77749         (st_ctime): Likewise.
77751 2012-05-31  David S. Miller  <davem@davemloft.net>
77753         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77754         entries.
77756 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
77758         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77759         gen-libm-test.pl.
77761         [BZ #14132]
77762         * elf/dl-reloc.c: Include <_itoa.h>.
77763         (_dl_reloc_bad_type): Remove use of INTUSE.
77764         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77765         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77766         * stdio-common/psiginfo.c (psiginfo): Likewise.
77767         * stdio-common/psignal.c (psignal): Likewise.
77768         * string/strsignal.c (strsignal): Likewise.
77769         * include/signal.h (_sys_siglist): Declare hidden proto.
77770         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
77771         INTVARDEF with libc_hidden_data_def.
77772         * stdio-common/itoa-udigits.c: Likewise.
77773         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77774         (_itoa_lower_digits_internal): Remove declaration.
77775         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77776         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77777         (_sys_sigabbrev_internal): Remove aliases.
77778         (_sys_siglist): Define hidden alias.
77780 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
77782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77783         bits/sysctl.h.
77785 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77787         [BZ #14117]
77788         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77789         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77791         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77792         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77793         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77794         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77796         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77798         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77799         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77800         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77802         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77803         with __addr.
77804         (insw): Likewise.
77805         (insl): Likewise.
77806         (outsb): Likewise.
77807         (outsw): Likewise.
77808         (outsl): Likewise.
77810         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77811         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77812         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77814         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77815         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77816         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77817         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77818         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77819         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77821         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77822         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77824         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77825         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77827         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77829         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77831         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77832         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77833         to ...
77834         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77836         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77837         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77838         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77840         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77841         for x86-64.
77842         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77844 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77846         * math/math.h (M_El): Use two more decimal places.
77847         (M_LOG2El): Likewise.
77848         (M_LOG10El): Likewise.
77849         (M_LN2l): Likewise.
77850         (M_LN10l): Likewise.
77851         (M_PIl): Likewise.
77852         (M_PI_2l): Likewise.
77853         (M_PI_4l): Likewise.
77854         (M_1_PIl): Likewise.
77855         (M_2_PIl): Likewise.
77856         (M_2_SQRTPIl): Likewise.
77857         (M_SQRT2l): Likewise.
77858         (M_SQRT1_2l): Likewise.
77860 2012-05-31  David S. Miller  <davem@davemloft.net>
77862         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77863         values between float registers.
77864         * sysdeps/sparc/sparc64/memset.S: Likewise.
77865         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77867 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77869         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77870         -D_FORTIFY_SOURCE=1.
77871         (CPPFLAGS-tst-longjmp_chk.c): Define.
77872         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77873         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77874         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77875         CFLAGS-tst-wchar-h.c.
77877 2012-05-31  Marek Polacek  <polacek@redhat.com>
77879         [BZ #14132]
77880         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77881         __endmntent_internal): Remove declaration.
77882         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77883         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77884         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77886 2012-05-30  David S. Miller  <davem@davemloft.net>
77888         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77889         (___Q_simulate_exceptions): Use real FP ops rather than writing
77890         into the %fsr.
77891         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77892         Likewise.
77894 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77896         [BZ #14117]
77897         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77898         * sysdeps/x86/bits/xtitypes.h: This.
77900         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77901         * sysdeps/x86/bits/wordsize.h: This.
77903         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77904         * sysdeps/x86/bits/huge_vall.h: This.
77906         * sysdeps/i386/bits/select.h: Removed.
77907         * sysdeps/x86_64/bits/select.h: Renamed to ...
77908         * sysdeps/x86/bits/select.h: This.
77910         * sysdeps/i386/bits/setjmp.h: Removed.
77911         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77912         * sysdeps/x86/bits/setjmp.h: This.
77914         * sysdeps/i386/bits/mathdef.h: Removed.
77915         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77916         * sysdeps/x86/bits/mathdef.h: This.
77918 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77920         [BZ #14132]
77921         * include/sys/socket.h (__connect_internal)
77922         (__libc_sa_len_internal): Remove declaration.
77923         (__connect, __libc_sa_len): Declare hidden_proto.
77924         (SA_LEN): Remove use of INTUSE.
77925         * socket/connect.c: Add libc_hidden_def.
77926         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77927         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77928         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77929         alias.
77930         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77931         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77932         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77933         of adding _internal alias.
77935 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77937         [BZ #14117]
77938         * sysdeps/i386/bits/link.h: Removed.
77939         * sysdeps/i386/bits/linkmap.h: Likewise.
77940         * sysdeps/x86_64/bits/link.h: Renamed to ...
77941         * sysdeps/x86/bits/link.h: This.
77942         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77943         * sysdeps/x86/bits/linkmap.h: This.
77945         * sysdeps/i386/bits/endian.h: Removed.
77946         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77947         * sysdeps/x86/bits/endian.h: This.
77949         * sysdeps/i386/bits/byteswap.h: Removed.
77950         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77951         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77952         * sysdeps/x86/bits/byteswap.h: This.
77953         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77954         * sysdeps/x86/bits/byteswap-16.h: This.
77955         * sysdeps/i386/Implies: Add x86.
77956         * sysdeps/x86_64/Implies: Likewise.
77958 2012-05-30  David S. Miller  <davem@davemloft.net>
77960         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77961         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77962         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77963         (FP_TRAPPING_EXCEPTIONS): Define.
77964         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77965         (FP_TRAPPING_EXCEPTIONS): Define.
77966         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77967         subnormals only when inexact has been signalled or underflow
77968         exceptions are enabled.
77969         (_FP_PACK_CANONICAL): Likewise.
77971 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77973         [BZ #14183]
77974         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77975         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77977 2012-05-30  Richard Henderson  <rth@twiddle.net>
77979         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77980         with #ifndef NOT_IN_libc.
77982         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77983         marked to avoid plt entry.
77985 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77987         [BZ #14112]
77988         * Makeconfig (default-abi): New macro.
77989         (abi-includes): Likewise.
77990         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77991         $(abi-$(default-abi)-lib-soname) for soname if defined.
77992         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77993         abi-variants.
77994         * Makefile (installed-stubs): Likewise.
77995         * include/stubs-biarch.h: Removed.
77996         * scripts/lib-names.awk: Only handle one library at a time.
77997         * scripts/soversions.awk: Remove WORDSIZE support.
77998         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77999         entries.
78000         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78001         Removed.
78002         (syscall-list-default-condition): Likewise.
78003         (syscall-list-default-condition): Likewise.
78004         (syscall-list-includes): Likewise.
78005         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78006         syscall-list-* with abi-*.  Handle undefined abi-variants.
78007         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78008         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78009         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78010         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78011         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78012         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78013         Removed.
78014         (syscall-list-32-options): Likewise.
78015         (syscall-list-32-condition): Likewise.
78016         (syscall-list-64-options): Likewise.
78017         (syscall-list-64-condition): Likewise.
78018         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78019         macro.
78020         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78021         Renamed to ...
78022         (abi-*): This.
78023         (abi-64-ld-soname): New macro.
78024         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78025         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78026         Renamed to ...
78027         (abi-*): This.
78028         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78029         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78031 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78033         * sysdeps/unix/sysv/linux/kernel-features.h
78034         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78035         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78036         include <kernel-features.h>.
78037         [!__NR_ftruncate64]: Remove conditional code.
78038         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78039         [__NR_ftruncate64]: Make code unconditional.
78040         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78041         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78042         include <kernel-features.h>.
78043         [!__NR_ftruncate64]: Remove conditional code.
78044         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78045         [__NR_ftruncate64]: Make code unconditional.
78046         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78048         include <kernel-features.h>.
78049         [!__NR_ftruncate64]: Remove conditional code.
78050         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78051         [__NR_ftruncate64]: Make code unconditional.
78052         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78054         include <kernel-features.h>.
78055         [!__NR_ftruncate64]: Remove conditional code.
78056         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78057         [__NR_ftruncate64]: Make code unconditional.
78058         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78060         * configure.in (libc_cv_fpie): Weaken to a compile test using
78061         LIBC_TRY_CC_OPTION.
78062         * configure: Regenerated.
78064 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78070         Refreshed.
78071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78077         Refreshed.
78079 2012-05-27  David S. Miller  <davem@davemloft.net>
78081         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78082         (___Q_zero): New.
78083         (__Q_simulate_exceptions): Return void.  Change to simulate
78084         exceptions by writing into the %fsr.
78085         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78086         (__Qp_handle_exceptions): Likewise.
78087         (numbers): Delete.
78088         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78089         __Qp_handle_exceptions.
78090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78091         __Qp_handle_exceptions.
78092         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78093         as unused and give dummy FP_RND_NEAREST initializer.
78094         (FP_INHIBIT_RESULTS): Define.
78095         (___Q_simulate_exceptions): Update declaration.
78096         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78097         formatting.
78098         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78099         as unused and give dummy FP_RND_NEAREST initializer.
78100         (__Qp_handle_exceptions): Update declaration.
78101         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78102         formatting.
78104 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
78106         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78107         the temporary FPU control word.
78108         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78109         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78110         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78111         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78112         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78113         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78114         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78115         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78116         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78117         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78118         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78120 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78122         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78123         fields.
78125 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
78127         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78128         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78129         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78130         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78131         Likewise.
78132         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78133         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78134         Likewise.
78136 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
78138         * po/h.po: Update from translation team.
78140 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
78142         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78144         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78145         handling of denormals.
78146         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78147         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78148         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78149         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78150         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78152         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78153         Likewise.
78155 2012-05-26  Marek Polacek  <polacek@redhat.com>
78157         [BZ #14152]
78158         * math/libm-test.inc (fma_test): Don't always expect underflow
78159         exception.
78161 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78163         [BZ #12416]
78164         * elf/tst-execstack.c: Include stackinfo.h.
78165         (do_test): Adjust test case to ensure that pthread_getattr_np
78166         behaviour remains the same after marking stack executable.
78168 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78170         * sysdeps/unix/sysv/linux/kernel-features.h
78171         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78172         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78173         kernel-features.h.
78174         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78175         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78176         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78177         kernel-features.h.
78178         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78179         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78181 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
78183         * configure.in: Define the default includes to being none.
78184         * configure: Regenerated.
78186 2012-05-25  Roland McGrath  <roland@hack.frob.com>
78188         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78189         * sysdeps/x86_64/setjmp.S: Likewise.
78190         * sysdeps/i386/bsd-setjmp.S: Likewise.
78191         * sysdeps/i386/bsd-_setjmp.S: Likewise.
78192         * sysdeps/i386/setjmp.S: Likewise.
78193         * sysdeps/i386/__longjmp.S: Likewise.
78194         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78195         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78197         * include/stap-probe.h: New file.
78198         * configure.in: Handle --enable-systemtap.
78199         * configure: Regenerated.
78200         * config.h.in (USE_STAP_PROBE): New #undef.
78201         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78202         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78203         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78205 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78207         [BZ #13717]
78208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78209         to 2.4.0 where earlier.
78210         * sysdeps/unix/sysv/linux/configure: Regenerated.
78211         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78212         <kernel-features.h>.
78213         [__ASSUME_32BITUIDS]: Make code unconditional.
78214         [!__ASSUME_32BITUIDS]: Remove conditional code.
78215         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78216         <kernel-features.h>.
78217         [__ASSUME_32BITUIDS]: Make code unconditional.
78218         [!__ASSUME_32BITUIDS]: Remove conditional code.
78219         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78220         [__ASSUME_32BITUIDS]: Make code unconditional.
78221         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78222         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78223         <kernel-features.h>.
78224         [__ASSUME_32BITUIDS]: Make code unconditional.
78225         [!__ASSUME_32BITUIDS]: Remove conditional code.
78226         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78227         <kernel-features.h>.
78228         [__ASSUME_32BITUIDS]: Make code unconditional.
78229         [!__ASSUME_32BITUIDS]: Remove conditional code.
78230         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78231         <kernel-features.h>.
78232         [__ASSUME_32BITUIDS]: Make code unconditional.
78233         [!__ASSUME_32BITUIDS]: Remove conditional code.
78234         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78235         <kernel-features.h>.
78236         [__ASSUME_32BITUIDS]: Make code unconditional.
78237         [!__ASSUME_32BITUIDS]: Remove conditional code.
78238         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78239         <kernel-features.h>.
78240         [__ASSUME_32BITUIDS]: Make code unconditional.
78241         [!__ASSUME_32BITUIDS]: Remove conditional code.
78242         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78243         <kernel-features.h>.
78244         [__ASSUME_32BITUIDS]: Make code unconditional.
78245         [!__ASSUME_32BITUIDS]: Remove conditional code.
78246         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
78247         <kernel-features.h>.
78248         [__ASSUME_32BITUIDS]: Make code unconditional.
78249         [!__ASSUME_32BITUIDS]: Remove conditional code.
78250         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
78251         <kernel-features.h>.
78252         [__ASSUME_32BITUIDS]: Make code unconditional.
78253         [!__ASSUME_32BITUIDS]: Remove conditional code.
78254         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
78255         <kernel-features.h>.
78256         [__ASSUME_32BITUIDS]: Make code unconditional.
78257         [!__ASSUME_32BITUIDS]: Remove conditional code.
78258         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
78259         <kernel-features.h>.
78260         [__ASSUME_32BITUIDS]: Make code unconditional.
78261         [!__ASSUME_32BITUIDS]: Remove conditional code.
78262         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
78263         <kernel-features.h>.
78264         [__NR_setresgid] (__setresgid): Do not declare.
78265         [__ASSUME_32BITUIDS]: Make code unconditional.
78266         [!__ASSUME_32BITUIDS]: Remove conditional code.
78267         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
78268         <kernel-features.h>.
78269         [__NR_setresuid] (__setresuid): Do not declare.
78270         [__ASSUME_32BITUIDS]: Make code unconditional.
78271         [!__ASSUME_32BITUIDS]: Remove conditional code.
78272         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
78273         <kernel-features.h>.
78274         [__ASSUME_32BITUIDS]: Make code unconditional.
78275         [!__ASSUME_32BITUIDS]: Remove conditional code.
78276         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78277         <kernel-features.h>.
78278         [__ASSUME_32BITUIDS]: Make code unconditional.
78279         [!__ASSUME_32BITUIDS]: Remove conditional code.
78280         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78281         <kernel-features.h>.
78282         [__ASSUME_32BITUIDS]: Make code unconditional.
78283         [!__ASSUME_32BITUIDS]: Remove conditional code.
78284         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
78285         <kernel-features.h>.
78286         [__ASSUME_32BITUIDS]: Make code unconditional.
78287         [!__ASSUME_32BITUIDS]: Remove conditional code.
78288         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
78289         <kernel-features.h>.
78290         [__ASSUME_32BITUIDS]: Make code unconditional.
78291         [!__ASSUME_32BITUIDS]: Remove conditional code.
78292         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
78293         <kernel-features.h>.
78294         [__ASSUME_32BITUIDS]: Make code unconditional.
78295         [!__ASSUME_32BITUIDS]: Remove conditional code.
78296         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
78297         <kernel-features.h>.
78298         [__ASSUME_32BITUIDS]: Make code unconditional.
78299         [!__ASSUME_32BITUIDS]: Remove conditional code.
78300         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
78301         <kernel-features.h>.
78302         [__ASSUME_32BITUIDS]: Make code unconditional.
78303         [!__ASSUME_32BITUIDS]: Remove conditional code.
78304         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
78305         <kernel-features.h>.
78306         [__ASSUME_32BITUIDS]: Make code unconditional.
78307         [!__ASSUME_32BITUIDS]: Remove conditional code.
78308         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
78309         <kernel-features.h>.
78310         [__ASSUME_32BITUIDS]: Make code unconditional.
78311         [!__ASSUME_32BITUIDS]: Remove conditional code.
78312         * sysdeps/unix/sysv/linux/kernel-features.h
78313         (__ASSUME_SETRESUID_SYSCALL): Remove.
78314         (__ASSUME_SETRESGID_SYSCALL): Likewise.
78315         (__ASSUME_32BITUIDS): Likewise.
78316         (__ASSUME_LDT_WORKS): Likewise.
78317         (__ASSUME_O_DIRECTORY): Likewise.
78318         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
78319         architecture but not kernel version.
78320         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78321         (__ASSUME_MMAP2_SYSCALL): Likewise.
78322         (__ASSUME_STAT64_SYSCALL): Likewise.
78323         (__ASSUME_IPC64): Likewise.
78324         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78325         <kernel-features.h>.
78326         [__ASSUME_32BITUIDS]: Make code unconditional.
78327         [!__ASSUME_32BITUIDS]: Remove conditional code.
78328         * sysdeps/unix/sysv/linux/opendir.c: Do not include
78329         <kernel-features.h>.
78330         [__ASSUME_O_DIRECTORY]: Make code unconditional.
78331         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78332         132096]: Remove conditional code.
78333         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78334         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
78335         <kernel-features.h>.
78336         [__ASSUME_32BITUIDS]: Make code unconditional.
78337         [!__ASSUME_32BITUIDS]: Remove conditional code.
78338         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
78339         <kernel-features.h>.
78340         [__ASSUME_32BITUIDS]: Make code unconditional.
78341         [!__ASSUME_32BITUIDS]: Remove conditional code.
78342         * sysdeps/unix/sysv/linux/setegid.c: Do not include
78343         <kernel-features.h>.
78344         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78345         unconditional.
78346         (__setresgid): Do not declare.
78347         [__ASSUME_32BITUIDS]: Make code unconditional.
78348         [!__ASSUME_32BITUIDS]: Remove conditional code.
78349         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78350         <kernel-features.h>.
78351         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78352         unconditional.
78353         (__setresuid): Do not declare.
78354         [__ASSUME_32BITUIDS]: Make code unconditional.
78355         [!__ASSUME_32BITUIDS]: Remove conditional code.
78356         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78357         <kernel-features.h>.
78358         [__ASSUME_32BITUIDS]: Make code unconditional.
78359         [!__ASSUME_32BITUIDS]: Remove conditional code.
78360         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78361         <kernel-features.h>.
78362         [__ASSUME_32BITUIDS]: Make code unconditional.
78363         [!__ASSUME_32BITUIDS]: Remove conditional code.
78365 2012-05-25  Richard Henderson  <rth@twiddle.net>
78367         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78368         dl_hwcap to ifunc resolver.
78369         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78370         elf_ifunc_invoke.
78371         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78372         dl_hwcap to ifunc resolver.
78373         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78375 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78377         [BZ #14153]
78378         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78379         for |x| <= 2**-26, not 2**-57.
78380         * math/libm-test.inc (acos_test): Do not allow spurious underflow
78381         exception.
78383 2012-05-24  Jeff Law  <law@redhat.com>
78385         * stdio-common/Makefile (tests): Add bug25.
78386         * stdio-common/bug25.c: New test.
78388 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78390         [BZ #13576]
78391         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78392         multiple of MALLOC_ALIGNMENT in size.
78393         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78395 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78397         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78398         Require >= 256.
78399         (FILENAME_MAX): Use macro-int-constant.
78400         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
78401         (_IOFBF): Use macro-int-constant.
78402         (_IOLBF): Likewise.
78403         (_IONBF): Likewise.
78404         (SEEK_CUR): Likewise.
78405         (SEEK_END): Likewise.
78406         (SEEK_SET): Likewise.
78407         (TMP_MAX): Likewise.
78408         (EOF): Use macro-int-constant.  Require < 0.
78409         (NULL): Use macro-constant.  Require == 0.
78410         (stdin): Require type to be FILE *.
78411         (stdout): Likewise.
78412         (stderr): Likewise.
78413         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78414         macro-int-constant.
78415         (EXIT_SUCCESS): Likewise.
78416         (NULL): Use macro-constant.  Require == 0.
78417         (RAND_MAX): Use macro-int-constant.
78418         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78419         [C99-based standards] (strtof): Require function.
78420         [C99-based standards] (strtold): Likewise.
78421         [C99-based standards] (strtoll): Likewise.
78422         [C99-based standards] (strtoull): Likewise.
78423         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78424         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78425         [ISO || ISO99 || ISO11] (math.h): Likewise.
78426         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78427         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78428         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78430 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78432         [BZ #14132]
78433         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78434         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78435         * intl/dgettext.c (DCGETTEXT): Likewise.
78436         * intl/gettext.c (DCGETTEXT): Likewise.
78437         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78438         * posix/regex_internal.h (gettext): Likewise.
78439         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78440         Remove declaration.
78441         * include/argz.h (__argz_count_internal)
78442         (__argz_stringify_internal): Remove declaration.
78443         (__argz_count, __argz_stringify): Declare hidden proto.
78444         * intl/dcgettext.c: Remove use of INTDEF.
78445         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78446         * string/argz-stringify.c: Likewise.
78447         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78448         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78449         Declare hidden proto.
78450         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78451         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78452         Declare hidden proto.
78453         * include/stdio.h (__asprintf_internal): Don't declare.
78454         (__asprintf): Don't define as macro.  Declare hidden proto.
78455         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78456         (__fsetlocking): Declare hidden proto.
78457         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78458         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78459         hidden proto.
78460         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78461         (_IO_setlinebuf): Remove use of INTUSE.
78462         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78463         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78464         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78465         Remove declaration.
78466         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78467         (_IO_do_flush): Remove use of INTUSE.
78468         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78469         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78470         (_IO_adjust_column, _IO_least_wmarker)
78471         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78472         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78473         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78474         (_IO_default_doallocate, _IO_wdefault_doallocate)
78475         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78476         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78477         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78478         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78479         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78480         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78481         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78482         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78483         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78484         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78485         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78486         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78487         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78488         proto.
78489         (_IO_flush_all_internal, _IO_adjust_column_internal)
78490         (_IO_default_uflow_internal, _IO_default_finish_internal)
78491         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78492         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78493         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78494         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78495         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78496         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78497         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78498         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78499         (_IO_file_close_internal, _IO_file_close_it_internal)
78500         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78501         (_IO_file_init_internal, _IO_file_attach_internal)
78502         (_IO_file_fopen_internal, _IO_file_read_internal)
78503         (_IO_file_sync_internal, _IO_file_seek_internal)
78504         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78505         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78506         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78507         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78508         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78509         (_IO_list_all_internal, _IO_link_in_internal)
78510         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78511         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78512         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78513         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78514         (_IO_do_write_internal, _IO_padn_internal)
78515         (_IO_getline_info_internal, _IO_getline_internal)
78516         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78517         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78518         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78519         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78520         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78521         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78522         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78523         with libc_hidden_ver, remove use of INTUSE.
78524         * libio/genops.c: Likewise.
78525         * libio/freopen.c: Likewise.
78526         * libio/freopen64.c: Likewise.
78527         * libio/iofclose.c: Likewise.
78528         * libio/iofdopen.c: Likewise.
78529         * libio/iofflush.c: Likewise.
78530         * libio/iofflush_u.c: Likewise.
78531         * libio/iofgets.c: Likewise.
78532         * libio/iofgets_u.c: Likewise.
78533         * libio/iofopen.c: Likewise.
78534         * libio/iofopncook.c: Likewise.
78535         * libio/iofread.c: Likewise.
78536         * libio/iofread_u.c: Likewise.
78537         * libio/ioftell.c: Likewise.
78538         * libio/iofwrite.c: Likewise.
78539         * libio/iogetline.c: Likewise.
78540         * libio/iogets.c: Likewise.
78541         * libio/iogetwline.c: Likewise.
78542         * libio/iopadn.c: Likewise.
78543         * libio/iopopen.c: Likewise.
78544         * libio/ioseekoff.c: Likewise.
78545         * libio/ioseekpos.c: Likewise.
78546         * libio/iosetbuffer.c: Likewise.
78547         * libio/iosetvbuf.c: Likewise.
78548         * libio/ioungetc.c: Likewise.
78549         * libio/ioungetwc.c: Likewise.
78550         * libio/iovdprintf.c: Likewise.
78551         * libio/iovsprintf.c: Likewise.
78552         * libio/iovsscanf.c: Likewise.
78553         * libio/memstream.c: Likewise.
78554         * libio/obprintf.c: Likewise.
78555         * libio/oldfileops.c: Likewise.
78556         * libio/oldiofclose.c: Likewise.
78557         * libio/oldiofdopen.c: Likewise.
78558         * libio/oldiofopen.c: Likewise.
78559         * libio/oldiopopen.c: Likewise.
78560         * libio/oldstdfiles.c: Likewise.
78561         * libio/putc.c: Likewise.
78562         * libio/setbuf.c: Likewise.
78563         * libio/setlinebuf.c: Likewise.
78564         * libio/stdfiles.c: Likewise.
78565         * libio/strops.c: Likewise.
78566         * libio/vasprintf.c: Likewise.
78567         * libio/vscanf.c: Likewise.
78568         * libio/vsnprintf.c: Likewise.
78569         * libio/vswprintf.c: Likewise.
78570         * libio/wfiledoalloc.c: Likewise.
78571         * libio/wfileops.c: Likewise.
78572         * libio/wgenops.c: Likewise.
78573         * libio/wmemstream.c: Likewise.
78574         * libio/wstrops.c: Likewise.
78575         * libio/__fpurge.c: Likewise.
78576         * libio/__fsetlocking.c: Likewise.
78577         * assert/assert.c: Likewise.
78578         * debug/fgets_chk.c: Likewise.
78579         * debug/fgets_u_chk.c: Likewise.
78580         * debug/fread_chk.c: Likewise.
78581         * debug/fread_u_chk.c: Likewise.
78582         * debug/gets_chk.c: Likewise.
78583         * debug/obprintf_chk.c: Likewise.
78584         * debug/vasprintf_chk.c: Likewise.
78585         * debug/vdprintf_chk.c: Likewise.
78586         * debug/vsnprintf_chk.c: Likewise.
78587         * debug/vsprintf_chk.c: Likewise.
78588         * malloc/mtrace.c: Likewise.
78589         * misc/error.c: Likewise.
78590         * misc/syslog.c: Likewise.
78591         * stdio-common/asprintf.c: Likewise.
78592         * stdio-common/fxprintf.c: Likewise.
78593         * stdio-common/getw.c: Likewise.
78594         * stdio-common/isoc99_fscanf.c: Likewise.
78595         * stdio-common/isoc99_scanf.c: Likewise.
78596         * stdio-common/isoc99_vfscanf.c: Likewise.
78597         * stdio-common/isoc99_vscanf.c: Likewise.
78598         * stdio-common/isoc99_vsscanf.c: Likewise.
78599         * stdio-common/printf-prs.c: Likewise.
78600         * stdio-common/printf_fp.c: Likewise.
78601         * stdio-common/printf_fphex.c: Likewise.
78602         * stdio-common/printf_size.c: Likewise.
78603         * stdio-common/putw.c: Likewise.
78604         * stdio-common/scanf.c: Likewise.
78605         * stdio-common/sprintf.c: Likewise.
78606         * stdio-common/tmpfile.c: Likewise.
78607         * stdio-common/vfprintf.c: Likewise.
78608         * stdio-common/vfscanf.c: Likewise.
78609         * stdlib/strfmon_l.c: Likewise.
78610         * sunrpc/openchild.c: Likewise.
78611         * sunrpc/xdr_stdio.c: Likewise.
78612         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78613         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78615 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78617         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78619         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78620         in the third column, to generate for the shared library an IFUNC
78621         that uses _dl_vdso_vsym.
78622         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78623         * Makeconfig (object-suffixes-noshared): New variable.
78625         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78626         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78627         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78628         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78630         [BZ #14132]
78631         * include/sys/time.h (__gettimeofday): Remove macro.
78632         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78633         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78634         Remove INTDEF.
78635         (__gettimeofday): Add libc_hidden_def.
78636         (gettimeofday): Add libc_hidden_weak.
78637         * sysdeps/mach/gettimeofday.c: Likewise.
78638         * sysdeps/posix/gettimeofday.c: Likewise.
78639         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78640         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78641         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78642         (__gettimeofday_internal): Remove strong_alias.
78643         (__gettimeofday): Add libc_hidden_def.
78644         (gettimeofday): Add libc_hidden_weak.
78645         * sysdeps/unix/syscalls.list (gettimeofday):
78646         Remove __gettimeofday_internal alias.
78648 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78649             H.J. Lu  <hongjiu.lu@intel.com>
78651         [BZ #12495]
78652         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78653         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78654         (largebin_index_32_big): New.
78655         (largebin_index): Use it for 16-byte alignment.
78656         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78657         correction with front_misalign.
78659 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78663         Likewise.
78664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78665         Likewise.
78666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78667         Likewise.
78668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78669         Likewise.
78670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78671         Likewise.
78672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78673         Likewise.
78674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78675         Likewise.
78676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78677         Likewise.
78678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78679         Likewise.
78680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78681         Likewise.
78682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78683         Likewise.
78684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78685         Likewise.
78687         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78688         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78690 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78692         [BZ #10846]
78693         [BZ #14036]
78694         * math/libm-test.inc (exp_test): Add test from bug 14036.
78695         (pow_test): Add test from bug 10846.
78697         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78698         and other flags.
78699         (special_function): Do not include flags in test name.
78700         (parse_args): Likewise.
78701         * sysdeps/i386/fpu/libm-test-ulps: Update.
78702         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78703         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78704         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78707         * math/gen-libm-test.pl (%beautify): Add entries for underflow
78708         exceptions.
78709         * math/libm-test.inc ("Philosophy"): Update comment about
78710         exception testing.
78711         (UNDERFLOW_EXCEPTION): New macro.
78712         (UNDERFLOW_EXCEPTION_OK): Likewise.
78713         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78714         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78715         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78716         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78717         (INVALID_EXCEPTION_OK): Update value.
78718         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78719         (OVERFLOW_EXCEPTION_OK): Likewise.
78720         (IGNORE_ZERO_INF_SIGN): Likewise.
78721         (test_exceptions): Handle underflow exceptions.
78722         (acos_test): Update for underflow exception expectations.
78723         (cexp_test): Likewise.
78724         (clog_test): Likewise.
78725         (clog10_test): Likewise.
78726         (csqrt_test): Likewise.
78727         (ctan_test): Likewise.
78728         (ctanh_test): Likewise.
78729         (exp_test): Likewise.
78730         (exp10_test): Likewise.
78731         (exp2_test): Likewise.
78732         (expm1_test): Likewise.
78733         (fma_test): Likewise.
78734         (j0_test): Likewise.
78735         (jn_test): Likewise.
78736         (nexttoward_test): Likewise.
78737         (pow_test): Likewise.
78738         (scalbn_test): Likewise.
78739         (scalbln_test): Likewise.
78740         (tan_test): Likewise.
78741         (y1_test): Likewise.
78742         * sysdeps/i386/fpu/libm-test-ulps: Update.
78743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78745 2012-05-23  David S. Miller  <davem@davemloft.net>
78747         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78748         (__libc_sigaction): Remove unused local variables.
78750 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78752         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78754 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
78756         mktime: avoid signed integer overflow
78757         * time/mktime.c (__mktime_internal): Do not mishandle the case
78758         where diff == INT_MIN.
78760         mktime: simplify computation of average
78761         * time/mktime.c (ranged_convert): Use new time_t_avg function
78762         instead of rolling our own (probably-slower) code.
78764         mktime: do not assume signed right shift propagates sign bit
78765         * time/mktime.c (isdst_differ): New static function.
78766         (__mktime_internal): No need to normalize tm_isdst now.
78767         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78768         tm_isdst values.
78770         mktime: merge another wrapv change from gnulib
78771         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78772         from some compilers.
78774         mktime: remove incorrect attempt at unusual arithmetics
78775         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78776         The code didn't really work on such machines anyway.
78777         (TYPE_MINIMUM): Assume two's complement.
78778         (twos_complement_arithmetic): Verify that long_int and time_t
78779         are two's complement (or unsigned, in the latter case).
78781         mktime: check signed shifts on long_int and time_t, too
78782         * time/mktime.c (SHR): Check that shifts work as desired
78783         on the types long_int and time_t too, as SHR is used on
78784         such types.
78786         mktime: do not assume 'long' is wide enough
78787         * time/mktime.c (verify): Move decl up.
78788         (long_int): New type.
78789         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78790         to remove assumption in the code that 'long' is wide enough to
78791         store year values.  This assumption is not true on x32 and on
78792         some non-glibc platforms.
78794         mktime: merge wrapv change from gnulib
78795         * time/mktime.c (WRAPV): New macro.
78796         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78797         (guess_time_tm, __mktime_internal): Do not assume that signed
78798         integer overflow wraps around; modern compilers generate code
78799         where this assumption is no longer valid.
78801 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78803         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78804         Replace "jmp L(pseudo_end)" with "ret".
78805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78806         Likewise.
78808 2012-05-23  Andreas Jaeger  <aj@suse.de>
78810         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78811         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78813 2012-05-23  Andreas Jaeger  <aj@suse.de>
78814             Maximilian Attems  <max@stro.at>
78816         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78817         New macros.
78819 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78821         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78822         code so that pseudo_end is just ret and the stack pointer is
78823         correct also for static library in error case.
78825 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78827         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78828         move to syscalls.list.
78829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78834         * manual/install.texi (Running make install): Do not mention Linux
78835         kernel version for which pt_chown is not needed.
78836         (Linux): Do not mention problems with nscd with 2.0 kernels.
78837         * INSTALL: Regenerated.
78839 2012-05-23  Andreas Jaeger  <aj@suse.de>
78841         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78842         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78843         macro.
78844         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78845         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78846         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78847         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78848         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78849         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78850         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78851         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78852         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78853         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78854         * sysdeps/unix/sysv/linux/bits/in.h
78855         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78857 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78859         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78860         (PREPARE_VERSION): Just use assert instead, it will be elided
78861         under [NDEBUG] anyway.
78863 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78865         * sysdeps/unix/sysv/linux/Makefile: Include
78866         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78867         (sysdep_routines): Remove sysctl.
78868         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78869         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78870         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78871         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78872         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78874 2012-05-22  Andreas Jaeger  <aj@suse.de>
78876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78877         that pseudo_end is just ret and the stack pointer is correct also
78878         for static library in error case.
78880 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78882         [BZ #14122]
78883         * nss/nsswitch.c (defconfig_entries): New variable.
78884         (__nss_database_lookup): Don't leak defconfig entries.
78885         (nss_parse_service_list): Don't leak on error paths.
78886         (free_database_entries): New function.
78887         (free_defconfig): New function.
78888         (free_mem): Move common code to free_database_entries.
78890 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78892         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78893         Add arch_prctl.
78894         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78896         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78897         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78899         New macro.
78900         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78901         (INTERNAL_SYSCALL_TYPES): Likewise.
78902         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78903         (LOAD_REGS_TYPES_[1-6]): Likewise.
78904         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78905         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78907 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78909         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78910         copysignl for GLIBC_2_0.
78911         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78912         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78913         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78914         logbl for GLIBC_2_0.
78915         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78916         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78918 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78921         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78923         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78924         Use "neg %eax".
78926         * time/mktime.c: Update copyright years.
78928 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78930         mktime: merge comment-quoting-style change from gnulib
78931         * time/mktime.c: Quote 'like this' in comments.
78932         The GNU coding standards suggest that we no longer quote `like this',
78933         as "`" and "'" are typically rendered asymmetrically nowadays.
78934         The typical gnulib style is to quote 'like this' when quoting
78935         code, and "like this" when quoting English.
78937         * time/mktime.c (compile-command): Add "-I.".
78939         mktime: merge mktime-internal.h change from gnulib
78940         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78942         mktime: merge time_r change from gnulib
78943         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78945         mktime: merge DEBUG change from gnulib
78946         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78947         case system <time.h> has a #define.
78949         mktime: merge <sys/types.h> change from gnulib
78950         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78951         since <time.t> is now guaranteed to define time_t.
78953         mktime: merge HAVE_CONFIG_H change from gnulib
78954         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78956 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78959         Use "neg %eax".
78961         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78962         __rlim_t cast.
78963         (struct rusage): Use anonymous union to pad each field to
78964         __syscall_slong_t.
78966 2012-05-21  David S. Miller  <davem@davemloft.net>
78968         * Makefules (o-iterator): Remove .s cases.
78969         (compile-command.s): Delete.
78970         (COMPILE.s): Delete.
78971         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78973 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78975         * configure.in (libc_cv_predef_stack_protector): Only consider
78976         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78977         * configure: Regenerated.
78979 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78982         New macro.  Use R*LP on int and pointer.
78983         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78984         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78985         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78986         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78988         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78989         [__WORDSIZE_TIME64_COMPAT32] instead of
78990         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78991         (struct utmp): Likewise.
78992         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78993         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78994         Renamed to ...
78995         (__WORDSIZE_TIME64_COMPAT32): This.
78996         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78997         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78998         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78999         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79000         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79001         (__WORDSIZE_TIME64_COMPAT32): New macro.
79003 2012-05-21  Andreas Jaeger  <aj@suse.de>
79005         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79006         only if [SHARED]. Add prototype for __wcschr_ia32.
79008 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79010         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79011         of %rbp unmolested in the jmp_buf while mangling the low bits.
79012         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79013         unmolested high bits of %rbp while demangling the low bits.
79014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79016 2012-05-21  Andreas Jaeger  <aj@suse.de>
79018         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79019         * sunrpc/svc_simple.c: Use it for registerrpc.
79020         * sunrpc/xcrypt.c: Use it for passwd2des.
79022         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79024 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79026         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79027         Don't define if [__SYSCALL_WORDSIZE != 32].
79028         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79029         New macro.
79031 2012-05-21  Bruno Haible  <bruno@clisp.org>
79032             Andreas Jaeger  <aj@suse.de>
79034         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79035         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79036         inptr and inend for must_buffer_ch.
79037         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79038         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79039         * stdio-common/Makefile (tests): Remove bug15.
79040         (bug15-ENV): Remove macro.
79041         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79042         anymore.
79044 2012-05-19  Andreas Jaeger  <aj@suse.de>
79045             Roland McGrath  <roland@hack.frob.com>
79047         * manual/contrib.texi: Completely rewritten. It contains now an
79048         alphabetical list of contributors and their contributions.
79050 2012-05-21  Richard Henderson  <rth@twiddle.net>
79052         * misc/getauxval.c (__getauxval): Use unsigned long int.
79053         * misc/sys/auxv.h: Include <sys/cdefs.h>.
79054         (getauxval): Use unsigned long int.
79056 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79058         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79060 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79062         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79063         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79064         __alignof__ (long double).
79066 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79070 2012-05-20  Richard Henderson  <rth@twiddle.net>
79072         * misc/getauxval.c: New file.
79073         * misc/sys/auxv.h: New file.
79074         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79075         (routines): Add getauxval.
79076         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79077         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79078         * elf/dl-sysdep.c (_dl_auxv): Remove.
79079         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79080         * elf/dl-support.c (_dl_auxv): New variable.
79081         (_dl_aux_init): Initialize it.
79082         * manual/startup.texi (Auxiliary Vector): New node.
79083         * sysdeps/generic/bits/hwcap.h: New file.
79084         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79085         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
79086         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79087         * sysdeps/sparc/sysdep.h: ... here.  Include it.
79088         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79089         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79091         Update.
79092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79095         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79101 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79105 2012-05-19  David S. Miller  <davem@davemloft.net>
79107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79109 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79111         [BZ #14123]
79112         * math/s_ccosh.c: Include <float.h>
79113         (__ccosh): Avoid internal overflow calculating sinh and cosh
79114         values before multiplying by sin and cos values.
79115         * math/s_ccoshf.c: Likewise.
79116         * math/s_ccoshl.c: Likewise.
79117         * math/s_csin.c: Likewise.
79118         * math/s_csinf.c: Likewise.
79119         * math/s_csinl.c: Likewise.
79120         * math/s_csinh.c: Likewise.
79121         * math/s_csinhf.c: Likewise.
79122         * math/s_csinhl.c: Likewise.
79123         * math/libm-test.inc (ccos_test): Add more tests.
79124         (ccosh_test): Likewise.
79125         (csin_test): Likewise.
79126         (csinh_test): Likewise.
79127         * sysdeps/i386/fpu/libm-test-ulps: Update.
79128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79130 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
79132         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79133         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79135         * sysdeps/x86_64/x32/_itoa.h: Add comment.
79137 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79139         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79140         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79141         * sysdeps/powerpc/soft-fp/Versions: Likewise.
79142         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79143         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79144         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79145         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79146         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79147         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79148         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79149         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79150         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79151         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79152         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79153         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79154         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79155         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79156         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79157         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79158         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79159         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79160         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79161         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79162         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79163         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79164         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79165         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79166         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79167         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79168         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79169         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79171 2012-05-18  Andreas Jaeger  <aj@suse.de>
79173         * csu/.gitignore: Delete.
79175 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79177         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79178         (timex): Use __syscall_slong_t.
79180 2012-05-18  Andreas Jaeger  <aj@suse.de>
79181             Carlos O'Donell  <carlos_odonell@mentor.com>
79183         * manual/install.texi (Configuring and compiling): Update
79184         description about files modified in the source directory.
79185         * INSTALL: Regenerated.
79187 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79189         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79190         value.  Use "or" to set return value to -1.
79191         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79192         negate return value.
79194 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79196         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79197         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79198         failure if the compiler has Graphite support disabled.
79199         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79200         Likewise.
79201         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79202         (CFLAGS-memmove.c): Likewise.
79203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79204         Likewise.
79206 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79208         * sysdeps/x86_64/x32/_itoa.h: New file.
79210         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79211         getdents system call only if kernel and user dirents have the
79212         same d_ino and d_off.
79214         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79215         LLONG_MAX != LONG_MAX.
79216         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79217         (_fitoa_word): Likewise.
79219         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79220         years.
79221         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79222         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79223         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79225         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79226         include <bits/wordsize.h>.  Check __x86_64__ instead of
79227         __WORDSIZE.
79228         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79229         if __x86_64__ is defined.  Use anonymous union on fpstate.
79231         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79232         anonymous union.
79234 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
79236         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79237         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79238         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79239         Refer to _rtld_local_ro instead of _rtld_global_ro.
79240         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79241         Likewise.
79242         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79243         Likewise.
79244         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79245         Likewise.
79246         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79247         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79248         of _rtld_global, and rtld_progname instead of _dl_argv[0].
79250         [BZ #10882]
79251         * sysdeps/powerpc/powerpc32/dl-machine.c
79252         (__elf_machine_runtime_setup) [PROF]: Don't reference
79253         _dl_prof_resolve.
79255 2012-05-18  Andreas Jaeger  <aj@suse.de>
79257         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
79258         function only available for GCCs before 3.4 since GCC 3.4
79259         introduced a builtin.
79260         (lrint): Likewise.
79261         (llrintf): Likewise.
79262         (llrint): Likewise.
79263         (fmaxf): Likewise.
79264         (fmax): Likewise.
79265         (fminf): Likewise.
79266         (fmin): Likewise.
79267         (rint): Likewise.
79268         (rintf): Likewise.
79269         (nearbyint): Likewise.
79270         (nearbyintf): Likewise.
79271         (ceil): Likewise.
79272         (ceilf): Likewise.
79273         (floor): Likewise.
79274         (floorf): Likewise.
79276 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79278         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79279         on both fields and cast pointer to __syscall_ulong_t.
79281         * bits/types.h (__fsword_t): New type.
79282         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79283         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79284         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79285         (__FSWORD_T_TYPE): Likewise.
79286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79287         (__FSWORD_T_TYPE): Likewise.
79288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79289         (__FSWORD_T_TYPE): Likewise.
79290         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79291         (__FSWORD_T_TYPE): Likewise.
79292         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79293         __SWORD_TYPE with __fsword_t.
79294         (statfs64): Likewise.
79296 2012-05-17  David S. Miller  <davem@davemloft.net>
79298         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79300 2012-05-17  Andreas Jaeger  <aj@suse.de>
79302         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79303         warning.
79305 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79307         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79309 2012-05-17  Andreas Jaeger  <aj@suse.de>
79311         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
79312         when it is used.
79314 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79316         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
79318 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79320         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79321         * sysdeps/x86_64/tst-mallocalign1.c: New file.
79323 2012-05-17  Andreas Jaeger  <aj@suse.de>
79324             Carlos O'Donell  <carlos_odonell@mentor.com>
79326         [BZ #14059]
79327         * sysdeps/x86_64/multiarch/init-arch.h
79328         (bit_YMM_Usable): Rename to...
79329         (bit_AVX_Usable): ... this.
79330         (bit_FMA4_Usable): New macro.
79331         (bit_XMM_state): New macro.
79332         (bit_YMM_state): New macro.
79333         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79334         [__ASSEMBLER__] (index_AVX_Usable): ... this.
79335         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79336         (CPUID_OSXSAVE): New macro.
79337         (CPUID_AVX): New macro.
79338         (CPUID_FMA4): New macro.
79339         (index_YMM_Usable): Rename to...
79340         (index_AVX_Usable): ... this.
79341         (HAS_AVX): Use HAS_ARCH_FEATURE.
79342         (HAS_FMA4): Likewise.
79343         (HAS_YMM_USABLE): Remove.
79344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79345         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79346         are present.
79347         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79348         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79349         * sysdeps/x86_64/multiarch/Makefile: Likewise.
79350         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79351         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79355         * math/libm-test.c: Support platforms without multiple rounding modes.
79356         * math/bug-nextafter.c: Support platforms without FP exceptions.
79357         * math/bug-nexttoward.c: Likewise.
79358         * math/test-fenv.c: Likewise.
79359         * math/test-misc.c: Likewise.
79360         * stdlib/bug-getcontext.c: Likewise.
79362 2012-05-17  Andreas Jaeger  <aj@suse.de>
79364         * manual/examples/search.c (critter_cmp): Change signature to
79365         avoid warnings.
79366         * manual/string.texi (Collation Functions): Likewise.
79368 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79370         * bits/types.h: Fold copyright years.
79371         * bits/typesizes.h: Likewise.
79372         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79376         * time/time.h: Likewise.
79378 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
79380         [BZ #208]
79381         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79382         in instead of returning them.  Return void.
79383         (__libc_mallinfo): Accumulate over all arenas.
79384         (__malloc_stats): Adjust for change in int_mallinfo interface.
79386 2012-05-16  Roland McGrath  <roland@hack.frob.com>
79388         [BZ #10375]
79389         * configure.in (NM): Add AC_CHECK_TOOL for it.
79390         (libc_extra_cflags): New substituted variable.
79391         Check for -fstack-protector being used implicitly.
79392         * configure: Regenerated.
79393         * config.make.in (config-extra-cflags): New variable,
79394         gets @libc_extra_cflags@.
79395         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79397         [BZ #10375]
79398         * configure.in: Check for _FORTIFY_SOURCE being predefined.
79399         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79400         * configure: Regenerated.
79401         * config.make.in (CPPUNDEFS): New substituted variable.
79402         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79403         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79404         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79406 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79408         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79409         (mq_attr): Use __syscall_slong_t.
79411 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79413         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79414         Check __x86_64__ instead of __WORDSIZE.
79415         (_STAT_VER_LINUX): Likewise.
79416         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
79417         __syscall_ulong_t and __syscall_slong_t.
79418         (stat64): Likewise.
79420 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79422         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79424 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79426         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79430         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79431         __syscall_ulong_t.
79433         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79434         include <bits/wordsize.h>.  Check __x86_64__ instead of
79435         __WORDSIZE.
79436         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79437         defined.
79438         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79440         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79441         include <bits/wordsize.h>.  Check __x86_64__ instead of
79442         __WORDSIZE.
79443         (user_regs_struct): Use "__extension__ unsigned long long"
79444         instead of "unsigned long" if __x86_64__ is defined.
79445         (user): Likewise.  Pad after pointer field if __ILP32__ is
79446         defined.
79448 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79450         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79451         versions 5 to 9.
79452         * configure: Regenerated.
79453         * manual/install.texi (texinfo): Increase version requirement to
79454         4.5 or later.
79455         * INSTALL: Regenerated.
79457         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79461         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79463         * sysdeps/x86_64/x32/ffs.c: New file.
79465         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79466         __syscall_ulong_t.
79467         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79468         defined.  Use __syscall_ulong_t.
79469         (shminfo): Use __syscall_ulong_t.
79470         (shm_info): Likewise.
79472         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79473         __syscall_ulong_t.
79475         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79476         <bits/wordsize.h>.
79477         (msgqnum_t): Use __syscall_ulong_t.
79478         (msglen_t): Likewise.
79479         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79480         __syscall_ulong_t.
79482         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79483         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79485         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79487         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79488         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79490         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79491         __syscall_slong_t.
79493         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79494         include <bits/wordsize.h>.  Check __x86_64__ instead of
79495         __WORDSIZE.
79497         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79498         "unsigned long long int" if __x86_64__ is defined.
79499         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79501         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79502         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79503         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79505         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79506         <stdint.h>.
79507         (GET_PC): Cast to uintptr_t first.
79508         (GET_FRAME): Likewise.
79509         (GET_STACK): Likewise.
79511         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79512         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79513         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79514         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79515         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79516         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79517         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79518         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79519         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79520         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79521         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79522         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79523         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79524         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79525         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79526         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79527         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79528         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79529         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79530         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79531         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79532         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79533         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79534         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79535         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79536         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79537         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79538         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79539         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79541 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79543         * Makerules (+depfiles): Also collect depfiles from .oS in
79544         $(extra-objs).
79545         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79546         .oS, $(libnldbl-routines)).
79548         * Makerules (native-compile-mkdep-flags): Define.
79549         * sunrpc/Makefile (extra-objs): Add $(addprefix
79550         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79551         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79552         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79553         calling $(make-target-directory).
79555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79557         * bits/types.h (__snseconds_t): Removed.
79558         * time/time.h (struct timespec): Replace __snseconds_t with
79559         __syscall_slong_t.
79560         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79561         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79562         Likewise.
79563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79564         (__SNSECONDS_T_TYPE): Likewise.
79565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79566         (__SNSECONDS_T_TYPE): Likewise.
79567         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79568         (__SNSECONDS_T_TYPE): Likewise.
79570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79572         * sysdeps/mach/hurd/bits/typesizes.h
79573         (__SYSCALL_SLONG_TYPE): New macro.
79574         (__SYSCALL_ULONG_TYPE): Likewise.
79576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79578         * bits/types.h (__syscall_slong_t): New type.
79579         (__syscall_ulong_t): Likewise.
79581         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79582         (__SYSCALL_ULONG_TYPE): Likewise.
79583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79584         (__SYSCALL_SLONG_TYPE): Likewise.
79585         (__SYSCALL_ULONG_TYPE): Likewise.
79586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79587         (__SYSCALL_SLONG_TYPE): Likewise.
79588         (__SYSCALL_ULONG_TYPE): Likewise.
79589         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79590         (__SYSCALL_SLONG_TYPE): Likewise.
79591         (__SYSCALL_ULONG_TYPE): Likewise.
79593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79595         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79596         Add sigaltstack-offsets.sym.
79597         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79598         <sigaltstack-offsets.h>.
79599         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79600         longjmp_msg pointer.
79601         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79602         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79603         signal stack.
79604         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79606 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79608         * elf/stackguard-macros.h: Remove file.
79609         * sysdeps/generic/stackguard-macros.h: New file.
79610         * sysdeps/i386/stackguard-macros.h: Likewise.
79611         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79612         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79613         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79614         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79615         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79616         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79617         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79618         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79619         <elf/stackguard-macros.h>.
79621         [BZ #14109]
79622         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79623         __aligned__ in attribute.
79624         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79625         (gregset_t): Likewise.
79627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79629         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79630         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79631         * sysdeps/x86_64/x32/Implies-after: New file.
79633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79635         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79636         and access return value for _dl_profile_fixup.  Use R10_LP to
79637         load frame size.
79639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79641         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79645         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79646         * sysdeps/x86_64/x32/sysdep.h: New file.
79648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79650         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79651         * sysdeps/x86_64/setjmp.S: Likewise.
79653 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79655         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79656         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79657         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79658         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79659         remove unused global constant.
79661 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79663         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79664         include of <not-cancel.h>.
79666 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79668         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79670 2012-05-15  Jeff Law  <law@redhat.com>
79671             Andreas Jaeger  <aj@suse.de>
79673         [BZ #13594]
79674         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79675         out from...
79676         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79677         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79678         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79679         code changing __hst_map_handle.map.
79681 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79683         * configure.in (sysnames): Look for Implies-before and Implies-after
79684         files.
79685         * configure: Regenerated.
79687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79689         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79690         8-byte data alignment with LP_SIZE alignment.
79692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79694         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79695         into R10_LP.
79697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79699         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79703         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79704         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79706         Likewise.
79707         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79711         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79712         (stackinfo_sub_sp): Likewise.
79714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79716         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79717         RAX_LP.
79719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79722         into R*_LP.
79724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79726         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79727         sizes into R*_LP.
79729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79731         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79735         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79736         into R11_LP and load __x86_64_shared_cache_size_half into
79737         R8_LP.
79739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79741         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79742         R8_LP.
79744 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79747         logb for POWER7.
79748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79749         logbf for POWER7.
79750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79751         logbl for POWER7.
79752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79753         powerpc32/power7/fpu/s_logb.c via #include.
79754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79755         powerpc32/power7/fpu/s_logbf.c via #include.
79756         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79757         powerpc32/power7/fpu/s_logbl.c via #include.
79759 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79761         * README.libm: Remove file.
79763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79765         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79766         count for x32.  Use R*_LP and omit operand-size suffix.
79768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79770         * shlib-versions: Move x86_64-.*-linux.* entries to ...
79771         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
79772         * sysdeps/x86_64/x32/shlib-versions: New file.
79774 2012-05-14  Roland McGrath  <roland@hack.frob.com>
79776         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79777         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79778         Use _dl_fatal_printf instead.
79780 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79782         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79783         set if not set by the user.  Do not allow for being unset.
79784         * sysdeps/unix/sysv/linux/configure: Regenerated.
79786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79788         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79789         the `q' suffix from lea and replace .quad with ASM_ADDR.
79791 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79794         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
79795         instead of $17.
79796         (PTR_DEMANGLE): Likewise.
79798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79800         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79801         (LP_OP): Likewise.
79802         (ASM_ADDR): Likewise.
79803         (RAX_LP): Likewise.
79804         (RBP_LP): Likewise.
79805         (RBX_LP): Likewise.
79806         (RCX_LP): Likewise.
79807         (RDI_LP): Likewise.
79808         (RSI_LP): Likewise.
79809         (RSP_LP): Likewise.
79810         (R8_LP): Likewise.
79811         (R9_LP): Likewise.
79812         (R10_LP): Likewise.
79813         (R10_LP): Likewise.
79814         (R11_LP): Likewise.
79815         (R12_LP): Likewise.
79816         (R13_LP): Likewise.
79817         (R14_LP): Likewise.
79818         (R15_LP): Likewise.
79820 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79822         * sysdeps/x86_64/x32/dl-machine.h: New file.
79824 2012-05-14  Andreas Jaeger  <aj@suse.de>
79826         * manual/Makefile (subdir): Remove export of subdir.
79827         (all): Remove target.
79828         (.PHONY): Remove all from list.
79829         (mkinstalldirs): Remove.
79830         (.PHONY): Remove installdirs from list.
79831         ($(inst_infodir)/libc.info): Use make-target-directory.
79832         (installdirs): Remove.
79833         (subdir_%): Remove.
79834         (glibc-targets): Remove.
79835         (lib): Remove.
79836         (stubs): Remove.
79837         ($(objpfx)stubs ../po/manual.pot): Remove.
79838         ($(objpfx)stamp%): Remove.
79839         (make-target-directory): Remove.
79840         (subdir_install): Remove.
79841         (routines): Remove.
79842         (aux): Remove.
79843         (sources): Remove.
79844         (objects): Remove.
79845         (headers): Remove.
79847         [BZ #13750]
79848         * manual/.gitignore: Remove, it's not needed anymore.
79849         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79850         all files in it.
79851         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79852         directory.
79853         (texis): Renamed to $(objpfx)texis.
79854         (texis-path): New, contains path to generated files.
79855         (chapters.%): Use texis-path for complete path, add extra argument
79856         libc-texinfo.sh.
79857         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79858         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79859         (summary,texi, stamp-summary): Use complete path of
79860         files. Generate files in build dir.
79861         (dir-add.texi): Build in build dir.
79862         (libm-err.texi,stamp-libm-err): Likewise.
79863         (version.texi, stamp-version): Likewise.
79864         (.%c.texi): Likewise.
79865         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79866         (mostlyclean): Remove target.
79867         (realclean): Remove target.
79868         (generated): Add new variable with contents from mostlyclean and
79869         realclean, remove entries duplicated in common-mostlyclean, add
79870         stamp-libm-err and stamp-version.
79871         (generated-dirs): Add libc directory.
79872         ($(inst_infodir)/libc.info): Install files from build dir.
79874         * manual/install.texi (Configuring and compiling): Adjust since
79875         the info files are not part of the tar ball anymore.
79877 2012-05-14  Andreas Jaeger  <aj@suse.de>
79879         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79880         variable.
79882 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79884         [BZ #13717]
79885         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79886         to 2.2.0 where earlier.
79887         * sysdeps/unix/sysv/linux/configure: Regenerated.
79888         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79889         Remove conditional code.
79890         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79891         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79892         Remove conditional code.
79893         [!__NR_lchown]: Likewise.
79894         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79895         [__NR_lchown]: Likewise.
79896         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79897         comment referencing __ASSUME_LCHOWN_SYSCALL.
79898         * sysdeps/unix/sysv/linux/i386/sigaction.c
79899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79901         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79902         Remove conditional code.
79903         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79904         (__protocol_available): Remove #if 0 code.
79905         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79906         conditional code.
79907         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79908         * sysdeps/unix/sysv/linux/kernel-features.h
79909         (__ASSUME_GETCWD_SYSCALL): Don't define.
79910         (__ASSUME_REALTIME_SIGNALS): Likewise.
79911         (__ASSUME_PREAD_SYSCALL): Likewise.
79912         (__ASSUME_PWRITE_SYSCALL): Likewise.
79913         (__ASSUME_POLL_SYSCALL): Likewise.
79914         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79915         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79916         non-SPARC.
79917         (__ASSUME_SIOCGIFNAME): Don't define.
79918         (__ASSUME_MSG_NOSIGNAL): Likewise.
79919         (__ASSUME_SENDFILE): Define unconditionally.
79920         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79921         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79922         conditional code.
79923         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79924         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79925         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79926         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79927         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79928         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79929         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79931         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79932         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79934         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79937         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79943         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79946         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79949         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79950         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79954         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79955         Remove conditional code.
79956         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79957         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79958         Remove conditional code.
79959         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79960         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79961         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79962         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79963         Remove conditional code.
79964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79965         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79966         Remove conditional code.
79967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79968         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79969         Remove conditional code.
79970         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79971         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79972         Remove conditional code.
79973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79974         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79975         Remove conditional code.
79976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79977         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79978         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79980         * sysdeps/unix/sysv/linux/sigaction.c
79981         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79982         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79983         * sysdeps/unix/sysv/linux/sigpending.c
79984         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79985         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79986         * sysdeps/unix/sysv/linux/sigprocmask.c
79987         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79988         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79989         * sysdeps/unix/sysv/linux/sigsuspend.c
79990         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79991         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79992         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79993         (__libc_missing_rt_sigs): Remove.
79994         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79995         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79996         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79997         Remove conditional code.
79998         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79999         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80000         return 1.
80001         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80002         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80003         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80004         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80006 2012-05-14  Andreas Jaeger  <aj@suse.de>
80008         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80009         it's not used in glibc.
80010         (__coshm1): Likewise.
80011         (__acosh1p): Likewise.
80012         (__sgn): Likewise.
80014         * manual/string.texi (Copying and Concatenation): Add missing
80015         variable in concat example.
80016         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80020         [BZ #14103]
80021         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80022         __builtin_clzl with __builtin_clzll.
80024 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80026         [BZ #14104]
80027         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80028         libc_freeres_ptr.
80030 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80032         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80033         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80034         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80035         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80037 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80039         * NEWS: Update ia64 info.
80041 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80043         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80044         used as bcopy.
80046 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80048         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80049         * sysdeps/unix/syscalls.list (dup3): Likewise.
80050         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80051         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80053 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80055         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80056         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80058 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80060         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80061         thread pointer.
80062         (TLS_IE): Use mov/add instead of movq/addq to load thread
80063         pointer.
80064         (TLS_GD_PREFIX): New.
80065         (TLS_GD): Use it.
80067 2012-05-11  David S. Miller  <davem@davemloft.net>
80069         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80070         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80071         (_FPU_SETCW): Likewise.
80073 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80075         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80076         is 32-byte aligned.
80078 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
80080         [BZ #11837]
80081         * iconvdata/gb18030.c: Update tables.
80082         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
80083         characters specially.
80084         (BODY for TO_LOOP): Add encoding of missing ranges.
80086 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
80088         [BZ #13673]
80089         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80090         * sysdeps/mach/hurd/dup3.c: Likewise.
80091         * sysdeps/mach/hurd/readlinkat.c: Likewise.
80092         * sysdeps/powerpc/memmove.c:: Likewise.
80094 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80096         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80097         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80099 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80101         * elf/elf.h (R_X86_64_RELATIVE64): New.
80102         (R_X86_64_NUM): Updated.
80103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80104         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
80105         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80106         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80107         tst-quad1pie tst-quad2pie
80108         (modules-names): Add tst-quadmod1 tst-quadmod2.
80109         ($(objpfx)tst-quad1): New dependency.
80110         ($(objpfx)tst-quad2): Likewise.
80111         ($(objpfx)tst-quad1pie): Likewise.
80112         ($(objpfx)tst-quad2pie): Likewise.
80113         * sysdeps/x86_64/tst-quad1.c: New file.
80114         * sysdeps/x86_64/tst-quad1pie.c: New file.
80115         * sysdeps/x86_64/tst-quad2.c: Likewise.
80116         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80117         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80118         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80119         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80120         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80122 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80124         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80125         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80126         * streams/stropts.h (t_scalar_t): Define type.
80128         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80129         (_PATH_PRESERVE): Set to "/var/lib".
80130         (_PATH_RWHODIR): Set to "/var/spool/rwho".
80132         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80133         instead of int.
80135         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80136         if __dir_mkfile succeeded.
80138         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80139         checking for _hurd_dtablesize.  Unlock it right after having
80140         finished _hurd_dtable allocation.
80142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80144         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80145         * sysdeps/mach/hurd/configure: Regenerated.
80146         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80147         special-casing to...
80148         * sysdeps/gnu/configure.in: ... this new file.
80149         * sysdeps/unix/sysv/linux/configure: Regenerated.
80150         * sysdeps/gnu/configure: New generated file.
80152         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80153         for Linux: use nsec instead of usec, as well as:
80154         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80155         members of type struct timespec.
80156         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80157         New macros.
80158         (struct stat64): Likewise.
80159         (_STATBUF_ST_NSEC): New macro.
80160         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80162         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80163         __strtoul_internal rather than strtoul.
80165 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80167         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80168         and reject them.
80170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80172         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80173         which preserves existing values.
80174         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80176 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80178         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80179         TIMEOUT values.  Return EINVAL for NFDS values either negative or
80180         greater than FD_SETSIZE.
80182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80184         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80185         allocated, call __vm_protect to finish enabling the existing space, and
80186         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80187         allocate the remainder.
80189 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80191         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80192         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
80194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80196         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80197         sysdeps/mach/hurd/readlink.c.
80199         * posix/tst-sysconf.c (posix_options): Only use
80200         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80201         _POSIX_SYNCHRONIZED_IO when they are defined
80202         * sysdeps/mach/hurd/bits/posix_opt.h:
80203         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80204         (_XOPEN_REALTIME): Undefine macro.
80205         (_XOPEN_REALTIME_THREADS): Undefine macro.
80206         (_XOPEN_SHM): Undefine macro.
80207         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80208         macro to -1.
80209         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80210         macro to -1.
80211         (_POSIX_ASYNC_IO): Undefine macro.
80212         (_POSIX_PRIORITIZED_IO): Undefine macro.
80213         (_POSIX_SPIN_LOCKS): Define macro to -1.
80215         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80216         SA_NODEFER, SA_RESETHAND.
80217         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80218         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80219         F_DUPFD_CLOEXEC.
80221 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80223         * elf/Makefile (pldd-modules): Define unconditionally.
80225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80227         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80231         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80232         Return ENOENT when name is empty.
80233         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80235 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80237         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80239         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80243         Fix mlock in all cases except non-readable pages.
80244         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80245         instead of VM_PROT_ALL as parameter to __vm_wire function.
80247         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80248         (__mkdir): When path is `/', just fail with EEXIST.
80249         * sysdeps/mach/hurd/mkdirat.c: Likewise.
80251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80253         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80254         <sys/uio.h> (for writev).
80255         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80256         and <sys/param.h> (for MIN).
80258 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80260         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
80261         REQUESTED_TIME.  Properly set the remaining time and return EINTR
80262         if interrupted.
80264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80266         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
80267         Depend on against $(link-rpcuserlibs).
80269 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80271         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
80272         (__libc_stack_end): Do not use attribute_relro.
80273         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80274         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80275         to libthread-provided value.
80276         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80277         attribute_relro.
80279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80281         [BZ #3748]
80282         * bits/libc-lock.h (__libc_once_get): New macro.
80283         * sysdeps/mach/bits/libc-lock.h: Likewise.
80284         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80285         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80286         instead of using implementation details.
80288         * libio/fileops.c: Unconditionally include <kernel-features.h>.
80289         * libio/freopen.c: Likewise.
80290         * libio/freopen64.c: Likewise.
80291         * misc/syslog.c: Likewise.
80292         * nscd/connections.c: Likewise.
80293         * nscd/netgroupcache.c: Likewise.
80294         * sysdeps/posix/getcwd.c: Likewise.
80296 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80298         * math/w_ilogbf.c: Add #include <limits.h>.
80300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80302         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80303         path instead of returning without unlocking.
80305         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80306         immediate-write ioctls.
80307         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80311         * sysdeps/mach/hurd/i386/init-first.c (init): Use
80312         __builtin_frame_address instead of making assumptions about the
80313         location of the return address relative to DATA.  Force early load of
80314         the return address.
80315         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
80316         __builtin_frame_address.
80318         dup3 for GNU Hurd.
80319         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80320         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
80321         implement dup3 and do some further code clean-ups.
80322         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80323         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80327         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80329         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80330         HURD_CRITICAL_END around holding _hurd_dtable_lock.
80331         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80332         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80333         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80334         d->port.lock.
80336         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80337         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
80338         when handler == SIG_ERR, not when handler != SIG_ERR.
80340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80342         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80343         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80344         definitions.
80346         accept4 for GNU Hurd.
80347         * include/sys/socket.h (__libc_accept4): New prototype.
80348         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
80349         to implement __libc_accept4.
80350         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80351         __libc_accept4.
80352         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80354         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80355         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80356         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80357         signal-defines.sym.
80359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80361         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80365         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80366         assertion on O_CLOEXEC flag.
80367         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80368         * hurd/intern-fd.c: Likewise.
80369         * hurd/port2fd.c: Likewise.
80371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80373         [BZ #3906]
80374         * bits/in.h (IPV6_PKTINFO): Define new macro.
80375         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80377 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80379         [BZ #13954]
80380         [BZ #13955]
80381         [BZ #13956]
80382         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80384         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80385         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80386         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80387         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80388         * math/libm-test.inc (logb_test) : Additional logb tests.
80390 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
80391             Andreas Jaeger  <aj@suse.de>
80393         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80394         * configure: Regenerated.
80395         * config.h.in (LINK_OBSOLETE_RPC): New macro.
80396         * config.make.in (link-obsolete-rpc): New substituted variable.
80397         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80398         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80399         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80400         (shared-only-routines): Don't set it under [link-obsolete-rpc],
80401         so that libc.a contains the symbols.
80402         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80403         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80404         * sunrpc/auth_none.c: Likewise.
80405         * sunrpc/auth_unix.c: Likewise.
80406         * sunrpc/authdes_prot.c: Likewise.
80407         * sunrpc/authuxprot.c: Likewise.
80408         * sunrpc/clnt_gen.c: Likewise.
80409         * sunrpc/clnt_perr.c: Likewise.
80410         * sunrpc/clnt_raw.c: Likewise.
80411         * sunrpc/clnt_simp.c: Likewise.
80412         * sunrpc/clnt_tcp.c: Likewise.
80413         * sunrpc/clnt_udp.c: Likewise.
80414         * sunrpc/clnt_unix.c: Likewise.
80415         * sunrpc/des_crypt.c: Likewise.
80416         * sunrpc/des_soft.c: Likewise.
80417         * sunrpc/get_myaddr.c: Likewise.
80418         * sunrpc/key_call.c: Likewise.
80419         * sunrpc/key_prot.c: Likewise.
80420         * sunrpc/netname.c: Likewise.
80421         * sunrpc/pm_getmaps.c: Likewise.
80422         * sunrpc/pm_getport.c: Likewise.
80423         * sunrpc/pmap_clnt.c: Likewise.
80424         * sunrpc/pmap_prot.c: Likewise.
80425         * sunrpc/pmap_prot2.c: Likewise.
80426         * sunrpc/pmap_rmt.c: Likewise.
80427         * sunrpc/publickey.c: Likewise.
80428         * sunrpc/rpc_cmsg.c: Likewise.
80429         * sunrpc/rpc_common.c: Likewise.
80430         * sunrpc/rpc_dtable.c: Likewise.
80431         * sunrpc/rpc_prot.c: Likewise.
80432         * sunrpc/rpc_thread.c: Likewise.
80433         * sunrpc/rtime.c: Likewise.
80434         * sunrpc/svc.c: Likewise.
80435         * sunrpc/svc_auth.c: Likewise.
80436         * sunrpc/svc_raw.c: Likewise.
80437         * sunrpc/svc_run.c: Likewise.
80438         * sunrpc/svc_tcp.c: Likewise.
80439         * sunrpc/svc_udp.c: Likewise.
80440         * sunrpc/svc_unix.c: Likewise.
80441         * sunrpc/svcauth_des.c: Likewise.
80442         * sunrpc/xcrypt.c: Likewise.
80443         * sunrpc/xdr.c: Likewise.
80444         * sunrpc/xdr_array.c: Likewise.
80445         * sunrpc/xdr_float.c: Likewise.
80446         * sunrpc/xdr_intXX_t.c: Likewise.
80447         * sunrpc/xdr_mem.c: Likewise.
80448         * sunrpc/xdr_rec.c: Likewise.
80449         * sunrpc/xdr_ref.c: Likewise.
80450         * sunrpc/xdr_sizeof.c: Likewise.
80451         * sunrpc/xdr_stdio.c: Likewise.
80453 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80456         change.  Update copyright years.
80458 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80460         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80462 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80463             Joseph Myers  <joseph@codesourcery.com>
80464             Paul Pluzhnikov  <ppluzhnikov@google.com>
80466         [BZ #14012]
80467         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80468         requiring rpcgen.
80469         [cross-compiling] (extra-libs): Likewise.
80470         [cross-compiling] (extra-libs-others): Likewise.
80471         [cross-compiling] (librpcsvc-routines): Likewise.
80472         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80473         [cross-compiling] (omit-deps): Likewise.
80474         (sunrpc-CPPFLAGS): New variable.
80475         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80476         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80477         (cross-rpcgen-objs): New variable.
80478         (extra-objs): Append $(cross-rpcgen-objs).
80479         ($(cross-rpcgen-objs)): New rule.
80480         ($(objpfx)cross-rpcgen): Likewise.
80481         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80482         comment.
80483         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80484         ($(objpfx)x%.stmp): Likewise.
80485         * sunrpc/proto.h [IS_IN_build] (_): Define.
80486         [IS_IN_build] (_libc_intl_domainname): Likewise.
80488 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80490         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80491         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80492         and R_X86_64_TPOFF64.
80494 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80496         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80497         sysdeps/unix/sysv/syscalls.list.
80498         (stime): Likewise.
80499         (utime): Likewise.
80500         * sysdeps/unix/sysv/syscalls.list: Remove file.
80502 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80504         [BZ #3440]
80505         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80506         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80507         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80508         (__LC_IDENTIFICATION): Make these macros useful in #if
80509         expressions, as required by C99.
80511 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80513         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80514         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80515         after this.
80517 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80519         * stdlib/longlong.h: Updated from GCC.
80521 2012-05-09  Andreas Jaeger  <aj@suse.de>
80523         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80524         default is first entry.
80525         (run_mode): Set type.
80526         (main): Remove informal message about syslog.
80527         (options): Fix typo.
80529         [BZ #14053]
80530         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80531         to asm.
80532         (lrint): Likewise.
80533         (llrintf): Likewise.
80534         (llrint): Likewise.
80535         (rint): Likewise.
80536         (rintf): Likewise.
80537         (nearbyint): Likewise.
80538         (nearbyintf): Likewise.
80540 2012-05-09  Andreas Jaeger  <aj@suse.de>
80541             Pedro Alves  <palves@redhat.com>
80543         * nscd/nscd.c (run_mode): Use enum.
80544         (main): Cleanup coding style issue.
80546 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80547             Andreas Jaeger  <aj@suse.de>
80549         * nscd/nscd.c (go_background): Replaced with...
80550         (run_mode): ... this.
80551         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80552         (options): Add -F --foreground.
80553         (main): Implement it.
80554         (parse_opt): Parse it.
80556 2012-05-09  Andreas Jaeger  <aj@suse.de>
80558         [BZ #14083]
80559         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80560         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80561         -Wconversion warning.
80562         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80563         Likewise.
80565 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80567         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80568         == 0.
80569         (LC_ALL): Use macro-int-constant.
80570         (LC_COLLATE): Likewise.
80571         (LC_CTYPE): Likewise.
80572         (LC_MESSAGES): Likewise.
80573         (LC_MONETARY): Likewise.
80574         (LC_NUMERIC): Likewise.
80575         (LC_TIME): Likewise.
80576         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80577         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80578         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80579         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80580         Specify type.
80581         [C99-based standards] (float_t): Expect type.
80582         [C99-based standards] (double_t): Expect type.
80583         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80584         type.
80585         [C99-based standards] (HUGE_VALL): Likewise.
80586         [C99-based standards] (INFINITY): Likewise.
80587         [C99-based standards] (NAN): Likewise.
80588         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80589         [C99-based standards] (FP_NAN): Likewise.
80590         [C99-based standards] (FP_NORMAL): Likewise.
80591         [C99-based standards] (FP_SUBNORMAL): Likewise.
80592         [C99-based standards] (FP_ZERO): Likewise.
80593         [C99-based standards] (FP_FAST_FMA): Use
80594         optional-macro-int-constant.  Specify type.  Require == 1.
80595         [C99-based standards] (FP_FAST_FMAF): Likewise.
80596         [C99-based standards] (FP_FAST_FMAL): Likewise.
80597         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80598         [C99-based standards] (FP_ILOGBNAN): Likewise.
80599         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80600         Specify type.
80601         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80602         [C99-based standards] (math_errhandling): Specify type.
80603         [ISO99 || ISO11] (signgam): Do not allow.
80604         [non-C99-based standards] (copysignf): Do not allow.
80605         [non-C99-based standards] (exp2f): Likewise.
80606         [non-C99-based standards] (log2f): Likewise.
80607         [non-C99-based standards] (modff): Allow.
80608         [non-C99-based standards] (erff): Do not allow.
80609         [non-C99-based standards] (erfcf): Likewise.
80610         [non-C99-based standards] (gammaf): Likewise.
80611         [non-C99-based standards] (hypotf): Likewise.
80612         [non-C99-based standards] (j0f): Likewise.
80613         [non-C99-based standards] (j1f): Likewise.
80614         [non-C99-based standards] (jnf): Likewise.
80615         [non-C99-based standards] (lgammaf): Likewise.
80616         [non-C99-based standards] (tgammaf): Likewise.
80617         [non-C99-based standards] (y0f): Likewise.
80618         [non-C99-based standards] (y1f): Likewise.
80619         [non-C99-based standards] (ynf): Likewise.
80620         [non-C99-based standards] (isnanf): Likewise.
80621         [non-C99-based standards] (acoshf): Likewise.
80622         [non-C99-based standards] (asinhf): Likewise.
80623         [non-C99-based standards] (atanhf): Likewise.
80624         [non-C99-based standards] (cbrtf): Likewise.
80625         [non-C99-based standards] (expm1f): Likewise.
80626         [non-C99-based standards] (ilogbf): Likewise.
80627         [non-C99-based standards] (log1pf): Likewise.
80628         [non-C99-based standards] (logbf): Likewise.
80629         [non-C99-based standards] (nextafterf): Likewise.
80630         [non-C99-based standards] (remainderf): Likewise.
80631         [non-C99-based standards] (rintf): Likewise.
80632         [non-C99-based standards] (scalbf): Likewise.
80633         [non-C99-based standards] (copysignl): Likewise.
80634         [non-C99-based standards] (exp2l): Likewise.
80635         [non-C99-based standards] (log2l): Likewise.
80636         [non-C99-based standards] (modfl): Allow.
80637         [non-C99-based standards] (erfl): Do not allow.
80638         [non-C99-based standards] (erfcl): Likewise.
80639         [non-C99-based standards] (gammal): Likewise.
80640         [non-C99-based standards] (hypotl): Likewise.
80641         [non-C99-based standards] (j0l): Likewise.
80642         [non-C99-based standards] (j1l): Likewise.
80643         [non-C99-based standards] (jnl): Likewise.
80644         [non-C99-based standards] (lgammal): Likewise.
80645         [non-C99-based standards] (tgammal): Likewise.
80646         [non-C99-based standards] (y0l): Likewise.
80647         [non-C99-based standards] (y1l): Likewise.
80648         [non-C99-based standards] (ynl): Likewise.
80649         [non-C99-based standards] (isnanl): Likewise.
80650         [non-C99-based standards] (acoshl): Likewise.
80651         [non-C99-based standards] (asinhl): Likewise.
80652         [non-C99-based standards] (atanhl): Likewise.
80653         [non-C99-based standards] (cbrtl): Likewise.
80654         [non-C99-based standards] (expm1l): Likewise.
80655         [non-C99-based standards] (ilogbl): Likewise.
80656         [non-C99-based standards] (log1pl): Likewise.
80657         [non-C99-based standards] (logbl): Likewise.
80658         [non-C99-based standards] (nextafterl): Likewise.
80659         [non-C99-based standards] (remainderl): Likewise.
80660         [non-C99-based standards] (rintl): Likewise.
80661         [non-C99-based standards] (scalbl): Likewise.
80662         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80663         [non-C99-based standards] (FP_*): Do not allow.
80664         [C99-based standards] (FP_*): Change to
80665         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80666         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80667         allow.
80668         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80669         (SIG_ERR): Likewise.
80670         [X/Open-based standards] (SIG_HOLD): Likewise.
80671         (SIG_IGN): Likewise.
80672         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80673         positive value.
80674         (SIGFPE): Likewise.
80675         (SIGILL): Likewise.
80676         (SIGINT): Likewise.
80677         (SIGSEGV): Likewise.
80678         (SIGTER): Likewise.
80679         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80680         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80681         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80682         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80683         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80684         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80685         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80686         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80687         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80688         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80689         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80690         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80691         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80692         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80693         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80694         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80695         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80696         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80697         [X/Open-based standards] (SIGTRAP): Likewise.
80698         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80699         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80700         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80701         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80702         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80703         allow.
80705 2012-05-08  Ian Wienand  <ianw@vmware.com>
80707         [BZ #14080]
80708         * time/tzset.c (__tzset_parse_tz): Update default rules for
80709         daylight time changes in the Energy Policy Act of 2005.
80711 2012-05-09  Andreas Jaeger  <aj@suse.de>
80713         [BZ #13983]
80714         * elf/ldconfig.c (parse_conf): Change string to make clear that
80715         ldconfig only issued a warning if ld.so.conf does not exist.
80717 2012-05-08  David S. Miller  <davem@davemloft.net>
80719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80720         movxtod instead of popping the value on the stack.
80722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80724 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
80726         * config.h.in: Add HAVE_ARM_PCS_VFP.
80728 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
80730         [BZ #13979]
80731         * include/features.h: Warn if user requests __FORTIFY_SOURCE
80732         checking but the checks are disabled for any reason.
80734 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
80736         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80737         and ELF64_R_TYPE with ELFW(R_TYPE).
80739 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
80741         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80742         (ulimit): Likewise.
80744         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80745         (settimeofday): Likewise.
80747 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
80749         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
80750         a struct th_u2 inside the union, and move tu_block/tu_code into
80751         a new th_u3 union of tu_block/tu_code inside of that.  Move
80752         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
80753         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
80754         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80755         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80756         (th_stuff): Change to th_u1.tu_stuff.
80757         (th_data): Define.
80758         (th_msg): Change to th_u1.th_u2.tu_data.
80760 2012-05-07  David S. Miller  <davem@davemloft.net>
80762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80764         [BZ #14074]
80765         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80766         (SETUP_PIC_REG): Use it.
80767         (SETUP_PIC_REG_LEAF): Use it.
80769 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
80771         [BZ #13885]
80772         [BZ #13923]
80773         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80774         USE_AS_EXPM1L.
80775         (EXPL_FINITE): Likewise.
80776         (FLDLOG): Likewise.
80777         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80778         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80779         e_expl.S.
80780         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80781         USE_AS_EXPM1L.
80782         (EXPL_FINITE): Likewise.
80783         (FLDLOG): Likewise.
80784         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80785         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80786         e_expl.S.
80787         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
80788         test of -max_value argument for long double.
80789         * sysdeps/i386/fpu/libm-test-ulps: Update.
80790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80792 2012-05-06  David S. Miller  <davem@davemloft.net>
80794         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80795         quad soft-float symbols whose references which are compiler
80796         generated.
80797         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80799 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
80801         [BZ #13884]
80802         [BZ #13914]
80803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80804         USE_AS_EXP10L.
80805         (EXPL_FINITE): Likewise.
80806         (FLDLOG): Likewise.
80807         (c0): Likewise.
80808         (c1): Likewise.
80809         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80810         Adjust comments for base varying.
80811         (__expl_finite): Change alias to EXPL_FINITE.
80812         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80813         e_expl.S.
80814         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80815         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80816         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80817         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80818         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80819         USE_AS_EXP10L.
80820         (EXPL_FINITE): Likewise.
80821         (FLDLOG): Likewise.
80822         (c0): Likewise.
80823         (c1): Likewise.
80824         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80825         Adjust comments for base varying.
80826         (__expl_finite): Change alias to EXPL_FINITE.
80827         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80828         tests for bugs.
80829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80831         [BZ #14064]
80832         * math/libm-test.inc (check_float_internal): Correct ulp
80833         calculation for subnormal expected results.
80835 2012-05-06  Andreas Jaeger  <aj@suse.de>
80837         * Makeconfig (+math-flags): New, set to -frounding-math.
80838         (+cflags): Add +math-flags so that all of glibc gets compiled with
80839         it.
80841         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80843 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80845         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80846         Disable one test.
80848         [BZ #13787]
80849         [BZ #13922]
80850         [BZ #14036]
80851         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80852         (__ieee754_expl): Allow for and saturate large arguments.
80853         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80854         (u_threshold): Likewise.
80855         (__exp): Call __ieee754_exp before checking for overflow and
80856         underflow.
80857         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80858         (u_threshold): Likewise.
80859         (__expf): Call __ieee754_expf before checking for overflow and
80860         underflow.
80861         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80862         (u_threshold): Likewise.
80863         (__expl): Call __ieee754_expl before checking for overflow and
80864         underflow.
80865         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80866         (__ieee754_expl): Allow for and saturate large arguments.
80867         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80868         missing overflow exception on overflow.
80869         (expm1_test): Do not allow missing overflow exception on overflow.
80871         * sysdeps/i386/fpu/e_expl.c: Move to ...
80872         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80873         rather than using inline asm.
80874         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80875         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80876         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80878         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80879         (nice): Likewise.
80880         (poll): Likewise.
80881         (signal): Likewise.
80882         (time): Likewise.
80883         (times): Likewise.
80885 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80887         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80888         sysdeps/unix/common/syscalls.list.
80889         (fchmod): Likewise.
80890         (fchown): Likewise.
80891         (ftruncate): Likewise.
80892         (getrusage): Likewise.
80893         (gettimeofday): Likewise.
80894         (setpgid): Likewise.
80895         (setregid): Likewise.
80896         (setreuid): Likewise.
80897         (sigaction): Likewise.
80898         (truncate): Likewise.
80899         (vhangup): Likewise.
80900         * sysdeps/unix/common/syscalls.list: Remove file.
80901         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80902         * sysdeps/unix/sysv/linux/Implies: Likewise.
80904 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80906         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80908         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80909         Moved to ...
80910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80911         Here.
80912         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80913         to ...
80914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80915         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80916         to ...
80917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80918         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80919         to ...
80920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80921         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80922         to ...
80923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80924         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80925         to ...
80926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80927         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80928         to ...
80929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80930         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80931         to ...
80932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80933         Here.
80934         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80935         to ...
80936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80937         Here.
80938         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80939         to ...
80940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80941         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80942         Moved to ...
80943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80944         Here.
80945         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80946         to ...
80947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80949 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80951         * sysdeps/unix/common/bits/dirent.h: Remove file.
80952         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80954         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80955         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80956         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80957         * sysdeps/unix/bsd/isatty.c: Likewise.
80958         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80959         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80960         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80962 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80964         [BZ #13563]
80965         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80966         long double comparison inaccuracies.
80967         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80970 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80972         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80973         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80975 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80977         [BZ #14049]
80978         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80979         nonzero digits before rounding a hex value.
80980         * stdlib/tst-strtod.c (tests): Add another test.
80982 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80984         * sysdeps/s390/fpu/libm-test-ulps: Update.
80986 2012-05-03  Andreas Jaeger  <aj@suse.de>
80988         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80989         does not get optimized out.
80990         (malloc_opt_barrier): New.
80992 2012-05-03  Andreas Jaeger  <aj@suse.de>
80993             Roland McGrath  <roland@hack.frob.com>
80995         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80996         intermediate file deletion.
80997         (generated): Add .symlist files.
80999 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81001         [BZ #13775]
81002         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81003         Redirect under this condition.
81004         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81005         [__USE_GNU] (__dprintf_chk): Not under this condition.
81006         [__USE_GNU] (__vdprintf_chk): Likewise.
81007         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81008         under this condition.
81009         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81010         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81011         [__USE_XOPEN2K8] (vdprintf): Likewise.
81012         [__USE_GNU] (__dprintf_chk): Not under this condition.
81013         [__USE_GNU] (__vdprintf_chk): Likewise.
81014         [__USE_GNU] (dprintf): Likewise.
81015         [__USE_GNU] (vdprintf): Likewise.
81017 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81019         * elf/Makefile (common-generated): Set this instead of generated for
81020         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81021         $(all-built-dso)-derived lists.
81023 2012-05-03  Andreas Jaeger  <aj@suse.de>
81025         * sysdeps/i386/fpu/libm-test-ulps: Update.
81027         * FAQ: Removed.
81028         * FAQ.in: Likewise.
81029         * scripts/gen-FAQ.pl: Likewise.
81030         * manual/install.texi (Installation): Point to online location of
81031         FAQ.
81032         * Makefile (files-for-dist): Remove FAQ.
81033         (FAQ): Remove.
81035 2012-05-02  Allan McRae  <allan@archlinux.org>
81037         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81038         (LDFLAGS-reldepmod5.so): Likewise.
81039         (LDFLAGS-reldep6mod1.so): Likewise.
81040         (LDFLAGS-reldep6mod4.so): Likewise.
81041         (LDFLAGS-reldep8mod3.so): Likewise.
81042         (LDFLAGS-unload4mod1.so): Likewise.
81043         (LDFLAGS-unload4mod2.so): Likewise.
81044         (LDFLAGS-tst-initorder): Likewise.
81045         (LDFLAGS-tst-initordera2.so): Likewise.
81046         (LDFLAGS-tst-initordera3.so): Likewise.
81047         (LDFLAGS-tst-initordera4.so): Likewise.
81048         (LDFLAGS-tst-initorderb2.so): Likewise.
81049         (LDFLAGS-noload): Likewise.
81050         (LDFLAGS-next): Likewise.
81051         (LDFLAGS-order2mod1.so): Likewise.
81052         (LDFLAGS-order2mod2.so): Likewise.
81053         (LDFLAGS-tst-initorder2): Likewise.
81054         (LDFLAGS-tst-initorder2a.so): Likewise.
81055         (LDFLAGS-tst-initorder2b.so): Likewise.
81056         (LDFLAGS-tst-initorder2c.so): Likewise.
81057         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81059 2012-05-02  David S. Miller  <davem@davemloft.net>
81061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81063 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
81065         [BZ #14055]
81066         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81068 2012-05-02  Andreas Jaeger  <aj@suse.de>
81070         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81071         since we manipulate rounding mode.
81072         (CPPFLAGS-test-idouble.c): Likewise.
81073         (CPPFLAGS-test-ifloat.c): Likewise.
81074         (CFLAGS-test-ldouble.c): Likewise.
81075         (CFLAGS-test-double.c): Likewise.
81076         (CFLAGS-test-float.c): Likewise.
81077         (CFLAGS-test-misc.c): Likewise.
81078         (CFLAGS-test-test-fenv.c): Likewise.
81080 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81082         [BZ #2550]
81083         [BZ #2570]
81084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81085         comparisons to determine direction to adjust input.
81087 2012-05-01  Roland McGrath  <roland@hack.frob.com>
81089         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81090         output to the target.
81092         * scripts/localplt.awk: New file.
81093         * elf/Makefile ($(objpfx)check-localplt): Target removed.
81094         (check-localplt-CFLAGS): Variable removed.
81095         ($(all-built-dso:=.jmprel)): New static pattern rule.
81096         (generated): Add those targets.
81097         (localplt-built-dso): New variable.
81098         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81100         * elf/check-localplt.c: File removed.
81102         * scripts/check-execstack.awk: New file.
81103         * elf/Makefile ($(objpfx)check-execstack): Target removed.
81104         (check-execstack-CFLAGS): Variable removed.
81105         ($(objpfx)check-execstack.h): Target removed.
81106         ($(objpfx)execstack-default): New target.
81107         (generated): Add that instead of check-execstack.h.
81108         ($(all-built-dso:=.phdr)): New static pattern rule.
81109         (generated): Add those targets.
81110         * elf/check-execstack.c: File removed.
81112         * scripts/check-textrel.awk: New file.
81113         * elf/Makefile ($(objpfx)check-textrel): Target removed.
81114         (check-textrel-CFLAGS): Variable removed.
81115         (all-built-dso): Use := to define.o
81116         ($(all-built-dso:=.dyn)): New static pattern rule.
81117         (generated): Add those targets.
81118         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81119         * config.make.in (READELF): New substituted variable.
81120         * elf/check-textrel.c: File removed.
81122 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81124         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81125         allow.
81126         * conform/data/ctype.h-data [C99-based standards] (isblank):
81127         Expect function.
81128         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81129         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81130         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81131         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81132         Specify type.  Require positive value.
81133         (EILSEQ): Likewise.
81134         (ERANGE): Likewise.
81135         [ISO || POSIX] (EILSEQ): Do not expect.
81136         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81137         Specify type.  Require positive value.
81138         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81139         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81140         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81141         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81142         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81143         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81144         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81145         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81146         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81147         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81148         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81149         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81150         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81151         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81152         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81153         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81154         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81155         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81156         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81157         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81158         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81159         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81160         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81161         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81162         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81163         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81164         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81165         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81166         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81167         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81168         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81169         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81170         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81171         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81172         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81173         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81174         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81175         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81176         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81177         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81178         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81179         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81180         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81181         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81182         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81183         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81184         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81185         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81186         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81187         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81188         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81189         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81190         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81191         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81192         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81193         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81194         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81195         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81196         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81197         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81198         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81199         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81200         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81201         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81202         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81203         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81204         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81205         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81206         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81207         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81208         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81209         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81210         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81211         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81212         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81213         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81214         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81215         Require >= 2.
81216         (FLT_ROUNDS): Expect as macro, not constant.
81217         (FLT_MANT_DIG): Use macro-int-constant.
81218         (DBL_MANT_DIG): Likewise.
81219         (LDBL_MANT_DIG): Likewise.
81220         (FLT_DIG): Likewise.
81221         (DBL_DIG): Likewise.
81222         (LDBL_DIG): Likewise.
81223         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
81224         (DBL_MIN_EXP): Likewise.
81225         (LDBL_MIN_EXP): Likewise.
81226         (FLT_MAX_EXP): Use macro-int-constant.
81227         (DBL_MAX_EXP): Likewise.
81228         (LDBL_MAX_EXP): Likewise.
81229         (FLT_MAX_10_EXP): Likewise.
81230         (DBL_MAX_10_EXP): Likewise.
81231         (LDBL_MAX_10_EXP): Likewise.
81232         (FLT_MAX): Use macro-constant.
81233         (DBL_MAX): Likewise.
81234         (LDBL_MAX): Likewise.
81235         (FLT_EPSILON): Use macro-constant.  Give upper bound.
81236         (DBL_EPSILON): Likewise.
81237         (LDBL_EPSILON): Likewise.
81238         (FLT_MIN): Likewise.
81239         (DBL_MIN): Likewise.
81240         (LDBL_MIN): Likewise.
81241         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81242         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81243         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81244         [ISO11] (FLT_HAS_SUBNORM): Likewise.
81245         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81246         [ISO11] (DBL_DECIMAL_DIG): Likewise.
81247         [ISO11] (FLT_DECIMAL_DIG): Likewise.
81248         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81249         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81250         [ISO11] (FLT_TRUE_MIN): Likewise.
81251         [ISO11] (LDBL_TRUE_MIN): Likewise.
81252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81253         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81254         (SCHAR_MIN): Use macro-int-constant.  Specify type.
81255         (SCHAR_MAX): Likewise.
81256         (UCHAR_MAX): Likewise.
81257         (CHAR_MIN): Likewise.
81258         (CHAR_MAX): Likewise.
81259         (MB_LEN_MAX): Use macro-int-constant.
81260         (SHRT_MIN): Use macro-int-constant.  Specify type.
81261         (SHRT_MAX): Likewise.
81262         (USHRT_MAX): Likewise.
81263         (INT_MAX): Likewise.
81264         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
81265         bound negative.
81266         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81267         bound with "U".
81268         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81269         bound with "L".
81270         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
81271         bound negative.  Suffix upper bound with "L".
81272         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81273         bound with "UL".
81274         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81275         Specify type.
81276         [C99-based standards] (LLONG_MAX): Likewise.
81277         [C99-based standards] (ULLONG_MAX): Likewise.
81278         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
81279         == 0.
81280         [ISO11] (max_align_t): Require type.
81281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81283         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81284         from $CFLAGS, without defining away __attribute__ calls.
81285         (checknamespace): Use $CFLAGS_namespace.
81287         * conform/conformtest.pl (@keywords): Only include C99 keywords
81288         for standards based on C99 or C11.
81290         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81291         Disable tests.
81292         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81293         UNIX98]: Likewise.
81295         * conform/conformtest.pl: Handle "macro-int-constant" and test for
81296         usability of symbols in #if.
81298         * conform/conformtest.pl: If macro or constant types start
81299         "promoted:", expect the symbol to be of the following type
81300         promoted by the integer promotions.
81302         * conform/conformtest.pl: Parse all "constant" and "macro" lines
81303         in one place.  Also handle "macro-constant".
81305         * conform/conformtest.pl: Only accept expected macro values with
81306         "==".  Parse all "macro" lines in one place.
81307         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81309         * conform/conformtest.pl: Handle braced types on "constant" lines
81310         instead of handling "typed-constant".
81311         * conform/data/signal.h-data: Use "constant" instead of
81312         "typed-constant".
81314         * conform/conformtest.pl: Handle "optional-" at start of lines in
81315         one place rather than duplicating several cases.  Handle each
81316         format of "macro" line with initial "optional-".
81318         * conform/conformtest.pl: Only accept expected constant or
81319         optional-constant values with "==".  Parse all "constant" lines in
81320         one place.  Parse all "optional-constant" lines in one place.
81321         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81322         * conform/data/fmtmsg.h-data: Likewise.
81323         * conform/data/netinet/in.h-data: Likewise.
81324         * conform/data/tar.h-data: Likewise.
81325         * conform/data/limits.h-data: Use "==" form on "constant" and
81326         "optional-constant" lines.
81328         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81329         Use -std=c99 for XOPEN2K.
81330         (@knownproblems): Remove.
81331         (newtoken): Don't check %isknown.
81333         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81334         Do not expect macro.
81335         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81336         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81337         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81338         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81339         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81340         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81341         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81342         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81343         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81344         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81345         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81346         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81347         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81348         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81349         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81350         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81351         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81352         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81353         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81354         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81355         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81356         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81357         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81358         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81359         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81360         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81361         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81362         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81363         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81364         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81365         [XPG3] (acosh): Likewise.
81366         [XPG3] (asinh): Likewise.
81367         [XPG3] (atanh): Likewise.
81368         [XPG3] (cbrt): Likewise.
81369         [XPG3] (expm1): Likewise.
81370         [XPG3] (ilogb): Likewise.
81371         [XPG3] (log1p): Likewise.
81372         [XPG3] (logb): Likewise.
81373         [XPG3] (nextafter): Likewise.
81374         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81375         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81376         [XPG3] (remainder): Likewise.
81377         [XPG3] (rint): Likewise.
81378         [XPG3 || XPG4 || UNIX98] (round): Likewise.
81379         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81380         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81381         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81382         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81383         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81384         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81385         [UNIX98 || XOPEN2K] (scalb): Expect.
81386         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81387         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81388         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81389         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81390         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81391         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81392         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81393         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81394         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81395         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81396         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81397         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81398         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81399         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81400         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81401         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81402         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81403         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81404         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81405         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81406         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81407         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81408         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81409         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81410         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81411         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81412         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81413         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81414         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81415         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81416         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81417         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81418         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81419         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81420         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81421         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81422         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81423         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81424         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81425         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81426         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81427         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81428         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81429         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81430         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81431         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81432         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81433         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81434         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81435         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81436         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81437         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81438         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81439         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81440         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81441         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81442         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81443         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81444         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81445         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81446         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81447         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81448         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81449         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81450         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81451         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81452         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81453         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81454         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81455         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81456         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81457         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81458         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81459         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81460         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81461         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81462         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81463         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81464         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81465         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81466         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81467         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81468         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81469         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81470         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81471         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81472         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81473         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81474         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81475         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81476         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81477         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81478         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81479         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81480         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81481         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81482         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81483         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81484         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81485         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81486         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81487         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81488         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81489         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81490         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81491         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81492         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81493         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81494         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81495         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81496         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81497         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81498         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81499         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81500         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81501         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81502         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81503         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81504         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81505         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81506         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81507         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81508         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81509         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81510         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81511         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81512         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81513         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81514         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81515         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81516         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81517         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81518         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81519         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81520         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81521         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81522         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81524         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81525         _XOPEN_SOURCE_EXTENDED for XPG4.
81527         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81529         * Makeconfig (localtime): Remove variable.
81530         (inst_localtime-file): Likewise.
81532 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81535         Update.
81536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81537         Update.
81538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81539         Update.
81540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81541         Update.
81542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81543         Update.
81544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81545         Update.
81546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81547         Update.
81548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81549         Update.
81550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81551         Update.
81553 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81555         [BZ #2550]
81556         [BZ #2570]
81557         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81558         comparisons to determine direction to adjust input.
81559         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81560         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81561         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81562         Likewise.
81563         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81564         Likewise.
81565         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81566         Likewise.
81567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81568         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81569         Likewise.
81570         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81571         Likewise.
81572         * math/libm-test.inc (nexttoward_test): Add more tests.
81574 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81576         [BZ #14040]
81577         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81578         in version GLIBC_2.1, not GLIBC_2.0.
81579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81580         Likewise.
81582 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81584         [BZ #13942]
81585         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81586         (1 - x) * (1 + x).
81587         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81588         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81589         * math/libm-test.inc (acos_test): Add more tests.
81590         (asin_test): Likewise.
81591         * sysdeps/i386/fpu/libm-test-ulps: Update.
81592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81594         [BZ #14034]
81595         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81596         of square root.
81597         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81598         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81599         * math/libm-test.inc (acos_test_tonearest): New function.
81600         (acos_test_towardzero): Likewise.
81601         (acos_test_downward): Likewise.
81602         (acos_test_upward): Likewise.
81603         (asin_test_tonearest): Likewise.
81604         (asin_test_towardzero): Likewise.
81605         (asin_test_downward): Likewise.
81606         (asin_test_upward): Likewise.
81607         (main): Call the new functions.
81608         * sysdeps/i386/fpu/libm-test-ulps: Update.
81609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81611         [BZ #13884]
81612         [BZ #13924]
81613         * math/e_exp10.c: Include <float.h>.
81614         (__ieee754_exp10): Handle underflow here rather than multiplying
81615         large negative argument by M_LN10.
81616         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81617         of __ieee754_expf.
81618         * math/e_exp10l.c: Include <float.h>.
81619         (__ieee754_exp10l): Handle underflow here rather than multiplying
81620         large negative argument by M_LN10l.
81621         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81622         spurious overflow exception on underflow.
81624 2012-04-29  Marek Polacek  <polacek@redhat.com>
81626         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81627         (__fortify_function): New macro.
81628         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81629         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81630         __extern_always_inline.
81631         * libio/bits/stdio2.h: Likewise.
81632         * libio/bits/stdio.h: Likewise.
81633         * string/string.h: Likewise.
81634         * string/bits/string3.h: Likewise.
81635         * include/stdio.h: Likewise.
81636         * stdlib/bits/stdlib.h: Likewise.
81637         * stdlib/stdlib.h: Likewise.
81638         * rt/bits/mqueue2.h: Likewise.
81639         * rt/mqueue.h: Likewise.
81640         * posix/bits/unistd.h: Likewise.
81641         * posix/unistd.h: Likewise.
81642         * io/bits/poll2.h: Likewise.
81643         * io/bits/fcntl2.h: Likewise.
81644         * io/fcntl.h: Likewise.
81645         * io/sys/poll.h: Likewise.
81646         * misc/bits/syslog.h: Likewise.
81647         * misc/bits/syslog-ldbl.h: Likewise.
81648         * misc/sys/syslog.h: Likewise.
81649         * socket/bits/socket2.h: Likewise.
81650         * socket/sys/socket.h: Likewise.
81651         * debug/tst-chk1.c: Likewise.
81652         * wcsmbs/bits/wchar2.h: Likewise.
81653         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81654         * wcsmbs/wchar.h: Likewise.
81656 2012-04-29  Andreas Jaeger  <aj@suse.de>
81658         * Makerules (tests): Remove enable-check-abi protection.
81659         (check-abi-warn): Remove.
81660         (check-abi-%): Remove check-abi-warn usage.
81662         * configure.in: Remove check-abi configure option.
81663         * configure: Regenerated.
81664         * config.make.in (enable-check-abi): Remove.
81666 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81668         [BZ #14033]
81669         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81670         double functions to double *_finite functions.
81672         [BZ #13941]
81673         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81674         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81675         LDBL_MIN_EXP.
81676         * stdio-common/Makefile (tests): Add tst-sprintf3.
81677         * stdio-common/tst-sprintf3.c: New file.
81679         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81680         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81682 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81684         * conform/conformtest.pl: Remove duplicate typed-constant
81685         handling.
81687 2012-04-28  David S. Miller  <davem@davemloft.net>
81689         * Makerules (%.abilist): Add vpath on sysdep_dirs.
81690         (check-abi-%): Remove AWK script prerequisite and explicit
81691         abilist directory.
81692         (check-abi): Rewrite to just diff the symlist with the abilist.
81693         (config-tls, config-abi-config): Delete, no longer used.
81694         (update-abi-%): Remove AWK script and explicit abilist directory.
81695         (update-abi): Rewrite to simply compare and conditionally copy the
81696         symlist and the sysdep abilist file.  Remove update-abi-config
81697         checks.
81698         * abilist/ld.abilist: Remove.
81699         * abilist/libBrokenLocale.abilist: Remove.
81700         * abilist/libanl.abilist: Remove.
81701         * abilist/libcrypt.abilist: Remove.
81702         * abilist/libdl.abilist: Remove.
81703         * abilist/librt.abilist: Remove.
81704         * abilist/libthread_db.abilist: Remove.
81705         * abilist/libutil.abilist: Remove.
81706         * scripts/extract-abilist.awk: Remove.
81707         * scripts/merge-abilist.awk: Remove.
81708         * sysdeps/generic/libcidn.abilist: New file.
81709         * sysdeps/generic/libnss_compat.abilist: New file.
81710         * sysdeps/generic/libnss_db.abilist: New file.
81711         * sysdeps/generic/libnss_dns.abilist: New file.
81712         * sysdeps/generic/libnss_files.abilist: New file.
81713         * sysdeps/generic/libnss_hesiod.abilist: New file.
81714         * sysdeps/generic/libnss_nis.abilist: New file.
81715         * sysdeps/generic/libnss_nisplus.abilist: New file.
81716         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81717         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81718         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81719         file.
81720         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81721         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81722         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81723         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81724         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81725         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81726         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81727         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81728         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81729         file.
81730         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81731         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81732         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81733         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81734         file.
81735         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81736         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81737         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81738         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81739         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81740         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81741         file.
81742         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81743         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81744         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81745         file.
81746         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81748         New file.
81749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81750         New file.
81751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81752         New file.
81753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81754         New file.
81755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81756         New file.
81757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81758         New file.
81759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81760         New file.
81761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81762         New file.
81763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81764         New file.
81765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81766         New file.
81767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81768         New file.
81769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81770         New file.
81771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81772         New file.
81773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81774         file.
81775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81776         New file.
81777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81778         New file.
81779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81780         file.
81781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81782         New file.
81783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81784         New file.
81785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81786         file.
81787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81788         New file.
81789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81790         New file.
81791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81792         New file.
81793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81794         New file.
81795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81796         New file.
81797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81798         New file.
81799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81801         file.
81802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81803         New file.
81804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81805         file.
81806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81807         file.
81808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81809         file.
81810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81811         file.
81812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81813         file.
81814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81815         New file.
81816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81817         file.
81818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81819         file.
81820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81821         New file.
81822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81823         file.
81824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81826         file.
81827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81828         New file.
81829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81830         file.
81831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81832         file.
81833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81834         file.
81835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81836         file.
81837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81838         file.
81839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81840         New file.
81841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81842         file.
81843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81844         file.
81845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81846         New file.
81847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81848         file.
81849         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81850         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81851         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81852         file.
81853         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81854         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81855         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81856         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81857         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81858         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81859         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81860         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81861         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81862         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81865         file.
81866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81867         New file.
81868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81869         file.
81870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81871         file.
81872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81873         file.
81874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81875         file.
81876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81877         file.
81878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81879         New file.
81880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81881         New file.
81882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81883         file.
81884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81885         New file.
81886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81887         file.
81888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81890         file.
81891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81892         New file.
81893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81894         file.
81895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81896         file.
81897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81898         file.
81899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81900         file.
81901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81902         file.
81903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81904         New file.
81905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81906         New file.
81907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81908         file.
81909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81910         New file.
81911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81912         file.
81914 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81916         * conform/conformtest.pl: Fix typo in handling typed-constant from
81917         allow-header.
81919 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81921         * README: Cut down references to pre-2.6 Linux kernels and
81922         Linuxthreads.  Update lists of configurations in libc and ports
81923         and sort alphabetically.  Say "or newer" with Linux kernel version
81924         requirements.
81926         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81928 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81930         [BZ #887]
81931         * math/libm-test.inc (logb_test_downward): New test to expose
81932         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81933         rounding mode.
81935 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81937         [BZ #14027]
81938         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81939         to be done.
81940         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81941         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81943 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81945         * sysdeps/unix/i386/brk.S: Remove file.
81946         * sysdeps/unix/i386/dl-brk.S: Likewise.
81947         * sysdeps/unix/i386/pipe.S: Likewise.
81948         * sysdeps/unix/i386/sigreturn.S: Likewise.
81949         * sysdeps/unix/i386/syscall.S: Likewise.
81950         * sysdeps/unix/i386/vfork.S: Likewise.
81951         * sysdeps/unix/i386/wait.S: Likewise.
81953         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81954         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81956         * configure.in (arm*-none*): Do not allow without
81957         --enable-hacker-mode.
81958         (netbsd*): Remove case setting base_os.
81959         (386bsd*): Likewise.
81960         (freebsd*): Likewise.
81961         (bsdi*): Likewise.
81962         (osf*): Likewise.
81963         (sunos*): Likewise.
81964         (ultrix*): Likewise.
81965         (newsos*): Likewise.
81966         (dynix*): Likewise.
81967         (*bsd*): Likewise.
81968         (sysv*): Likewise.
81969         (isc*): Likewise.
81970         (esix*): Likewise.
81971         (sco*): Likewise.
81972         (minix*): Likewise.
81973         (irix4*): Likewise.
81974         (irix6*): Likewise.
81975         (solaris[2-9]*): Likewise.
81976         (none): Likewise.
81977         * configure: Regenerated.
81979 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81981         [BZ #11521]
81982         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81983         overflow or cancellation in calculating denominator.
81984         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81985         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81986         down expression to avoid unexpected rounding in newer GCCs.
81987         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81989 2012-04-26  David S. Miller  <davem@davemloft.net>
81991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81992         long-double compat symbols.
81993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82007 2012-04-25  David S. Miller  <davem@davemloft.net>
82009         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82010         HWCAP_* values only after the memory barriers have been defined.
82011         (atomic_full_barrier): Define.
82012         (atomic_read_barrier): Define.
82013         (atomic_write_barrier): Define.
82015 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82017         * shlib-versions: Add libgcc_s version information.
82018         * sysdeps/generic/libgcc_s.h: Remove.
82019         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82020         libgcc_s.h.
82021         * sysdeps/gnu/unwind-resume.c: Likewise.
82022         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82024 2012-04-25  David S. Miller  <davem@davemloft.net>
82026         * sysdeps/unix/sparc/brk.S: Delete.
82027         * sysdeps/unix/sparc/dl-brk.S: Delete.
82028         * sysdeps/unix/sparc/pipe.S: Delete.
82029         * sysdeps/unix/sparc/sysdep.S: Delete.
82030         * sysdeps/unix/sparc/sysdep.h: Delete.
82031         * sysdeps/unix/sparc/vfork.S: Delete.
82032         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82033         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82034         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82035         (ret_ERRVAL, r0, r1, MOVE): Define.
82036         (JUMPTARGET): Remove.
82037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82038         sysdeps/unix/sparc/sysdep.h
82039         (ENTRY, END): Remove.
82040         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82042 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82044         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82045         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82046         -DIS_IN_build.
82048         * timezone/README: Update upstream location and email address for
82049         tzcode and tzdata.
82050         * timezone/zdump.c: Update from tzcode 2012b.
82051         * timezone/zic.c: Likewise.
82053         * configure.in (libc_cv_as_needed): Remove test.
82054         * configure: Regenerated.
82055         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82056         conditional definition.
82057         [$(have-as-needed) != yes] (no-as-needed): Likewise.
82058         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82059         * config.make.in (have-as-needed): Remove variable.
82061 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
82062             Paul Pluzhnikov  <ppluzhnikov@google.com>
82064         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82065         strings correctly.
82067 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
82069         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82070         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82071         * sysdeps/sh/strlen.S: Likewise.
82073 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82075         * sysdeps/unix/fork.S: Remove file.
82076         * sysdeps/unix/i386/fork.S: Likewise.
82077         * sysdeps/unix/sparc/fork.S: Likewise.
82079         * sysdeps/unix/system.c: Remove file.
82080         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82082         * sysdeps/unix/getegid.S: Remove file.
82083         * sysdeps/unix/geteuid.S: Likewise.
82085 2012-04-24  Roland McGrath  <roland@hack.frob.com>
82087         * scripts/check-localplt.awk: New file.
82088         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82089         of diff.
82090         * scripts/data/localplt-generic.data: Add a comment.
82092         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82093         NODE when __dir_mkfile failed.
82094         * sysdeps/mach/hurd/symlinkat.c: Likewise.
82095         Reported by Ludovic Courtès <ludo@gnu.org>.
82097 2012-04-24  Andreas Jaeger  <aj@suse.de>
82099         * Makerules (common-clean): Also remove gen-as-const-headers
82100         files.
82102 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82104         * Makerules (native-compile): Do not change working directory for
82105         build.  Use $(OUTPUT_OPTION) in command.
82106         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82108 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82110         [BZ #13886]
82111         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82112         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82113         * math/libm-test.inc (floor_test): Add more tests.
82114         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82116 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82118         * sysdeps/unix/getdents.c: Remove file.
82119         * sysdeps/unix/sysv/getdents.c: Likewise.
82120         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82122         * sysdeps/unix/syscalls.list (madvise): Add syscall from
82123         sysdeps/unix/mman/syscalls.list.
82124         (mmap): Likewise.
82125         (mprotect): Likewise.
82126         (msync): Likewise.
82127         (munmap): Likewise.
82128         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82129         * sysdeps/unix/mman/syscalls.list: Remove.
82130         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82132         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82133         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82134         * configure: Regenerated.
82135         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82136         $(libgcc_s_suffix).
82137         * config.make.in (libgcc_s_suffix): Remove variable.
82139 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
82141         * sysdeps/unix/sysv/gethostname.c: Move to ...
82142         * sysdeps/posix/gethostname.c: ... here.
82144         * sysdeps/unix/execve.S: Remove file.
82146         * sysdeps/unix/_exit.S: Remove file.
82148 2012-04-23  Andreas Jaeger  <aj@suse.de>
82150         [BZ #13739]
82151         * manual/Makefile: Remove make dist support, there's no
82152         need for a stand-alone documentation tar ball.
82153         (TEXI2DVI): Define always, it's not in Makeconfig.
82154         (dist): Removed.
82155         (tar-it): Removed.
82156         (edition): Removed.
82157         (glibc-doc-$(edition).tar): Removed
82158         (%.Z): Removed.
82159         (%.gz): Removed.
82160         (%.uu): Removed.
82161         (ETAGS): Remove, it's in Makeconfig.
82162         (move-if-change): Remove, it's in Makeconfig.
82164 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
82166         [BZ #13970]
82167         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82168         (strtod, strtof, strtold, strtol, strtoul, strtoq)
82169         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82170         (strtod_l, strtof_l, strtold_l): Remove __wur.
82171         It is not necessarily an error to ignore strtol's return value.
82172         One can reliably look at the stored endptr to decide whether
82173         the number had valid syntax.
82175 2012-04-21  Andreas Jaeger  <aj@suse.de>
82177         [BZ #13739]
82178         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82180 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
82182         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82183         * sysdeps/unix/sysv/Versions: Remove file.
82185 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
82187         [BZ #13927]
82188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82190 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
82192         [BZ #7064]
82193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82194         version from __vm86.
82196 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
82198         * sysdeps/unix/common/lxstat.c: Remove file.
82199         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82201         * sysdeps/unix/sysv/Makefile: Remove file.
82203         * sysdeps/unix/sysv/direct.h: Remove file.
82205         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82206         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82207         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82208         * sysdeps/unix/sysv/bits/signum.h: Likewise.
82209         * sysdeps/unix/sysv/bits/stat.h: Likewise.
82210         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82211         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82213         * sysdeps/unix/sysv/setrlimit.c: Remove file.
82215         * sysdeps/unix/xmknod.c: Remove file.
82216         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82218         * sysdeps/unix/sysv/settimeofday.c: Remove file.
82220         * sysdeps/unix/sysv/i386/time.S: Remove file.
82222         * sysdeps/unix/fxstat.c: Remove file.
82223         * sysdeps/unix/xstat.c: Likewise.
82224         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82226         * sysdeps/unix/sysv/sigaction.c: Remove file.
82228         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82229         (sysdep_headers): Remove variable.
82230         [termio.h not in sysdep_headers] (generated): Likewise.
82231         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82232         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82233         * sysdeps/unix/sysv/tcdrain.c: Likewise.
82234         * sysdeps/unix/sysv/tcflow.c: Likewise.
82235         * sysdeps/unix/sysv/tcflush.c: Likewise.
82236         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82237         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82238         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82239         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82240         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82242         * sysdeps/unix/siglist.c: Remove file.
82244         * sysdeps/unix/getppid.S: Remove file.
82246         * sysdeps/unix/mkdir.c: Remove file.
82247         * sysdeps/unix/rmdir.c: Likewise.
82249 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
82251         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82252         ERR_MAX value.
82253         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82254         errlist-compat value.
82256 2012-04-18  David S. Miller  <davem@davemloft.net>
82258         * sysdeps/generic/memcopy.h (reg_char): Delete.
82259         * debug/strcat_chk.c: Use char, not reg_char.
82260         * debug/strcpy_chk.c: Likewise.
82261         * debug/strncat_chk.c: Likewise.
82262         * debug/strncpy_chk.c: Likewise.
82263         * string/memchr.c: Likewise.
82264         * string/memrchr.c: Likewise.
82265         * string/rawmemchr.c: Likewise.
82266         * string/strcat.c: Likewise.
82267         * string/strchr.c: Likewise.
82268         * string/strchrnul.c: Likewise.
82269         * string/strcmp.c: Likewise.
82270         * string/strcpy.c: Likewise.
82271         * string/strncat.c: Likewise.
82272         * string/strncmp.c: Likewise.
82273         * string/strncpy.c: Likewise.
82275 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82277         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82278         __builtin_memcopy is called when src and dest ranges are known to not
82279         overlap.
82281 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82283         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82284         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82285         fwd_align_merge macro call.
82286         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82287         bwd_align_merge macro call.
82288         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82290 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82292         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82293         bwd_align_merge macros.
82294         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82295         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82296         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82298 2012-04-18  David S. Miller  <davem@davemloft.net>
82300         * sysdeps/sparc/sparc64/memcopy.h: Delete.
82302 2012-04-18  Andreas Jaeger  <aj@suse.de>
82304         [BZ #6794]
82305         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82306         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82307         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82309         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
82310         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
82311         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82313         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
82314         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
82315         Adjust for changed ldbl-128 files.
82317         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
82318         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
82319         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82321 2012-04-17  David S. Miller  <davem@davemloft.net>
82323         * sysdeps/sparc/sparc32/memcopy.h: Delete.
82325 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
82327         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82328         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82329         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82330         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82331         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82332         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82334 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82336         [BZ #6794]
82337         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82338         * math/libm-test.inc: Add ilogb errno and exception tests.
82339         * math/w_ilogb.c: New file: ilogb wrapper.
82340         * math/w_ilogbf.c: New file: ilogbf wrapper.
82341         * math/w_ilogbl.c: New file: ilogbl wrapper.
82342         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82343         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82344         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82345         exception being thrown with 0.0 as argument.
82346         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82347         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82348         exception being thrown with 0.0 as argument.
82349         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82350         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82351         exception being thrown with 0.0 as argument.
82352         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82353         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82354         exception being thrown with 0.0 as argument.
82355         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82356         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82357         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82358         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82359         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82360         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82361         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82362         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82363         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82365 2012-04-17  Petr Baudis  <pasky@ucw.cz>
82367         * include/sys/uio.h: Change __vector to __iovec to avoid clash
82368         with altivec.
82370 2012-04-16  Marek Polacek  <polacek@redhat.com>
82372         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82374 2012-04-16  Marek Polacek  <polacek@redhat.com>
82376         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82377         operands of fdivp instruction.
82379 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82381         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82382         * elf/tst-auditmod3b.c: Likewise.
82383         * elf/tst-auditmod4b.c: Likewise.
82384         * elf/tst-auditmod5b.c: Likewise.
82385         * elf/tst-auditmod6b.c: Likewise.
82386         * elf/tst-auditmod6c.c: Likewise.
82387         * elf/tst-auditmod7b.c: Likewise.
82388         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82389         * sysdeps/x86_64/preconfigure.in: Likewise.
82390         * sysdeps/x86_64/preconfigure: Regenerated.
82392 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82394         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82395         __ILP32__.
82397 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
82399         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82400         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82402 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
82404         [BZ #13973]
82405         * locale/iso-639.def: Fix gl language name. Spotted by
82406         Yaron Shahrabani.
82408 2012-04-12  Roland McGrath  <roland@hack.frob.com>
82410         [BZ #2074]
82411         * libio/libio.h (__io_write_fn): Update comment.
82413 2012-04-12  Petr Baudis  <pasky@ucw.cz>
82415         [BZ #2074]
82416         * stdio.texi (Hook Functions): The user provided writer function
82417         is not allowed to return -1.
82419 2012-04-11  David S. Miller  <davem@davemloft.net>
82421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82423 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82425         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82426         Add a leading slash to rtkaio.
82428 2012-04-11  Jim Meyering  <meyering@redhat.com>
82430         [BZ #11959]
82431         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82432         It is not necessarily an error to ignore fwrite's return
82433         value.  One can reliably use ferror to test for errors after
82434         the fact.
82436 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82438         * bits/types.h (__snseconds_t): New type.
82439         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82441         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82443         (__SNSECONDS_T_TYPE): Likewise.
82444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82445         (__SNSECONDS_T_TYPE): Likewise.
82446         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82447         (__SNSECONDS_T_TYPE): Likewise.
82449 2012-04-10  Andreas Jaeger  <aj@suse.de>
82451         [BZ #2636]
82452         * manual/time.texi (Processor Time): Return type of times is
82453         elapsed real time since an arbitrary point in the past.
82454         (CPU Time): Move CLK_TCK from here...
82455         (Processor Time): ...to here.  Correct description.
82456         * manual/conf.texi (Constants for Sysconf): Correct description of
82457         _SC_CLK_TCK.
82459 2012-04-10  David S. Miller  <davem@davemloft.net>
82461         [BZ #13967]
82462         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82463         where the is a gap between DT_REL(A) and DT_JMPREL.
82465 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82467         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82468         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82469         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82471 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82473         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82474         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82475         (dl_main): Handle --inhibit-cache.
82476         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82477         _dl_inhibit_cache.
82478         * elf/dl-load.c (_dl_map_object): Use it.
82479         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82481 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82483         [BZ #13872]
82484         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82485         (__ieee754_powl): Saturate large exponents rather than testing for
82486         overflow of y*log2(x).
82487         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82488         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82489         exceptions.
82491         [BZ #11521]
82492         * math/s_ctan.c: Include <float.h>.
82493         (__ctan): Avoid internal overflow or cancellation in calculating
82494         denominator.
82495         * math/s_ctanf.c: Likewise.
82496         * math/s_ctanl.c: Likewise.
82497         * math/s_ctanh.c: Likewise.
82498         * math/s_ctanhf.c: Likewise.
82499         * math/s_ctanhl.c: Likewise.
82500         * math/libm-test.inc (ctan_test): Add more tests.
82501         (ctanh_test): Likewise.
82502         * sysdeps/i386/fpu/libm-test-ulps: Update.
82503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82505 2012-04-09  Andreas Jaeger  <aj@suse.de>
82507         [BZ #6894]
82508         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82509         is an optional BSD extension.
82511         [BZ #10254]
82512         * manual/stdio.texi (Opening Streams): Document additional fopen
82513         parameters.
82515 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82517         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82518         %eax without telling the compiler.
82520 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82522         [BZ # 13963]
82523         * manual/install.texi: Use sourceware.org.
82525 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82527         [BZ #13873]
82528         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82529         (__ieee754_pow): Generate overflow and underflow using huge*huge
82530         and tiny*tiny rather than just returning constant infinity or zero
82531         for large exponents.
82532         * math/libm-test.inc (pow_test): Require overflow exceptions for
82533         applicable cases of large exponents.
82535         [BZ #706]
82536         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82537         (__ieee754_pow): Use iterative multiplication algorithm only for
82538         integer exponents with absolute value below 1024.  Check for odd
82539         integer exponents when using algorithm for real exponents.
82540         * math/libm-test.inc (pow_test): Add more tests.
82541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82543 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82545         [BZ #13705]
82546         * math/libm-test.inc (exp_test): Do not allow overflow exception
82547         on underflow test.
82549 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82551         [BZ #13705]
82552         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82553         instead of __kernel_standard_f.
82555 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82557         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82558         * sysdeps/x86_64/memset_chk.S: Likewise.
82560 2012-04-08  Andreas Jaeger  <aj@suse.de>
82562         [BZ #10153]
82563         * manual/startup.texi (Environment Access): Describe return value
82564         for putenv and setenv.
82566         [BZ #6895]
82567         * manual/filesys.texi (Directory Entries): Add description for
82568         DT_LNK.
82570         [BZ #6890]
82571         * manual/filesys.texi (Directory Entries): Clarify that it's file
82572         system not operating system in the description of DT_UNKNOWN.
82574         [BZ #6578]
82575         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82577 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82579         [BZ #6649]
82580         * manual/llio.texi (Opening and Closing Files): Add cross
82581         reference to explain mode argument.
82583 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82585         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82586         * sysdeps/x86_64/memset_chk.S: Likewise.
82588 2012-04-07  David S. Miller  <davem@davemloft.net>
82590         * elf/elf.h (R_SPARC_WDISP10): Define.
82591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82592         R_SPARC_SIZE32.
82593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82594         R_SPARC_SIZE64 and R_SPARC_H34.
82596 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82598         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82599         conditions and remove no longer applicable assertion.
82601 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82603         * bits/byteswap.h: Include <features.h>.
82604         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82605         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82607 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82609         * bits/byteswap.h (__bswap_16): Removed.
82610         Include <bits/byteswap-16.h> to get __bswap_16.
82611         * sysdeps/i386/bits/byteswap.h: Likewise.
82612         * sysdeps/s390/bits/byteswap.h: Likewise.
82613         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82614         * bits/byteswap-16.h: New file.
82615         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82616         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82617         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82618         * string/Makefile (headers): Add bits/byteswap-16.h.
82620 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82622         [BZ #13895]
82623         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82624         extra indirection.
82625         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82626         * nss/tst-nss-static.c: New.
82628 2012-04-06  Robert Millan  <rmh@gnu.org>
82630         [BZ #6486]
82631         * manual/llio.texi (File Position Primitive): lseek
82632         refers to WHENCE when it really means OFFSET.
82634 2012-04-06  Andreas Jaeger  <aj@suse.de>
82636         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82637         strncmp declarations.
82639         * abilist/libc.abilist: Add __poll and __ppoll.
82641 2012-04-05  David S. Miller  <davem@davemloft.net>
82643         * scripts/check-local-headers.sh: Accept a host triplet in the
82644         path matched by the exclude regexp.
82646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82647         definition.
82648         * sysdeps/powerpc/powerpc32/dl-machine.h
82649         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82650         * sysdeps/s390/s390-32/dl-machine.h
82651         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82652         * sysdeps/sparc/sparc32/dl-machine.h
82653         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82654         * sysdeps/sparc/sparc64/dl-machine.h
82655         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82657         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82658         lazy binding.
82659         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82660         undefined symbol errors.
82662         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82663         DT_NEEDED entries.
82665 2012-04-05  Michael Matz  <matz@suse.de>
82667         [BZ #13592]
82668         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82670 2012-04-05  Andreas Jaeger  <aj@suse.de>
82672         [BZ #13908]
82673         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82674         comment.
82676 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82678         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82679         which ROUND is no valid rounding mode.
82681 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82683         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82684         read again.
82685         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82687 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82689         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82690         an exception using FPU order intentionally.
82692 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82694         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82695         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82696         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82697         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82699 2012-04-05  Simon Josefsson  <simon@josefsson.org>
82701         [BZ #12340]
82702         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82703         EINVAL when BUFLEN is too smal.
82705 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
82707         [BZ #13553]
82708         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82709         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82711 2012-04-03  Andreas Jaeger  <aj@suse.de>
82713         [BZ #13938]
82714         * manual/setjmp.texi (System V contexts): Fix sentence.
82716         [BZ #13926]
82717         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82718         New macro for this case.
82719         [!__GNUC__] (__bswap_64): New inline function for this case.
82720         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82721         * bits/byteswap.h: Likewise.
82722         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82723         ull, guard with __GLIBC_HAVE_LONG_LONG.
82725         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82726         __GLIBC_HAVE_LONG_LONG.
82728         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82729         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82731 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82733         [BZ #13691]
82734         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82735         inptr and inend, rather than using last_ch.
82737 2012-04-02  David S. Miller  <davem@davemloft.net>
82739         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82740         * stdio-common/printf-parse.h (read_int): Change return type to
82741         'int', return -1 on INT_MAX overflow.
82742         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82743         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
82744         overflows INT_MAX.  Check for overflow of in-format-string precision
82745         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
82746         SIZE_MAX not INT_MAX for integer overflow test.
82747         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82748         skip the construct in the format string but do not record anything.
82749         * stdio-common/bug22.c: Adjust to test both width/prevision
82750         INT_MAX overflow as well as total length INT_MAX overflow.  Check
82751         explicitly for proper errno values.
82753 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
82755         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82756         CHAR_MAX.
82757         * string/test-strcmp.c [! WIDE]: Likewise.
82758         * time/tst-mktime2.c: Likewise for INT_MAX.
82759         * string/test-string.h: #include <sys/param.h> for MIN.
82761         * csu/init-first.c (__libc_init_first): Call __ctype_init.
82762         * sysdeps/i386/init-first.c (init): Likewise.
82763         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82764         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82765         * sysdeps/sh/init-first.c (init): Likewise.
82767 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
82769         * po/ru.po: Update from translation team.
82770         * po/vi.po: Likewise.
82772 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
82774         * resolv/nss_dns/dns-host.c: Merge copyright years.
82776 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82778         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82779         Optimize memcpy with prefetch if
82780         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
82781         src, dst pointers have unequal 16 byte alignments.
82783 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
82785         [BZ #13928]
82786         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82787         from a CNAME entry and return the minimum ttl for the query.
82788         (gaih_getanswer_slice): Likewise.
82790 2012-03-30  Jeff Law  <law@redhat.com>
82792         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82793         due to long keys.
82794         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82795         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82797         * resolv/nss_dns/dns-host.c: Update copyright year.
82799 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
82801         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82802         requests to save a system call.  Fix check that all bytes are sent.
82804         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82805         comments for sendmmsg.
82807 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82809         [BZ #13691]
82810         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82811         with only 1 character between 0x0041 and 0x01b0.
82812         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82813         * wcsmbs/tst-mbsnrtowcs.c: New file.
82815 2012-03-29  David S. Miller  <davem@davemloft.net>
82817         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82818         small copies by hand.
82820 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82822         [BZ #13761]
82823         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82824         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82825         group memberships.
82827 2012-03-28  David S. Miller  <davem@davemloft.net>
82829         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82830         that branches into memcpy.
82831         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82833         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82834         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82836         bits.
82837         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82838         implementation too.
82839         * sysdeps/sparc/mempcpy.S: New file.
82841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82842         the IFUNC routine in the libc case.
82843         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82845         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82846         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82847         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82848         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82849         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82850         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82851         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82852         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82854         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82855         loop to 256 bytes instead of 64 bytes and fix test signedness.
82857         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82858         * sysdeps/sparc/sparc32/Makefile: rather than here...
82859         * sysdeps/sparc/sparc64/Makefile: and here.
82861 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82863         * malloc/mallocbug.c: Avoid warnings about unused variables.
82865 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82867         [BZ #13760]
82868         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82869         in the right place. Discard and retry query if response is
82870         larger than input buffer size.
82872 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82874         [BZ #369]
82875         [BZ #2678]
82876         [BZ #3866]
82877         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82878         x for large integer exponent.
82879         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82880         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82881         sign of result as needed afterwards.
82882         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82883         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82884         result for underflowing pow the same as for overflow.
82885         (__kernel_standard_l): Handle powl overflow and underflow here
82886         rather than calling __kernel_standard.
82887         * math/libm-test.inc (pow_test): Add more tests.
82889         [BZ #3868]
82890         [BZ #13879]
82891         [BZ #13910]
82892         [BZ #13911]
82893         [BZ #13912]
82894         [BZ #13913]
82895         [BZ #13915]
82896         [BZ #13916]
82897         [BZ #13917]
82898         [BZ #13918]
82899         [BZ #13919]
82900         [BZ #13920]
82901         [BZ #13921]
82902         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82903         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82904         (__kernel_standard_l): New function.
82905         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82906         __kernel_standard.
82907         * math/w_acosl.c (__acosl): Likewise.
82908         * math/w_asinl.c (__asinl): Likewise.
82909         * math/w_atan2l.c (__atan2l): Likewise.
82910         * math/w_atanhl.c (__atanhl): Likewise.
82911         * math/w_coshl.c (__coshl): Likewise.
82912         * math/w_exp10l.c (__exp10l): Likewise.
82913         * math/w_exp2l.c (__exp2l): Likewise.
82914         * math/w_fmodl.c (__fmodl): Likewise.
82915         * math/w_hypotl.c (__hypotl): Likewise.
82916         * math/w_j0l.c (__j0l, __y0l): Likewise.
82917         * math/w_j1l.c (__j1l, __y1l): Likewise.
82918         * math/w_jnl.c (__jnl, __ynl): Likewise.
82919         * math/w_lgammal.c (__lgammal): Likewise.
82920         * math/w_log10l.c (__log10l): Likewise.
82921         * math/w_log2l.c (__log2l): Likewise.
82922         * math/w_logl.c (__logl): Likewise.
82923         * math/w_powl.c (__powl): Likewise.
82924         * math/w_remainderl.c (__remainderl): Likewise.
82925         * math/w_scalbl.c (sysv_scalbl): Likewise.
82926         * math/w_sinhl.c (__sinhl): Likewise.
82927         * math/w_sqrtl.c (__sqrtl): Likewise.
82928         * math/w_tgammal.c (__tgammal): Likewise.
82929         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82930         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82931         * math/libm-test.inc (acos_test): Add more tests.
82932         (acosh_test): Likewise.
82933         (asin_test): Likewise.
82934         (atanh_test): Likewise.
82935         (exp_test): Likewise.
82936         (exp10_test): Likewise.
82937         (exp2_test): Likewise.
82938         (expm1_test): Likewise.
82939         (lgamma_test): Likewise.
82940         (log_test): Likewise.
82941         (log10_test): Likewise.
82942         (log1p_test): Likewise.
82943         (log2_test): Likewise.
82944         (pow_test): Do not allow some spurious overflow exceptions.
82945         (sqrt_test): Add more tests.
82946         (tgamma_test): Likewise.
82947         (y0_test): Likewise.
82948         (y1_test): Likewise.
82949         (yn_test): Likewise.
82951 2012-03-27  Anton Blanchard  <anton@samba.org>
82953         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82954         MAP_HUGETLB.
82955         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82956         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82959 2012-03-27  David S. Miller  <davem@davemloft.net>
82961         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82963         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82964         have-as-vis3 check.
82966 2012-03-27  Andreas Jaeger  <aj@suse.de>
82968         * sysdeps/x86_64/elf/configure.in: Moved to ...
82969         * sysdeps/x86_64/configure.in: ... here.
82970         * sysdeps/x86_64/elf/start.S: Moved to ...
82971         * sysdeps/x86_64/start.S: ... here.
82972         * sysdeps/x86_64/elf/configure: Delete.
82974         * sysdeps/x86_64/configure.in: Merge contents from
82975         sysdeps/i386/configure.in (without i686 check).
82977         * sysdeps/i386/elf/Versions: Merge into ...
82978         * sysdeps/i386/Versions: ... this.
82979         * sysdeps/i386/elf/Versions: Delete file.
82980         * sysdeps/i386/elf/start.S: Moved to ...
82981         * sysdeps/i386/start.S: ...here.
82982         * sysdeps/i386/elf/configure.in: Merge into...
82983         * sysdeps/i386/configure.in: ...here.
82984         * sysdeps/i386/elf/configure.in: Delete file.
82985         * sysdeps/i386/elf/configure: Delete file.
82987         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82988         * debug/backtracesyms.c: ... here.
82989         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82990         * debug/backtracesymsfd.c: ... here.
82991         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82992         * sysdeps/generic/ifunc-sel.h: ... here.
82994         * sysdeps/unix/i386/start.c: Delete file.
82995         * sysdeps/unix/sparc/start.c: Delete file.
82996         * sysdeps/unix/start.c: Delete file.
82998         * sysdeps/sh/elf/configure.in: Moved to ...
82999         * sysdeps/sh/configure.in: ... here.
83000         * sysdeps/sh/elf/start.S: Moved to ...
83001         * sysdeps/sh/start.S: ... here.
83002         * sysdeps/sh/elf/configure: Delete file.
83004         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83005         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83006         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83007         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83008         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83009         * sysdeps/powerpc/powerpc64/start.S: here.
83010         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83011         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83012         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83013         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83014         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83016         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83017         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83018         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83019         * sysdeps/powerpc/powerpc32/start.S: ... here.
83020         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83021         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83022         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83024         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83025         * sysdeps/powerpc/ifunc-sel.h: ... here.
83026         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83027         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83029         * sysdeps/sparc/elf/configure.in: Moved to ...
83030         * sysdeps/sparc/configure.in: ... here.
83031         * sysdeps/sparc/elf/configure: Delete file.
83032         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83033         * sysdeps/sparc/sparc32/start.S: ... here.
83034         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83035         * sysdeps/sparc/sparc64/start.S: ... here.
83036         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83037         * sysdeps/sparc/sparc32/Makefile: ... this.
83038         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83039         * sysdeps/sparc/sparc64/Makefile: ... this.
83041         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83042         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83043         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83044         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83045         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83046         * sysdeps/s390/s390-32/setjmp.S: ... here.
83047         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83048         * sysdeps/s390/s390-32/configure.in: ... here.
83049         * sysdeps/s390/s390-32/elf/configure: Delete file.
83050         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83051         * sysdeps/s390/s390-32/start.S: ... here.
83053         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83054         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83055         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83056         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83057         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83058         * sysdeps/s390/s390-64/setjmp.S: ... here.
83059         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83060         * sysdeps/s390/s390-64/configure.in: ... here
83061         * sysdeps/s390/s390-64/elf/configure: Delete file.
83062         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83063         * sysdeps/s390/s390-64/start.S: ... here.
83064         * sysdeps/s390/s390-64/elf/configure: Delete.
83066         * configure.in: Remove support for elf directories in sysdeps.
83068         * configure: Regenerated.
83069         * sysdeps/i386/configure: Regenerated.
83070         * sysdeps/powerpc/powerpc32/configure: Regenerated.
83071         * sysdeps/powerpc/powerpc64/configure: Regenerated.
83072         * sysdeps/s390/s390-32/configure: Regenerated.
83073         * sysdeps/s390/s390-64/configure: Regenerated.
83074         * sysdeps/sh/configure: Regenerated.
83075         * sysdeps/sparc/configure: Regenerated.
83076         * sysdeps/x86_64/configure: Regenerated.
83078 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
83080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83082         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83083         denormal result into account.
83085 2012-03-25  Roland McGrath  <roland@hack.frob.com>
83087         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83088         Reported by Allan McRae <allan@archlinux.org>.
83090 2012-03-23  Jeff Law  <law@redhat.com>
83092         * nss/getnssent.c (__nss_getent): Fix typo.
83094 2012-03-23  David S. Miller  <davem@davemloft.net>
83096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83098 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
83100         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83101         to pad to uint64_t for each field.
83102         (dl_tls_index): Replace unsigned long with uint64_t.
83104 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
83105         Paul Pluzhnikov  <ppluzhnikov@google.com>
83107         [BZ #6528]
83108         * grp/Makefile (otherlibs): Don't set it.
83109         * inet/Makefile (otherlibs): Likewise.
83110         * login/Makefile (otherlibs): Likewise.
83111         * nscd/Makefile (otherlibs): Likewise.
83112         * posix/Makefile (otherlibs): Likewise.
83113         * pwd/Makefile (otherlibs): Likewise.
83114         * rt/Makefile (otherlibs): Likewise.
83115         * sunrpc/Makefile (otherlibs): Likewise.
83116         * nss/Makefile (otherlibs): Likewise.
83117         Add libnss_files to routines and static-only-routines.
83118         ($(objpfx)getent): Remove rule.
83119         * resolv/Makefile: Add libnss_dns and libresolv to routines and
83120         static-only-routines.
83122 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83124         [BZ #13892]
83125         * math/s_cexp.c: Include <float.h>.
83126         (__cexp): Handle exp result overflowing not necessarily
83127         overflowing both real and imaginary parts of result.
83128         * math/s_cexpf.c: Likewise.
83129         * math/s_cexpl.c: Likewise.
83130         * math/libm-test.inc (cexp_test): Add more tests.
83131         * sysdeps/i386/fpu/libm-test-ulps: Update.
83132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83134 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83136         * include/link.h (ELFW): New macro.
83137         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83138         Replace ELF64_R_TYPE with ELFW(R_TYPE).
83140 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83142         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83143         with uint64_t.
83145 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83147         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83148         declaration.
83149         (struct La_x32_retval): Likewise.
83151 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83153         * sysdeps/x86_64/preconfigure.in: New file.
83154         * sysdeps/x86_64/preconfigure: New generated file.
83156 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83158         [BZ #13824]
83159         * math/e_exp2l.c: Include <float.h>.
83160         (__ieee754_exp2l): Handle overflow and underflow cases
83161         separately.  Only pass fractional part of argument to
83162         __ieee754_expl.
83163         * math/libm-test.inc (exp2_test): Add more tests.
83165         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83166         negating x to take absolute value.
83167         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83168         Likewise.
83169         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83170         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83171         Likewise.
83172         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83173         computing low part if x was negated.
83174         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83176 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83178         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83179         la_x32_gnu_pltexit.
83180         (pltexit): Cast int_retval to ptrdiff_t.
83181         * elf/tst-auditmod3b.c: Likewise.
83182         * elf/tst-auditmod4b.c: Likewise.
83183         * elf/tst-auditmod5b.c: Likewise.
83184         * elf/tst-auditmod6b.c: Likewise.
83185         * elf/tst-auditmod6c.c: Likewise.
83186         * elf/tst-auditmod7b.c: Likewise.
83188         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83189         and x32_gnu_pltexit.
83191         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83192         __ELF_NATIVE_CLASS.
83193         (La_x32_regs): New macro.
83194         (La_x32_retval): Likewise.
83195         (la_x32_gnu_pltenter): New function prototype.
83196         (la_x32_gnu_pltexit): Likewise.
83198 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
83200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83201         exponent.
83203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83205         * configure.in (libc_cv_cc_nofma): Check for option to disable
83206         generation of FMA instructions.
83207         * configure: Regenerate.
83208         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83209         * sysdeps/ieee754/dbl-64/Makefile: New file.
83210         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83211         Remove brandred-fma4.
83212         (CFLAGS-brandred-fma4.c): Remove.
83213         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83214         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83215         define.
83216         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83217         define.
83219 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83221         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83222         LLONG_MAX != LONG_MAX.
83223         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83224         (_fitoa_word): Likewise.
83225         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83226         LLONG_MAX != LONG_MAX.
83227         * stdio-common/_itowa.h: Include <_itoa.h>.
83228         (_itowa_word): Use _ITOA_WORD_TYPE on value.
83229         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
83230         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
83231         only if not defined.
83232         (_ITOA_WORD_TYPE): Likewise.
83233         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83234         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83236 2012-03-21  David S. Miller  <davem@davemloft.net>
83238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83240 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83242         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83243         of x86_64 when setting libc_cv_slibdir, libdir and
83244         libc_cv_localedir.
83245         * sysdeps/unix/sysv/linux/configure: Regenerated.
83247 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83249         * manual/lang.texi (Old Varargs): Remove section.
83250         (How Variadic): Update menu.
83251         (va_start): Do not mention varargs.h.
83253 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83254             Joseph Myers  <joseph@codesourcery.com>
83256         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83257         link test.
83258         * configure: Regenerated.
83260 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83262         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
83263         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
83264         conformtest.pl
83266 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83268         * NOTES: Remove.
83269         * Makefile (files-for-dist): Remove NOTES.
83270         (NOTES): Remove rule.
83271         * README: Don't refer to NOTES.
83272         * manual/creature.texi: Don't include macros.texi.
83273         * manual/intro.texi (creature.texi): Remove comment referring to
83274         NOTES.
83276         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83277         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83278         * configure: Regenerated.
83279         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83280         LIBC_TRY_CC_OPTION.
83281         (libc_cv_as_i686): Likewise.
83282         (libc_cv_cc_avx): Likewise.
83283         (libc_cv_cc_sse2avx): Likewise.
83284         (libc_cv_cc_fma4): Likewise.
83285         (libc_cv_cc_novzeroupper): Likewise.
83286         * sysdeps/i386/configure: Regenerated.
83288         [BZ #13883]
83289         * sysdeps/i386/fpu/s_cexp.S: Remove.
83290         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83291         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83292         * math/libm-test.inc (cexp_test): Add more tests.
83293         * sysdeps/i386/fpu/libm-test-ulps: Update.
83294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83296 2012-03-21  Allan McRae  <allan@archlinux.org>
83298         * timezone/Makefile: Do not install iso3166.tab and zone.tab
83300 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83302         [BZ #13871]
83303         * math/w_exp2.c: Do not include <float.h>.
83304         (o_threshold, u_threshold): Remove.
83305         (__exp2): Calculate result before checking finiteness and calling
83306         __kernel_standard.
83307         * math/w_exp2f.c: Likewise.
83308         * math/w_exp2l.c: Likewise.
83309         * math/libm-test.inc (exp2_test): Require overflow exception for
83310         1e6 input.
83312         [BZ #3866]
83313         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
83314         range of signed 64-bit integers before using fistpll.  Remove
83315         checks for whether integers fit in mantissa bits.
83316         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
83317         the range of signed 32-bit integers before using fistpl.  Remove
83318         checks for whether integers fit in mantissa bits.
83319         * sysdeps/i386/fpu/e_powl.S (p64): New object.
83320         (__ieee754_powl): Test for y outside the range of signed 64-bit
83321         integers before using fistpll.  Reduce 64-bit values to 63-bit
83322         ones as needed.
83323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83324         divide-by-zero is raised for zero to large negative powers.
83325         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83326         (__ieee754_powl): Test for y outside the range of signed 64-bit
83327         integers before using fistpll.  Reduce 64-bit values to 63-bit
83328         ones as needed.
83329         * math/libm-test.inc (pow_test): Add more tests.
83331 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83333         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83334         <stdio-common/_itoa.h>.
83335         * debug/segfault.c: Likewise.
83336         * elf/dl-cache.c: Likewise.
83337         * elf/dl-minimal.c: Likewise.
83338         * elf/dl-misc.c: Likewise.
83339         * elf/dl-sysdep.c: Likewise.
83340         * elf/dl-version.c: Likewise.
83341         * elf/rtld.c: Likewise.
83342         * hurd/hurdsock.c: Likewise.
83343         * hurd/lookup-retry.c: Likewise.
83344         * malloc/malloc.c: Likewise.
83345         * malloc/mtrace.c: Likewise.
83346         * nscd/nscd_getgr_r.c: Likewise.
83347         * nscd/nscd_getpw_r.c: Likewise.
83348         * nscd/nscd_getserv_r.c: Likewise.
83349         * posix/getopt_init.c: Likewise.
83350         * posix/wordexp.c: Likewise.
83351         * stdio-common/_itoa.c: Likewise.
83352         * stdio-common/printf_fphex.c: Likewise.
83353         * stdio-common/vfprintf.c: Likewise.
83354         * string/_strerror.c: Likewise.
83355         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83356         * sysdeps/i386/i686/hp-timing.h: Likewise.
83357         * sysdeps/mach/_strerror.c: Likewise.
83358         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83359         * sysdeps/mach/hurd/sethostid.c: Likewise.
83360         * sysdeps/mach/hurd/xmknodat.c: Likewise.
83361         * sysdeps/mach/xpg-strerror.c: Likewise.
83362         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83363         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83364         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83365         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83366         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83367         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83368         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83369         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83370         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83371         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83372         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83373         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83374         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83375         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83376         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83377         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83378         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83379         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83380         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83381         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83382         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83384         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83386         * stdio-common/_itoa.h: Moved to ...
83387         * sysdeps/generic/_itoa.h: Here.
83389         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83391         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83392         instead of "_itoa.h" and "_itowa.h".
83393         * stdio-common/vfprintf.: Likewise.
83395 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83397         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83398         <bits/wordsize.h>.
83399         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83400         (__signbit): Likewise.
83401         (llrintf): Likewise.
83402         (llrint): Likewise.
83404 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83406         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83407         __WORDSIZE != 64.
83409 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
83411         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83412         OVERFLOW_EXCEPTION_OK.
83413         * math/libm-test.inc ("Philosophy"): Update comment about
83414         exception testing.
83415         (OVERFLOW_EXCEPTION): Define.
83416         (OVERFLOW_EXCEPTION_OK): Likewise.
83417         (INVALID_EXCEPTION_OK): Renumber.
83418         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83419         (IGNORE_ZERO_INF_SIGN): Likewise.
83420         (test_exceptions): Handle FE_OVERFLOW.
83421         (exp10_test): Expect overflow exceptions.
83422         (exp2_test): Likewise.
83423         (expm1_test): Likewise.
83424         (nextafter_test): Likewise.
83425         (pow_test): Likewise.
83426         (scalbn_test): Likewise.
83427         (scalbln_test): Likewise.
83429 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83431         * sysdeps/x86_64/bits/atomic.h
83432         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83433         64bit integer.
83434         (atomic_exchange_acq): Likewise.
83435         (__arch_exchange_and_add_body): Likewise.
83436         (__arch_add_body): Likewise.
83437         (atomic_add_negative): Likewise.
83438         (atomic_add_zero): Likewise.
83440 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83442         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83443         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83445 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83447         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83448         Check __x86_64__ instead of __WORDSIZE.
83450 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83452         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83454 2012-03-19  David S. Miller  <davem@davemloft.net>
83456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83458         * sysdeps/sparc/fpu/fenv_private.h: New file.
83459         * sysdeps/sparc/fpu/math_private.h: Use it.
83460         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83461         Remove.
83462         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83463         (libc_feholdexcept_setroundl): Remove.
83464         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83465         Remove.
83466         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83467         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83469 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83471         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83472         int64_t instead of long int.
83473         (INSERT_WORDS64): Likewise.
83475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83477         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83478         _Unwind_GetCFA return to _Unwind_Ptr first.
83480 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83482         [BZ #13629]
83483         * math/s_clog.c: Include <float.h>.
83484         (__clog): Scale large or subnormal inputs.
83485         * math/s_clogf.c: Likewise.
83486         * math/s_clogl.c: Likewise.
83487         * math/s_clog10.c: Include <float.h>.
83488         (M_LOG10_2): Define.
83489         (__clog10): Scale large or subnormal inputs.
83490         * math/s_clog10f.c: Likewise.
83491         * math/s_clog10l.c: Likewise.
83492         * math/libm-test.inc (clog_test): Add more tests.
83493         (clog10_test): Likewise.
83494         * sysdeps/i386/fpu/libm-test-ulps: Update.
83495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83497         [BZ #11451]
83498         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83499         x and y.
83500         * math/libm-test.inc (atan2_test): Add another test.
83502         * Makerules (common-objdir-compile): Remove.
83503         * sysdeps/unix/Makefile (config-generated): Do not add
83504         $(unix-generated) to variable.
83505         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83506         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83507         Remove rule.
83508         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83509         Likewise.
83510         [generic bits/local_lim.h] (before-compile): Do not append to
83511         variable.
83512         [generic bits/local_lim.h] (common-generated): Likewise.
83513         [generic sys/param.h] (before-compile): Do not append to variable.
83514         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83515         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83516         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83517         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83518         include.
83519         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83520         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83521         [generic sys/param.h] ($(addprefix
83522         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83523         [generic sys/param.h] (common-generated): Do not append to
83524         variable.
83525         [generic sys/param.h] (sysdep_headers): Likewise.
83526         [generic bits/errno.h] (before-compile): Do not append to
83527         variable.
83528         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83529         rule.
83530         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83531         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83532         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83533         [generic bits/errno.h] (common-generated): Do not append to
83534         variable.
83535         [generic bits/ioctls.h] (before-compile): Do not append to
83536         variable.
83537         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83538         rule.
83539         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83540         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83541         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83542         rule.
83543         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83544         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83545         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83546         [generic bits/ioctls.h] (common-generated): Do not append to
83547         variable.
83548         [generic sys/syscall.h] (syscall.h): Remove variable.
83549         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83550         rule.
83551         [generic sys/syscall.h] (before-compile): Do not append to
83552         variable.
83553         [generic sys/syscall.h] (common-generated): Likewise.
83554         * sysdeps/unix/errnos-tmpl.c: Remove file.
83555         * sysdeps/unix/errnos.awk: Likewise.
83556         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83557         * sysdeps/unix/ioctls.awk: Likewise.
83558         * sysdeps/unix/mk-local_lim.c: Likewise.
83559         * sysdeps/unix/snarf-ioctls: Likewise.
83561 2012-03-19  Richard Henderson  <rth@twiddle.net>
83563         * sysdeps/i386/fpu/fenv_private.h: New file.
83564         * sysdeps/i386/fpu/math_private.h: Use it.
83565         (math_opt_barrier, math_force_eval): Remove.
83566         (libc_feholdexcept_setround_53bit): Remove.
83567         (libc_feupdateenv_53bit): Remove.
83568         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83569         (math_opt_barrier, math_force_eval): Remove.
83570         (libc_feholdexcept): Remove.
83571         (libc_feholdexcept_setround): Remove.
83572         (libc_fetestexcept, libc_fesetenv): Remove.
83573         (libc_feupdateenv_test): Remove.
83574         (libc_feupdateenv, libc_feholdsetround): Remove.
83575         (libc_feresetround): Remove.
83577         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83578         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83580         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83581         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83582         (libc_feupdateenv_testl): New.
83583         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83584         (libc_feupdateenv_testf): New.
83585         (libc_feupdateenv): Use libc_feupdateenv_test.
83586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83587         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83589         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83590         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83591         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83592         (libc_feresetround_noex): New.
83593         (libc_feresetround_noexf): New.
83594         (libc_feresetround_noexl): New.
83595         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83596         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83597         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83598         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83599         SET_RESTORE_ROUND.
83600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83601         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83602         (__cos): Likewise.
83603         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83605         SET_RESTORE_ROUND_NOEX.
83606         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83607         SET_RESTORE_ROUND_NOEXF.
83608         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83609         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83610         (libc_feholdsetroundf): New.
83611         (libc_feresetround, libc_feresetroundf): New.
83613         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83614         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83615         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83617         * sysdeps/generic/math_private.h: Include <fenv.h>.
83618         (default_libc_feholdexcept): New.
83619         (default_libc_feholdexcept_setround): New.
83620         (default_libc_fesetenv, default_libc_feupdateenv): New.
83621         (libc_feholdexcept): Only define if undefined.
83622         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83623         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83624         (libc_feholdexcept_setroundl): Likewise.
83625         (libc_feholdexcept_setround_53bit): Likewise.
83626         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83627         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83628         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83629         (libc_feupdateenv_53bit): Likewise.
83630         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83631         (libc_feholdexcept): Convert from macro to inline function.
83632         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83633         (libc_fesetenv, libc_feupdateenv): Likewise.
83635         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83636         not previously defined.
83637         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83638         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83639         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83640         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83641         * sysdeps/ieee754/flt-32/math_private.h: New file.
83642         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83643         math_private.h below SET_FLOAT_WORD.
83644         (__isnan, __isinf_ns, __finite): Remove.
83645         (__isnanf, __isinf_nsf, __finitef): Remove.
83647 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83651 2012-03-17  David S. Miller  <davem@davemloft.net>
83653         [BZ #6471]
83654         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83655         for 2.16.
83657 2012-03-16  David S. Miller  <davem@davemloft.net>
83659         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83660         warnings.
83662         [BZ #6471]
83663         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83664         properly.
83665         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83666         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83667         sysdep_routines when subdir is sysvipc.
83668         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83669         __getshmlba helper.
83671         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83673 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83675         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83676         [__LP64__].
83678 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83680         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83681         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83682         (__lround): Renamed to ...
83683         (__llround): This.  Replace long int with long long int.
83684         Define lround functions as aliases of llround functions.
83685         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83687 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83689         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83690         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
83691         adresses to uintptr_t.  Replace "long int" and "unsigned long
83692         int" with "greg_t" on va_arg.
83694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83696         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83697         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83699         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83700         Move e_machine check before EI_CLASS check.  Handle x32
83701         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83702         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83703         SKIP_EM_IA_64 and include
83704         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83706         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83707         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83708         (add_system_dir): New macro.
83710         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83711         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83713 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83715         [BZ #2551]
83716         [BZ #2552]
83717         [BZ #2553]
83718         [BZ #2554]
83719         [BZ #2562]
83720         [BZ #2563]
83721         [BZ #2565]
83722         [BZ #2566]
83723         [BZ #2576]
83724         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83725         (y0): Likewise.
83726         * math/w_j0f.c (j0f): Likewise.
83727         (y0f): Likewise.
83728         * math/w_j0l.c (__j0l): Likewise.
83729         (__y0l): Likewise.
83730         * math/w_j1.c (j1): Likewise.
83731         (y1): Likewise.
83732         * math/w_j1f.c (j1f): Likewise.
83733         (y1f): Likewise.
83734         * math/w_j1l.c (__j1l): Likewise.
83735         (__y1l): Likewise.
83736         * math/w_jn.c (jn): Likewise.
83737         (yn): Likewise.
83738         * math/w_jnf.c (jnf): Likewise.
83739         (ynf): Likewise.
83740         * math/w_jnl.c (__jnl): Likewise.
83741         (__ynl): Likewise.
83742         * math/libm-test.inc (j0_test): Add more tests.
83743         (j1_test): Likewise.
83744         (jn_test): Likewise.  Add trailing semicolon to existing test.
83745         (y0_test): Likewise.
83746         (y1_test): Likewise.
83747         * sysdeps/i386/fpu/libm-test-ulps: Update.
83748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83750         [BZ #13851]
83751         [BZ #13854]
83752         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83753         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83754         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83755         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83756         (__tanl): Set errno for infinite argument.
83757         * sysdeps/i386/fpu/mptan.c: Remove.
83758         * sysdeps/i386/fpu/s_tan.S: Likewise.
83759         * sysdeps/i386/fpu/s_tanl.S: Likewise.
83760         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83761         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83762         * math/libm-test.inc (tan_test): Add more tests and enable more
83763         tests for double and long double.
83764         * sysdeps/i386/fpu/libm-test-ulps: Update.
83765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83767 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
83769         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83770         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83772 2012-03-16  Roland McGrath  <roland@hack.frob.com>
83774         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83775         * configure.in: Use it for both main tree and add-ons.
83776         * configure: Regenerated.
83778 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83780         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83782 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83784         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83785         in comment.
83787         [BZ #13851]
83788         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83789         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83790         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83791         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83792         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83793         infinite argument.
83794         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83796         != 0 for prec == 2.
83797         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83798         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83799         * sysdeps/i386/fpu/s_cosl.S: Likewise.
83800         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83801         * sysdeps/i386/fpu/s_sinl.S: Likewise.
83802         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83803         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83804         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83805         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83806         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83807         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83808         * math/libm-test.inc (cos_test): Add more tests and enable more
83809         tests for long double.
83810         (sin_test): Likewise.
83811         (sincos_test): Likewise.
83812         * sysdeps/i386/fpu/libm-test-ulps: Update.
83813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83815 2012-03-16  David S. Miller  <davem@davemloft.net>
83817         * sysdeps/sparc/fpu/math_private.h: New file.
83819 2012-03-15  David S. Miller  <davem@davemloft.net>
83821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83822         file.
83823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83825         file.
83826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83831         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83832         sysdep routines.
83833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83835         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83836         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83838         * sysdeps/sparc/sparc-ifunc.h: New file.
83839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83840         sparc-ifunc.h
83841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83843         Likewise.
83844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83845         Likewise.
83846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83850         Likewise.
83851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83856         Likewise.
83857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83858         Likewise.
83859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83865         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83866         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83877         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83878         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83879         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83880         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83881         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83882         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83884 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83886         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83887         scaling.
83888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83890 2012-03-15  Andreas Jaeger  <aj@suse.de>
83892         [BZ #13852]
83893         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83894         ieee754/flt-32 implementation for sin, cos and sincos.
83895         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83896         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83897         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83898         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83899         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83900         ieee754/flt-32 implementation for tan.
83902         * math/libm-test.inc (cos_test): Enable some large input tests for
83903         float as well
83904         (sin_test): Likewise.
83905         (sincos_test): Likewise.
83906         (tan_test): Add tests for large input.
83908         * sysdeps/i386/fpu/libm-test-ulps: Update.
83910 2012-03-15  Andreas Jaeger  <aj@suse.de>
83912         [BZ #13658]
83913         * math/libm-test.inc (cos_test): Add more test cases.
83914         (sin_test): Likewise.
83915         (sincos_test): Likewise.
83917 2012-03-15  Andreas Jaeger  <aj@suse.de>
83919         [BZ #13837]
83920         * math/libm-test.inc (cos_test): Add a test case for large input
83921         value.
83922         (sin_test): Likewise.
83923         (sincos_test): Likewise.
83925 2012-03-15  Andreas Jaeger  <aj@suse.de>
83926             Joseph Myers  <joseph@codesourcery.com>
83928         [BZ #13658]
83929         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83930         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83931         * sysdeps/i386/fpu/branred.c: Likewise.
83932         * sysdeps/i386/fpu/dosincos.c: Likewise.
83933         * sysdeps/i386/fpu/mpa.c: Likewise.
83934         * sysdeps/i386/fpu/s_cos.S: Likewise.
83935         * sysdeps/i386/fpu/s_sin.S: Likewise.
83936         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83937         * sysdeps/i386/fpu/sincos32.c: Likewise.
83939         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83940         Define.
83941         (libc_feupdateenv_53bit): Define.
83942         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83943         Define.
83944         (libc_feupdateenv_53bit): Define.
83946         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83947         53 bit (without extend i386 double precision).
83949         * math/libm-test.inc (sincos_test): Add tests for large input.
83950         (sin): Likewise.
83951         (cos): Likewise.
83953         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83955 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83959 2012-03-15  David S. Miller  <davem@davemloft.net>
83961         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83962         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83963         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83964         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83977         file.
83978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83980         file.
83981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83983         file.
83984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83986         file.
83987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83988         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83989         fmin/fmax sysdep routines.
83990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83992 2012-03-14  David S. Miller  <davem@davemloft.net>
83994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83998         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83999         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84000         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84015         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84016         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84020         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84023         routines.
84024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84025         file.
84026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84028         file.
84029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84031         file.
84032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84034         file.
84035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84037         file.
84038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84040         file.
84041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84042         file.
84043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84044         file.
84045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84046         file.
84047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84048         New file.
84049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84050         file.
84051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84052         file.
84053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84055         file.
84056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84058         file.
84059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84061         file.
84062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84064         VIS3 routines.
84066         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84067         New file.
84069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84071         * sysdeps/sparc/configure.in: New file.
84072         * sysdeps/sparc/configure: Generate.
84073         * configure.in (libc_cv_sparc_as_vis3): Substitute.
84074         * configure: Regenerate.
84075         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84076         * config.make.in (have-as-vis3): New.
84077         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84078         available use -Av9d instead of -Av9a.
84079         * sysdeps/sparc/sparc64/Makefile: Likewise.
84080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84082         New file.
84083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84084         file.
84085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84086         New file.
84087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84088         file.
84089         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84090         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84091         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84092         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84093         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84095         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84096         fzeros/fnegs to load 0x80000000 into a float register instead of
84097         using the stack.
84098         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84100 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84103         bits/syscall.h.
84104         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84105         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84106         ($(inst_includedir)/bits/syscall.h): Remove rule.
84107         ($(objpfx)bits/syscall.d): Include instead of
84108         $(objpfx)syscall-list.d.
84109         (generated): Change syscall-list.h and syscall-list.d to
84110         bits/syscall.h and bits/syscall.d.
84112 2012-03-14  Roland McGrath  <roland@hack.frob.com>
84114         [BZ #13846]
84115         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84117 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84119         [BZ #13841]
84120         * math/s_csqrt.c: Include <float.h>.
84121         (__csqrt): Scale large or subnormal inputs.
84122         * math/s_csqrtf.c: Likewise.
84123         * math/s_csqrtl.c: Likewise.
84124         * math/libm-test.inc (csqrt_test): Add more tests.
84125         * sysdeps/i386/fpu/libm-test-ulps: Update.
84126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84128         [BZ #13840]
84129         * math/libm-test.inc (hypot_test): Add more tests.
84131 2012-03-13  David S. Miller  <davem@davemloft.net>
84133         [BZ #13840]
84134         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84135         double-precision for the calculation instead of scaling.
84137 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
84139         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84140         manipulate bits before adding and subtracting TWO52[sx].
84141         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84142         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84143         Likewise.
84144         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84146 2012-03-13  David S. Miller  <davem@davemloft.net>
84148         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84149         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84150         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84151         rtld-global-offsets.h
84152         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84154         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84155         large parameters.
84157         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84159         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84160         'err' in the ifdef scope in which it is actually used.
84162         * nss/nss_db/db-init.c: Include string.h
84164 2012-03-12  David S. Miller  <davem@davemloft.net>
84166         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84167         masking out of the most significant byte of random value used.
84168         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84169         Fix coding style in previous change.
84171         * sysdeps/unix/sysv/linux/kernel-features.h
84172         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84173         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84174         expression.
84175         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84176         later.
84178 2012-03-11  David S. Miller  <davem@davemloft.net>
84180         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84181         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84182         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84183         for 'resultvar' otherwise things get truncated on 64-bit.
84185         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84186         Fix masking out of the most significant byte of random value used.
84188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84190 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
84192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84194 2012-03-09  David S. Miller  <davem@davemloft.net>
84196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84197         variables with appropriate CPP guards.
84198         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84199         from the frame pointer, not the stack pointer.  Correct layout
84200         comments.  Fix test on resulting framesize and the management of
84201         the outregs buffer for pltexit.  Preserve floating point return
84202         values across _dl_call_pltexit call.
84203         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84204         framesize and the management of the outregs buffer for pltexit.
84205         Preserve floating point return values across _dl_call_pltexit
84206         call.
84207         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84208         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84209         (la_sparc64_gnu_pltexit): New functions.
84210         (print_exit): Fix format string for return register value.
84212 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
84214         * sunrpc/Makefile (others): Add rpcgen.
84215         ($(objpfx)rpcgen): Remove special build rule and dependency on
84216         libc.
84217         * sunrpc/rpcgen.c: New file.
84219 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
84221         [BZ #13673]
84222         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84223         * stdio-common/bug-vfprintf-nargs.c: Likewise.
84224         * sysdeps/i386/crti.S: Likewise.
84225         * sysdeps/i386/crtn.S: Likewise.
84226         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84227         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84228         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84229         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84230         * sysdeps/sh/crti.S: Likewise.
84231         * sysdeps/sh/crtn.S: Likewise.
84232         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84234         [BZ #13673]
84235         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84236         with URL.
84237         * locale/programs/locfile-kw.gperf: Likewise.
84238         * locale/programs/charmap-kw.h: Regenerated.
84239         * locale/programs/locfile-kw.h: Likewise.
84241         [BZ #13673]
84242         * intl/plural.y: Replace FSF snail mail address with URL.
84243         * intl/plural.c: Regenerated.
84245 2012-03-09  Richard Henderson  <rth@twiddle.net>
84247         * include/math_private.h: Remove file.
84248         * math/math_private.h: Move file ...
84249         * sysdeps/generic/math_private.h: ... here.
84251         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84252         * sysdeps/powerpc/fpu/math_private.h: Likewise.
84253         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84255         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84256         and <math_private.h>.
84257         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84258         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84259         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84260         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84261         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84262         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
84263         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84264         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84265         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84266         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84267         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84268         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84269         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84270         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84271         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84272         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84273         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84274         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84275         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84276         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84278         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84279         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84280         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84281         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84282         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84283         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84286         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84287         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84288         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84289         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84290         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84291         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84292         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84293         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84294         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84295         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84296         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84297         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84298         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84299         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84300         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84301         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84302         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84303         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84304         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84305         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84306         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84307         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84308         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84309         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
84310         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84311         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
84312         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84313         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84314         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84315         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
84316         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
84317         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84318         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
84319         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84320         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84321         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84322         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84323         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84324         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84325         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84326         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84327         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84328         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84329         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84331         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84333         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84336         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84337         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84338         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84339         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84340         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84341         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84343         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84344         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84345         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84346         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84347         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84348         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84349         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84350         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84351         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84352         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84354         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84355         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84357         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84358         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84359         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84360         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84361         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84362         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84363         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84364         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84365         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84366         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84367         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84368         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84369         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84370         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84371         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84372         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84373         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84374         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84375         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84376         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84377         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84378         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84379         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84380         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84381         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84382         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84383         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84384         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84385         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84386         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84387         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84388         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84389         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84390         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84391         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84392         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84393         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84394         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84395         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84396         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84397         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84398         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84399         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84400         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84401         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84402         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84403         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84404         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84405         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84406         * sysdeps/ieee754/k_standard.c: Likewise.
84407         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84408         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84409         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84410         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84411         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84412         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84413         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84414         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84415         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84417         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84419         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84420         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84421         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84422         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84423         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84424         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84425         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84426         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84427         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84428         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84430         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84431         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84432         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84433         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84434         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84435         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84437         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84438         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84439         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84440         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84441         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84442         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84443         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84444         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84445         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84446         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84447         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84448         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84449         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84450         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84451         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84452         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84453         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84454         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84455         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84456         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84457         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84458         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84459         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84460         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84463         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84464         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84468         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84469         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84470         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84471         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84472         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84473         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84474         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84475         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84476         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84479         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84480         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84481         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84482         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84483         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84484         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84485         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84486         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84487         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84488         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84489         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84492         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84493         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84494         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84496         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84497         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84498         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84499         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84500         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84501         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84502         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84503         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84504         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84505         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84506         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84507         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84508         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84509         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84510         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84511         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84512         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84513         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84514         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84515         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84516         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84517         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84518         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84519         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84520         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84521         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84522         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84523         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84525         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84526         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84527         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84528         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84529         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84530         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84531         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84532         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84533         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84534         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84535         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84536         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84537         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84538         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84539         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84540         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84541         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84542         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84543         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84544         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84545         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84546         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84547         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84548         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84549         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84550         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84551         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84552         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84553         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84554         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84555         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84556         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84557         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84558         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84559         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84560         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84561         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84562         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84563         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84564         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84565         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84566         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84567         * sysdeps/ieee754/s_lib_version.c: Likewise.
84568         * sysdeps/ieee754/s_matherr.c: Likewise.
84569         * sysdeps/ieee754/s_signgam.c: Likewise.
84570         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84571         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84572         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84573         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84574         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84575         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84576         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84577         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84578         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84579         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84580         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84581         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84582         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84583         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84584         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84585         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84586         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84587         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84588         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84589         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84590         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84592 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84594         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84595         * sunrpc/rpc_main.c: Likewise.
84596         * sunrpc/rpc_svcout.c: Likewise.
84598 2012-03-09  David S. Miller  <davem@davemloft.net>
84600         * include/math_private.h: New file.
84602 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84604         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84605         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84606         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84607         from <bits/socket_type.h>.
84608         (enum __socket_type): Don't define here.
84609         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84611         bits/socket_type.h.
84613         [BZ #13566]
84614         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84615         checking __USE_GNU.
84617         * Makerules ($(inst_includedir)/%.h): New rule.
84618         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84619         (install-others): Remove variable setting.
84620         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84622 2012-03-08  Richard Henderson  <rth@twiddle.net>
84624         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84625         from macro to inline function; merge with the
84626         !__LIBC_INTERNAL_MATH_INLINES version.
84627         (__ieee754_sqrtf): Likewise.
84629         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84630         to inline function.
84631         (__rintf, __floor, __floorf): Likewise.
84633         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84634         macro to inline function.
84635         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84637         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84638         not <math/math_private.h>.
84640 2012-03-08  David S. Miller  <davem@davemloft.net>
84642         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84643         copyright year.
84644         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84646 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84648         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84649         normalization.
84650         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84651         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84653 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84655         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84656         be defined individually, they must be defined as a block.  Define
84657         S for printing a string instead of hidint the different by using a
84658         macro for adding the 'l'.
84659         * stdio-common/tst-fphex-wide.c: Adjust.
84661 2012-03-07  Marek Polacek  <polacek@redhat.com>
84663         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84665 2012-03-08  Marek Polacek  <polacek@redhat.com>
84667         [BZ #13806]
84668         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84669         * stdio-common/tst-fphex.c: Define a few macros to make the
84670         test reusable.  Use them.
84671         * stdio-common/tst-fphex-wide.c: New file.
84673 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84675         [BZ #6911]
84676         * manual/macros.texi (gnusystems): New macro.
84677         (nongnusystems): Likewise.
84678         (gnulinuxhurdsystems): Likewise.
84679         (gnuhurdsystems): Likewise..
84680         (gnulinuxsystems): Likewise.
84681         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84682         variants of the GNU system, not "GNU system".
84683         * manual/conf.texi: Likewise.
84684         * manual/errno.texi: Likewise.  Update example of errno macro
84685         expansion.
84686         * manual/filesys.texi: Likewise.
84687         (getumask): Document as specific to GNU/Hurd.
84688         * manual/install.texi: Likewise.  Reword some references to
84689         GNU/Linux.
84690         * manual/intro.texi: Likewise.
84691         * manual/io.texi: Likewise.
84692         (File Name Portability): Detail which constraints are inapplicable
84693         to all GNU systems and which are only inapplicable to GNU/Hurd.
84694         * manual/job.texi: Likewise.
84695         * manual/llio.texi: Likewise.
84696         (O_NOCTTY): Document as present on GNU/Linux.
84697         * manual/maint.texi: Likewise.
84698         * manual/memory.texi: Likewise.
84699         * manual/pattern.texi: Likewise.
84700         * manual/pipe.texi: Likewise.
84701         * manual/process.texi: Likewise.
84702         * manual/resource.texi: Likewise.
84703         (RUSAGE_CHILDREN): Remove statement about specifying a particular
84704         child on GNU/Hurd.
84705         * manual/setjmp.texi: Likewise.
84706         * manual/signal.texi: Likewise.
84707         * manual/startup.texi: Likewise.
84708         * manual/stdio.texi: Likewise.
84709         * manual/terminal.texi: Likewise.
84710         (ONLCR): Document as POSIX.
84711         (OXTABS): Document availability on GNU/Linux as XTABS.
84712         (ONOEOT): Document availability separately from other bits.
84713         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84714         * manual/time.texi: Likewise.
84715         * manual/users.texi: Likewise.
84716         * INSTALL: Regenerated.
84717         * sysdeps/gnu/errlist.c: Regenerated.
84719         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84720         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84721         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
84722         puts.
84723         * configure: Regenerated.
84725 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
84727         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84728         default includes instead of AC_HEADER_CHECK.
84729         * sysdeps/i386/configure: Regenerated.
84731         [BZ #10716]
84732         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84733         * math/s_cacoshf.c (__cacoshf): Likewise.
84734         * math/s_cacoshl.c (__cacoshl): Likewise.
84735         * math/s_casinh.c (__casinh): Set signs of result from argument.
84736         * math/s_casinhf.c (__casinhf): Likewise.
84737         * math/s_casinhl.c (__casinhl): Likewise.
84738         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84739         (casinh_test): Add more tests.
84740         * sysdeps/i386/fpu/libm-test-ulps: Update.
84741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84743 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
84745         * po/zh_TW.po: Update from translation team.
84747         * login/Makefile (distribute): Remove variable.
84748         * catgets/Makefile: Likewise.
84749         * mach/Makefile: Likewise.
84750         * malloc/Makefile: Likewise.
84751         * misc/Makefile: Likewise.
84752         * iconv/Makefile: Likewise.
84753         * nscd/Makefile: Likewise.
84754         * hurd/Makefile: Likewise.
84755         * manual/Makefile: Likewise.
84756         * locale/Makefile: Likewise.
84757         * intl/Makefile: Likewise.
84758         * conform/Makefile: Likewise.
84759         * nss/Makefile: Likewise.
84760         * time/Makefile: Likewise.
84761         * soft-fp/Makefile: Likewise.
84762         * dirent/Makefile: Likewise.
84763         * gmon/Makefile: Likewise.
84764         * po/Makefile: Likewise.
84765         * rt/Makefile: Likewise.
84766         * socket/Makefile: Likewise.
84767         * math/Makefile: Likewise.
84768         * signal/Makefile: Likewise.
84769         * debug/Makefile: Likewise.
84770         * elf/Makefile: Likewise.
84771         * timezone/Makefile: Likewise.
84772         * stdlib/Makefile: Likewise.
84773         * iconvdata/Makefile: Likewise.
84774         * sunrpc/Makefile: Likewise.
84775         * io/Makefile: Likewise.
84776         * argp/Makefile: Likewise.
84777         * inet/Makefile: Likewise.
84778         * hesiod/Makefile: Likewise.
84779         * grp/Makefile: Likewise.
84780         * csu/Makefile: Likewise.
84781         * wctype/Makefile: Likewise.
84782         * crypt/Makefile: Likewise.
84783         * libio/Makefile: Likewise.
84784         * string/Makefile: Likewise.
84785         * nis/Makefile: Likewise.
84786         * resolv/Makefile: Likewise.
84787         * stdio-common/Makefile: Likewise.
84788         * wcsmbs/Makefile: Likewise.
84789         * dlfcn/Makefile: Likewise.
84790         * posix/Makefile: Likewise.
84792         [BZ #6959]
84793         * timezone/Makefile: Don't install timezone files, just the programs
84794         and scripts.
84796 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
84798         * nss/databases.def: Add missing gshadow entry.
84800         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
84802 2012-03-06  Marek Polacek  <polacek@redhat.com>
84804         [BZ #13726]
84805         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84806         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84807         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84808         * stdio-common/tst-long-dbl-fphex.c: New file.
84810 2012-03-06  David S. Miller  <davem@davemloft.net>
84812         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84813         (set_obp_int): New function.
84814         (get_obp_int): New function.
84815         (__get_clockfreq_via_dev_openprom): Likewise.
84816         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84817         Avoid unused variable warnings on 'val' and use builtin_expect.
84818         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84819         __builtin_expect.
84820         (INLINE_CLONE_SYSCALL): Likewise.
84822 2012-03-05  David S. Miller  <davem@davemloft.net>
84824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84826 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84831         only for |x| >= 40.
84832         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84834 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84836         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84837         Replace gettimeofday with __vdso_gettimeofday.
84839         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84840         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84841         __vdso_clock_gettime and __vdso_getcpu.
84843         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84844         time with __vdso_time.
84846 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84848         * manual/lang.texi (size_t): Note types to which size_t may be
84849         equivalent with the GNU C Library, but do not describe when
84850         differences between them are significant.
84852 2012-03-05  Andreas Jaeger  <aj@suse.de>
84854         * sysdeps/i386/fpu/libm-test-ulps: Update.
84856 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84858         [BZ #3976]
84859         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84860         (__ieee754_pow): Save and restore rounding mode and use
84861         round-to-nearest for main computations.
84862         * math/libm-test.inc (pow_test_tonearest): New function.
84863         (pow_test_towardzero): Likewise.
84864         (pow_test_downward): Likewise.
84865         (pow_test_upward): Likewise.
84866         (main): Call the new functions.
84867         * sysdeps/i386/fpu/libm-test-ulps: Update.
84868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84870         [BZ #3976]
84871         * math/libm-test.inc (cosh_test_tonearest): New function.
84872         (cosh_test_towardzero): Likewise.
84873         (cosh_test_downward): Likewise.
84874         (cosh_test_upward): Likewise.
84875         (sinh_test_tonearest): Likewise.
84876         (sinh_test_towardzero): Likewise.
84877         (sinh_test_downward): Likewise.
84878         (sinh_test_upward): Likewise.
84879         (main): Call the new functions.
84880         * sysdeps/i386/fpu/libm-test-ulps: Update.
84881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84883 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84885         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84886         default stack guard is set in last bytes.
84887         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84889 2012-03-05  Kees Cook  <keescook@chromium.org>
84891         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84893         [BZ #13656]
84894         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84895         possibly allocate from heap instead of stack.
84896         * stdio-common/bug-vfprintf-nargs.c: New file.
84897         * stdio-common/Makefile (tests): Add nargs overflow test.
84899 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84903 2012-03-03  Marek Polacek  <polacek@redhat.com>
84905         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84906         * math/math_private.h: Likewise.
84907         * stdlib/tst-strtod.c: Likewise.
84908         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84909         * sysdeps/x86_64/bits/atomic.h: Likewise.
84911 2012-03-02  David S. Miller  <davem@davemloft.net>
84913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84917         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84918         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84919         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84920         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84922 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84924         [BZ #13792]
84925         * manual/examples/README: New file, says the example source files
84926         can be used under GPL>=2.
84927         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84928         line containing just "*/".
84929         * manual/examples/add.c: Add copyright header (GPL>=2).
84930         * manual/examples/argp-ex1.c: Likewise.
84931         * manual/examples/argp-ex2.c: Likewise.
84932         * manual/examples/argp-ex3.c: Likewise.
84933         * manual/examples/argp-ex4.c: Likewise.
84934         * manual/examples/atexit.c: Likewise.
84935         * manual/examples/db.c: Likewise.
84936         * manual/examples/dir.c: Likewise.
84937         * manual/examples/dir2.c: Likewise.
84938         * manual/examples/execinfo.c: Likewise.
84939         * manual/examples/filecli.c: Likewise.
84940         * manual/examples/filesrv.c: Likewise.
84941         * manual/examples/fmtmsgexpl.c: Likewise.
84942         * manual/examples/genpass.c: Likewise.
84943         * manual/examples/inetcli.c: Likewise.
84944         * manual/examples/inetsrv.c: Likewise.
84945         * manual/examples/isockad.c: Likewise.
84946         * manual/examples/longopt.c: Likewise.
84947         * manual/examples/memopen.c: Likewise.
84948         * manual/examples/memstrm.c: Likewise.
84949         * manual/examples/mkfsock.c: Likewise.
84950         * manual/examples/mkisock.c: Likewise.
84951         * manual/examples/mygetpass.c: Likewise.
84952         * manual/examples/pipe.c: Likewise.
84953         * manual/examples/popen.c: Likewise.
84954         * manual/examples/rprintf.c: Likewise.
84955         * manual/examples/search.c: Likewise.
84956         * manual/examples/select.c: Likewise.
84957         * manual/examples/setjmp.c: Likewise.
84958         * manual/examples/sigh1.c: Likewise.
84959         * manual/examples/sigusr.c: Likewise.
84960         * manual/examples/stpcpy.c: Likewise.
84961         * manual/examples/strdupa.c: Likewise.
84962         * manual/examples/strftim.c: Likewise.
84963         * manual/examples/strncat.c: Likewise.
84964         * manual/examples/subopt.c: Likewise.
84965         * manual/examples/swapcontext.c: Likewise.
84966         * manual/examples/termios.c: Likewise.
84967         * manual/examples/testopt.c: Likewise.
84968         * manual/examples/testpass.c: Likewise.
84969         * manual/examples/timeval_subtract.c: Likewise.
84971         [BZ #13792]
84972         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84973         function to ...
84974         * manual/timeval_subtract.c.texi: ... here, new file.
84976 2012-03-02  David S. Miller  <davem@davemloft.net>
84978         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84980 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84982         [BZ #3976]
84983         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84984         (__sin): Save and restore rounding mode and use round-to-nearest
84985         for all computations.
84986         (__cos): Save and restore rounding mode and use round-to-nearest
84987         for all computations.
84988         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84989         <fenv.h>.
84990         (tan): Save and restore rounding mode and use round-to-nearest for
84991         all computations.
84992         * math/libm-test.inc (cos_test_tonearest): New function.
84993         (cos_test_towardzero): Likewise.
84994         (cos_test_downward): Likewise.
84995         (cos_test_upward): Likewise.
84996         (sin_test_tonearest): Likewise.
84997         (sin_test_towardzero): Likewise.
84998         (sin_test_downward): Likewise.
84999         (sin_test_upward): Likewise.
85000         (tan_test_tonearest): Likewise.
85001         (tan_test_towardzero): Likewise.
85002         (tan_test_downward): Likewise.
85003         (tan_test_upward): Likewise.
85004         (main): Call the new functions.
85005         * sysdeps/i386/fpu/libm-test-ulps: Update.
85006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85008         [BZ #10135]
85009         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85010         small n, then large n, before computing and testing k+n.
85011         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85012         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85013         Likewise.
85014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85015         Likewise.
85016         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85017         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85018         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85019         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85020         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85021         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85023         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85024         * math/libm-test.inc (scalbn_test): Add more tests.
85025         (scalbln_test): Likewise.
85027         * manual/filesys.texi (mode_t): Describe constraints on size and
85028         signedness, not exact equivalence to a particular type.
85029         (ino_t): Likewise.
85030         (ino64_t): Likewise.
85031         (dev_t): Likewise.
85032         (nlink_t): Likewise.
85033         (blkcnt_t): Likewise.
85034         (blkcnt64_t): Likewise.
85035         * manual/llio.texi (off_t): Likewise.
85037         [BZ #3976]
85038         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85039         (__ieee754_exp): Save and restore rounding mode and use
85040         round-to-nearest for all computations.
85041         * math/libm-test.inc (exp_test_tonearest): New function.
85042         (exp_test_towardzero): Likewise.
85043         (exp_test_downward): Likewise.
85044         (exp_test_upward): Likewise.
85045         (main): Call the new functions.
85046         * sysdeps/i386/fpu/libm-test-ulps: Update.
85047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85049 2012-03-01  Chris Demetriou  <cgd@google.com>
85051         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85052         have predictable order.
85054 2012-03-01  David S. Miller  <davem@davemloft.net>
85056         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85058         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85059         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85060         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85061         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85063         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85064         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85065         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85067         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85068         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85069         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85070         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85071         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85076         * sysdeps/sparc/fpu/libm-test-ulps: to here.
85077         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85079         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85080         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85081         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85082         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85083         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85084         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85085         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85086         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85087         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85088         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85089         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85090         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85092         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85093         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85095         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85096         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85097         * sysdeps/sparc/elf/configure: Regenerated.
85099 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
85101         * configure.in (AS, LD): Require binutils 2.20 or later.
85102         * configure: Regenerated.
85103         * manual/install.texi (Tools for Compilation): Give binutils 2.20
85104         as required minimum version.
85105         * INSTALL: Regenerated.
85107         [BZ #2541]
85108         [BZ #4108]
85109         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85110         before squaring exponent.
85111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85112         bottom long double and 27 bits of top long double before squaring
85113         exponent.
85114         * math/libm-test.inc (erfc_test): Add more tests.
85115         * sysdeps/i386/fpu/libm-test-ulps: Update.
85116         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85119 2012-03-01  Kai Tietz  <ktietz@redhat.com>
85121         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85122         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85123         containing bit-fields.
85124         * soft-fp/extended.h (_FP_UNION_E): Likewise.
85125         * soft-fp/single.h (_FP_UNION_S): Likewise.
85126         * soft-fp/double.h (_FP_UNION_D): Likewise.
85128 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85130         [BZ #13786]
85131         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85132         not include ../strcmp.S.
85133         [USE_AS_STRNCASECMP_L]: Likewise.
85134         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85135         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85136         * sysdeps/i386/i686/multiarch/strncase_l-c.c
85137         (__strncasecmp_l_ia32): Define as alias to
85138         __strncasecmp_l_nonascii.
85140         [BZ #5794]
85141         * math/libm-test.inc (expm1_test): Add test for bug 5794.
85142         * sysdeps/i386/fpu/libm-test-ulps: Update.
85143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85145         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85148 2012-02-29  Jeff Law  <law@redhat.com>
85150         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85151         out of bounds read.
85153 2012-02-29  Marek Polacek  <polacek@redhat.com>
85155         [BZ #13706]
85156         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85157         * elf/Makefile: Add rules to run tst-unused-dep.out.
85159 2012-02-28  David S. Miller  <davem@davemloft.net>
85161         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85162         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85163         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85164         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85165         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85166         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85168 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85170         * math/libm-test.inc (llround_test): Move one test from
85171         lround_test.  Use TEST_f_L in moved test.
85172         (lround_test): Move misplaced test to llround_test.  Add testcase
85173         from bug 2561.
85175 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
85177         * sysdeps/x86_64/fpu/e_expf.S: New file.
85178         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85180 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
85182         [BZ #13637]
85183         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85184         of remain_len that may cause incomplete multi-byte character and
85185         false match.
85186         * posix/bug-regex33.c: New file.
85187         * posix/Makefile (tests): Add bug-regex33.
85189 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
85191         * manual/macros.texi: New file.
85192         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85193         * manual/libc.texinfo: Include macros.texi.
85194         * manual/creatute.texi: Likewise.
85195         * manual/install.texi: Likewise.
85196         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85197         @glibcadj{} in references to the GNU C Library.
85198         * manual/charset.texi: Likewise.
85199         * manual/conf.texi: Likewise.
85200         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
85201         when not using those macros.
85202         * manual/creature.texi: Likewise.
85203         * manual/crypt.texi: Likewise.
85204         * manual/errno.texi: Likewise.
85205         * manual/filesys.texi: Likewise.
85206         * manual/header.texi: Likewise.
85207         * manual/install.texi: Likewise.
85208         * manual/intro.texi: Likewise.
85209         * manual/io.texi: Likewise.
85210         * manual/job.texi: Likewise.
85211         * manual/lang.texi: Likewise.
85212         * manual/libc.texiinfo: Likewise.
85213         * manual/llio.texi: Likewise.
85214         * manual/locale.texi: Likewise.
85215         * manual/maint.texi: Likewise.
85216         * manual/math.texi: Likewise.
85217         * manual/memory.texi: Likewise.
85218         * manual/message.texi: Likewise.
85219         * manual/nss.texi: Likewise.
85220         * manual/pattern.texi: Likewise.
85221         * manual/process.texi: Likewise.
85222         * manual/resource.texi: Likewise.
85223         * manual/search.texi: Likewise.
85224         * manual/setjmp.texi: Likewise.
85225         * manual/signal.texi: Likewise.
85226         * manual/socket.texi: Likewise.
85227         * manual/startup.texi: Likewise.
85228         * manual/stdio.texi: Likewise.
85229         * manual/string.texi: Likewise.
85230         * manual/sysinfo.texi: Likewise.
85231         * manual/syslog.texi: Likewise.
85232         * manual/terminal.texi: Likewise.
85233         * manual/time.texi: Likewise.
85234         * manual/users.texi: Likewise.
85235         * INSTALL: Regenerated.
85236         * NOTES: Regenerated.
85237         * sysdeps/gnu/errlist.c: Regenerated.
85239 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
85241         * include/dirent.h: Include <dirstream.h> before
85242         <dirent/dirent.h>.
85244 2012-02-28  David S. Miller  <davem@davemloft.net>
85246         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85247         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85248         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85249         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85251 2012-02-27  David S. Miller  <davem@davemloft.net>
85253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85255         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85256         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85259         frame pointer instead of stack pointer relative arg slot.
85260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85261         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85262         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85264 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
85266         [BZ #3992]
85267         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
85269 2012-02-27  David S. Miller  <davem@davemloft.net>
85271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
85272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85275         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85276         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85277         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85278         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85280 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85282         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85283         later.  Allow versions 5-9.
85284         * configure: Regenerated.
85285         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85286         required minimum version and 4.6 as recommended version.  Do not
85287         mention bugs in GCC 2.7 and 2.8.
85288         * INSTALL: Regenerated.
85290 2012-02-27  David S. Miller  <davem@davemloft.net>
85292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85296         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85297         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85298         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85299         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85301         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85302         manipulate bits before adding and subtracting TWO112[sx].
85303         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85305 2012-02-27  Roland McGrath  <roland@hack.frob.com>
85307         [BZ #13775]
85308         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85309         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
85310         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
85311         being in POSIX, because they are in 1003.1-2008.
85313         * rt/tst-aio.c: Include <fcntl.h>.
85314         * rt/tst-aio7.c: Likewise.
85315         * rt/tst-aio64.c: Likewise.
85317         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
85319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85321         * manual/install.texi (--with-headers): Describe headers as
85322         interface headers, not private headers.
85323         (Specific advice for GNU/Linux systems): Describe use of headers
85324         from "make headers_install", not private headers from older
85325         kernels.
85326         * INSTALL: Regenerated.
85327         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85328         Change to 2.6.19.
85329         * sysdeps/unix/sysv/linux/configure: Regenerated.
85331         * manual/llio.texi (fclean): Remove documentation.
85333         * manual/Makefile (libc-texi-generated): New variable.  Include
85334         version.texi.
85335         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85336         $(libc-texi-generated), not duplicated list of files.
85337         (version.texi, stamp-version): New rules.
85338         (realclean): Remove $(libc-texi-generated), not individual files
85339         from that list.  Do not remove dir-add.texinfo.
85340         * manual/libc.texinfo: Comment out uses of edition numbers and
85341         references to printed manual.  Remove last-updated dates.
85342         (EDITION): Comment out.
85343         (ISBN): Likewise.
85344         (VERSION, UPDATED): Remove.
85345         (version.texi): Include.
85347 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
85349         * sysdeps/posix/spawni.c: Include <signal.h>.
85350         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85351         * sysdeps/pthread/aio_fsync.c: Likewise.
85353 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
85355         * conform/Makefile (tests): Run only when not cross-compiling and
85356         when fast-check is not defined.
85358         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85359         * conform/data/limits.h-data: Fixes for POSIX2008.
85360         * conform/run-conformtest.sh: Run all tests.
85361         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85362         headers.
85363         * include/bits/dlfcn.h: Likewise.
85364         * include/langinfo.h: Likewise.
85365         * include/monetary.h: Likewise.
85366         * include/sys/poll.h: Likewise.
85368         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85369         for __USE_GNU.
85370         * posix/spawn.h: Define __need_sigset_t.
85371         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85372         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85373         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
85374         to get sigevent_t only.
85375         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85376         only for __USE_GNU.
85377         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85378         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85379         process_vm_writev only for __USE_GNU.
85380         * termios/termios.h: Declare tcgetsid also for POSIX2008.
85382         * conform/Makefile: For now ignore errors from run-conformtest.
85383         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
85384         POSIX to avoid namespace pollution.  Don't prepend headers.
85385         * conform/data/aio.h-data: Fixes for POSIX testing.
85386         * conform/data/fcntl.h-data: Likewise.
85387         * conform/data/glob.h-data: Likewise.
85388         * conform/data/grp.h-data: Likewise.
85389         * conform/data/pthread.h-data: Likewise.
85390         * conform/data/pwd.h-data: Likewise.
85391         * conform/data/signal.h-data: Likewise.
85392         * conform/data/spawn.h-data: Likewise.
85393         * conform/data/stdio.h-data: Likewise.
85394         * conform/data/stdlib.h-data: Likewise.
85395         * conform/data/stropts.h-data: Likewise.
85396         * conform/data/sys/mman.h-data: Likewise.
85397         * conform/data/sys/stat.h-data: Likewise.
85398         * conform/data/sys/types.h-data: Likewise.
85399         * conform/data/sys/wait.h-data: Likewise.
85400         * conform/data/time.h-data: Likewise.
85401         * conform/data/unistd.h-data: Likewise.
85402         * conform/data/utime.h-data: Likewise.
85404         * io/sys/stat.h: fchmod was always in POSIX.
85405         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85406         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85407         * rt/aio.h: Define __need_timespec before including <time.h>.
85408         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85409         struct.  Add forward declaration of pthread_attr_t and use it in
85410         sigevent.
85411         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85412         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85413         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85414         always remove CLK_TCK definition.
85416 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
85418         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85420 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
85422         * conform/run-conformtest.sh: New file.
85423         * conform/Makefile: Run run-conformtest for tests.
85424         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85425         support.
85427         * conform/data/uchar.h-data: New file.
85428         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85429         * conform/data/arpa/inet.h-data: Likewise.
85430         * conform/data/assert.h-data: Likewise.
85431         * conform/data/complex.h-data: Likewise.
85432         * conform/data/cpio.h-data: Likewise.
85433         * conform/data/ctype.h-data: Likewise.
85434         * conform/data/dirent.h-data: Likewise.
85435         * conform/data/dlfcn.h-data: Likewise.
85436         * conform/data/errno.h-data: Likewise.
85437         * conform/data/fcntl.h-data: Likewise.
85438         * conform/data/float.h-data: Likewise.
85439         * conform/data/fmtmsg.h-data: Likewise.
85440         * conform/data/fnmatch.h-data: Likewise.
85441         * conform/data/ftw.h-data: Likewise.
85442         * conform/data/glob.h-data: Likewise.
85443         * conform/data/grp.h-data: Likewise.
85444         * conform/data/iconv.h-data: Likewise.
85445         * conform/data/inttypes.h-data: Likewise.
85446         * conform/data/langinfo.h-data: Likewise.
85447         * conform/data/libgen.h-data: Likewise.
85448         * conform/data/limits.h-data: Likewise.
85449         * conform/data/locale.h-data: Likewise.
85450         * conform/data/math.h-data: Likewise.
85451         * conform/data/monetary.h-data: Likewise.
85452         * conform/data/mqueue.h-data: Likewise.
85453         * conform/data/ndbm.h-data: Likewise.
85454         * conform/data/net/if.h-data: Likewise.
85455         * conform/data/netdb.h-data: Likewise.
85456         * conform/data/netinet/in.h-data: Likewise.
85457         * conform/data/nl_types.h-data: Likewise.
85458         * conform/data/poll.h-data: Likewise.
85459         * conform/data/pthread.h-data: Likewise.
85460         * conform/data/pwd.h-data: Likewise.
85461         * conform/data/regex.h-data: Likewise.
85462         * conform/data/sched.h-data: Likewise.
85463         * conform/data/search.h-data: Likewise.
85464         * conform/data/semaphore.h-data: Likewise.
85465         * conform/data/setjmp.h-data: Likewise.
85466         * conform/data/signal.h-data: Likewise.
85467         * conform/data/spawn.h-data: Likewise.
85468         * conform/data/stdarg.h-data: Likewise.
85469         * conform/data/stdio.h-data: Likewise.
85470         * conform/data/stdlib.h-data: Likewise.
85471         * conform/data/string.h-data: Likewise.
85472         * conform/data/strings.h-data: Likewise.
85473         * conform/data/stropts.h-data: Likewise.
85474         * conform/data/sys/ipc.h-data: Likewise.
85475         * conform/data/sys/mman.h-data: Likewise.
85476         * conform/data/sys/msg.h-data: Likewise.
85477         * conform/data/sys/resource.h-data: Likewise.
85478         * conform/data/sys/select.h-data: Likewise.
85479         * conform/data/sys/sem.h-data: Likewise.
85480         * conform/data/sys/shm.h-data: Likewise.
85481         * conform/data/sys/socket.h-data: Likewise.
85482         * conform/data/sys/stat.h-data: Likewise.
85483         * conform/data/sys/statvfs.h-data: Likewise.
85484         * conform/data/sys/time.h-data: Likewise.
85485         * conform/data/sys/timeb.h-data: Likewise.
85486         * conform/data/sys/times.h-data: Likewise.
85487         * conform/data/sys/types.h-data: Likewise.
85488         * conform/data/sys/uio.h-data: Likewise.
85489         * conform/data/sys/un.h-data: Likewise.
85490         * conform/data/sys/utsname.h-data: Likewise.
85491         * conform/data/sys/wait.h-data: Likewise.
85492         * conform/data/syslog.h-data: Likewise.
85493         * conform/data/tar.h-data: Likewise.
85494         * conform/data/termios.h-data: Likewise.
85495         * conform/data/utime.h-data: Likewise.
85496         * conform/data/utmpx.h-data: Likewise.
85497         * conform/data/varargs.h-data: Likewise.
85498         * conform/data/wchar.h-data: Likewise.
85499         * conform/data/wctype.h-data: Likewise.
85500         * conform/data/wordexp.h-data: Likewise.
85502         * include/stropts.h: New file.
85503         * include/uchar.h: New file.
85504         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85505         * include/assert.h: Likewise.
85506         * include/ctype.h: Likewise.
85507         * include/dirent.h: Likewise.
85508         * include/dlfcn.h: Likewise.
85509         * include/fcntl.h: Likewise.
85510         * include/fnmatch.h: Likewise.
85511         * include/glob.h: Likewise.
85512         * include/grp.h: Likewise.
85513         * include/libio.h: Likewise.
85514         * include/locale.h: Likewise.
85515         * include/math.h: Likewise.
85516         * include/net/if.h: Likewise.
85517         * include/netdb.h: Likewise.
85518         * include/netinet/in.h: Likewise.
85519         * include/pthread.h: Likewise.
85520         * include/pwd.h: Likewise.
85521         * include/regex.h: Likewise.
85522         * include/sched.h: Likewise.
85523         * include/search.h: Likewise.
85524         * include/setjmp.h: Likewise.
85525         * include/signal.h: Likewise.
85526         * include/stdio.h: Likewise.
85527         * include/stdlib.h: Likewise.
85528         * include/string.h: Likewise.
85529         * include/sys/cdefs.h: Likewise.
85530         * include/sys/mman.h: Likewise.
85531         * include/sys/msg.h: Likewise.
85532         * include/sys/resource.h: Likewise.
85533         * include/sys/select.h: Likewise.
85534         * include/sys/socket.h: Likewise.
85535         * include/sys/stat.h: Likewise.
85536         * include/sys/statvfs.h: Likewise.
85537         * include/sys/time.h: Likewise.
85538         * include/sys/times.h: Likewise.
85539         * include/sys/uio.h: Likewise.
85540         * include/sys/utsname.h: Likewise.
85541         * include/sys/wait.h: Likewise.
85542         * include/termios.h: Likewise.
85543         * include/time.h: Likewise.
85544         * include/ulimit.h: Likewise.
85545         * include/unistd.h: Likewise.
85546         * include/utime.h: Likewise.
85547         * include/wchar.h: Likewise.
85548         * include/wctype.h: Likewise.
85549         * include/wordexp.h: Likewise.
85551         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85553         * time/time.h: TIME_UTC must be a macro.
85554         Make timespec_get available for ISO C11 only as well.
85556 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85558         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85559         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85561 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85563         * configure.in: Use -o not -a in test for unsupported multi-arch.
85565 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85567         * manual/texinfo.tex: Update to version 2012-01-19.16.
85569 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85571         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85573 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85575         [BZ #13738]
85576         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85577         * manual/fdl-1.3.texi: New file.
85578         * manual/fdl-1.1.texi: File removed.
85580         [BZ #13738]
85581         * manual/libc.texinfo (FDL_VERSION): New @set.
85582         Use it for mention of FDL in cover text.
85583         (Documentation License): Use it in @include file name.
85585 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85586             Roland McGrath  <roland@hack.frob.com>
85588         [BZ #5461]
85589         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85590         (not LONG_LONG_MAX and LONG_LONG_MIN.
85591         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85592         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85593         name.
85594         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85596 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85598         [BZ #2547]
85599         [BZ #11365]
85600         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85601         manipulate bits before adding and subtracting TWO23[sx].
85602         * math/libm-test.inc (nearbyint_test): Add more tests.
85604 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85606         [BZ #2548]
85607         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85608         bits before adding and subtracting TWO23[sx].
85609         * math/libm-test.inc (rint_test): Add more tests.
85610         (rint_test_tonearest): Likewise.
85611         (rint_test_towardzero): Likewise.
85612         (rint_test_downward): Likewise.
85613         (rint_test_upward: Likewise.
85615 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85617         [BZ #10110]
85618         * include/stdc-predef.h: New file.  Extracted from features.h.
85619         * include/features.h: Include stdc-predef.h.
85620         * Makefile (headers): Add stdc-predef.h.
85621         * CONFORMANCE (Compiler limitations): Update.
85623 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85625         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85627 2012-02-21  David S. Miller  <davem@davemloft.net>
85629         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85630         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85632 2012-02-20  David S. Miller  <davem@davemloft.net>
85634         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85635         using a normal save/restore sequence, rather than allocating a
85636         dummy stack frame just to store a frame pointer and restore.
85637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85639 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85641         * manual/install.texi: Fix stray word in line-wrapped comment.
85643 2012-02-20  David S. Miller  <davem@davemloft.net>
85645         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85646         both binutils and gcc support GOTDATA.
85648         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85649         "rd %pc" in the PIC register setup sequences.
85651         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85652         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85653         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85654         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85655         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85657         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85658         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85660         (SYSCALL_ERROR_HANDLER): Likewise.
85661         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85662         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85664         (SYSCALL_ERROR_HANDLER): Likewise.
85666         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85667         (HAVE_GCC_GOTDATA): New.
85668         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85669         relocation support in both binutils and gcc.
85670         * sysdeps/sparc/elf/configure: Regenerate.
85672         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85673         * sysdeps/sparc/sparc32/elf/configure: Delete.
85674         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85675         * sysdeps/sparc/sparc64/elf/configure: Delete.
85676         * sysdeps/sparc/elf/configure.in: New file.
85677         * sysdeps/sparc/elf/configure: Generate.
85679         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85680         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85681         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85682         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85683         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85685 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85687         * manual/install.texi: Do not mention specific glibc version
85688         numbers.
85689         * manual/libc.texinfo (VERSION, UPDATED): Update.
85690         (@copying): Use @copyright{} and range of years.
85692 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85694         [BZ #13695]
85695         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85696         [crti.S not in sysdirs] (generated): Do not append.
85697         [crti.S not in sysdirs] (omit-deps): Likewise.
85698         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85699         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85700         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85701         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85702         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85703         Likewise.
85704         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85705         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85706         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85707         * csu/defs.awk: Remove file.
85708         * sysdeps/generic/initfini.c: Likewise.
85709         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85710         variable.
85711         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85712         Likewise.
85714 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85716         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85717         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85718         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85719         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85720         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85721         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85722         <bits/epoll.h>.
85723         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85724         (__EPOLL_PACKED): Define to empty if not defined by
85725         <bits/epoll.h>.
85726         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85728         bits/epoll.h.
85730 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85732         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85733         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85734         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85735         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85736         <bits/timerfd.h>.
85737         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85739         bits/timerfd.h.
85741 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85743         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85744         in C locale.
85745         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85746         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85747         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85750 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
85752         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85753         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85755 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
85757         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85758         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85759         defined.
85760         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85761         Likewise.
85762         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85763         entry for 2.16.
85765 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
85767         * math/w_acos.c: Use non-signaling floating-point comparisons.
85768         * math/w_acosf.c: Likewise.
85769         * math/w_acosh.c: Likewise.
85770         * math/w_acoshf.c: Likewise.
85771         * math/w_acoshl.c: Likewise.
85772         * math/w_acosl.c: Likewise.
85773         * math/w_asin.c: Likewise.
85774         * math/w_asinf.c: Likewise.
85775         * math/w_asinl.c: Likewise.
85776         * math/w_atanh.c: Likewise.
85777         * math/w_atanhf.c: Likewise.
85778         * math/w_atanhl.c: Likewise.
85779         * math/w_exp2.c: Likewise.
85780         * math/w_exp2f.c: Likewise.
85781         * math/w_exp2l.c: Likewise.
85782         * math/w_j0.c: Likewise.
85783         * math/w_j0f.c: Likewise.
85784         * math/w_j0l.c: Likewise.
85785         * math/w_j1.c: Likewise.
85786         * math/w_j1f.c: Likewise.
85787         * math/w_j1l.c: Likewise.
85788         * math/w_jn.c: Likewise.
85789         * math/w_jnf.c: Likewise.
85790         * math/w_log.c: Likewise.
85791         * math/w_log10.c: Likewise.
85792         * math/w_log10f.c: Likewise.
85793         * math/w_log10l.c: Likewise.
85794         * math/w_log2.c: Likewise.
85795         * math/w_log2f.c: Likewise.
85796         * math/w_log2l.c: Likewise.
85797         * math/w_logf.c: Likewise.
85798         * math/w_logl.c: Likewise.
85799         * math/w_sqrt.c: Likewise.
85800         * math/w_sqrtf.c: Likewise.
85801         * math/w_sqrtl.c: Likewise.
85802         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85803         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85804         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85805         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85806         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85808 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85810         [BZ #9739]
85811         * manual/string.texi (strnlen): Use correct parameter name in
85812         equivalent expression.
85814 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85816         [BZ #11174]
85817         * manual/users.texi (seteuid): Consistently use neweuid for
85818         argument name.
85820 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85822         [BZ #13704]
85823         * manual/nss.texi (Services in the NSS configuration): Correct
85824         list of services in example configuration file.
85826 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85828         [BZ #11322]
85829         * manual/arith.texi: Remove statements about negative zero
85830         behaving identically to zero.
85832 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85834         [BZ #5993]
85835         * manual/install.texi: Do not document upgrading from libc5.
85837 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85839         [BZ #4596]
85840         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85842 2012-02-18  David S. Miller  <davem@davemloft.net>
85844         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85845         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85846         %o7 across the call.
85847         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85848         instead.
85849         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85850         SETUP_PIC_REG_LEAF.
85851         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85852         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85853         * sysdeps/sparc/crtn.S: Likewise.
85855 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85857         * aout/Makefile: Remove.
85859 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85861         [BZ #13058]
85862         * manual/examples/argp-ex1.c (main): Format definition in GNU
85863         style.
85864         * manual/examples/argp-ex2.c (main): Likewise.
85865         * manual/examples/argp-ex3.c (main): Likewise.
85866         * manual/examples/argp-ex4.c (main): Likewise.
85867         * manual/examples/longopt.c (main): Use new-style prototype
85868         definition.
85869         * manual/examples/strncat.c (main): Specify return type and use
85870         (void) for arguments.
85871         * manual/examples/subopt.c (main): Use char **argv argument.
85873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85875         [BZ #5077]
85876         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85877         rounding modes.
85879 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85881         [BZ #6907]
85882         * manual/string.texi (strchr): Change when strchrnul is
85883         recommended.
85885 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85887         [BZ #174]
85888         * manual/locale.texi (setlocale): Document LOCPATH.
85890 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85892         [BZ #10210]
85893         * manual/process.texi (execle): Move @dots{} before last argument.
85895 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85897         [BZ #12047]
85898         * manual/charset.texi (Generic Charset Conversion): Fix typo
85899         (LC_TYPE -> LC_CTYPE).
85901 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85903         [BZ #5805]
85904         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85905         (scalbnf): Likewise.
85906         (scalbnl): Likewise.
85907         (scalbln): Likewise.
85908         (scalblnf): Likewise.
85909         (scalblnl): Likewise.
85910         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85911         (vwarnx): Likewise.
85912         (verr): Likewise.
85913         (verrx): Likewise.
85914         * manual/filesys.texi (telldir): Use braces around return type.
85915         * manual/llio.texi (mmap): Add space after comma.
85916         (mmap64): Likewise.
85917         * manual/math.texi (jn): Use @var{} on parameter names.
85918         (jnf): Likewise.
85919         (jnl): Likewise.
85920         (yn): Likewise.
85921         (ynf): Likewise.
85922         (ynl): Likewise.
85923         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85924         line.
85925         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85926         "...".
85927         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85928         (sched_get_priority_max): Likewise.
85929         * manual/signal.texi (sigvec): Add space after comma.
85930         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85931         names.
85932         (if_indextoname): Likewise.
85933         (if_freenameindex): Likewise.
85934         (sendto): Use ',' instead of '.' in prototype.
85935         * manual/startup.texi (syscall): Use @dots{} instead of literal
85936         "...".
85937         * manual/stdio.texi (__fpending): Separate initial words of
85938         paragraph from @deftypefun line.
85939         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85940         "...".
85941         (vsyslog): Use @var{} on parameter names.
85942         * manual/terminal.texi (stty): Use @var{} on parameter names.
85943         * manual/users.texi (getutmp): Use @var{} on parameter names.
85944         (getutmpx): Likewise.
85946 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85948         [BZ #6884]
85949         * manual/stdio.texi (fopen): Fix typos in description of
85950         ",ccs=STRING".
85952 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85954         [BZ #4026]
85955         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85956         get clock_id definition.
85958 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85960         [BZ #4822]
85961         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85962         (madvise): Cast every argument to void on its own.
85964 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85966         [BZ #9902]
85967         * manual/startup.texi (Exit Status): Fix typo.
85969 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85971         [BZ #10140]
85972         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85973         * manual/examples/argp-ex2.c: Likewise.
85974         * manual/examples/argp-ex3.c: Likewise.
85976 2012-02-16  Richard Henderson  <rth@redhat.com>
85978         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85979         * sysdeps/s390/s390-32/initfini.c: Remove.
85980         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85981         * sysdeps/s390/s390-64/initfini.c: Remove.
85983 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85985         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85986         compiler output for sysdeps/generic/initfini.c.
85987         * sysdeps/sh/elf/initfini.c: Remove file.
85989 2012-02-16  David S. Miller  <davem@davemloft.net>
85991         [BZ #11494]
85992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85994         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85995         * sysdeps/sparc/crti.S: New file.
85996         * sysdeps/sparc/crtn.S: New file.
85997         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85998         * sysdeps/sparc/sparc64/Makefile: Likewise.
86000 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86002         [BZ #3335]
86003         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86005 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86007         [BZ #4822]
86008         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86010         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86011         (write, read, close): Likewise.
86012         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86014 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86016         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86017         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86018         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86019         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86020         <bits/signalfd.h>.
86021         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86023         bits/signalfd.h.
86025 2012-02-14  Marek Polacek  <polacek@redhat.com>
86027         * sysdeps/x86_64/crti.S: New file.
86028         * sysdeps/x86_64/crtn.S: New file.
86029         * sysdeps/x86_64/elf/initfini.c: Remove file.
86031 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86033         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86034         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86035         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86036         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86037         <bits/inotify.h>.
86038         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86040         bits/inotify.h.
86042 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86044         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86045         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86046         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86047         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86048         <bits/eventfd.h>.
86049         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86051         bits/eventfd.h.
86053 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
86055         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86056         __feraiseexcept instead of feraiseexcept.
86058         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86059         nanosleep invocations.
86060         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86061         strings, and add error checking for a nanosleep invocations.
86063 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
86065         Replace FSF snail mail address with URLs, as per GNU coding standards.
86066         Most of the snail mail addresses were wrong anyway, and omitting
86067         them makes the source code easier to maintain.  Almost all of the
86068         changes are to license notices and to locale LC_IDENTIFICATION
86069         addresses, except for this one:
86070         * manual/libc.texinfo: In "Published by", give the FSF's URL,
86071         not its snail mail address.
86073 2012-02-09  Richard Henderson  <rth@twiddle.net>
86075         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86076         of kernel-features.h.
86078         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86080 2012-02-08  Marek Polacek  <polacek@redhat.com>
86082         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86083         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86084         * sysdeps/gnu/_G_config.h: Likewise.
86085         * sysdeps/generic/_G_config.h: Likewise.
86087 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
86089         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86090         tests.
86091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86093         * sysdeps/powerpc/powerpc32/crti.S: New file.
86094         * sysdeps/powerpc/powerpc32/crtn.S: New file.
86095         * sysdeps/powerpc/powerpc64/crti.S: New file.
86096         * sysdeps/powerpc/powerpc64/crtn.S: New file.
86098         * Makeconfig (have-initfini): Don't set.
86099         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86100         * configure.in (nopic_initfini): Don't substitute.
86101         * config.h.in (HAVE_INITFINI): Don't #undef.
86102         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86103         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86105 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
86107         Support crti.S and crtn.S provided directly by architectures.
86108         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86109         [crti.S in sysdirs] (omit-deps): Likewise.
86110         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86111         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86112         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86113         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86114         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86115         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86116         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86117         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86118         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86119         compiler output for sysdeps/generic/initfini.c.
86120         * sysdeps/i386/elf/Makefile: Remove file.
86121         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86123 2012-02-07  Marek Polacek  <polacek@redhat.com>
86125         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86126         * sysdeps/gnu/_G_config.h: Likewise.
86127         * sysdeps/mach/hurd/_G_config.h: Likewise.
86129 2012-02-07  Marek Polacek  <polacek@redhat.com>
86131         * math/Makefile (tests): Add tst-CMPLX2.
86132         * math/tst-CMPLX2.c: New file.
86134 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
86136         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86138         * math/libm-test.inc (jn_test): Add missing L suffix.
86140 2012-02-06  Marek Polacek  <polacek@redhat.com>
86142         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86143         * sysdeps/i386/fpu/e_powf.S: Likewise.
86144         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86145         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86146         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86147         * sysdeps/i386/fpu/e_pow.S: Likewise.
86148         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86149         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86150         * sysdeps/i386/fpu/s_expm1.S: Likewise.
86151         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86152         * sysdeps/i386/fpu/e_log2.S: Likewise.
86153         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86154         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86155         * sysdeps/i386/fpu/e_powl.S: Likewise.
86156         * sysdeps/i386/fpu/s_log1p.S: Likewise.
86157         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86158         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86159         * sysdeps/i386/fpu/e_logl.S: Likewise.
86160         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86161         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86162         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86163         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86164         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86165         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86166         * sysdeps/i386/fpu/e_log.S: Likewise.
86167         * sysdeps/i386/fpu/s_cexp.S: Likewise.
86168         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86169         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86170         * sysdeps/i386/fpu/e_logf.S: Likewise.
86171         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86172         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86173         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86174         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86175         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86176         * sysdeps/i386/fpu/e_log10.S: Likewise.
86177         * sysdeps/i386/fpu/s_frexp.S: Likewise.
86178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86179         * sysdeps/i386/fpu/s_asinh.S: Likewise.
86180         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86181         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86182         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86183         * sysdeps/i386/asm-syntax.h: Likewise.
86184         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86185         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86186         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86187         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86188         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86189         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86190         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86191         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86192         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86193         * sysdeps/powerpc/sysdep.h: Likewise.
86194         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86195         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86197 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86199         [BZ #411]
86200         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86202 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86204         * sysdeps/i386/sysdep.h: Include <features.h>.
86205         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86206         version.
86208 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
86210         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86211         Define.
86212         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86213         LOAD_PIC_REG_STR.
86215 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86217         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86218         (SETUP_PIC_REG): Use GET_PC_THUNK.
86219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86220         macro.
86222 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86224         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86225         for non-PIC compilation.
86226         (SETUP_PIC_REG): Add .p2align directive.
86227         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86228         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86229         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86230         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86231         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86232         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86233         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86235         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86236         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86237         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86238         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86239         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86240         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86241         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86242         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86243         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86244         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86245         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86246         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86247         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86248         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86249         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86250         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86251         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86253         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86254         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86255         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86256         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86257         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
86258         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86259         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
86260         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
86261         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
86262         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
86263         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
86264         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
86265         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
86266         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
86267         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
86269 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86271         * math/tst-CMPLX.c: Include <stdio.h>.
86273 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
86275         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86276         float.
86277         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86278         * sysdeps/sparc/bits/mathdef.h: Likewise.
86280 2012-01-31  Marek Polacek  <polacek@redhat.com>
86282         * libio/libio.h: Don't define _PARAMS.
86283         * locale/programs/config.h: Don't define PARAMS.
86284         * stdlib/strtol_l.c: Likewise.
86285         (__strtol_l): Remove PARAMS from the prototype.
86287 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
86289         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
86290         names.  Just use the correct names.  Remove unnecessary wrapper
86291         functions.
86292         * malloc/arena.c: Likewise.
86293         * malloc/hooks.c: Likewise.
86295         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86296         ARENA_TEST says not to.  Simplify test for creation of a new arena.
86297         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86299 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
86301         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86302         into tail calls.
86303         (update_get_addr): New function.
86304         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86305         GET_ADDR_MODULE parameter.
86307 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86309         * crypt/cert.c: Remove __STDC__ conditionals.
86310         * crypt/crypt-entry.c: Likewise.
86311         * crypt/crypt_util.c: Likewise.
86312         * libio/filedoalloc.c: Likewise.
86313         * libio/fileops.c: Likewise.
86314         * libio/genops.c: Likewise.
86315         * libio/iofclose.c: Likewise.
86316         * libio/iofdopen.c: Likewise.
86317         * libio/iofopen.c: Likewise.
86318         * libio/iofopen64.c: Likewise.
86319         * libio/iogetdelim.c: Likewise.
86320         * libio/iopopen.c: Likewise.
86321         * libio/obprintf.c: Likewise.
86322         * libio/oldfileops.c: Likewise.
86323         * libio/oldiofclose.c: Likewise.
86324         * libio/oldiofdopen.c: Likewise.
86325         * libio/oldiofopen.c: Likewise.
86326         * libio/oldiopopen.c: Likewise.
86327         * libio/wfiledoalloc.c: Likewise.
86328         * libio/wgenops.c: Likewise.
86329         * locale/programs/xmalloc.c: Likewise.
86330         * misc/syslog.c: Likewise.
86331         * stdio-common/xbug.c: Likewise.
86332         * string/memchr.c: Likewise.
86333         * string/memcmp.c: Likewise.
86334         * string/memrchr.c: Likewise.
86335         * string/rawmemchr.c: Likewise.
86336         * sysdeps/posix/getcwd.c: Likewise.
86337         * time/strftime_l.c: Likewise.
86339 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86341         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86342         * config.make.in (config-cflags-sse2avx): Define.
86343         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86344         Fix typo.
86346 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
86348         * scripts/config.guess: Update from upstream config git repository.
86349         * scripts/config.sub: Likewise.
86351 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
86353         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86354         (EM_NUM): Update.
86355         (R_TILEPRO_*, R_TILEGX_*): New macros.
86357         * scripts/firstversions.awk: Fix bug in version range handling.
86359         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86361         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86363         * include/sys/epoll.h: New file.
86364         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86365         libc_hidden_def.
86367 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
86369         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86370         Avoid unnecessary __WORDSIZE == 64 test.
86371         (fmaxf): Use VEX format if possible.
86372         (fmax): Likewise.
86373         (fminf): Likewise.
86374         (fmin): Likewise.
86376         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86377         * math/math_private.h: Remove libc_fegetround* and
86378         libc_fesetround*.
86379         * sysdeps/i386/configure.in: Check for -msse2avx.
86380         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86381         also if SSE2AVX is defined.
86382         Remove libc_fegetround* and libc_fesetround*.
86383         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86384         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
86385         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86386         of HAS_YMM_USABLE.
86387         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86388         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86391         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86393         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86395 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86397         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86398         size is not set.
86399         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86401 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
86403         [BZ #13618]
86404         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86405         relocation.
86406         * Makeconfig (libm): Define.
86407         * elf/Makefile: Add rules to build and run tst-relsort1.
86408         * elf/tst-relsort1.c: New file.
86409         * elf/tst-relsort1mod1.c: New file.
86410         * elf/tst-relsort1mod2.c: New file.
86412 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
86414         * math/s_ldexp.c: Remove __STDC__ conditionals.
86415         * math/s_ldexpf.c: Likewise.
86416         * math/s_ldexpl.c: Likewise.
86417         * math/s_nextafter.c: Likewise.
86418         * math/s_nexttowardf.c: Likewise.
86419         * math/s_significand.c: Likewise.
86420         * math/s_significandf.c: Likewise.
86421         * math/s_significandl.c: Likewise.
86422         * math/w_jnl.c: Likewise.
86423         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86424         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86425         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86426         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86427         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86429         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86430         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86431         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86432         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86433         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86435         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86436         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86437         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86438         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86439         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86440         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86442         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86443         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86444         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86445         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86446         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86447         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86448         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86449         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86450         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86451         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86452         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86453         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86454         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86455         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86456         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86457         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86458         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86459         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86460         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86461         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86462         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86463         * sysdeps/ieee754/k_standard.c: Likewise.
86464         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86465         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86466         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86467         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86468         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86469         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86470         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86471         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86472         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86473         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86474         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86475         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86476         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86477         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86478         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86479         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86480         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86481         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86482         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86483         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86484         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86485         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86486         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86487         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86488         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86489         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86491         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86493         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86495         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86496         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86497         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86499         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86500         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86501         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86502         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86503         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86504         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86506         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86507         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86508         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86509         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86510         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86513         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86514         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86517         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86518         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86519         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86520         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86521         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86522         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86523         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86524         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86525         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86526         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86527         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86528         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86529         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86530         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86531         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86532         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86533         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86534         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86535         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86536         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86537         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86538         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86539         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86540         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86541         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86542         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86543         * sysdeps/ieee754/s_matherr.c: Likewise.
86544         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86545         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86546         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86547         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86549 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86551         * crypt/md5.h: Remove __STDC__ conditionals.
86552         * libio/libioP.h: Likewise.
86553         * locale/programs/config.h: Likewise.
86554         * sysdeps/generic/sysdep.h: Likewise.
86555         * sysdeps/i386/asm-syntax.h: Likewise.
86556         * sysdeps/s390/asm-syntax.h: Likewise.
86557         * sysdeps/unix/sysdep.h: Likewise.
86558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86561 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86563         * libio/libio.h: Remove __STDC__ conditionals.
86564         * malloc/obstack.h: Likewise.
86565         * math/complex.h: Likewise.
86566         * math/math.h: Likewise.
86567         * sysdeps/generic/_G_config.h: Likewise.
86568         * sysdeps/gnu/_G_config.h: Likewise.
86569         * sysdeps/mach/hurd/_G_config.h: Likewise.
86570         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86571         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86572         * sysdeps/sparc/bits/mathdef.h: Likewise.
86574 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86576         [BZ #13583]
86577         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86578         Clean up HAS_* macros.
86579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86580         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86581         possible.
86582         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86583         HAS_AVX.
86584         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86585         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86586         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86587         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86588         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86590 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86592         * elf/tst-unique3.cc (gets): Remove declaration.
86593         * elf/tst-unique3lib.cc (gets): Likewise.
86594         * elf/tst-unique3lib2.cc (gets): Likewise.
86595         * elf/tst-unique4.cc (gets): Likewise.
86597 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86599         * include/stdio.h: Add C++ protection.  Add gets declarations and
86600         definitions.
86601         * debug/tst-chk1.c: Don't declare gets here.
86602         * stdio-common/tst-gets.c: Likewise.
86604 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86606         * posix/glob: Remove directory.
86608 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86610         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86612 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86614         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86615         of the non-standard EPFNOSUPPORT.
86617 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86619         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86620         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86621         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86623 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86625         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86627 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86629         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86630         transient errors.
86631         * nscd/grpcache.c (cache_addgr): Likewise.
86632         * nscd/hstcache.c (cache_addhst): Likewise.
86633         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86634         * nscd/pwdcache.c (cache_addpw): Likewise.
86635         * nscd/servicescache.c (cache_addserv): Likewise.
86637 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86639         * malloc/malloc.c: Various cleanups.
86640         * malloc/hooks.c: Likewise.
86642         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86643         * stdlib/bug-fmtmsg1.c: New file.
86645         * stdlib/fmtmsg.c (init): Add missing unlock.
86646         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86648 2012-01-12  Marek Polacek  <polacek@redhat.com>
86650         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86651         and _GNU_SOURCE.
86653 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86655         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86656         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86657         macro to ensure uniqueness of label name.
86658         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86659         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86661 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86663         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86665         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86666         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86667         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86670 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86672         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86674         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86675         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86676         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86678         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86680         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86681         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86682         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86683         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86685         * math/bits/math-finite.h: Add ldexp support.
86687 2012-01-10  Marek Polacek  <polacek@redhat.com>
86689         * locale/programs/localedef.h (show_archive_content): Add noreturn
86690         attribute.
86692 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
86694         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86696 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86698         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86700         * io/Makefile (headers): Add bits/poll2.h.
86702 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
86704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86705         typo #include statement.
86707 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86709         * include/sys/cdefs.h: Define __attribute_alloc_size.
86710         * catgets/gencat.c: Add alloc_size attribute and apply consistently
86711         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86712         * elf/pldd.c: Likewise.
86713         * iconv/iconv_charmap.c: Likewise.
86714         * iconv/iconvconfig.c: Likewise.
86715         * iconv/strtab.c: Likewise.
86716         * locale/programs/locale.c: Likewise.
86717         * locale/programs/localedef.h: Likewise.
86718         * locale/programs/simple-hash.c: Likewise.
86719         * nscd/nscd.h: Likewise.
86720         * nss/makedb.c: Likewise.
86721         * sysdeps/generic/ldconfig.h: Likewise.
86722         * locale/programs/localedef.c: Remove xmalloc prototype.
86723         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86725 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86727         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86728         appropriate.
86730 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86732         * math/Makefile (tests): Add tst-CMPLX.
86733         * math/tst-CMPLX.c: New file.
86735         * math/complex.h (CMPLXL): Fix typo.
86737         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86738         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86739         GLIBC_2.16.
86740         * debug/tst-chk1.c: Add poll and ppoll tests.
86741         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86742         * include/sys/poll.h: Add hidden proto for ppoll.
86743         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86744         * sysdeps/mach/hurd/ppoll.c: Likewise.
86745         * io/ppoll.c: Likewise.
86746         * debug/poll_chk.c: New file.
86747         * debug/ppoll_chk.c: New file.
86748         * include/bits/poll2.h: New file.
86749         * io/bits/poll2.h: New file.
86751         [BZ #1350]
86752         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86754         * configure.in: static is always set to yes.  Remove.
86755         * config.make.in: Don't set build-static.
86756         * Makeconfig: Remove use of build-static.
86757         * dlfcn/Makefile: Likewise.
86758         * elf/Makefile: Likewise.
86759         * math/Makefile: Likewise.
86760         * misc/Makefile: Likewise.
86761         * nptl/Makefile: Likewise.
86762         * sysdeps/mach/hurd/Makefile: Likewise.
86764         * configure.in: PWD_P is not used anymore.
86765         * config.make.in: Remove PWD_P entry.
86767         * configure.in: Remove last remnants of RANLIB.
86768         No need to check for signed size_t anymore.
86769         Don't set libc_commonpagesize and libc_relro_required here for Alpha
86770         and IA-64.
86771         Remove __builtin_expect test because we require at least gcc 3.4.
86772         * aclocal.m4: Likewise.
86774         * wcsmbs/mbrtoc16.c: Implement using towc function.
86775         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86776         * wcsmbs/wcsmbsload.c: Likewise.
86777         * iconv/gconv_simple.c: Likewise.
86778         * iconv/gconv_int.h: Likewise.
86779         * iconv/gconv_builtin.h: Likewise.
86780         * iconv/iconv_prog.c: Remove CHAR16 handling.
86782         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86784         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86786         * configure.in: Remove --with-elf and --enable-bounded options.
86787         Dont set base_machine for ia64.  More non-ELF conditions removed.
86788         Remove testing and setting of leading underscore information.
86789         * config.make.in (build-bounded): Set to no.
86790         * config.h.in: Remove NO_UNDERSCORES entry.
86791         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
86792         them.
86793         * csu/start.c: Remove !NO_UNDERSCORE code.
86794         * locale/localeinfo.h: Likewise.
86795         * sysdeps/generic/machine-gmon.h: Likewise.
86796         * sysdeps/generic/sysdep.h: Likewise.
86797         * sysdeps/i386/sysdep.h: Likewise.
86798         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86799         * sysdeps/mach/sysdep.h: Likewise.
86800         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86801         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86802         * sysdeps/sh/sysdep.h: Likewise.
86803         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86804         * sysdeps/unix/i386/sysdep.S: Likewise.
86805         * sysdeps/unix/sparc/start.c: Likewise.
86806         * sysdeps/unix/sparc/sysdep.S: Likewise.
86807         * sysdeps/unix/sparc/sysdep.h: Likewise.
86808         * sysdeps/unix/start.c: Likewise.
86809         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86810         * sysdeps/x86_64/sysdep.h: Likewise.
86812 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86814         [BZ #13553]
86815         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86816         for non-gcc.
86817         * argp/argp-fmtstream.h: Use const instead __const.
86818         * argp/argp.h: Likewise.
86819         * assert/assert.h: Likewise.
86820         * bits/fenv.h: Likewise.
86821         * bits/sched.h: Likewise.
86822         * bits/sigset.h: Likewise.
86823         * bits/sigthread.h: Likewise.
86824         * catgets/nl_types.h: Likewise.
86825         * conform/data/pthread.h-data: Likewise.
86826         * crypt/crypt-private.h: Likewise.
86827         * crypt/crypt.h: Likewise.
86828         * crypt/crypt_util.c: Likewise.
86829         * ctype/ctype.h: Likewise.
86830         * debug/execinfo.h: Likewise.
86831         * debug/mbsnrtowcs_chk.c: Likewise.
86832         * debug/mbsrtowcs_chk.c: Likewise.
86833         * debug/wcsnrtombs_chk.c: Likewise.
86834         * debug/wcsrtombs_chk.c: Likewise.
86835         * debug/wcstombs_chk.c: Likewise.
86836         * dirent/dirent.h: Likewise.
86837         * dlfcn/dlfcn.h: Likewise.
86838         * elf/neededtest4.c: Likewise.
86839         * grp/grp.h: Likewise.
86840         * gshadow/gshadow.h: Likewise.
86841         * iconv/gconv.h: Likewise.
86842         * iconv/gconv_int.h: Likewise.
86843         * iconv/gconv_simple.c: Likewise.
86844         * iconv/iconv.h: Likewise.
86845         * iconv/loop.c: Likewise.
86846         * iconv/skeleton.c: Likewise.
86847         * include/aio.h: Likewise.
86848         * include/aliases.h: Likewise.
86849         * include/argz.h: Likewise.
86850         * include/arpa/inet.h: Likewise.
86851         * include/assert.h: Likewise.
86852         * include/dirent.h: Likewise.
86853         * include/dlfcn.h: Likewise.
86854         * include/execinfo.h: Likewise.
86855         * include/fcntl.h: Likewise.
86856         * include/fenv.h: Likewise.
86857         * include/glob.h: Likewise.
86858         * include/grp.h: Likewise.
86859         * include/libintl.h: Likewise.
86860         * include/mntent.h: Likewise.
86861         * include/netdb.h: Likewise.
86862         * include/pwd.h: Likewise.
86863         * include/rpc/netdb.h: Likewise.
86864         * include/sched.h: Likewise.
86865         * include/search.h: Likewise.
86866         * include/shadow.h: Likewise.
86867         * include/signal.h: Likewise.
86868         * include/stdio.h: Likewise.
86869         * include/stdlib.h: Likewise.
86870         * include/string.h: Likewise.
86871         * include/sys/socket.h: Likewise.
86872         * include/sys/stat.h: Likewise.
86873         * include/sys/statfs.h: Likewise.
86874         * include/sys/statvfs.h: Likewise.
86875         * include/sys/syslog.h: Likewise.
86876         * include/sys/time.h: Likewise.
86877         * include/sys/uio.h: Likewise.
86878         * include/time.h: Likewise.
86879         * include/unistd.h: Likewise.
86880         * include/utmp.h: Likewise.
86881         * include/wchar.h: Likewise.
86882         * include/wctype.h: Likewise.
86883         * inet/aliases.h: Likewise.
86884         * inet/arpa/inet.h: Likewise.
86885         * inet/netinet/ether.h: Likewise.
86886         * inet/netinet/in.h: Likewise.
86887         * intl/libintl.h: Likewise.
86888         * io/bits/fcntl2.h: Likewise.
86889         * io/fcntl.h: Likewise.
86890         * io/ftw.h: Likewise.
86891         * io/sys/poll.h: Likewise.
86892         * io/sys/stat.h: Likewise.
86893         * io/sys/statfs.h: Likewise.
86894         * io/sys/statvfs.h: Likewise.
86895         * io/utime.h: Likewise.
86896         * libio/bits/stdio.h: Likewise.
86897         * libio/bits/stdio2.h: Likewise.
86898         * libio/libio.h: Likewise.
86899         * libio/libioP.h: Likewise.
86900         * libio/stdio.h: Likewise.
86901         * locale/lc-ctype.c: Likewise.
86902         * locale/locale.h: Likewise.
86903         * login/utmp.h: Likewise.
86904         * malloc/arena.c: Likewise.
86905         * malloc/malloc.c: Likewise.
86906         * malloc/malloc.h: Likewise.
86907         * malloc/mcheck.c: Likewise.
86908         * malloc/mtrace.c: Likewise.
86909         * math/bits/mathcalls.h: Likewise.
86910         * math/fenv.h: Likewise.
86911         * math/math_private.h: Likewise.
86912         * misc/bits/error.h: Likewise.
86913         * misc/bits/syslog.h: Likewise.
86914         * misc/err.h: Likewise.
86915         * misc/error.h: Likewise.
86916         * misc/fstab.h: Likewise.
86917         * misc/mntent.h: Likewise.
86918         * misc/regexp.h: Likewise.
86919         * misc/search.h: Likewise.
86920         * misc/sgtty.h: Likewise.
86921         * misc/sys/mman.h: Likewise.
86922         * misc/sys/syslog.h: Likewise.
86923         * misc/sys/uio.h: Likewise.
86924         * misc/sys/xattr.h: Likewise.
86925         * misc/ttyent.h: Likewise.
86926         * nis/rpcsvc/ypclnt.h: Likewise.
86927         * nss/nss.h: Likewise.
86928         * posix/bits/unistd.h: Likewise.
86929         * posix/fnmatch.h: Likewise.
86930         * posix/glob.h: Likewise.
86931         * posix/sched.h: Likewise.
86932         * posix/spawn.h: Likewise.
86933         * posix/sys/wait.h: Likewise.
86934         * posix/unistd.h: Likewise.
86935         * posix/wordexp.h: Likewise.
86936         * pwd/pwd.h: Likewise.
86937         * resolv/netdb.h: Likewise.
86938         * resource/sys/resource.h: Likewise.
86939         * rt/aio.h: Likewise.
86940         * rt/bits/mqueue2.h: Likewise.
86941         * rt/mqueue.h: Likewise.
86942         * shadow/shadow.h: Likewise.
86943         * signal/signal.h: Likewise.
86944         * socket/send.c: Likewise.
86945         * socket/sendto.c: Likewise.
86946         * socket/sys/socket.h: Likewise.
86947         * stdio-common/printf.h: Likewise.
86948         * stdlib/bits/stdlib.h: Likewise.
86949         * stdlib/fmtmsg.h: Likewise.
86950         * stdlib/monetary.h: Likewise.
86951         * stdlib/stdlib.h: Likewise.
86952         * stdlib/ucontext.h: Likewise.
86953         * streams/stropts.h: Likewise.
86954         * string/argz.h: Likewise.
86955         * string/bits/string2.h: Likewise.
86956         * string/string.h: Likewise.
86957         * string/strings.h: Likewise.
86958         * sunrpc/rpc/auth.h: Likewise.
86959         * sunrpc/rpc/auth_des.h: Likewise.
86960         * sunrpc/rpc/clnt.h: Likewise.
86961         * sunrpc/rpc/netdb.h: Likewise.
86962         * sunrpc/rpc/pmap_clnt.h: Likewise.
86963         * sunrpc/rpc/xdr.h: Likewise.
86964         * sysdeps/generic/inttypes.h: Likewise.
86965         * sysdeps/generic/net/if.h: Likewise.
86966         * sysdeps/generic/sys/swap.h: Likewise.
86967         * sysdeps/gnu/net/if.h: Likewise.
86968         * sysdeps/gnu/utmpx.h: Likewise.
86969         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86970         * sysdeps/i386/i486/bits/string.h: Likewise.
86971         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86972         * sysdeps/s390/bits/string.h: Likewise.
86973         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86974         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86975         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86976         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86977         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86978         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86979         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86980         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86981         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86982         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86983         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86984         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86985         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86986         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86987         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86988         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86989         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86991         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86992         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86993         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86994         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86995         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86996         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86997         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86998         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86999         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87000         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87001         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87002         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87003         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87004         * sysvipc/sys/ipc.h: Likewise.
87005         * sysvipc/sys/msg.h: Likewise.
87006         * sysvipc/sys/sem.h: Likewise.
87007         * sysvipc/sys/shm.h: Likewise.
87008         * termios/termios.h: Likewise.
87009         * time/sys/time.h: Likewise.
87010         * time/time.h: Likewise.
87011         * wcsmbs/bits/wchar2.h: Likewise.
87012         * wcsmbs/uchar.h: Likewise.
87013         * wcsmbs/wchar.h: Likewise.
87014         * wctype/wctype.h: Likewise.
87016         [BZ #13551]
87017         * Makeconfig: Remove all but ELF support including AIX support.
87018         * Makerules: Likewise.
87019         * config.h.in: Likewise.
87020         * config.make.in: Likewise.
87021         * configure: Likewise.
87022         * configure.in: Likewise.
87023         * csu/Makefile: Likewise.
87024         * csu/version.c: Likewise.
87025         * debug/Makefile: Likewise.
87026         * dlfcn/Makefile: Likewise.
87027         * elf/Makefile: Likewise.
87028         * extra-lib.mk: Likewise.
87029         * iconv/Makefile: Likewise.
87030         * include/libc-symbols.h: Likewise.
87031         * include/shlib-compat.h: Likewise.
87032         * resolv/Makefile: Likewise.
87033         * resolv/res_libc.c: Likewise.
87034         * rt/Makefile: Likewise.
87035         * sysdeps/i386/asm-syntax.h: Likewise.
87036         * sysdeps/i386/sysdep.h: Likewise.
87037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87038         * sysdeps/mach/sysdep.h: Likewise.
87039         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87040         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87041         * sysdeps/s390/asm-syntax.h: Likewise.
87042         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87043         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87044         * sysdeps/sh/sysdep.h: Likewise.
87045         * sysdeps/unix/sparc/sysdep.h: Likewise.
87046         * sysdeps/wordsize-32/divdi3.c: Likewise.
87047         * sysdeps/x86_64/sysdep.h: Likewise.
87049         * argp/Versions: Remove _argp_unlock_xxx.
87051         [BZ #13559]
87052         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
87053         * abilist/libBrokenLocale.abilist: Likewise.
87054         * abilist/libanl.abilist: Likewise.
87055         * abilist/libc.abilist: Likewise.
87056         * abilist/libcrypt.abilist: Likewise.
87057         * abilist/libdl.abilist: Likewise.
87058         * abilist/libm.abilist: Likewise.
87059         * abilist/libnsl.abilist: Likewise.
87060         * abilist/libpthread.abilist: Likewise.
87061         * abilist/libresolv.abilist: Likewise.
87062         * abilist/librt.abilist: Likewise.
87063         * abilist/libthread_db.abilist: Likewise.
87064         * abilist/libutil.abilist: Likewise.
87065         * abilist/libnss_db.abilist: New file.
87067         * scripts/abilist.awk: Add support for indirect functions.
87069         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87071         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87073         * shlib-versions: Remove entries for ports architectures.
87075         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
87076         files in ports.
87077         * elf/stackguard-macros.h: Remove support for IA-64.
87078         * elf/tst-auditmod1.c: Likewise.
87079         * sysdeps/generic/ldsodefs.h: Likewise.
87081         * sysdeps/unix/sysv/linux/configure.in: Ports should define
87082         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87083         configure files.
87085         [BZ #13552]
87086         * configure.in: Remove --enable-omitfp support.
87087         * FAQ.in: Adjust.
87088         * config.make.in: Likewise.
87089         * Makeconfig: Likewise.
87090         * manual/install.texi: Likewise.
87092         In case anyone cares, the IA-64 architecture could move to ports.
87093         * sysdeps/ia64/*: Removed.
87094         * sysdeps/unix/sysv/linux/ia64/*: Removed.
87095         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87097         [BZ #13555]
87098         * configure.in: Remove entries for unsupported architectures.
87100         [BZ #13533]
87101         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87102         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
87103         routines.
87104         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87105         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87106         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
87107         fall back to using wcrtomb.
87108         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87109         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
87110         renaming.
87111         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87112         * wcsmbs/tst-c16c32-1.c: New file.
87114         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87115         local variable.
87117         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87119         * elf/tst-unique3.cc: Add explicit declaration of gets.
87120         * elf/tst-unique3lib.cc: Likewise.
87121         * elf/tst-unique3lib2.cc: Likewise.
87122         * elf/tst-unique4.cc: Likewise.
87124         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87126 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
87128         [BZ #13566]
87129         * assert/assert.h (static_assert): Don't define for C++.
87130         * libio/stdio.h (gets): Do declare for C++ <= C++11.
87131         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87133 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
87135         * iconv/loop.c (single loop): Fix assertion in storing of
87136         remaining bytes.
87138         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87140 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
87142         * posix/getconf.c: Update copyright year.
87143         * nss/getent.c: Likewise.
87144         * nss/makedb.c: Likewise.
87145         * iconv/iconvconfig.c: Likewise.
87146         * iconv/iconv_prog.c: Likewise.
87147         * elf/ldconfig.c: Likewise.
87148         * elf/pldd.c: Likewise.
87149         * elf/sotruss.ksh: Likewise.
87150         * catgets/gencat.c: Likewise.
87151         * csu/version.c: Likewise.
87152         * elf/ldd.bash.in: Likewise.
87153         * elf/sprof.c (print_version): Likewise.
87154         * locale/programs/locale.c: Likewise.
87155         * locale/programs/localedef.c: Likewise.
87156         * login/programs/pt_chown.c: Likewise.
87157         * nscd/nscd.c (print_version): Likewise.
87158         * debug/xtrace.sh: Likewise.
87159         * malloc/memusage.sh: Likewise.
87160         * malloc/mtrace.pl: Likewise.
87161         * debug/catchsegv.sh: Likewise.
87163 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
87165         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87166         pure attribute.
87168 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
87170         [BZ #13533]
87171         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87172         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87173         transformations.
87174         * iconv/gconv_int.h: Likewise.
87175         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87176         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87177         from libc for GLIBC_2.16.
87178         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87179         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87180         * wcsmbs/uchar.h: Really define mbstate_t.
87181         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87182         * wcsmbs/c16rtomb.c: New file.
87183         * wcsmbs/mbrtoc16.c: New file.
87184         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87185         for C/POSIX locale.
87186         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87187         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87189         * wcsmbs/wchar.h: Add missing __restrict.
87191 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87193         [BZ #13532]
87194         * time/Makefile (routines): Add timespec_get.
87195         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87196         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
87197         timespec for ISO C11.
87198         * time/timespec_get.c: New file.
87199         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87200         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87202         [BZ #13531]
87203         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87204         * stdlib/stdlib.h: Declare aligned_alloc.
87205         * Versions.def: Add GLIBC_2.16 for libc.
87206         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87208         [BZ 13527]
87209         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87210         ISO C11.
87212         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87213         code.
87215         [BZ #13528]
87216         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87218         [BZ #13529]
87219         * assert/assert.h (static_assert): Define.
87221         * version.h: Update for 2.16 development version.
87223         [BZ #13526]
87224         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87225         _ISOC11_SOURCE.
87227         * version.h (RELEASE): Bump for 2.15 release.
87228         * include/features.h (__GLIBC_MINOR__): Bump to 15.
87230         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87231         Patch by Marek Polacek <mpolacek@redhat.com>.
87233         * bits/byteswap.h: Protect long long constants with __extension__.
87234         * sysdeps/i386/bits/byteswap.h: Likewise.
87235         * sysdeps/ia64/bits/byteswap.h: Likewise.
87236         * sysdeps/s390/bits/byteswap.h: Likewise.
87237         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87239 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87241         [BZ #13540]
87242         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87243         destination buffer.
87244         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87246 2011-12-23  Marek Polacek  <polacek@redhat.com>
87248         * elf/dl-addr.c (determine_info): Add inline keyword.
87249         * elf/tst-auditmod4b.c (check_avx): Likewise.
87250         * elf/tst-auditmod6b.c (check_avx): Likewise.
87251         * elf/tst-auditmod6c.c (check_avx): Likewise.
87252         * elf/tst-auditmod7b.c (check_avx): Likewise.
87254 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87256         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87257         !__SSE_MATH__.
87259 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87261         [BZ #13540]
87262         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
87263         processing for last bytes.
87265 2011-08-06  Bruno Haible  <bruno@clisp.org>
87267         [BZ #13061]
87268         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
87269         U+0385, not to U+1FEE.
87271         [BZ #13062]
87272         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
87273         entry for U+00A5 U+0301.
87275 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87277         [BZ #13166]
87278         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87279         buffer for the output is too small.
87281         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87282         optimization.
87284         [BZ #13185]
87285         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87286         SSE flags if possible.
87288 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87290         [BZ #13540]
87291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87292         processing for last bytes.
87294 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
87296         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87297         (syscall-list-default-options, syscall-list-default-condition)
87298         (syscall-list-includes): Define.
87299         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87300         list of ABIs and options and #if conditions for each ABI.  Do not
87301         handle common syscalls between ABIs specially.
87302         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87303         Remove.
87304         (syscall-list-variants, syscall-list-32bit-options)
87305         (syscall-list-32bit-condition, syscall-list-64bit-options)
87306         (syscall-list-64bit-condition): Define.
87307         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87308         (syscall-list-variants, syscall-list-32bit-options)
87309         (syscall-list-32bit-condition, syscall-list-64bit-options)
87310         (syscall-list-64bit-condition): Define.
87311         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
87312         Remove.
87313         (syscall-list-variants, syscall-list-32bit-options)
87314         (syscall-list-32bit-condition, syscall-list-64bit-options)
87315         (syscall-list-64bit-condition): Define.
87316         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
87317         Remove.
87318         (syscall-list-variants, syscall-list-32bit-options)
87319         (syscall-list-32bit-condition, syscall-list-64bit-options)
87320         (syscall-list-64bit-condition): Define.
87322 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87324         * locale/iso-639.def: Add brx entry.
87326         [BZ #13328]
87327         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87328         Proposed by Mariusz_Cukr <marcukr@op.pl>.
87330         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87331         __feraiseexcept_renamed.
87333 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87335         [BZ #13538]
87336         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87337         EPOLLET with unsigned values.
87338         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87339         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87341         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87342         to large cancellation.
87343         * math/s_cacoshf.c: Likewise.
87344         * math/s_cacoshl.c: Likewise.
87346 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
87348         [BZ #13305]
87349         [BZ #12786]
87350         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87351         * math/s_cacoshf.c: Likewise.
87352         * math/s_cacoshl.c: Likewise.
87354 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87356         [BZ #13439]
87357         * iconv/gconv.h: Define __GCONV_SWAP.
87358         * iconvdata/unicode.c: The swap bit must be stored in __flags.
87359         * iconvdata/utf-16.c: Likewise.
87360         * iconvdata/utf-32.c: Likewise.
87362 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
87364         [BZ #13524]
87365         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87366         numerator after shifting it by one limb.
87368 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
87370         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87371         under [__USE_EXTERN_INLINES].
87373 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87375         [BZ #13446]
87376         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87378 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87380         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87381         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87382         optimized code.
87383         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87384         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87385         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87386         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87387         for strncasecmp/strncasecmp_l compilation.
87388         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87389         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87391 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
87393         [BZ #13484]
87394         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87395         of __asm__.
87397 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87399         [BZ #13506]
87400         * time/tzfile.c (__tzfile_read): Check values from file header.
87402 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
87404         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87405         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87406         * powerpc/powerpc32/dl-start.S: Likewise.
87407         * powerpc/powerpc32/elf/start.S: Likewise.
87408         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87409         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87410         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87411         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87412         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87413         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87414         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87415         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87416         * powerpc/powerpc32/fpu/s_round.S: Likewise.
87417         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87418         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87419         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87420         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87421         * powerpc/powerpc32/memset.S: Likewise.
87422         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87423         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87424         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87425         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87426         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87427         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87428         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87429         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87430         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87431         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87432         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87433         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87434         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87436 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87438         * math/libm-test.inc: Added more nearbyint tests.
87439         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87442         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87444 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87446         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87447         FD_CLOEXEC.
87449 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87451         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87452         Add wcscpy-ssse3 wcscpy-c.
87453         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87454         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87455         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87456         * sysdeps/x86_64/wcschr.S: New file.
87457         * sysdeps/x86_64/wcsrchr.S: New file.
87458         * string/test-strcmp.c: Remove checking of wcscmp function for
87459         wrong alignments.
87460         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87461         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87462         wcsrchr-sse2 wcsrchr-c.
87463         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87464         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87465         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87466         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87467         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87468         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87469         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87470         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87471         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87472         * wcsmbc/wcschr.c (WCSCHR): New macro.
87474 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87476         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87477         * wcsmbs/test-wcsrchr.c: New file.
87478         * string/test-strrchr.c: Add wcsrchr support.
87479         (WIDE): New macro.
87480         * wcsmbs/test-wcscpy.c: New file.
87481         * string/test-strcpy.c: Add wcscpy support.
87482         (WIDE): New macro.
87484 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87486         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87487         the inner loop.
87489 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87491         [BZ #13472]
87492         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87494 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87496         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87497         Minor optimizations.
87499         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87500         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87501         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87503 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87505         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87506         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87507         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87508         for gcc to avoid warnings.
87509         * inet/Makefile (tests): Add tst-checks.
87510         * inet/tst-checks.c: New file.
87512         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87513         warning.
87515         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87516         __wmemcmp_sse2.
87518         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87519         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87521         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87523 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87525         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87526         problem.
87528         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87530 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87532         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87533         conditional on GCC version.
87534         (__arch_compare_and_exchange_val_8_acq)
87535         (__arch_compare_and_exchange_val_16_acq)
87536         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87537         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87538         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87540 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87542         * sysdeps/sh/backtrace.c: New file.
87544 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87546         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87547         parenthesis.
87549 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87551         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87552         falling back to utime.
87554 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87556         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87557         expectations for float.
87559 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87561         * locale/weight.h (findidx): Add parameter len.
87562         * locale/weightwc.h (findidx): Likewise.
87563         * posix/fnmatch_loop.c (FCT): Adjust caller.
87564         * posix/regcomp.c (build_equiv_class): Likewise.
87565         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87566         * posix/regexec.c (check_node_accept_bytes): Likewise.
87567         * string/strcoll_l.c (STRCOLL): Likewise.
87568         * string/strxfrm_l.c (STRXFRM): Likewise.
87570 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87572         * Makefile.in: Remove CVSOPT handling.
87573         * configure.in: Remove use of AC_REVISION.
87574         * iconvdata/Makefile (distribute): No need to filter out CVS.
87575         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87576         handling.
87578 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87581         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87582         [USE_AS_STRNCASECMP_L]: Likewise.
87583         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87584         NO_TLS_DIRECT_SEG_REFS.
87585         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87586         Fix argument offsets for non-PIC.
87587         [USE_AS_STRNCASECMP_L]: Likewise.
87588         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87589         NO_TLS_DIRECT_SEG_REFS.
87591 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87593         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87594         O_CLOEXEC.
87595         * locale/loadlocale.c (_nl_load_locale): Likewise.
87597 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87599         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87600         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87601         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87602         (SYSCALL_GETTIME): Set errno on error.
87604         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87605         count references to noai6ai_cached.
87607 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87609         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87611         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87612         FD_CLOEXEC for /proc/self/maps.
87614         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87615         FD_CLOEXEC for /proc/meminfo.
87617         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87618         gai.conf.
87620         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87621         FD_CLOEXEC for given file.
87623         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87625         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87626         FD_CLOEXEC for /etc/hosts.
87627         (_gethtent): Likewise.
87629         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87631         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87632         cancellation and set FD_CLOEXEC for /etc/netgroup.
87634         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87635         reading /etc/publickey.
87637         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87638         allow cancellation when reading /etc/group.
87640         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87641         cancellation.
87642         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87644         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87645         when using data file.
87647         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87649         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87650         (write_nis_obj): Use "c" and "e" in fopen.
87652         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87654         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87656         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87658         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87660         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87661         locale.alias.
87663         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87665         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87667         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87669         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87670         file parsing and set FD_CLOEXEC.
87672 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87674         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87676 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87678         * malloc/arena.c (arena_get2): Don't call reused_arena when
87679         _int_new_arena failed.
87681 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87683         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87684         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87686         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87687         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87688         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87689         to compile strcasecmp and strncasecmp.
87690         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87691         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87695 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
87697         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87698         locale-defines.sym to gen-as-const-headers.
87699         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87700         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87701         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87702         to compile strcasecmp and strncasecmp.
87703         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87704         strcasecmp_l and strncasecmp_l.
87705         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87706         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87707         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87708         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87709         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87710         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87711         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87712         * sysdeps/i386/i686/multiarch/strncase.S: New file.
87713         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87714         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87715         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87717 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
87719         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87720         result of SYSDEP_GETTIME_CPU to retval.
87721         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87722         parameter list to macro.  Remove trailing semicolon.  Adjust users.
87724         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87725         variable.
87727         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87728         mantissa words.
87729         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87731         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87732         from unused variable.
87734         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87735         DWARF definitions.
87736         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87737         for assembling.
87739         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87740         over namespaces.
87742         * sunrpc/rpc_prot.c (rejected): Fix case value.
87744         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87745         unsigned long long int to avoid warnings in shift.
87747         * posix/regex_internal.c (re_string_reconstruct): Actually use result
87748         of use of trans.
87749         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87750         variable tmp.
87752         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87753         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87754         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87756         * nis/nis_table.c (nis_list): Use variable of correct type for
87757         result of __follow_path call.
87759 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87761         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87762         of math functions ceil, trunc, floor, round, and sqrt, when
87763         avaliable on the platform.
87764         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87765         name clash.
87766         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87767         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87768         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87770 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
87772         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87773         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87775 2011-11-11  Roland McGrath  <roland@hack.frob.com>
87777         * include/unistd.h: Fix __readlink return type.
87778         Reported by Chris Metcalf <cmetcalf@tilera.com>.
87780 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
87782         * stdlib/ucontext.h: Undo last change for makecontext.
87784 2011-11-11  Andreas Schwab  <schwab@redhat.com>
87786         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87788         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87789         * setjmp/setjmp.h: Mark functions as non-leaf.
87790         * setjmp/bits/setjmp2.h: Likewise.
87791         * stdlib/ucontext.h: Likewise.
87793 2011-11-10  Andreas Schwab  <schwab@redhat.com>
87795         * malloc/arena.c (_int_new_arena): Don't increment narenas.
87796         (reused_arena): Don't check arena limit.
87797         (arena_get2): Atomically check arena limit.
87799 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
87801         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87802         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87804         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87805         instructions.
87807 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87809         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87810         handler when locking.
87812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87813         Fix size of allocated buffer.
87815 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87817         [BZ #10103]
87818         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87819         declarations for long double functions.
87820         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87822         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87824 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87826         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87827         installed.
87829         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87830         is disabled.
87832 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87834         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87836 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87838         * include/alloca.h (stackinfo_alloca_round): Define.
87839         (extend_alloca): Use it.
87840         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87841         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87842         here.
87844         * scripts/check-local-headers.sh: Ignore libaudit.h.
87846         * nscd/Makefile (extra-objs): Make recursively expanded.
87848 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87850         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87853         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87854         * posix/tst-rfc3484-2.c: Likewise.
87855         * posix/tst-rfc3484-3.c: Likewise.
87857         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87858         process_vm_writev.
87859         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87860         process_vm_writev.
87861         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87862         process_vm_writev from libc using GLIBC_2.15 version.
87864         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87866 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87868         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87869         stack usage.
87871 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87873         [BZ #13367]
87874         * nss/getent.c (initgroups_keys): Show error message in case no group
87875         names are given.
87877         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87878         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87879         __bump_nl_timestamp.
87880         * nscd/connections (nscd_init): When host database is served open
87881         netlink socket and request notification about configuration changes.
87882         (main_loop_poll): Track netlink file descriptor and bump timestamp
87883         in case data becomes available.
87884         (main_loop_epoll): Likewise.
87885         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87886         (database_pers_head): Add extra_data fileds.
87887         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87888         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87889         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87890         Adjust caller.
87891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87892         in6ai data, call __free_in6ai.
87893         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87894         Add -DHAVE_NETLINK.
87895         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87896         interface information.  Reuse previous data if netlink timestamp
87897         is not changed.
87898         (__bump_nl_timestamp): New function.
87899         (__free_in6ai): New function.
87901 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87903         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87904         close_not_cancel_no_status here.
87905         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87907 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87909         [BZ #13276]
87910         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87911         return value.
87913         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87914         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87915         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87917 2011-07-03  Andreas Jaeger  <aj@suse.de>
87919         [BZ #10709]
87920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87921         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87922         * math/libm-test.inc (sin_test): Add test case.
87924 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87926         [BZ #13337]
87927         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87928         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87930         * elf/chroot_canon.c (chroot_canon): Cleanups.
87932         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87934         [BZ #13335]
87935         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87936         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87938         * string/test-strchr.c: Make usable for strchrnul testing.
87939         * string/test-strchrnul.c: New file.
87940         * string/Makefile (strop-tests): Add strchrnul.
87942         * po/it.po: Update from translation team.
87943         * po/es.po: Likewise.
87945 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87947         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87948         the three constants needed as parameters.  Drop the others.
87949         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87950         __m128i_strloadu_tolower.
87951         Create and initialize variable zero and use it in all the places
87952         where _mm_setzero_si128 was used.
87954         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87955         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87956         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87957         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87958         anymore.
87959         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87960         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87961         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87962         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87963         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87964         __mpranred, __mptan.
87965         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87966         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87967         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87968         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87969         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87970         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87971         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87972         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87973         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87975 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87977         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87978         redefine if SHARED.
87979         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87982         wide char related routines to wcsmbs subdir.
87984 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87986         [BZ #13344]
87987         * misc/sys/cdefs.h (__THROWNL): Define.
87988         * posix/unistd.h: Use __THREADNL instead of __THREAD
87989         for memory synchronization functions.
87991 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87993         [BZ #13349]
87994         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87995         doesn't exist.
87996         * manual/stdio.texi (Obstack Streams): Node removed.
87998 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88000         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88001         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88002         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88004         * math/math_private.h (math_force_eval): Allow non-addressable
88005         arguments.
88006         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88008 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88010         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88011         file is not needed.
88013         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88015         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88016         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88017         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88018         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88019         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88020         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88021         Add AVX variants.
88022         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88023         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88024         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88025         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88026         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88027         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88028         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88029         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88030         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88031         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88032         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88033         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88035         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88036         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88037         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88038         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88039         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88040         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88042         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88043         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88045         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88046         place.  Use VEX encoding when compiling for AVX.
88048 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88050         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88051         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88053         * string/test-strchr.c (do_test): Don't generate NUL bytes.
88055 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88057         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88058         useless if() expression.
88059         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88060         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88061         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88062         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88063         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88064         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88065         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88067         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88068         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88069         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88070         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88071         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88072         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88073         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88074         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88075         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88076         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88077         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88079         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88081 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88083         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88084         condition.
88085         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88087 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88089         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88090         .text section.  Avoid duplicate constants.
88091         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88092         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88093         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88094         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88095         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88099         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88100         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88101         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88102         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88103         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88104         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88105         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88106         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88107         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88108         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88109         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88111         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88112         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88113         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88114         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88115         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88116         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88117         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88118         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88119         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88120         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88121         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88122         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88123         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88124         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88125         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88126         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88127         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88128         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88129         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88130         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88131         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88132         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88133         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88134         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88135         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88137 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
88139         * sysdeps/x86_64/dla.h: Move to ...
88140         * sysdeps/x86_64/fpu/dla.h: ...here.
88141         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88142         situations.  Use __builtin_fma only for gcc 4.6 and up.
88144         * config.make.in: Add have-mfma4 entry.
88145         * configure.in: Substitute libc_cv_cc_fma4.
88146         * math/Makefile (dbl-only-routines): Add sincostab.
88147         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88148         Use __sincostab not sincos.
88149         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88150         name is a macro.
88151         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88152         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88154         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
88155         using __copysign.
88156         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
88157         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
88158         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88159         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88160         and __inv.
88161         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88162         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88163         __copysign.
88164         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
88165         define aliases when function name is a macro.
88166         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88167         sysdeps/ieee754/dbl-64/sincos.tbl.
88168         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88169         fma4-enabled routines.
88170         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88171         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88172         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88173         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88174         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88175         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88176         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88177         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88178         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88179         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88180         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88181         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88182         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88183         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88184         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88185         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88186         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88187         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88188         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88189         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88190         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88191         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88192         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88193         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88194         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88195         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88196         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88197         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88198         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88199         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88201         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88202         rename.
88203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88204         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88208         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88209         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88210         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88212 2011-10-24  Andreas Schwab  <schwab@redhat.com>
88214         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88216 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88218         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88220         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88221         prediction.
88222         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88224         * string/strnlen.c: Don't define STRNLEN, reverse logic.
88225         Remove unused variable magic_bits.
88226         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88228         * string/strnlen.c: Define and use STRNLEN macro.
88229         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88230         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88231         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88232         * wcsmbs/wcslen.c: Define and use WCSLEN.
88233         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88234         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88235         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88236         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88237         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88238         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88239         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88241 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88244         strnlen-sse2-no-bsf.
88245         Rename strlen-no-bsf to strlen-sse2-no-bsf.
88246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88247         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88248         Add strnlen support.
88249         (USE_AS_STRNLEN): New macro.
88250         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88251         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88252         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88253         * sysdeps/x86_64/wcslen.S: New file.
88255 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
88257         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
88258         XMM-moves are used for copying on small sizes.
88260 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88262         * wcsmbs/Makefile (strop-tests): Add wcschr.
88263         * wcsmbs/test-wcschr.c: New file.
88264         * string/test-strchr.c: Update.
88265         Add wcschr support.
88266         (WIDE): New macro.
88268 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88270         * wcsmbs/Makefile (strop-tests): Add wcslen.
88271         * wcsmbs/test-wcslen.c: New file.
88272         * string/test-strlen.c: Update.
88273         Add wcslen support.
88274         (WIDE): New macro.
88276 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88278         * po/it.po: Update from translation team.
88280 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88282         * sysdeps/x86_64/wcscmp.S: Update.
88283         Fix wrong comparison semantics.
88284         wcscmp shall use signed comparison not unsigned.
88285         Don't use substraction to avoid overflow bug.
88286         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88287         * wcsmbc/wcscmp.c: Likewise.
88288         * string/test-strcmp.c: Likewise.
88289         Add new tests to check cases with negative values.
88291 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88293         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88294         * sysdeps/x86_64/dla.h: ...here.  New file.
88295         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88300         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88305 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
88307         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88308         __ynl_finite aliases.
88310 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88314         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
88315         define DLA_FMA.
88316         [DLA_FMA] (EMULV): Use DLA_FMA.
88317         [DLA_FMA] (MUL12): Use EMULV.
88318         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
88319         that are not needed.
88320         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88328 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
88330         * math/s_nan.c: Undef __nan.
88331         * math/s_nanf.c: Undef __nanf.
88332         * math/s_nanl.c: Undef __nanl.
88333         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88334         "math_private.h".
88336 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88338         * math/s_catan.c: Add branch predictions.
88339         * math/s_catanf.c: Likewise.
88340         * math/s_catanh.c: Likewise.
88341         * math/s_catanhf.c: Likewise.
88342         * math/s_catanhl.c: Likewise.
88343         * math/s_catanl.c: Likewise.
88344         * math/s_cexp.c: Likewise.
88345         * math/s_cexpf.c: Likewise.
88346         * math/s_cexpl.c: Likewise.
88347         * math/s_clog.c: Likewise.
88348         * math/s_clog10.c: Likewise.
88349         * math/s_clog10f.c: Likewise.
88350         * math/s_clog10l.c: Likewise.
88351         * math/s_clogf.c: Likewise.
88352         * math/s_clogl.c: Likewise.
88353         * math/s_csqrt.c: Likewise.
88354         * math/s_csqrtf.c: Likewise.
88355         * math/s_csqrtl.c: Likewise.
88356         * math/s_ctanf.c: Likewise.
88357         * math/s_ctanh.c: Likewise.
88358         * math/s_ctanhf.c: Likewise.
88359         * math/s_ctanhl.c: Likewise.
88360         * math/s_ctanl.c: Likewise.
88362         * math/math_private.h: Define __nan, __nanf, __nanl.
88363         * math/s_cacosh.c: Include <math_private.h>.
88364         * math/s_cacoshl.c: Likewise.
88365         * math/s_casinh.c: Likewise.
88366         * math/s_casinhf.c: Likewise.
88367         * math/s_casinhl.c: Likewise.
88368         * math/s_ccos.c: Rely entire on ccosh.
88369         * math/s_ccosf.c: Rely entire on ccoshf.
88370         * math/s_ccosl.c: Rely entirely on ccoshl.
88371         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
88372         Remove tests for FE_INVALID.
88373         * math/s_ccoshf.c: Likewise.
88374         * math/s_ccoshl.c: Likewise.
88375         * math/s_csin.c: Likewise.
88376         * math/s_csinf.c: Likewise.
88377         * math/s_csinh.c Likewise.
88378         * math/s_csinhf.c: Likewise.
88379         * math/s_csinhl.c: Likewise.
88380         * math/s_csinl.c: Likewise.
88381         * math/s_ctan.c: Likewise.
88382         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88383         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88384         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88386 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
88388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88389         compilation problems.
88391         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88392         __builtin_expect.
88394 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
88396         * sysdeps/i386/configure.in: Test for -mfma4 option.
88397         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88398         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88399         COMMON_CPUID_INDEX_80000001.
88400         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88401         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88402         use it if FMA3 is not supported.
88403         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88405         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88406         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88408 2011-10-20  Andreas Schwab  <schwab@redhat.com>
88410         [BZ #12892]
88411         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88412         it would create a cycle with a link time dependency.
88414 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
88416         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88417         instruction.
88418         * string/Makefile (strop-tests): Add rawmemchr.
88419         * string/test-rawmemchr.c: New file.
88421         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88422         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88423         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88424         when compiling str{,n}casecmp and when AVX is available.  Hook up
88425         new optimized code in initializers.
88427 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88429         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88430         __feraiseexcept instead of feraiseexcept.
88432 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88434         * math/math_private.h: Define defaults for libc_fetestexcept and
88435         libc_feupdateenv.
88436         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88437         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88438         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88439         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88440         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88441         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88442         libc_fetestexcept and libc_feupdateenv.
88444         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88445         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88446         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88447         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88448         libc_feholdexcept_setround.
88450         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88451         Add s_nearbyint-c and s_nearbyintf-c.
88452         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88453         nearbyintf inlines.
88454         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88455         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88456         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88457         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88459         * math/math_private.h: Define defaults for libc_fegetround,
88460         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88461         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88462         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88463         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88464         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88465         standard functions.
88466         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88467         Remove comments and hacks for old compiler versions.
88468         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88469         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88470         libc_feholdexceptl.
88472 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88474         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88475         (__feraiseexcept_renamed): Add __NTH.
88476         (feraiseexcept): Add __NTH.  Rename local variables to fix
88477         namespace violations.
88479 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88481         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88483         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88485         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88486         recently added interfaces.
88487         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88489         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88490         about macro parameter expansion.
88492         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88493         __NO_MATH_INLINES is defined.  Cleanups.
88495         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88496         and __floorf is target has SSE4.1.
88497         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88498         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88499         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88500         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88502         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88503         name.
88504         (floorf): Likewise.
88506         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88508 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88510         * misc/sys/cdefs.h: Fix last change.
88512         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88513         database lookup.
88515 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88517         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88519         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88520         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88521         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88522         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88524         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88525         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88526         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88527         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88528         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88529         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88530         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88531         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88532         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88533         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88534         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88535         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88536         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88537         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88538         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88540         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88542         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88543         ceil, ceilf, floor, floorf.
88545         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88546         Perform IRELATIVE relocations last.
88548         * elf/do-rel.h: Add another parameter nrelative, replacing the
88549         local variable with the same name.  Change name of the function
88550         to end in Rel or Rela (uppercase).
88551         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88552         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88553         elf_dynamic_do_##reloc function.
88555 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88557         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88558         is sufficient, at least on modern CPUs.
88560         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88562         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88563         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88565         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88566         __expl_finite.
88567         * math/bits/math-finite.h: Add entries for exp.
88568         * math/e_expl.c: Add __*_finite alias.
88569         * sysdeps/i386/fpu/e_exp.S: Likewise.
88570         * sysdeps/i386/fpu/e_expf.S: Likewise.
88571         * sysdeps/i386/fpu/e_expl.c: Likewise.
88572         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88573         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88574         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88575         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88576         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88577         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88578         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88580         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88581         is sufficient, at least on modern CPUs.
88583         * ctype/ctype-info.c (__ctype_init): Define.
88584         * include/ctype.h (__ctype_init): Declare.
88585         (__ctype_b_loc): The variable is always initialized.
88586         (__ctype_toupper_loc): Likewise.
88587         (__ctype_tolower_loc): Likewise.
88588         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88589         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88591 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88593         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88595         * configure.in: Also look in $cxxmachine/include for C++ system
88596         headers.
88598 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88600         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88601         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88602         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88603         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88604         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88605         (USE_AS_WMEMCMP): New macro.
88606         Fixing indents.
88607         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88608         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88609         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88610         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88611         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88612         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88613         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88614         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88615         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88616         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88617         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88618         (USE_AS_WMEMCMP): New macro.
88619         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88620         * sysdeps/string/test-memcmp.c: Update.
88621         Fix simple_wmemcmp.
88622         Add new tests.
88623         * wcsmbs/wmemcmp.c: Update.
88624         (WMEMCMP): New macro.
88625         Fix overflow bug.
88627 2011-10-12  Andreas Jaeger  <aj@suse.de>
88629         [BZ #13268]
88630         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88632 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88634         * libio/iofwide.c (do_length): Avoid warning.
88636         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88638 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88640         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88642         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88643         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88644         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88645         * sysdeps/i386/i686/fpu/e_log.S: New file.
88646         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88647         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88649         * ctype/ctype.h: Add support for inlined isXXX functions when
88650         compiling C++ code.
88652 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88654         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88656         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88658 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88660         [BZ #13291]
88661         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88663 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88665         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88666         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88667         feraiseexcept.
88669         * sysdeps/x86_64/memrchr.S: Check for zero size.
88671         * string/stratcliff.c: Add memrchr tests.
88673 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88676         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88677         rawmemchr-sse2 rawmemchr-sse2-bsf.
88678         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88679         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88680         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88681         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88682         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88683         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88684         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88685         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88686         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88687         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88688         * string/memrchr.c (MEMRCHR): New macro.
88690 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
88692         Add integration with gcc's -ffinite-math-only and optimize wrapper
88693         functions in libm.
88694         * Versions.def: Define GLIBC_2.15 version for libm.
88695         * math/Makefile (headers): Add bits/math-finite.h.
88696         * math/bits/math-finite.h: New file.
88697         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88698         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88699         * math/e_acoshl.c: Add __*_finite alias.
88700         * math/e_acosl.c: Likewise.
88701         * math/e_asinl.c: Likewise.
88702         * math/e_atan2l.c: Likewise.
88703         * math/e_atanhl.c: Likewise.
88704         * math/e_coshl.c: Likewise.
88705         * math/e_exp10.c: Likewise.
88706         * math/e_exp10f.c: Likewise.
88707         * math/e_exp10l.c: Likewise.
88708         * math/e_exp2l.c: Likewise.
88709         * math/e_fmodl.c: Likewise.
88710         * math/e_gammal_r.c: Likewise.
88711         * math/e_hypotl.c: Likewise.
88712         * math/e_j0l.c: Likewise.
88713         * math/e_j1l.c: Likewise.
88714         * math/e_jnl.c: Likewise.
88715         * math/e_lgammal_r.c: Likewise.
88716         * math/e_log10l.c: Likewise.
88717         * math/e_log2l.c: Likewise.
88718         * math/e_logl.c: Likewise.
88719         * math/e_powl.c: Likewise.
88720         * math/e_sinhl.c: Likewise.
88721         * math/e_sqrtl.c: Likewise.
88722         * math/e_scalb.c: Completely rewritten and optimized.
88723         * math/e_scalbf.c: Likewise.
88724         * math/e_scalbl.c: Likewise.
88725         * math/w_acos.c: Likewise.
88726         * math/w_acosf.c: Likewise.
88727         * math/w_acosl.c: Likewise.
88728         * math/w_acosh.c: Likewise.
88729         * math/w_acoshf.c: Likewise.
88730         * math/w_acoshl.c: Likewise.
88731         * math/w_asin.c: Likewise.
88732         * math/w_asinf.c: Likewise.
88733         * math/w_asinl.c: Likewise.
88734         * math/w_atan2.c: Likewise.
88735         * math/w_atan2f.c: Likewise.
88736         * math/w_atan2l.c: Likewise.
88737         * math/w_atanh.c: Likewise.
88738         * math/w_atanhf.c: Likewise.
88739         * math/w_atanhl.c: Likewise.
88740         * math/w_exp10.c: Likewise.
88741         * math/w_exp10f.c: Likewise.
88742         * math/w_exp10l.c: Likewise.
88743         * math/w_fmod.c: Likewise.
88744         * math/w_fmodf.c: Likewise.
88745         * math/w_fmodl.c: Likewise.
88746         * math/w_j0.c: Likewise.
88747         * math/w_j0f.c: Likewise.
88748         * math/w_j0l.c: Likewise.
88749         * math/w_j1.c: Likewise.
88750         * math/w_j1f.c: Likewise.
88751         * math/w_j1l.c: Likewise.
88752         * math/w_jn.c: Likewise.
88753         * math/w_jnf.c: Likewise.
88754         * math/w_log.c: Likewise.
88755         * math/w_logf.c: Likewise.
88756         * math/w_logl.c: Likewise.
88757         * math/w_log10.c: Likewise.
88758         * math/w_log10f.c: Likewise.
88759         * math/w_log10l.c: Likewise.
88760         * math/w_log2.c: Likewise.
88761         * math/w_log2f.c: Likewise.
88762         * math/w_log2l.c: Likewise.
88763         * math/w_pow.c: Likewise.
88764         * math/w_powf.c: Likewise.
88765         * math/w_powl.c: Likewise.
88766         * math/w_remainder.c: Likewise.
88767         * math/w_remainderf.c: Likewise.
88768         * math/w_remainderl.c: Likewise.
88769         * math/w_scalb.c: Likewise.
88770         * math/w_scalbf.c: Likewise.
88771         * math/w_scalbl.c: Likewise.
88772         * math/w_sqrt.c: Likewise.
88773         * math/w_sqrtf.c: Likewise.
88774         * math/w_sqrtl.c: Likewise.
88775         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88776         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
88777         used.
88778         * math/math_private.h: Declare __kernel_standard_f.
88779         * math/w_cosh.c: Remove cruft and optimize a bit.
88780         * math/w_coshf.c: Likewise.
88781         * math/w_coshl.c: Likewise.
88782         * math/w_exp2.c: Likewise.
88783         * math/w_exp2f.c: Likewise.
88784         * math/w_exp2l.c: Likewise.
88785         * math/w_hypot.c: Likewise.
88786         * math/w_hypotf.c: Likewise.
88787         * math/w_hypotl.c: Likewise.
88788         * math/w_lgamma.c: Likewise.
88789         * math/w_lgamma_r.c: Likewise.
88790         * math/w_lgammaf.c: Likewise.
88791         * math/w_lgammaf_r.c: Likewise.
88792         * math/w_lgammal.c: Likewise.
88793         * math/w_lgammal_r.c: Likewise.
88794         * math/w_sinh.c: Likewise.
88795         * math/w_sinhf.c: Likewise.
88796         * math/w_sinhl.c: Likewise.
88797         * math/w_tgamma.c: Likewise.
88798         * math/w_tgammaf.c: Likewise.
88799         * math/w_tgammal.c: Likewise.
88800         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88801         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88802         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88803         Minor optimizations.  Pretty printing.  Remove cruft.
88804         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88805         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88806         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88807         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88808         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88809         * sysdeps/i386/fpu/e_asin.S: Likewise.
88810         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88811         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88812         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88813         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88814         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88815         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88816         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88817         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88818         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88819         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88820         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88821         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88822         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88823         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88824         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88825         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88826         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88827         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88828         * sysdeps/i386/fpu/e_log.S: Likewise.
88829         * sysdeps/i386/fpu/e_log10.S: Likewise.
88830         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88831         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88832         * sysdeps/i386/fpu/e_log2.S: Likewise.
88833         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88834         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88835         * sysdeps/i386/fpu/e_logf.S: Likewise.
88836         * sysdeps/i386/fpu/e_logl.S: Likewise.
88837         * sysdeps/i386/fpu/e_pow.S: Likewise.
88838         * sysdeps/i386/fpu/e_powf.S: Likewise.
88839         * sysdeps/i386/fpu/e_powl.S: Likewise.
88840         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88841         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88842         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88843         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88844         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88845         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88846         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88847         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88848         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88849         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88850         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88851         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88852         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88853         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88854         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88855         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88856         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88857         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88858         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88859         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88860         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88861         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88862         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88863         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88864         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88865         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88866         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88867         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88869         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88870         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88871         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88872         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88873         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88874         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88875         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88876         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88877         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88878         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88879         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88880         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88881         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88882         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88883         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88884         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88885         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88886         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88887         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88888         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88889         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88890         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88891         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88892         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88893         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88894         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88895         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88896         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88897         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88898         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88899         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88900         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88901         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88902         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88903         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88904         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88905         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88906         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88907         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88908         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88909         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88910         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88911         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88912         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88913         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88915         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88916         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88917         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88919         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88920         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88921         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88922         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88923         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88924         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88925         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88926         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88927         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88928         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88929         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88930         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88931         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88932         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88933         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88934         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88935         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88936         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88937         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88938         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88939         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88940         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88941         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88942         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88943         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88944         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88945         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88946         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88947         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88948         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88949         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88950         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88951         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88952         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88953         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88954         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88957         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88958         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88959         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88960         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88961         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88962         (__isnanf): Likewise.
88963         (__isinf_ns): Likewise.
88964         (__isinf_nsf): Likewise.
88965         (__finite): Likewise.
88966         (__finitef): Likewise.
88967         (__ieee754_sqrt): Define as macro.
88968         (__ieee754_sqrtf): Define as macro.
88969         (__ieee754_sqrtl): Define as macro.
88970         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88971         inlined copy.
88972         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88973         __FINITE_MATH_ONLY__ consistent.
88974         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88976 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88978         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88979         of rawmemchr.
88981         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88983 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88985         * po/ja.po: Update from translation team.
88987 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88989         * locale/programs/locarchive.c (prepare_address_space): New function.
88990         (create_archive, enlarge_archive, open_archive): Use it.
88992         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88993         inside [SHARED], where it is used.
88995         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88997         * nss/getent.c (netgroup_keys): Remove unused variable.
88998         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89000 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89002         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89003         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89004         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89005         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89006         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89007         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89008         * math/Makefile (libm-calls): Add s_isinf_ns.
89009         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89010         * math/multc3.c: Likewise.
89011         * math/s_casin.c: Likewise.
89012         * math/s_casinf.c: Likewise.
89013         * math/s_casinl.c: Likewise.
89014         * math/s_ccos.c: Likewise.
89015         * math/s_ccosf.c: Likewise.
89016         * math/s_ccosl.c: Likewise.
89017         * math/s_ctan.c: Likewise.
89018         * math/s_ctanf.c: Likewise.
89019         * math/s_ctanh.c: Likewise.
89020         * math/s_ctanhf.c: Likewise.
89021         * math/s_ctanhl.c: Likewise.
89022         * math/s_ctanl.c: Likewise.
89023         * math/w_fmod.c: Likewise.
89024         * math/w_fmodf.c: Likewise.
89025         * math/w_fmodl.c: Likewise.
89026         * math/w_remainder.c: Likewise.
89027         * math/w_remainderf.c: Likewise.
89028         * math/w_remainderl.c: Likewise.
89029         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89030         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89031         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89032         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89033         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89034         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89035         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89036         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89038         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89039         of the number.
89040         * stdio-common/printf_fphex.c: Likewise.
89041         * stdio-common/printf_size.c: Likewise.
89043         * math/e_exp10.c: Include math_private.h using <...> not "...".
89044         * math/e_exp10f.c: Likewise.
89045         * math/e_exp10l.c: Likewise.
89046         * math/e_exp2l.c: Likewise.
89047         * math/e_j0l.c: Likewise.
89048         * math/e_j1l.c: Likewise.
89049         * math/e_jnl.c: Likewise.
89050         * math/e_lgammal_r.c: Likewise.
89051         * math/e_rem_pio2l.c: Likewise.
89052         * math/e_scalb.c: Likewise.
89053         * math/e_scalbf.c: Likewise.
89054         * math/e_scalbl.c: Likewise.
89055         * math/k_cosl.c: Likewise.
89056         * math/k_sinl.c: Likewise.
89057         * math/k_tanl.c: Likewise.
89058         * math/s_cacoshf.c: Likewise.
89059         * math/s_catan.c: Likewise.
89060         * math/s_catanf.c: Likewise.
89061         * math/s_catanh.c: Likewise.
89062         * math/s_catanhf.c: Likewise.
89063         * math/s_catanhl.c: Likewise.
89064         * math/s_catanl.c: Likewise.
89065         * math/s_ccosh.c: Likewise.
89066         * math/s_ccoshf.c: Likewise.
89067         * math/s_ccoshl.c: Likewise.
89068         * math/s_cexp.c: Likewise.
89069         * math/s_cexpf.c: Likewise.
89070         * math/s_cexpl.c: Likewise.
89071         * math/s_clog.c: Likewise.
89072         * math/s_clog10.c: Likewise.
89073         * math/s_clog10f.c: Likewise.
89074         * math/s_clog10l.c: Likewise.
89075         * math/s_clogf.c: Likewise.
89076         * math/s_clogl.c: Likewise.
89077         * math/s_csin.c: Likewise.
89078         * math/s_csinf.c: Likewise.
89079         * math/s_csinh.c: Likewise.
89080         * math/s_csinhf.c: Likewise.
89081         * math/s_csinhl.c: Likewise.
89082         * math/s_csinl.c: Likewise.
89083         * math/s_csqrt.c: Likewise.
89084         * math/s_csqrtf.c: Likewise.
89085         * math/s_csqrtl.c: Likewise.
89086         * math/s_ctan.c: Likewise.
89087         * math/s_ctanf.c: Likewise.
89088         * math/s_ctanh.c: Likewise.
89089         * math/s_ctanhf.c: Likewise.
89090         * math/s_ctanhl.c: Likewise.
89091         * math/s_ctanl.c: Likewise.
89092         * math/s_ldexp.c: Likewise.
89093         * math/s_ldexpf.c: Likewise.
89094         * math/s_ldexpl.c: Likewise.
89095         * math/s_significand.c: Likewise.
89096         * math/s_significandf.c: Likewise.
89097         * math/s_significandl.c: Likewise.
89098         * math/w_acos.c: Likewise.
89099         * math/w_acosf.c: Likewise.
89100         * math/w_acosh.c: Likewise.
89101         * math/w_acoshf.c: Likewise.
89102         * math/w_acoshl.c: Likewise.
89103         * math/w_acosl.c: Likewise.
89104         * math/w_asin.c: Likewise.
89105         * math/w_asinf.c: Likewise.
89106         * math/w_asinl.c: Likewise.
89107         * math/w_atan2.c: Likewise.
89108         * math/w_atan2f.c: Likewise.
89109         * math/w_atan2l.c: Likewise.
89110         * math/w_atanh.c: Likewise.
89111         * math/w_atanhf.c: Likewise.
89112         * math/w_atanhl.c: Likewise.
89113         * math/w_cosh.c: Likewise.
89114         * math/w_coshf.c: Likewise.
89115         * math/w_coshl.c: Likewise.
89116         * math/w_dremf.c: Likewise.
89117         * math/w_exp10.c: Likewise.
89118         * math/w_exp10f.c: Likewise.
89119         * math/w_exp10l.c: Likewise.
89120         * math/w_exp2.c: Likewise.
89121         * math/w_exp2f.c: Likewise.
89122         * math/w_fmod.c: Likewise.
89123         * math/w_fmodf.c: Likewise.
89124         * math/w_fmodl.c: Likewise.
89125         * math/w_hypot.c: Likewise.
89126         * math/w_hypotf.c: Likewise.
89127         * math/w_hypotl.c: Likewise.
89128         * math/w_j0.c: Likewise.
89129         * math/w_j0f.c: Likewise.
89130         * math/w_j0l.c: Likewise.
89131         * math/w_j1.c: Likewise.
89132         * math/w_j1f.c: Likewise.
89133         * math/w_j1l.c: Likewise.
89134         * math/w_jn.c: Likewise.
89135         * math/w_jnf.c: Likewise.
89136         * math/w_jnl.c: Likewise.
89137         * math/w_lgamma.c: Likewise.
89138         * math/w_lgamma_r.c: Likewise.
89139         * math/w_lgammaf.c: Likewise.
89140         * math/w_lgammaf_r.c: Likewise.
89141         * math/w_lgammal.c: Likewise.
89142         * math/w_lgammal_r.c: Likewise.
89143         * math/w_log.c: Likewise.
89144         * math/w_log10.c: Likewise.
89145         * math/w_log10f.c: Likewise.
89146         * math/w_log10l.c: Likewise.
89147         * math/w_log2.c: Likewise.
89148         * math/w_log2f.c: Likewise.
89149         * math/w_log2l.c: Likewise.
89150         * math/w_logf.c: Likewise.
89151         * math/w_logl.c: Likewise.
89152         * math/w_pow.c: Likewise.
89153         * math/w_powf.c: Likewise.
89154         * math/w_powl.c: Likewise.
89155         * math/w_remainder.c: Likewise.
89156         * math/w_remainderf.c: Likewise.
89157         * math/w_remainderl.c: Likewise.
89158         * math/w_scalb.c: Likewise.
89159         * math/w_scalbf.c: Likewise.
89160         * math/w_scalbl.c: Likewise.
89161         * math/w_sinh.c: Likewise.
89162         * math/w_sinhf.c: Likewise.
89163         * math/w_sinhl.c: Likewise.
89164         * math/w_sqrt.c: Likewise.
89165         * math/w_sqrtf.c: Likewise.
89166         * math/w_sqrtl.c: Likewise.
89167         * math/w_tgamma.c: Likewise.
89168         * math/w_tgammaf.c: Likewise.
89169         * math/w_tgammal.c: Likewise.
89171         * po/ja.po: Update from translation team.
89173 2011-09-29  Andreas Jaeger  <aj@suse.de>
89175         [BZ #13179]
89176         * sunrpc/netname.c (netname2host): Fix logic.
89178         [BZ #6779]
89179         [BZ #6783]
89180         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89181         correctly.
89182         * math/w_remainder.c (__remainder): Likewise.
89183         * math/w_remainderf.c (__remainderf): Likewise.
89184         * math/libm-test.inc (remainder_test): Add test cases.
89186 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89188         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
89189         sdiv_qrnnd.
89191 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89193         * string/test-memcmp.c: Avoid unncessary #defines.
89194         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89196 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89198         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89199         Use new sse2 version for core i3 - i7 as it's faster
89200         than sse42 version.
89201         (bit_Prefer_PMINUB_for_stringop): New.
89202         * sysdeps/x86_64/rawmemchr.S: Update.
89203         Replace with faster SSE2 version.
89204         * sysdeps/x86_64/memrchr.S: New file.
89205         * sysdeps/x86_64/memchr.S: Update.
89206         Replace with faster SSE2 version.
89208 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
89210         * elf/dl-load.c (lose): Add cast to avoid warning.
89212 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89214         * po/ca.po: Update from translation team.
89216         * inet/getnetgrent_r.c: Hook up nscd.
89217         * nscd/Makefile (routines): Add nscd_netgroup.
89218         (nscd-modules): Add netgroupcache.
89219         (CFLAGS-netgroupcache.c): Define.
89220         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89221         (cache_search): Add const to second parameter.
89222         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89223         INNETGR.
89224         (dbs): Add netgrdb entry.
89225         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89226         (verify_persistent_db): Handle netgrdb.
89227         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89228         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89229         GETFDNETGR.
89230         (netgroup_response_header): Define.
89231         (innetgroup_response_header): Define.
89232         (datahead): Add netgroup_response_header and innetgroup_response_header
89233         elements.
89234         * nscd/nscd.conf: Add entries for netgroup cache.
89235         * nscd/nscd.h (dbtype): Add netgrdb.
89236         (_PATH_NSCD_NETGROUP_DB): Define.
89237         (netgroup_iov_disabled): Declare.
89238         (xmalloc, xcalloc, xrealloc): Move declarations here.
89239         (cache_search): Adjust prototype.
89240         Add netgroup-related prototypes.
89241         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89242         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89243         (__nscd_innetgr): Declare.
89244         * nscd/selinux.c (perms): Use access_vector_t as element type and
89245         add netgroup-related initializers.
89246         * nscd/netgroupcache.c: New file.
89247         * nscd/nscd_netgroup.c: New file.
89248         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89249         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89250         For four parameters use innetgr.
89251         * nss/nss_files/files-init.c: Add definition and callback for netgr.
89252         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89253         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89254         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89256         * nscd/connections.c (register_traced_file): Don't register file
89257         for disabled databases.
89259 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
89261         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
89263         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
89264         from tree and freeing node.
89266 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
89268         * nss/nsswitch.c (__nss_database_lookup): Handle
89269         nss_parse_service_list out of memory case.
89271 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
89273         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89274         out of memory case.
89276 2011-10-04  Andreas Schwab  <schwab@redhat.com>
89278         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89279         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89280         pass it down.
89281         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89282         elf_machine_rela, elf_machine_lazy_rel.
89283         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89284         (ELF_DYNAMIC_DO_REL): Likewise.
89285         (ELF_DYNAMIC_DO_RELA): Likewise.
89286         (ELF_DYNAMIC_RELOCATE): Likewise.
89287         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89288         to ELF_DYNAMIC_DO_REL.
89289         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89290         (dl_main): In trace mode always set __RTLD_NOIFUNC.
89291         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89292         elf_machine_rela.
89293         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89294         skip_ifunc, don't call ifunc function if non-zero.
89295         (elf_machine_rela): Likewise.
89296         (elf_machine_lazy_rel): Likewise.
89297         (elf_machine_lazy_rela): Likewise.
89298         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89299         (elf_machine_lazy_rel): Likewise.
89300         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89301         Likewise.
89302         (elf_machine_lazy_rel): Likewise.
89303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89304         Likewise.
89305         (elf_machine_lazy_rel): Likewise.
89306         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89307         (elf_machine_lazy_rel): Likewise.
89308         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89309         (elf_machine_lazy_rel): Likewise.
89310         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
89311         (elf_machine_lazy_rel): Likewise.
89312         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
89313         (elf_machine_lazy_rel): Likewise.
89314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
89315         (elf_machine_lazy_rel): Likewise.
89316         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
89317         (elf_machine_lazy_rel): Likewise.
89319 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
89321         * nss/nss_files/files-init.c (_nss_files_init): Use static
89322         initialization for all the *_traced_file variables.
89324 2011-09-28  Andreas Schwab  <schwab@redhat.com>
89326         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89328 2011-09-27  Roland McGrath  <roland@hack.frob.com>
89330         [BZ #13226]
89331         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89333 2011-09-27  Andreas Schwab  <schwab@redhat.com>
89335         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89336         Reread the line before reparsing it.
89338 2011-09-26  Andreas Schwab  <schwab@redhat.com>
89340         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89342 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
89343             Maxim Kuvyrkov  <maxim@codesourcery.com>
89344             Joseph Myers  <joseph@codesourcery.com>
89346         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89347         if needed for __stack_chk_guard.
89349 2011-09-19  Roland McGrath  <roland@hack.frob.com>
89351         * sysdeps/posix/spawni.c (script_execute): Always define it.
89352         It will be optimized away if unused.
89353         (maybe_script_execute): New function.
89354         (__spawni): Call it.
89356         * Makerules: Don't include tls.make.
89357         (config-tls): Always set to thread.
89358         * tls.make.c: File removed.
89360 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
89362         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89363         * config.make.in (CPPFLAGS-config): New substituted variable.
89365 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89367         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89369         [BZ #13192]
89370         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89371         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89373 2011-09-15  Roland McGrath  <roland@hack.frob.com>
89375         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89376         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89377         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89378         (CALL_FAIL): Likewise.
89379         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89380         (CALL_FAIL): Macro removed.
89381         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89383 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89385         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89386         for __FINITE_MATH_ONLY__ == 1.
89388 2011-09-15  Andreas Schwab  <schwab@redhat.com>
89390         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89391         __ieee754_sqrt instead of sqrt.
89392         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89393         __ieee754_sqrtf instead of sqrtf.
89394         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89395         __floorf instead of floorf.
89396         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89397         __floorf, __truncf instead of floorf, truncf.
89399 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
89401         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89403         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89404         __extern_always_inline.
89405         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89406         32-bit.
89408 2011-09-14  Andreas Schwab  <schwab@redhat.com>
89410         * elf/rtld.c (dl_main): Also relocate in dependency order when
89411         doing symbol dependency testing.
89413 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
89415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89416         Always define `refsym'.
89418 2011-09-13  Andreas Schwab  <schwab@redhat.com>
89420         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89421         (__FD_ELT): Renamed from __FDELT.
89422         * misc/bits/select2.h (__FD_ELT): Likewise.
89423         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89424         __FD_MASK instead of __FDELT, __FDMASK.
89425         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89426         Likewise.
89427         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89428         Likewise.
89430         * elf/Makefile (gen-ldd): Fix pattern.
89432         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89433         (init_tls): Likewise.
89435 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89437         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89439 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89441         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89442         `struct cmsghdr *' instead of `void *'.
89443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89444         Likewise.
89446 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89448         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89449         if non-absolute.
89450         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89451         ldd_rewrite_script.
89453 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89455         * configure.in: Remove --with-tls option.
89456         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89457         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89458         out in case it is missing.
89459         * sysdeps/ia64/elf/configure.in: Likewise.
89460         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89461         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89462         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89463         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89464         * sysdeps/sh/elf/configure.in: Likewise.
89465         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89466         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89467         * sysdeps/x86_64/elf/configure.in: Likewise.
89468         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89469         * sysdeps/mach/hurd/tls.h: Likewise.
89471         [BZ #13067]
89472         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89474         [BZ #13090]
89475         * configure.in: Fix use of AC_INIT.
89477         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89479 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89481         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89482         __set_errno.
89483         * malloc/hooks.c: Likewise.
89485         [BZ #11929]
89486         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89487         variables statically.
89488         (narenas): Initialize.
89489         (list_lock): Initialize.
89490         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89491         initializtion of main_arena and list_lock.  Small cleanups.
89492         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89493         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89494         Add initializers to main_arena and mp_.
89495         (malloc_state): Remove pagesize member.  Change all users to use
89496         GLRO(dl_pagesize).
89498         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89499         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89500         is always initialized.
89502         * malloc/malloc.c: Removed unused configurations and dead code.
89503         * malloc/arena.c: Likewise.
89504         * malloc/hooks.c: Likewise.
89505         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89507         * include/tls.h: Removed.  USE___THREAD must always be defined.
89508         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89509         * elf/dl-libc.c: Likewise.
89510         * elf/dl-tsd.c: Likewise.
89511         * include/errno.h: Likewise.
89512         * include/netdb.h: Likewise.
89513         * include/resolv.h: Likewise.
89514         * inet/herrno-loc.c: Likewise.
89515         * inet/herrno.c: Likewise.
89516         * malloc/arena.c: Likewise.
89517         * malloc/hooks.c: Likewise.
89518         * malloc/malloc.c: Likewise.
89519         * resolv/res-state.c: Likewise.
89520         * resolv/res_libc.c: Likewise.
89521         * sysdeps/i386/dl-machine.h: Likewise.
89522         * sysdeps/ia64/dl-machine.h: Likewise.
89523         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89524         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89525         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89526         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89527         * sysdeps/sh/dl-machine.h: Likewise.
89528         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89529         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89530         * sysdeps/unix/i386/sysdep.S: Likewise.
89531         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89532         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89537         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89541         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89542         * sysdeps/x86_64/dl-machine.h: Likewise.
89543         * tls.make.c: Likewise.
89545         * configure.in: Remove --with-__thread option.  Make tests for
89546         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89547         tls_model attribute fail if no support is available.  Remove
89548         USE_IN_LIBIO.
89549         * Makeconfig: Adjust for dropped configure option.  All features are
89550         now mandatory.
89551         * Makerules: Likewise.
89552         * Versions.def: Likewise.
89553         * argp/argp-fmtstream.c: Likewise.
89554         * argp/argp-fmtstream.h: Likewise.
89555         * argp/argp-help.c: Likewise.
89556         * assert/assert.c: Likewise.
89557         * config.h.in: Likewise.
89558         * config.make.in: Likewise.
89559         * configure: Likewise.
89560         * configure.in: Likewise.
89561         * csu/Versions: Likewise.
89562         * csu/init.c: Likewise.
89563         * elf/tst-audit2.c: Likewise.
89564         * elf/tst-tls10.c: Likewise.
89565         * elf/tst-tls10.h: Likewise.
89566         * elf/tst-tls11.c: Likewise.
89567         * elf/tst-tls12.c: Likewise.
89568         * elf/tst-tls14.c: Likewise.
89569         * elf/tst-tlsmod11.c: Likewise.
89570         * elf/tst-tlsmod12.c: Likewise.
89571         * elf/tst-tlsmod13.c: Likewise.
89572         * elf/tst-tlsmod13a.c: Likewise.
89573         * elf/tst-tlsmod14a.c: Likewise.
89574         * elf/tst-tlsmod15b.c: Likewise.
89575         * elf/tst-tlsmod16a.c: Likewise.
89576         * elf/tst-tlsmod16b.c: Likewise.
89577         * elf/tst-tlsmod7.c: Likewise.
89578         * elf/tst-tlsmod8.c: Likewise.
89579         * elf/tst-tlsmod9.c: Likewise.
89580         * gmon/gmon.c: Likewise.
89581         * grp/fgetgrent_r.c: Likewise.
89582         * grp/putgrent.c: Likewise.
89583         * hurd/fopenport.c: Likewise.
89584         * include/libc-symbols.h: Likewise.
89585         * include/tls.h: Likewise.
89586         * intl/gettextP.h: Likewise.
89587         * intl/loadinfo.h: Likewise.
89588         * locale/global-locale.c: Likewise.
89589         * locale/localeinfo.h: Likewise.
89590         * mach/devstream.c: Likewise.
89591         * malloc/arena.c: Likewise.
89592         * malloc/set-freeres.c: Likewise.
89593         * misc/err.c: Likewise.
89594         * misc/getttyent.c: Likewise.
89595         * misc/mntent_r.c: Likewise.
89596         * posix/getopt.c: Likewise.
89597         * posix/wordexp.c: Likewise.
89598         * pwd/fgetpwent_r.c: Likewise.
89599         * resolv/Versions: Likewise.
89600         * resolv/res_hconf.c: Likewise.
89601         * shadow/fgetspent_r.c: Likewise.
89602         * shadow/putspent.c: Likewise.
89603         * stdio-common/printf_fphex.c: Likewise.
89604         * stdio-common/tmpfile.c: Likewise.
89605         * stdlib/abort.c: Likewise.
89606         * stdlib/fmtmsg.c: Likewise.
89607         * sunrpc/auth_unix.c: Likewise.
89608         * sunrpc/clnt_perr.c: Likewise.
89609         * sunrpc/clnt_tcp.c: Likewise.
89610         * sunrpc/clnt_udp.c: Likewise.
89611         * sunrpc/clnt_unix.c: Likewise.
89612         * sunrpc/openchild.c: Likewise.
89613         * sunrpc/svc_simple.c: Likewise.
89614         * sunrpc/svc_tcp.c: Likewise.
89615         * sunrpc/svc_udp.c: Likewise.
89616         * sunrpc/svc_unix.c: Likewise.
89617         * sunrpc/xdr.c: Likewise.
89618         * sunrpc/xdr_array.c: Likewise.
89619         * sunrpc/xdr_rec.c: Likewise.
89620         * sunrpc/xdr_ref.c: Likewise.
89621         * sunrpc/xdr_stdio.c: Likewise.
89623 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89625         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89627 2011-07-03  Andreas Jaeger  <aj@suse.de>
89629         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89630         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89631         regenerate with gen-libm-tests.pl.
89633 2010-05-12  Petr Baudis  <pasky@suse.cz>
89635         [BZ #11589]
89636         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89637         around j0() zero points by switching to j1().
89638         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89639         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89641         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89643 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89645         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89646         instead of 0.
89647         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89648         instead of 0.
89649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89650         Patch in part by Pavel Roskin <proski@gnu.org>.
89652         [BZ #13138]
89653         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89654         realloc.
89655         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89656         Free memory block if necessary.
89658         [BZ #12847]
89659         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89660         be NULL.  Don't lock in this case.
89662 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89664         * elf/elf.h (ELFOSABI_GNU): New macro.
89665         (ELFOSABI_LINUX): Define to that.
89667 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89669         * string/strncat.c (strncat): Undef the symbol in case it has been
89670         defined in bits/string.h.
89672 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89674         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89676         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89677         link map.
89679 2011-08-17  Andreas Jaeger  <aj@suse.de>
89681         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89683 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89684             Ian Lance Taylor  <iant@google.com>
89686         * math/libm-test.inc (lround_test): New testcase.
89687         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89689 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
89691         * Makefile: Remove support for automatic cvs check-ins.
89692         * Makerules: Likewise.
89693         * config.make.in: Likewise.
89694         * configure.in: Likewise.
89695         * intl/Makefile: Likewise.
89696         * locale/Makefile: Likewise.
89697         * po/Makefile: Likewise.
89698         * posix/Makefile: Likewise.
89699         * sysdeps/gnu/Makefile: Likewise.
89700         * sysdeps/mach/hurd/Makefile: Likewise.
89701         * sysdeps/sparc/sparc32/Makefile: Likewise.
89703         [BZ #13118]
89704         * posix/Makefile (bug-regex32-ENV): Define.
89705         Patch by John Stanley <jpsinthemix@verizon.net>.
89707         * misc/Makefile (headers): Add bits/select2.h.
89708         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89709         * misc/bits/select2.h: New file.
89710         * include/bits/select2.h: New file.
89711         * debug/Makefile (routines): Add fdelt_chk.
89712         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89713         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89714         FD_ISSET.
89715         * debug/fdelt_chk.c: New file.
89717         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
89718         * wcsmbs/test-wmemcmp.c: Likewise.
89719         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89720         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89722 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89724         * string/Makefile (strop-tests): Add memcmp.
89725         * string/test-wmemcmp.c: New file.
89726         * string/test-memcmp.c: Add wmemcmp support.
89728 2011-09-08  Roland McGrath  <roland@hack.frob.com>
89730         [BZ #13153]
89731         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89732         2011-07-19 change.
89734         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89735         garbage value in a __mach_port_mod_refs call in the cases of the
89736         task-self and thread-self ports.
89738 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89740         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89742 2011-09-08  Andreas Schwab  <schwab@redhat.com>
89744         * elf/dl-load.c (lose): Check for non-null L.
89746 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89748         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89750         * elf/dl-libc.c (dlerror_run): Pass back error code from
89751         dl_catch_error.
89753         [BZ #13123]
89754         * elf/dl-load.c (lose): Free l_origin if it is valid.
89756         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89757         names.
89758         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89759         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89760         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89761         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89762         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89763         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89765 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89767         * sysdeps/powerpc/fpu/e_hypot.c: New file.
89768         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89769         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89770         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89771         * sysdeps/powerpc/fpu/k_cosf.c: New file.
89772         * sysdeps/powerpc/fpu/k_sinf.c: New file.
89773         * sysdeps/powerpc/fpu/s_cosf.c: New file.
89774         * sysdeps/powerpc/fpu/s_sinf.c: New file.
89775         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89776         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89778 2011-08-15  Alan Modra  <amodra@gmail.com>
89780         [BZ #13092]
89781         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89782         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89783         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
89784         ppc_mcount to static-only-routines.
89785         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89786         __mcount_internal.
89787         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89788         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
89790 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
89792         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89793         for finite and infinity parameters.
89795 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89797         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89798         and add nop instructions for throughput optimization.
89799         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89801 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89803         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89804         aligned copy for power7 with vector-scalar instructions.
89805         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89807 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89810         AVX check.
89812 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89814         [BZ #13144]
89815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89816         last change.
89818 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89820         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89821         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89822         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89823         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89824         clock_gettime.
89826 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89828         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89829         Forgot to demangle the pointer.
89831         * sysdeps/i386/sysdep.h: Define atom_text_section.
89832         * sysdeps/x86_64/sysdep.h: Likewise.
89833         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89834         section with atom_text_section.
89835         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89836         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89837         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89838         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89839         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89841         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89842         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89843         already be defined.  Change to take two parameters and don't assign
89844         result to variable.  Adjust all users.
89845         Define INTERNAL_GETTIME if not already defined.
89846         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89847         call.
89848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89849         HAVE_CLOCK_GETTIME_VSYSCALL.
89850         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89852         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89853         gettimeofday vsyscall, just use time.
89855 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89858         <errno.h>.
89860 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89862         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89863         syscall on x86-64.
89864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89865         syscall.
89866         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89867         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89868         syscall if possible.
89870 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89872         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89873         e_ident.  Don't pass to find_mapsXX.
89874         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89876 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89879         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89880         * sysdeps/x86_64/multiarch/strchr.S: Update.
89881         Check bit_slow_BSF bit.
89882         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89883         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89884         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89886 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89888         [BZ #13134]
89889         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89890         before glibc 2.15.
89891         (tryshell): Define.
89892         (__spawni): Change last parameter to be flag.  Test
89893         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89894         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89895         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89896         * posix/spawni.c: Likewise.
89897         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89898         * posix/spawnp.c: Likewise.  Change normal version to use
89899         SPAWN_XFLAGS_USE_PATH.
89900         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89901         SPAWN_XFLAGS_TRY_SHELL.
89903         [BZ #13150]
89904         * posix/glob.h: Remove gcc 1.x support.
89906         [BZ #13068]
89907         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89909 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89912         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89913         strrchr-sse2-bsf
89914         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89915         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89916         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89917         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89918         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89919         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89921 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89923         * sysdeps/x86_64/wcscmp.S: New file.
89925         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89926         wcscmp-c wcscmp-sse2
89927         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89928         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89929         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89930         * wcsmbs/wcscmp.c: Allow renaming.
89932 2011-09-05  David S. Miller  <davem@davemloft.net>
89934         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89935         stack slot, rather than the struct return pointer slot.
89936         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89937         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89939         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89941 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89943         * po/ja.po: Update from translation team.
89945         [BZ #13144]
89946         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89947         kernel in 64-bit binaries.
89949 2011-09-01  David S. Miller  <davem@davemloft.net>
89951         * elf/elf.h (HWCAP_SPARC_*): Move to..
89952         * sysdeps/sparc/sysdep.h: this new file and add new values.
89953         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89954         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89955         _DL_HWCAP_COUNT to 24.
89956         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89957         entries.
89958         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89959         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89960         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89962         instead of magic constants.
89963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89965 2011-08-31  David S. Miller  <davem@davemloft.net>
89967         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89969         Reimplement to do errno handling inline.
89970         (SYSCALL_ERROR_HANDLER): New macro.
89971         (__SYSCALL_STRING): Do not do errno handling in asm.
89972         (__CLONE_SYSCALL_STRING): Delete.
89973         (__INTERNAL_SYSCALL_STRING): Delete.
89974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89975         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89976         (PSEUDO): Reimplement to do errno handling inline.
89977         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89978         (SYSCALL_ERROR_HANDLER): New macro.
89979         (__SYSCALL_STRING): Do not do errno handling in asm.
89980         (__CLONE_SYSCALL_STRING): Delete.
89981         (__INTERNAL_SYSCALL_STRING): Delete.
89982         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89983         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89984         i386.
89985         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89986         (inline_syscall*): Add 'err' argument.
89987         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89988         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89989         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89990         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89992         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89993         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89995 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89997         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89999 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90001         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90002         directive.
90004 2011-08-24  David S. Miller  <davem@davemloft.net>
90006         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90008 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90010         * elf/Makefile: Add rules to build and run unload8 test.
90011         * elf/unload8.c: New file.
90012         * elf/unload8mod1.c: New file.
90013         * elf/unload8mod1x.c: New file.
90014         * elf/unload8mod2.c: New file.
90015         * elf/unload8mod3.c: New file.
90017         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90018         it wasn't used.
90020 2011-08-23  David S. Miller  <davem@davemloft.net>
90022         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90023         subtract stack bias.
90024         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90025         %sp not %fp in calculations.
90026         (_JMPBUF_UNWINDS_ADJ): Likewise.
90028         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90029         (aio_suspend): Call it to force an exception region around the
90030         AIO_MISC_WAIT() invocation.
90032 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90034         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90035         backslash.
90037 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90039         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90040         protection macro.
90041         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90042         and <dl-machine.h>.
90043         (Elf64_FuncDesc): Remove.
90045 2011-08-22  David S. Miller  <davem@davemloft.net>
90047         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90048         sigaltstack check, add missing cfi directives.
90049         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90050         missing cfi directives, and sigaltstack handling.
90052 2011-08-16  Andreas Schwab  <schwab@redhat.com>
90054         [BZ #11724]
90055         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90056         object is seen twice.
90057         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90059         * elf/Makefile (distribute): Add tst-initorder2.c.
90060         (tests): Add tst-initorder2.
90061         (modules-names): Add tst-initorder2a tst-initorder2b
90062         tst-initorder2c tst-initorder2d.  Add rules to build them.
90063         ($(objpfx)tst-initorder2.out): New rule.
90064         * elf/tst-initorder2.c: New file.
90065         * elf/tst-initorder2.exp: New file.
90067 2011-08-22  Andreas Schwab  <schwab@redhat.com>
90069         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90071         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90072         dependencies back to end of function.
90074         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90075         $(elfobjdir)/ld.so.
90077 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
90079         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90080         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90081         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90082         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90083         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90084         of __vdso_gettimeofday.
90085         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90086         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
90087         attribute_hidden.
90088         (_libc_vdso_platform_setup): Remove initialization of
90089         __vdso_gettimeofday and __vdso_time.
90091 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90093         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90094         and fgetc_unlocked.
90095         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90096         getc_unlocked.
90098         * elf/dl-open.c (add_to_global): Report additions to the global scope
90099         for LD_DEBUG=scopes.
90100         (dl_open_worker): Also print scope of newly loaded dependencies.
90101         (_dl_show_scope): Indicate if there is no scope.
90103         [BZ #13114]
90104         * stdio-common/Makefile (tests): Add bug24.
90105         * stdio-common/bug24.c: New file.
90107 2011-08-19  Andreas Jaeger  <aj@suse.de>
90109         [BZ #13114]
90110         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90111         non-existant file when using close-on-exec mode.
90113 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90115         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90116         the very first instruction.
90118         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90119         the CFI state in the end.
90120         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90121         inclusion of dl-trampoline.h.
90122         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90124 2011-08-19  Andreas Schwab  <schwab@redhat.com>
90126         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90127         expectations for long double.
90129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90130         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90132 2011-08-14  David S. Miller  <davem@davemloft.net>
90134         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90135         artificual limit depends upon the system page size.
90137 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90139         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90140         * resolv/Makefile: Define CFLAGS-libresolv.
90142 2011-08-17  Andreas Schwab  <schwab@redhat.com>
90144         * nss/makedb.c (compute_tables): Make variables used in nested
90145         function static.
90147 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90149         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90150         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90151         if buffer was too small.
90153         * elf/pldd.c (main): Attach to all threads in the process.
90154         Rewrite /proc handling to use *at functions.
90156 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
90158         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90159         specifies first scope to show.
90160         (dl_open_worker): Update callers.  Move printing scope of new
90161         object to before the relocation.
90162         * elf/rtld.c (dl_main): Update _dl_show_scope call.
90163         * sysdeps/generic/ldsodefs.h: Update declaration.
90165         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90166         string for the scope number.
90168 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
90170         * nscd/servicescache.c (cache_addserv): Make sure written is always
90171         initialized.
90173 2011-08-14  Roland McGrath  <roland@hack.frob.com>
90175         * sysdeps/i386/i486/bits/atomic.h
90176         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90177         statement expression, so as to suppress "set but not used" warning.
90178         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90180         * string/strncat.c (STRNCAT): Use prototype definition.
90182         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90183         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90184         -Iprograms here.
90185         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90186         (localedef-modules): Add localedef.
90187         (locale-modules): Add locale.
90189         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90190         * elf/rtld.c (dl_main): Invert order of assignment in last change,
90191         to avoid a warning.
90193 2011-08-14  David S. Miller  <davem@davemloft.net>
90195         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90196         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90198 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
90200         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90201         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90202         * elf/rtld.c (dl_main): Set l_name of vDSO.
90203         Call _dl_show_scope when DL_DEBUG_SCOPES.
90204         (process_dl_debug): Recognize scopes flag and also set it for all.
90205         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90206         Declare _dl_show_scope.
90208         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90209         (do_dlopen): Pass caller_dlopen to dl_open.
90210         (__libc_dlopen_mode): Initialize caller_dlopen.
90212         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90213         of libc.  Make tolower call locale-independent.  Optimize a bit by
90214         using isdigit instead of isalnum.
90215         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90217 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
90219         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90220         was a dependency or dynamically loaded.
90222 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
90224         * intl/l10nflist.c: Allow architecture-specific pop function.
90225         * sysdeps/x86_64/l10nflist.c: New file.
90227         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90228         classification.
90230 2011-08-10  Andreas Schwab  <schwab@redhat.com>
90232         * include/dirent.h: Add libc_hidden_proto for scandirat and
90233         scandirat64.  Don't declare __scandirat64.
90234         * dirent/scandirat.c: Add libc_hidden_def.
90235         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90236         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90238 2011-08-10  David S. Miller  <davem@davemloft.net>
90240         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90241         enum.
90242         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90244         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90246 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
90248         * Versions.def [libc]: Add GLIBC_2.15.
90249         * dirent/Makefile (routines): Add scandirat and scandirat64.
90250         * dirent/Versions [libc]: Export scandirat and scandirat64 for
90251         GLIBC_2.15.
90252         * dirent/dirent.h: Declare scandirat and scandirat64.
90253         * dirent/scandirat.c: New file.
90254         * dirent/scandirat64.c: New file.
90255         * sysdeps/wordsize-64/scandirat.c: New file.
90256         * sysdeps/wordsize-64/scandirat64.c: New file.
90257         * dirent/opendir.c: Define opendirat.
90258         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
90259         using scandirat.
90260         * dirent/scandir64.c: Adjust for scandir.c change.
90261         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
90262         __scandirat64, and __scandir_cancel_handler.
90263         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
90264         additional parameter and use openat instead of open (outside of ld.so).
90265         Add new __opendir as wrapper around __opendirat.
90266         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
90267         here without requiring old scandirat implementation.
90269 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
90271         * dirent/scandir.c (cancel_handler): Renamed to
90272         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
90273         defined.  Adjust users.
90274         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90275         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90277 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
90279         * string/test-string.h (IMPL): Use __STRING to expand name and then
90280         stringify it.
90282         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
90283         of cleanups.
90285 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90287         * string/Makefile: Update.
90288         (strop-tests): Append strncat.
90289         * string/test-wcscmp.c: New file.
90290         New comprehensive test for wcscmp.
90291         * string/test-strcmp.c: Update.
90292         (WIDE): New define.
90294 2011-07-22  Andreas Schwab  <schwab@redhat.com>
90296         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90297         line.
90299 2011-07-26  Andreas Schwab  <schwab@redhat.com>
90301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90302         encoding to ACE if AI_IDN.
90304 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
90306         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90307         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90309 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
90312         Fix overflow bug in strncat.
90313         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
90315         * string/test-strncat.c: Update.
90316         Add new tests for checking overflow bugs.
90318 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90321         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90322         * sysdeps/i386/i686/multiarch/strcat.S: New file.
90323         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90324         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90325         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90326         * sysdeps/i386/i686/multiarch/strncat.S: New file.
90327         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90328         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90331         (USE_AS_STRCAT): Define.
90332         Add strcat and strncat support.
90333         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90335 2011-07-25  Andreas Schwab  <schwab@redhat.com>
90337         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90338         __n bigger than INT_MAX+1.
90339         (__strncmp_g): Likewise.
90341 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
90343         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90344         * libio/stido.h: Likewise.
90346         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90347         (AF_NFC): Define.
90348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90349         (AF_NFC): Define.
90351         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90352         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90353         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90354         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90355         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90357         [BZ #13021]
90358         * scripts/test-installation.pl: Don't expect libnss_test1 to be
90359         installed.
90361         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90362         typo.
90363         (_dl_x86_64_save_sse): Likewise.
90365 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
90367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90368         OSXSAVE.
90369         (_dl_x86_64_save_sse): Likewise.
90371         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90373         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90375 2011-07-21  Andreas Schwab  <schwab@redhat.com>
90377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90378         change.
90379         (_dl_x86_64_save_sse): Use correct AVX check.
90381 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90383         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90384         bug in strncpy/strncat.
90385         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90387 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
90389         * string/tester.c (test_strcat): Add tests for different alignments
90390         of source and destination.
90391         (test_strncat): Likewise.
90393 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90395         [BZ #12852]
90396         * posix/glob.c (glob): Check passed in values before using them in
90397         expressions to avoid some overflows.
90398         (glob_in_dir): Likewise.
90400         [BZ #13007]
90401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90402         check for AVX enablement so that we don't crash with old kernels and
90403         new hardware.
90404         * elf/tst-audit4.c: Add same checks here.
90405         * elf/tst-audit6.c: Likewise.
90407         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90409 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
90411         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90413 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90415         * po/cs.po: Update from translation team.
90416         * po/bg.po: Likewise.
90418 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
90420         * misc/sys/cdefs.h: Add support for const attribute.
90421         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90422         to gnu_dev_{major,minor,makedev} functions.
90424 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90426         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90428 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90430         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90431         strlen results.
90433 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90436         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90437         register in order to avoid conflicts with the soft frame pointer
90438         being held in r11 when necessary.
90439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90440         (INTERNAL_VSYSCALL_NCS): Likewise.
90442 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90444         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90445         * elf/dl-fini.c (_dl_fini): Adjust caller.
90446         * elf/dl-close.c (_dl_close_worker): Likewise.
90447         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90449 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90451         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90452         "aux_cache->nlibs < 0".
90454         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90455         in the reload-count case.
90457 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90460         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90461         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90462         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90463         * sysdeps/x86_64/multiarch/strcat.S: New file.
90464         * sysdeps/x86_64/multiarch/strncat.S: New file.
90465         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90466         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90467         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90468         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90469         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90470         (USE_AS_STRCAT): Define.
90471         Add strcat and strncat support.
90472         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90474         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90475         * string/strncat.c: Update.
90476         (USE_AS_STRNCAT): Define.
90477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90478         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90479         and i7.
90480         * sysdeps/x86_64/multiarch/init-arch.h
90481         (bit_Prefer_PMINUB_for_stringop): New.
90482         (index_Prefer_PMINUB_for_stringop): Likewise.
90483         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90484         bit_Prefer_PMINUB_for_stringop.
90486 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90488         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90489         buffer64.
90490         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90491         of casting of buffer.
90492         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90493         buffer32 and buffer64.
90494         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90495         writes instead of casting of buffer.
90496         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90497         buffer32.
90498         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90499         casting of buffer.
90501 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90503         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90505 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90507         * nscd/nscd.c (termination_handler): Don't do anything for a database
90508         if it has not yet been initialized.
90510 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90512         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90514 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90516         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90518 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90520         * po/nl.po: Update from translation team.
90521         * po/sv.po: Likewise.
90523 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90525         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90526         now disallowed by GCC.
90528         * configure.in (use-default-link): Default to yes if a test -shared
90529         link meets our qualifications.
90530         * configure: Regenerated.
90532         * config.make.in (output-format): New variable.
90533         * configure.in: Check for ld --print-output-format support.
90534         * configure: Regenerated.
90535         * Makerules ($(common-objpfx)format.lds)
90536         [$(output-format) != unknown]: Just use $(output-format),
90537         instead of the linker-script munging.
90539 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90541         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90542         of $(common-objpfx)shlib.lds.
90543         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90545         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90546         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90548         * configure.in (-z relro check): Adjust test code to add a large
90549         writable data section after it.
90550         * configure: Regenerated.
90552 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90554         * configure.in (-z relro check): Fix test code to make the variable
90555         truly const.
90556         * configure: Regenerated.
90558 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90560         * nscd/nscd.h (struct traced_file): Define.
90561         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90562         elements.  Add traced_files.
90563         (inotify_fd): Declare.
90564         (register_traced_file): Declare.
90565         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90566         (inotify_fd): Export.
90567         (resolv_conf_descr): Remove.
90568         (nscd_init): Move inotify descriptor creation to main.
90569         Don't register files for notification here.
90570         (register_traced_file): New function.
90571         (invalidate_cache): Don't use reset_res to determine whether to call
90572         res_init, go through the list of registered files.
90573         (main_loop_poll): The inotify descriptors are now stored in the
90574         structures for the traced files.
90575         (main_loop_epoll): Likewise.
90576         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90577         to __nss_disable_nscd.
90578         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90579         for a database anymore.  Check the records for all the registered
90580         files instead.
90581         * nss/Makefile (libnss_files-routines): Add files-init.
90582         (libnss_db-routines): Add db-init.
90583         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90584         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90585         * nss/nss_db/db-init.c: New file.
90586         * nss/nss_files/files-init.c: New file.
90587         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90588         __nss_lookup_function.
90589         (__nss_lookup_function): Call nss_load_library.
90590         (nss_load_all_libraries): New function.
90591         (__nss_disable_nscd): Take parameter with callback function for files
90592         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90593         used for the cached services.
90594         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90595         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90596         options for features to all the files in nscd.
90598         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90600 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90602         * csu/elf-init.c (__libc_csu_init): Comment typo.
90604 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90606         * po/pl.po: Update from translation team.
90607         * po/ja.po: Likewise.
90608         * po/ru.po: Likewise.
90609         * po/ko.po: Likewise.
90610         * po/fr.po: Likewise.
90612 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90614         * configure.in (.ctors/.dtors header and trailer check):
90615         Use an empirical test on a built program.
90616         * configure: Regenerated.
90618         * configure.in (-z relro check): Use an empirical test on a built DSO.
90619         Detect, but do not require, on ia64.
90620         * configure: Regenerated.
90622         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90623         Update tests that use readelf to use $READELF instead.
90624         * configure: Regenerated.
90626 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90628         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90629         if the result is not used.
90631 2011-07-05  Andreas Jaeger  <aj@suse.de>
90633         [BZ #9696]
90634         * stdlib/tst-strtod.c: Add testcase.
90636 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90638         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90639         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90640         The latter has a higher limit.  Take additional parameter to pass to
90641         the new function.
90642         (__pathconf): Pass file to __statfs_link_max.
90643         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90644         __statfs_link_max.
90645         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90646         __statfs_link_max.
90648         [BZ #12868]
90649         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90650         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90651         Handle Lustre.
90652         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90653         (__statfs_filesize_max): Likewise.
90654         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90656 2011-07-05  Andreas Jaeger  <aj@suse.de>
90658         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90660 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90662         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90663         `status' variable.
90664         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90665         Likewise.
90667 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90669         * Makefile (strop-tests): Add strncat.
90670         * string/test-strncat.c: New file.
90672 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90674         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90676 2011-06-21  Andreas Jaeger  <aj@suse.de>
90678         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90679         Copy rule from iconvdata/Makefile.
90681 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90683         [BZ #12922]
90684         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90685         but no long options are defined, just return 'W'.
90687 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90689         [BZ #9696]
90690         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90692 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90694         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90695         netgroups to read.
90696         (innetgr): Likewise.
90698 2011-07-05  Roland McGrath  <roland@hack.frob.com>
90700         * config.make.in (install_root): Default to $(DESTDIR).
90702 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
90704         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90706 2011-07-02  Roland McGrath  <roland@hack.frob.com>
90708         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90710         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90711         containing directory rather than embedding absolute directory names.
90713         * scripts/check-local-headers.sh: Rewritten using awk.
90714         Match by word, not by line.  Print error messages for matches.
90715         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90717         * Makerules [shlib-lds-flags empty]:
90718         ($(common-objpfx)libc_pic.opts): New target.
90719         ($(common-objpfx)libc_pic.os.clean): New target.
90720         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90722         * config.make.in (OBJCOPY): New variable.
90723         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90724         * configure: Regenerated.
90726         * config.make.in (use-default-link): New variable.
90727         * configure.in (use_default_link): Grok --with-default-link to set it.
90728         * configure: Regenerated.
90729         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90730         (shlib-lds, shlib-lds-flags): Define to empty.
90732         * Makerules (shlib-lds): New variable.
90733         (shlib-lds-flags): New variable.
90734         (build-shlib, build-moduile, build-module-asneeded): Use it.
90735         ($(common-objpfx)libc.so): Use $(shlib-lds).
90736         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90737         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90739         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90740         DT_FLAGS/DT_FLAGS_1 with zero flags.
90742         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90743         linker script munging.
90745 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
90747         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90748         as 128-bit value.
90749         * crypt/sha512.c (sha512_process_block): Perform total addition using
90750         128-bit if possible.
90751         (__sha512_finish_ctx): Likewise.
90752         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90753         as 64-bit value.
90754         * crypt/sha256.c (SWAP64): Define.
90755         (sha256_process_block): Perform total addition using 64-bit if
90756         possible.
90757         (__sha256_finish_ctx): Likewise.
90759 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
90761         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
90762         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90763         * nscd/hstcache.c (cache_addhst): Likewise.
90764         * nscd/grpcache.c (cache_addgr): Likewise.
90765         * nscd/aicache.c (addhstaiX): Likewise.
90766         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90768 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
90770         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90772         * nscd/hstcache.c (cache_addhst): Likewise.
90773         * nscd/grpcache.c (cache_addgr): Likewise.
90774         * nscd/aicache.c (addhstaiX): Likewise.
90776 2011-07-01  Andreas Schwab  <schwab@redhat.com>
90778         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90779         domain only when needed.
90781 2011-06-30  Andreas Schwab  <schwab@redhat.com>
90783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90784         is always restored.
90786 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
90788         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90789         are re-adding the entry.
90790         * nscd/servicescache.c (cache_addserv): Likewise.
90792 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
90794         * sysdeps/generic/dl-irel.h: fix protection against multiple
90795         inclusions.
90796         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90798 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
90800         [BZ #12935]
90801         * malloc/memusage.sh: Fix quoting in message.
90802         * debug/xtrace.sh: Likewise.
90804         * configure.in: Remove support for --experimental-malloc option, make
90805         it the default.
90806         * config.make.in: Likewise.
90807         * malloc/Makefile: Likewise.
90809 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90811         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90812         two-byte characters.
90814 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90816         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90817         AC_CACHE_CHECK invocation.
90818         * configure: Regenerated.
90820         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90822 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90824         [BZ #12350]
90825         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90826         bit from old_res_options.
90828         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90830         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90831         value type for setfct.
90833 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90836         __gettimeofday instead of gettimeofday.
90838 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90840         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90842 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90846         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90847         info.
90849 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90852         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90853         strcpy-sse2-unaligned strncpy-sse2-unaligned
90854         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90855         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90856         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90857         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90858         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90859         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90860         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90861         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90862         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90863         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90864         (STRCPY): Support SSE2 and SSSE3 versions.
90866 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90868         [BZ #12874]
90869         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90870         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90871         kernels which artificially limit size of requests.
90873 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90876         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90877         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90878         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90879         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90880         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90881         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90882         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90884         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90885         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90886         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90887         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90888         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90889         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90891         Enable unaligned load optimization for Intel Core i3, i5 and i7
90892         processors.
90893         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90894         Define.
90895         (index_Fast_Unaligned_Load): Define.
90896         (HAS_FAST_UNALIGNED_LOAD): Define.
90898 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90900         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90902 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90904         [BZ #12907]
90905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90906         until it is clear that the information is realy needed.
90907         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90909 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90913 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90916         /sys/devices/system/cpu/online if it is usable.
90918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90919         reading the information from the /proc filesystem to once a second.
90921 2011-06-21  Andreas Jaeger  <aj@suse.de>
90923         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90924         NULL after inclusion of kernel headers.
90926 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90928         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90929         calls to internal_setent.
90931         [BZ #12885]
90932         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90933         addresses using gethostbyname4_r ignore IPv4 addresses.
90935         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90936         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90938         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90940 2011-06-20  David S. Miller  <davem@davemloft.net>
90942         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90943         inclusions.
90944         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90946         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90947         (elf_irel): Use it.
90948         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90949         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90950         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90951         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90952         * sysdeps/x86_64/dl-irel.h: Likewise.
90954         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90955         * elf/dl-sym.c: Likewise.
90957 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90959         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90960         need to dereference resplen2.
90962 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90964         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90966 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90968         * Makeconfig: Define vardbdir and inst_vardbdir.
90969         * nss/Makefile: Add rules to install db-Makefile.
90971         * nss/nss_db/db-XXX.c: Cleanup.
90973         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90974         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90975         GLIBC_PRIVATE.
90976         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90977         * nss/makedb.c: Implement -g option to specify that value strings
90978         are generated and should not be added to table iterated over for
90979         get*ent calls.
90980         * nss/nss_db/db-initgroups.c: New file.
90982         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90983         interface.
90985         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90986         (internal_getgrouplist): Adjust to name change.
90987         Update use_initgroups_entry if this is not the first call.
90988         * nss/databases.def: Add initgroups entry.
90990         * nss/makedb.c (compute_tables): Check result of multiple hash table
90991         sizes to minimize maximum chain length.
90993 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90995         * Versions.def: Add entry for libnss_db.
90996         * shlib-versions: Likewise.
90997         * nss/Makefile: Add rules to build libnss_db.
90998         * nss/Versions: Add libnss_db information.  Organize libnss_files
90999         entries better.
91000         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91001         makedb progra.  Some minor improvements to generate smaller files.
91002         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91003         here from...
91004         * nss/makedb.c: ...here.
91005         Improve database format to be smaller and require less memory at
91006         runtime.
91007         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91008         db anymore.
91009         * nss/nss_db/db-netgrp.c: Likewise.
91010         * nss/nss_db/db-open.c: Likewise.
91011         * nss/nss_files/flies-XXX.x: Adjust comments.
91012         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91013         * nss/nss_files/files-grp.c: Likewise.
91014         * nss/nss_files/files-hosts.c: Likewise.
91015         * nss/nss_files/files-network.c: Likewise.
91016         * nss/nss_files/files-proto.c: Likewise.
91017         * nss/nss_files/files-pwd.c: Likewise.
91018         * nss/nss_files/files-rpc.c: Likewise.
91019         * nss/nss_files/files-service.c: Likewise.
91020         * nss/nss_files/files-sgrp.c: Likewise.
91021         * nss/nss_files/files-spwd.c: Likewise.
91022         * nss/nss_db/db-alias.c: Removed.
91023         * nss/nss_db/dummy-db.h: Removed.
91025 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91027         * nss/makedb.c: Rewritten to not use database library.
91028         * nss/Makefile: Update to build new makedb program.
91030 2011-06-14  Andreas Jaeger  <aj@suse.de>
91032         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91033         memset declaration.
91035 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91038         tmpbuf.
91040 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91042         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91043         * elf/Makefile ($(objpfx)ld.so): Likewise.
91045         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91046         Don't list ld.so twice in dependencies.
91048         * posix/bug-regex31.c: Include <stdlib.h>.
91050         * nscd/hstcache.c (cache_addhst): Remove unused variable.
91052         * nis/nss_compat/compat-spwd.c
91053         (getspent_next_nss_netgr): Remove unused variable.
91054         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91056         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91057         nonmembers" output to use the right array.
91059         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91061         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91063         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91064         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91065         * catgets/gencat.c (read_input_file): Likewise.
91066         * locale/programs/locarchive.c (enlarge_archive): Likewise.
91068         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91069         variable definition inside #if's controlling its use.
91071         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91073         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91075         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91077         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91078         unreachable code.
91080         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91082         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91083         * configure: Regenerated.
91085         * Makerules: Revert last change.
91086         * elf/Makefile: Likewise.
91088 2011-06-09  Roland McGrath  <roland@hack.frob.com>
91090         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91091         * elf/Makefile ($(objpfx)librtld.os): Likewise.
91092         (reloc-link): Likewise.
91094 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
91096         * elf/Makefile: Add rules to build pldd.
91097         * elf/pldd.c: New file.
91098         * elf/pldd-xx.c: New file.
91100 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
91102         * version.h: Update for 2.15 development version.
91104 2011-06-07  David S. Miller  <davem@davemloft.net>
91106         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91107         ifuncs.
91108         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91109         elf_machine_lazy_rel): Likewise.
91110         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91111         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91112         elf_machine_lazy_rel): Likewise.
91113         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91114         dl_hwcap via passed in argument.
91115         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91116         Likewise.
91118 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91120         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
91122 2011-06-06  Roland McGrath  <roland@hack.frob.com>
91124         [BZ #12849]
91125         * manual/fdl-1.1.texi: New file, verbatim from:
91126         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91127         * manual/lgpl-2.1.texi: New file, verbatim from:
91128         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91129         * manual/Makefile (licenses): New variable, list those new file names.
91130         (texis): Use it.
91131         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91133         * manual/fdl.texi: File removed.
91134         * manual/lesser.texi: File removed.
91135         * manual/libc.texinfo (Copying, Documentation License):
91136         Use new @include file names, put @appendix directive before @include.
91138 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
91140         [BZ #12841]
91141         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91142         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91143         (mq_open): Add __NTH.
91145 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
91147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91148         Assume Intel Core i3/i5/i7 processor if AVX is available.
91150 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91153         typo.
91155 2011-05-31  Andreas Schwab  <schwab@redhat.com>
91157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91158         memory.  Use alloca_account.  Fix memory leak when retrying.
91160 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91162         * version.h (RELEASE): Bump for 2.14 release.
91163         * include/features.h (__GLIBC_MINOR__): Bump to 14.
91165         * config.make.in (RANLIB): Remove entry.
91167 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
91169         * po/Makefile (po-sed-cmd): Add ksh to extensions.
91170         (libc.pot): Work around missing support for .ksh extension in xgettext.
91172         [BZ #12684]
91173         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91174         if both request failed.
91175         (send_dg): In case of server errors clear resplen or *resplen2.
91177         [BZ #12454]
91178         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91179         when there are multiple maps.
91180         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91181         (_dl_fini): Remove test here.
91183         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91185 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
91187         [BZ #12350]
91188         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91189         bit from old_res_options.
91190         (gaih_inet): Likewise.
91192         [BZ #11099]
91193         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91194         as signed.
91196         * resolv/res_init.c (res_setoptions): Make the code more compact.
91198         [BZ #11558]
91199         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91200         set RES_USEVC.
91202         [BZ #11634]
91203         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91205         * malloc/malloc.h: Mark malloc hook variables as deprecated.
91207         [BZ #11781]
91208         * malloc/malloc.h: Declare malloc hook variables as volatile.
91210         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91211         in last patch.
91213         [BZ #11799]
91214         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91215         raise in the comment.
91216         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91217         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91220 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
91222         [BZ #12811]
91223         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91224         grow the buffers more if it already has to be sufficient.
91225         (build_wcs_upper_buffer): Likewise.
91226         * posix/regexec.c (check_matching): Likewise.
91227         (clean_state_log_if_needed): Likewise.
91228         (extend_buffers): Don't enlarge buffers beyond size of the input
91229         buffer.
91230         Patches mostly by Emil Wojak <emil@wojak.eu>.
91231         * posix/bug-regex32.c: New file.
91232         * posix/Makefile (tests): Add bug-regex32.
91234         * locale/findlocale.c (_nl_find_locale): Return right away if
91235         _nl_explode_name failed.
91236         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91238         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91240         * debug/xtrace.sh: Unify messages.
91241         * malloc/memusage.sh: Likewise.
91243         [BZ #12813]
91244         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91245         time symbol from vDSO.  Substitute with vsyscall if not available.
91246         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91247         __vdso_time.
91249         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91250         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91251         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91252         Add sendmmsg and internal_sendmmsg.
91253         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91254         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91255         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91257         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
91258         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
91259         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
91261 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
91263         [BZ #12813]
91264         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
91265         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
91266         available.
91267         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
91268         __vdso_getcpu.
91270         [BZ #12814]
91271         * iconvdata/Makefile (tests): Add bug-iconv9.
91272         * iconvdata/bug-iconv9.c: New file.
91274 2011-05-27  Andreas Schwab  <schwab@redhat.com>
91276         [BZ #12814]
91277         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91279 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
91281         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91282         (struct user_regs_struct): Change intcs field back to cs.
91284 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
91286         * po/ja.po: Update from translation team.
91288 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
91290         [BZ #12795]
91291         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91292         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91294 2011-05-20  Andreas Schwab  <schwab@redhat.com>
91296         * stdlib/longlong.h: Update from GCC.
91298 2011-05-23  Andreas Schwab  <schwab@redhat.com>
91300         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91301         parameter name.
91302         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91303         Add parameter name.
91304         (__sysconf): Pass it down.
91306 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
91308         [BZ #12671]
91309         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
91310         some situations.
91311         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
91312         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
91313         add in in __libc_use_alloca calls.  Adjust callers.
91314         (glob): Use malloc in some situations.
91316         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
91317         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
91318         pltexit.
91320 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
91322         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91323         and CLOCK_BOOTTIME_ALARM.
91325         [BZ #12782]
91326         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91327         is returned.
91329         * string/_strerror.c (__strerror_r): Print negative errors as signed
91330         numbers.
91332         [BZ #12777]
91333         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91334         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91335         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91337         * configure.in: Fix typo in redirection and correct removal of test
91338         files in two cases.
91340         [BZ #12788]
91341         * locale/setlocale.c (new_composite_name): Fix test to check for
91342         identical name of all categories.
91344         [BZ #12792]
91345         * libio/filedoalloc.c (local_isatty): New function.
91346         (_IO_file_doallocate): Use local_isatty.
91347         * stdio-common/perror.c (perror): In case a new stream is used
91348         forward the stream error.
91349         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91350         error flag.
91352 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
91354         [BZ #11884]
91355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91356         alloca.
91357         * include/alloca.h (extend_alloca_account): Define.
91359         [BZ #11857]
91360         * posix/regex.h: Fix comments with documentation of user-accessible
91361         fields after compilation and describe correct free'ing of pattern
91362         after re_compile_pattern.
91363         Patch by Reuben Thomas <rrt@sc3d.org>.
91365 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
91367         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91368         and -mno-altivec to prevent the compiler from using Altivec and/or
91369         VSX instructions when the corresponding registers are not available.
91371 2011-05-19  Andreas Schwab  <schwab@redhat.com>
91373         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91375 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
91377         * libio/freopen.c (freopen): Use __dup2, not dup2.
91378         * libio/freopen64.c (freopen64): Likewise.
91380 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
91382         [BZ #12775]
91383         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91384         * math/Makefile (tests): Add test-powl.
91385         (CFLAGS-test-powl.c): Define.
91386         * math/test-powl.c: New file.
91388 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
91390         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91392 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
91394         [BZ #11837]
91395         * iconvdata/gb18030.c: Update to GB18020-2005.
91397 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
91399         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91400         RE_SYNTAX_POSIX_AWK): Update to match recent development.
91401         Patch by Aharon Robbins <arnold@skeeve.com>.
91403         [BZ #11892]
91404         * stdlib/putenv.c (putenv): Don't always create copy of the variable
91405         on the stack.
91407         [BZ #11895]
91408         * misc/pselect.c (__pselect): Handle timeout value errors hidden
91409         through underflows.
91411         [BZ #12766]
91412         * misc/error.c (error_at_line): Ensure file_name and old_file_name
91413         point to strings before performing equality test for error_one_per_line
91414         mode.
91416         [BZ #11697]
91417         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91419         [BZ #11820]
91420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91421         (struct user_fpregs_struct): Avoid __uint*_t types.
91423         [BZ #6420]
91424         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91425         symbol info.  Use it instead of calling _dl_addr locally.
91426         (lock_and_info): New function.
91427         (tr_freehook): Call lock_and_info and pass symbol info as additional
91428         parameter to tr_where.
91429         (tr_mallochook): Likewise.
91430         (tr_reallochook): Likewise.
91431         (tr_memalignhook): Likewise.
91433         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91434         used and couldn't be at all thread-safe.
91436 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91438         * libio/freopen.c (freopen): Don't close old file descriptor
91439         before the new one is opened.  Instead dup the new file descriptor
91440         to the old one after the new stream is created.
91441         * libio/freopen64.c (freopen64): Likewise.
91442         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91443         * libio/fileops.c (_IO_new_file_close_it): Handle new
91444         _IO_FLAGS2_NOCLOSE flag.
91445         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91446         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91447         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91448         _IO_FLAGS2_NOCLOSE flag.
91449         * include/unistd.h: Add hidden_proto for dup3.
91450         Define __have_dup3.
91451         * io/dup3.c: Define hidden symbol.
91452         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91454         [BZ #7101]
91455         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91456         when an incomplete long option is used.
91457         * posix/tst-getopt_long1.c: New file.
91458         * posix/Makefile (tests): Add tst-getopt_long1.
91460         [BZ #10138]
91461         * scripts/config.guess: Update from autoconf-2.68.
91462         * scripts/config.sub: Likewise.
91464         [BZ #10157]
91465         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91466         tests into ...
91467         (has_cpuclock): ...this.  New function.
91468         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91469         macro here based on has_cpuclock code.
91471         [BZ #10149]
91472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91473         First byte (not low byte) is now always NUL.
91474         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91476         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91477         Use non-cancelable interfaces.
91479         [BZ #9809]
91480         * locale/iso-639.def: Add entry for Sorani.
91482         [BZ #11901]
91483         * include/stdlib.h: Move include protection to the right place.
91484         Define abort_msg_s.  Declare __abort_msg with it.
91485         * stdlib/abort.c (__abort_msg): Adjust type.
91486         * assert/assert.c (__assert_fail_base): New function.  Majority
91487         of code from __assert_fail.  Allocate memory for __abort_msg with
91488         mmap.
91489         (__assert_fail): Now call __assert_fail_base.
91490         * assert/assert-perr.c: Remove bulk of implementation.  Use
91491         __assert_fail_base.
91492         * include/assert.hL Declare __assert_fail_base.
91493         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91494         mmap.
91495         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91497 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91499         [BZ #11952]
91500         [BZ #12453]
91501         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91502         until all modules are registered in the DTV.
91503         * elf/Makefile: Add rules to build and run tst-tls19.
91504         * elf/tst-tls19.c: New file.
91505         * elf/tst-tls19mod1.c: New file.
91506         * elf/tst-tls19mod2.c: New file.
91507         * elf/tst-tls19mod3.c: New file.
91508         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91510         [BZ #12083]
91511         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91512         correctly.
91514         [BZ #12601]
91515         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91516         two-byte sequence errors.
91517         * iconvdata/Makefile (tests): Add bug-iconv8.
91518         * iconvdata/bug-iconv8.c: New file.
91520         [BZ #12626]
91521         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91522         buf2 definition.
91524         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91526         [BZ #12432]
91527         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91528         (dummy_getcfa): New function.
91529         (init): Get _Unwind_GetCFA address, use dummy if not found.
91530         (backtrace_helper): In recursion check, also check whether CFA changes.
91531         (__backtrace): Completely initialize arg.
91533         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91534         storing incomplete byte sequence in state object.  Avoid testing for
91535         guaranteed too small input if we know there is enough data available.
91537 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91539         * Makeconfig (+link-pie): Indent.
91540         * Rules (binaries-pie): Define if $(have-fpie) and
91541         $(build-shared).
91542         (binaries-shared): Also filter out $(binaries-pie).
91543         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91544         * nscd/Makefile (others-pie): Add nscd.
91545         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91546         ($(objpfx)nscd): Remove command override.
91547         * login/Makefile (others-pie): Add pt_chown.
91548         ($(objpfx)pt_chown): Remove command override.
91549         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91550         remove command overrides.
91552 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91554         * libio/tst_putwc.c: Fix error messages.
91556         [BZ #12724]
91557         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91558         currently writing and seek to current position when not.
91559         * libio/Makefile (tests): Add bug-fclose1.
91560         * libio/bug-fclose1.c: New file.
91562 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91564         [BZ #12511]
91565         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91566         don't set DF_1_NODELETE here.
91567         (do_lookup_x): When entering new entry test for copy relocation
91568         and if necessary set DF_1_NODELETE flag.
91569         * elf/tst-unique4.cc: New file.
91570         * elf/tst-unique4.h: New file.
91571         * elf/tst-unique4lib.cc: New file.
91572         * elf/Makefile: Add rules to build and run tst-unique4.
91573         Patch by Piotr Bury <pbury@goahead.com>.
91575 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91577         [BZ #12052]
91578         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91580         [BZ #12625]
91581         * misc/mntent_r.c (addmntent): Flush the stream after the output
91583         [BZ #12393]
91584         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91585         (is_trusted_path_normalize): Skip initial colon.  Append slash
91586         to empty buffer.  Duplicate is_trusted_path code but allow
91587         constructed patch to be prefix.
91588         (is_dst): Allow $ORIGIN followed by /.
91589         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91590         Correct testing of result of is_trusted_path_normalize
91591         (decompose_rpath): Fix warning.
91593 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91595         [BZ #11257]
91596         * grp/initgroups.c (internal_getgrouplist): When we found the service
91597         list through the initgroups entry in nsswitch.conf do not always
91598         continue on a successful lookup.  Don't always use the
91599         __nss_group_database value if it is set.
91600         * nss/nsswitch.conf (initgroups): Change action for successful db
91601         lookup to continue for compatibility.
91603 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91605         [BZ #11532]
91606         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91607         and CP774 modules.
91608         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91609         and CP774 modules.
91610         * iconvdata/tst-tables.sh: Likewise.
91611         * iconvdata/cp770.c: New file.
91612         * iconvdata/cp771.c: New file.
91613         * iconvdata/cp772.c: New file.
91614         * iconvdata/cp773.c: New file.
91615         * iconvdata/cp774.c: New file.
91616         * iconvdata/testdata/CP770: New file.
91617         * iconvdata/testdata/CP770..UTF8: New file.
91618         * iconvdata/testdata/CP771: New file.
91619         * iconvdata/testdata/CP771..UTF8: New file.
91620         * iconvdata/testdata/CP772: New file.
91621         * iconvdata/testdata/CP772..UTF8: New file.
91622         * iconvdata/testdata/CP773: New file.
91623         * iconvdata/testdata/CP773..UTF8: New file.
91624         * iconvdata/testdata/CP774: New file.
91625         * iconvdata/testdata/CP774..UTF8: New file.
91627         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91628         END CHARMAP line.
91629         * iconvdata/gen-8bit-gap.sh: Likewise.
91630         * iconvdata/gen-8bit.sh: Likewise.
91632         * locale/iso-639.def: Add ary entry.
91634         [BZ #11258]
91635         * locale/C-translit.h.in: Add U20A1 transliteration.
91637         [BZ #12178]
91638         * locale/iso-639.def: Add wae entry.
91639         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91641         [BZ #12545]
91642         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91643         for n.
91645         [BZ #12711]
91646         * locale/C-translit.h.in: Add entry for U20B9.
91647         Patch by pravin.d.s@gmail.com.
91649 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91651         [BZ #12713]
91652         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91653         ENAMETOOLONG use generic getcwd.
91654         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91655         in rtld.  Use *stat64.
91656         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91657         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91658         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91659         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91660         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91661         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91662         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91663         __fstatat64 macros.
91664         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91665         * dirent/rewinddir.c: Add libc_hidden_def.
91666         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91667         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91669         * include/dirent.h (__alloc_dir): Add flags parameter.
91670         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91671         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91672         __alloc_dir.
91673         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91674         from fdopendir if O_CLOEXEC is already set.
91676 2011-03-15  Alan Modra  <amodra@gmail.com>
91678         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91679         l_tls_firstbyte_offset non-zero.  Save padding offset in
91680         l_tls_firstbyte_offset for later use.
91681         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91682         freeing static tls block.
91684 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91686         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91687         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91688         being defined by the kernel headers.
91690 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
91692         [BZ #12734]
91693         * resolv/resolv.h: Define RES_NOTLDQUERY.
91694         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91695         no-tld-query and set RES_NOTLDQUERY.
91696         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91697         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91698         modern BIND to search name as TLD unless forbidden.
91700 2011-05-07  Petr Baudis  <pasky@suse.cz>
91701             Ulrich Drepper  <drepper@gmail.com>
91703         [BZ #12393]
91704         * elf/dl-load.c (fillin_rpath): Move trusted path check...
91705         (is_trusted_path): ...to here.
91706         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91707         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91708         using is_trusted_path_normalize() in setuid scripts.
91710 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
91712         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91713         __BEGIN/__END_DECLS.
91715 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
91717         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91718         NSS_STATUS_NOTFOUND if no record was found.
91720 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91722         * sunrpc/Makefile (headers): Add rpc/netdb.h.
91723         (headers-not-in-tirpc): Remove rpc/netdb.h
91724         * resolv/netdb.h: Revert last change.
91726 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
91728         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91729         circular dependency between libgcc.a and libc.a.
91731 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91733         * resolv/netdb.h: Don't include <rpc/netdb.h>.
91734         * nis/Makefile: Don't install rpcsvc/*.
91735         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91736         instead of <rpc/types.h>.
91737         (MAXHOSTNAMELEN): Define.
91739 2011-05-03  Andreas Schwab  <schwab@redhat.com>
91741         * elf/ldconfig.c (add_dir): Don't crash on empty path.
91743 2011-04-28  Maciej Babinski  <mbabinski@google.com>
91745         [BZ #12714]
91746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91747         gethostbyname4_r when IPv6 results are possible.
91749 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
91751         [BZ #12723]
91752         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91753         _PC_PIPE_BUF handling.
91755 2011-04-30  Bruno Haible  <bruno@clisp.org>
91757         [BZ #12717]
91758         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91759         * resolv/netdb.h (getnameinfo): Change type of flags parameter
91760         to 'int'.
91761         * inet/getnameinfo.c (getnameinfo): Likewise.
91763 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
91765         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91766         to groups setting in database lookup.
91767         * nss/nsswitch.conf: Add initgroups entry.
91769 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
91771         [BZ #12685]
91772         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91773         mode string.
91774         Patch by Eric Blake <eblake@redhat.com>.
91776 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
91778         * sunrpc/Makefile (need-export-routines): Add svc_run.
91779         (routines): Remove svc_run.
91780         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91781         * sunrpc/clnt_perr.c (clnt_perrno): Export.
91782         * sunrpc/svc_run.c (svc_run): Likewise.
91783         * sunrpc/svc_udp.c (svcudp_create): Likewise.
91785 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
91787         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91788         problem in reallocation in last patch.
91790 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
91792         * sunrpc/Makefile: Move inclusion of Rules.
91794 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91796         * nss/nss_files/files-initgroups.c: New file.
91797         * nss/Makefile (libnss_files-routines): Add files-initgroups.
91798         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91799         _nss_files_initgroups_dyn.
91801 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91803         * elf/elf.h (R_ARM_IRELATIVE): Define.
91805 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91807         * po/ru.po: Update from translation team.
91809 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91811         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91812         dependencies.
91814 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91816         [BZ #12653]
91817         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91818         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91819         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91820         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91821         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91823 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91825         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91826         differing bytes.
91827         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91828         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91831 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91833         [BZ #12420]
91834         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91835         storing it.
91836         * stdlib/bug-getcontext.c: New file.
91837         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91839 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91841         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91842         instructions into .machine "z9-109".
91843         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91844         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91846 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91848         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91849         between environment variables and auxiliary vector.
91851 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91853         * Makefile: Add rules to build linkobj/libc.so.
91854         * include/libc-symbols.h: Define libc_hidden_nolink.
91855         * include/rpc/auth.h: Mark functions which are to be hidden.
91856         * include/rpc/auth_des.h: Likewise.
91857         * include/rpc/auth_unix.h: Likewise.
91858         * include/rpc/clnt.h: Likewise.
91859         * include/rpc/des_crypt.h: Likewise.
91860         * include/rpc/key_prot.h: Likewise.
91861         * include/rpc/pmap_clnt.h: Likewise.
91862         * include/rpc/pmap_prot.h: Likewise.
91863         * include/rpc/pmap_rmt.h: Likewise.
91864         * include/rpc/rpc_msg.h: Likewise.
91865         * include/rpc/svc.h: Likewise.
91866         * include/rpc/svc_auth.h: Likewise.
91867         * include/rpc/xdr.h: Likewise.
91868         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91869         * nss/Makefile: Likewise.
91870         * sunrpc/Makefile: Don't install headers.  Build library with normal
91871         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91872         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91873         for the compat linking library.  Remove use of INTDEF/INTUSE.
91874         * sunrpc/auth_none.c: Likewise.
91875         * sunrpc/auth_unix.c: Likewise.
91876         * sunrpc/authdes_prot.c: Likewise.
91877         * sunrpc/authuxprot.c: Likewise.
91878         * sunrpc/clnt_gen.c: Likewise.
91879         * sunrpc/clnt_perr.c: Likewise.
91880         * sunrpc/clnt_raw.c: Likewise.
91881         * sunrpc/clnt_simp.c: Likewise.
91882         * sunrpc/clnt_tcp.c: Likewise.
91883         * sunrpc/clnt_udp.c: Likewise.
91884         * sunrpc/clnt_unix.c: Likewise.
91885         * sunrpc/des_crypt.c: Likewise.
91886         * sunrpc/des_soft.c: Likewise.
91887         * sunrpc/get_myaddr.c: Likewise.
91888         * sunrpc/key_call.c: Likewise.
91889         * sunrpc/key_prot.c: Likewise.
91890         * sunrpc/netname.c: Likewise.
91891         * sunrpc/pm_getmaps.c: Likewise.
91892         * sunrpc/pm_getport.c: Likewise.
91893         * sunrpc/pmap_clnt.c: Likewise.
91894         * sunrpc/pmap_prot.c: Likewise.
91895         * sunrpc/pmap_prot2.c: Likewise.
91896         * sunrpc/pmap_rmt.c: Likewise.
91897         * sunrpc/publickey.c: Likewise.
91898         * sunrpc/rpc_cmsg.c: Likewise.
91899         * sunrpc/rpc_common.c: Likewise.
91900         * sunrpc/rpc_dtable.c: Likewise.
91901         * sunrpc/rpc_prot.c: Likewise.
91902         * sunrpc/rpc_thread.c: Likewise.
91903         * sunrpc/rtime.c: Likewise.
91904         * sunrpc/svc.c: Likewise.
91905         * sunrpc/svc_auth.c: Likewise.
91906         * sunrpc/svc_authux.c: Likewise.
91907         * sunrpc/svc_raw.c: Likewise.
91908         * sunrpc/svc_run.c: Likewise.
91909         * sunrpc/svc_simple.c: Likewise.
91910         * sunrpc/svc_tcp.c: Likewise.
91911         * sunrpc/svc_udp.c: Likewise.
91912         * sunrpc/svc_unix.c: Likewise.
91913         * sunrpc/svcauth_des.c: Likewise.
91914         * sunrpc/xcrypt.c: Likewise.
91915         * sunrpc/xdr.c: Likewise.
91916         * sunrpc/xdr_array.c: Likewise.
91917         * sunrpc/xdr_float.c: Likewise.
91918         * sunrpc/xdr_intXX_t.c: Likewise.
91919         * sunrpc/xdr_mem.c: Likewise.
91920         * sunrpc/xdr_rec.c: Likewise.
91921         * sunrpc/xdr_ref.c: Likewise.
91922         * sunrpc/xdr_sizeof.c: Likewise.
91923         * sunrpc/xdr_stdio.c: Likewise.
91925 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91927         [BZ #12650]
91928         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91929         * sysdeps/ia64/dl-tls.h: Likewise.
91930         * sysdeps/powerpc/dl-tls.h: Likewise.
91931         * sysdeps/s390/dl-tls.h: Likewise.
91932         * sysdeps/sh/dl-tls.h: Likewise.
91933         * sysdeps/sparc/dl-tls.h: Likewise.
91934         * sysdeps/x86_64/dl-tls.h: Likewise.
91935         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91937 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91939         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91940         rpath element also skip the following colon.
91941         (expand_dynamic_string_token): Add is_path parameter and pass
91942         down to DL_DST_REQUIRED and _dl_dst_substitute.
91943         (decompose_rpath): Call expand_dynamic_string_token with
91944         non-zero is_path.  Ignore empty rpaths.
91945         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91946         with zero is_path.
91948 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91951         Make cancelable.
91953 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91955         [BZ #12655]
91956         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91957         Patch by Filipe David Manana <fdmanana@apache.org>.
91959 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91961         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91962         Maintain aligned stack.
91963         (CHECK_RSP): Remove unused macro.
91965 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91967         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91968         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91970 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91972         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91974         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91976 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91978         [BZ #12518]
91979         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91980         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91981         * sysdeps/x86_64/memmove.c: New file.
91982         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91983         (memcpy): Renamed to ...
91984         (__new_memcpy): This.
91985         (memcpy): Provide GLIBC_2_14 memcpy.
91986         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91987         (memcpy): Provide GLIBC_2_2_5 memcpy.
91989 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91991         [BZ #12631]
91992         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91994 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91996         * misc/syncfs.c: New file.
91997         * misc/Makefile (routines): Add syncfs.
91998         * posix/unistd.h: Declare syncfs.
91999         * sysdeps/unix/syscalls.list: Add syncfs.
92001 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92003         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92004         open_by_handle_at.
92005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92006         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92008         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92010         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92011         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92013 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92016         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92017         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92018         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92019         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92021         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92023         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92024         sync_file_range.c with -fexceptions.
92025         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92026         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92027         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92028         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92029         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92030         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92032         sync_file_range as cancellation point
92033         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92034         now a wrapper around __call_sync_file_range with cancellation handling.
92035         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92036         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92037         function name to __call_sync_file_range.
92038         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92039         Add call_sync_file_range.
92041 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92044         bits/timex.h.
92046 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92048         * iconv/iconv.h: Fix typo in comment.
92049         * io/fcntl.h: Likewise.
92050         * libio/stdio.h: Likewise.
92051         * posix/spawn.h: Likewise.
92052         * posix/unistd.h: Likewise.
92053         * stdlib/stdlib.h: Likewise.
92054         * time/time.h: Likewise.
92055         * wcsmbs/wchar.h: Likewise.
92057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92058         open_by_handle): Add.
92059         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92060         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
92061         Augment a few comments.
92062         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92063         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92064         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92067         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92068         open_by_handle.
92070         * io/fcntl.h (AT_EMPTY_PATH): Define.
92072 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
92074         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92075         * sysdeps/unix/sysv/linux/bits/time.h: New file.
92076         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92077         to...
92078         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
92079         * Versions.def: Add GLIBC_2.14.
92080         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92081         Export.
92083 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
92085         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92086         round counter.
92087         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92089 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
92091         [BZ #12597]
92092         * string/test-strncmp.c (do_page_test): New function.
92093         (check2): Likewise.
92094         (test_main): Call check2.
92095         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92097 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
92099         [BZ #12587]
92100         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92101         Handle cache information in CPU leaf 4.
92102         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92104 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
92106         [BZ #12583]
92107         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92108         character representation.
92109         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92111 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
92113         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92114         END(__isnan) to END(__isnanf) to match function entry point/label
92115         EALIGN(__isnanf,...).
92117 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
92119         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92121 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
92123         [BZ #12510]
92124         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92125         copy from the symbol referenced in the relocation to initialize the
92126         used variable.
92127         Patch by Piotr Bury <pbury@goahead.com>.
92128         * elf/Makefile: Add rules to build and tst-unique3.
92129         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92130         * elf/tst-unique3.cc: New file.
92131         * elf/tst-unique3.h: New file.
92132         * elf/tst-unique3lib.cc: New file.
92133         * elf/tst-unique3lib2.cc: New file.
92135         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92137 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
92139         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92140         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
92141         to _start.
92143 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
92145         * elf/dl-load.c (_dl_map_object): If we are looking for the first
92146         to-be-loaded object along a path to loader is ld.so.
92148 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92149             Ulrich Drepper  <drepper@gmail.com>
92151         * sysdeps/x86_64/memset.S: After aligning destination, code
92152         branches to different locations depending on the value of
92153         misalignment, when multiarch is enabled. Fix this.
92155 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92157         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92158         Set _x86_64_preferred_memory_instruction for AMD processsors.
92159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92160         Set bit_Prefer_SSE_for_memop for AMD processors.
92162 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
92164         * libio/fmemopen.c (fmemopen): Optimize a bit.
92166 2011-03-03  Andreas Schwab  <schwab@redhat.com>
92168         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92170 2011-03-03  Roland McGrath  <roland@redhat.com>
92172         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92174 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
92176         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92177         __bzero_ultra1 instead of __memset_ultra1.
92179 2011-02-23  Andreas Schwab  <schwab@redhat.com>
92180             Ulrich Drepper  <drepper@gmail.com>
92182         [BZ #12509]
92183         * include/link.h (struct link_map): Add l_orig_initfini.
92184         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92185         returning unsuccessfully.
92186         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92187         close of a file loaded at startup, restore the original l_initfini
92188         list.
92189         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92190         list, store the pointer.
92191         * elf/Makefile ($(objpfx)noload-mem): New rule.
92192         (noload-ENV): Define.
92193         (tests): Add $(objpfx)noload-mem.
92194         * elf/noload.c: Include <memcheck.h>.
92195         (main): Call mtrace.  Close all opened handles.
92197 2011-02-17  Andreas Schwab  <schwab@redhat.com>
92199         [BZ #12454]
92200         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92201         dependencies are missing.
92203 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92205         Fix __if_freereq crash: Unlike the generic version which uses free,
92206         Hurd needs munmap.
92207         * sysdeps/mach/hurd/ifreq.h: New file.
92209 2011-01-27  Petr Baudis  <pasky@suse.cz>
92210             Ulrich Drepper  <drepper@gmail.com>
92212         [BZ 12445]#
92213         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92214         to extend_alloca().
92215         * stdio-common/bug23.c: New file.
92216         * stdio-common/Makefile (tests): Add bug23.
92218 2010-09-28  Andreas Schwab  <schwab@redhat.com>
92219             Ulrich Drepper  <drepper@gmail.com>
92221         [BZ #12489]
92222         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92223         before performing relro protection.  At old place add assertion
92224         to make sure nothing changed.
92226 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
92227             Glauber de Oliveira Costa  <glommer@gmail.com>
92229         * elf/elf.h: Add new ARM TLS relocs.
92231 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
92233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92234         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92235         cast from r3.
92236         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
92237         'tests' variable.
92238         * sysdeps/wordsize-64/tst-writev.c: New file.
92240 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
92242         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92243         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92244         insns in _dl_start to prevent a TOC reference before relocs are
92245         resolved.
92247 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
92249         [BZ #12469]
92250         * Makeconfig: Remove RANLIB definition.
92251         * Makerules: Don't use RANLIB.
92252         * aclocal.m4: Remove ranlib test.
92253         * configure.in: No need to check for ranlib.
92254         * elf/rtld-Rules: Don't use RANLIB.
92256 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92258         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
92259         protection macro.
92260         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
92261         inclusion protection macro.
92263         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
92264         SIGRTMIN and SIGRTMAX and print information in that case only when
92265         SIGRTMIN is defined.
92267 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
92269         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
92270         arginfo fn returning -1.
92272         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
92273         and thousands string is zero terminated.
92275 2011-02-03  Andreas Schwab  <schwab@redhat.com>
92277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92278         sysdeps/unix/sysv/linux/bits/socket.h.
92280 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92282         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92283         (__CPU_COUNT): Remove old macros.
92284         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92285         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92286         (__CPU_ALLOC, __CPU_FREE): Add macros.
92287         (__sched_cpualloc, __sched_cpufree): Add declarations.
92289 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
92291         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92292         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92293         * nscd/aicache.c (addhstaiX): Return timeout of added value.
92294         (readdhstai): Return value of addhstaiX call.
92295         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92296         (addgrbyX): Return value returned by cache_addgr.
92297         (readdgrbyname): Return value returned by addgrbyX.
92298         (readdgrbygid): Likewise.
92299         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92300         (addpwbyX): Return value returned by cache_addpw.
92301         (readdpwbyname): Return value returned by addhstbyX.
92302         (readdpwbyuid): Likewise.
92303         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92304         (addservbyX): Return value returned by cache_addserv.
92305         (readdservbyname): Return value returned by addservbyX:
92306         (readdservbyport): Likewise.
92307         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92308         (addhstbyX): Return value returned by cache_addhst.
92309         (readdhstbyname): Return value returned by addhstbyX.
92310         (readdhstbyaddr): Likewise.
92311         (readdhstbynamev6): Likewise.
92312         (readdhstbyaddrv6): Likewise.
92313         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
92314         (readdinitgroups): Return value returned by addinitgroupsX.
92315         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
92316         (prune_cache): Keep track of timeout value of re-added entries.
92317         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
92318         * nscd/nscd.h: Adjust prototypes of readd* functions.
92320 2011-02-04  Roland McGrath  <roland@redhat.com>
92322         * nis/nis_server.c (nis_servstate): Use the right name for 0.
92323         (nis_stats): Likewise.
92324         * nis/nis_modify.c (nis_modify): Likewise.
92325         * nis/nis_remove.c (nis_remove): Likewise.
92326         * nis/nis_add.c (nis_add): Likewise.
92328         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92330         * posix/fnmatch_loop.c: Add some consts.
92332         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92334 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
92336         [BZ #12460]
92337         * config.make.in (config-cflags-novzeroupper): Define.
92338         * configure.in: Substitute libc_cv_cc_novzeroupper.
92339         * elf/Makefile (AVX-CFLAGS): Define.
92340         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92341         (CFLAGS-tst-auditmod4a.c): Likewise.
92342         (CFLAGS-tst-auditmod4b.c): Likewise.
92343         (CFLAGS-tst-auditmod6b.c): Likewise.
92344         (CFLAGS-tst-auditmod6c.c): Likewise.
92345         (CFLAGS-tst-auditmod7b.c): Likewise.
92346         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92348 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
92350         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92351         function to the callback.
92352         Patch partly by Jiri Olsa <jolsa@redhat.com>.
92354 2011-02-02  Andreas Schwab  <schwab@redhat.com>
92356         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92357         of errno.
92359 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
92361         [BZ #11724]
92362         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92363         of constructors.
92364         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92365         of destructors.
92366         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92368         [BZ #11724]
92369         * elf/Makefile: Add rules to build and run new test.
92370         * elf/tst-initorder.c: New file.
92371         * elf/tst-initorder.exp: New file.
92372         * elf/tst-initordera1.c: New file.
92373         * elf/tst-initordera2.c: New file.
92374         * elf/tst-initordera3.c: New file.
92375         * elf/tst-initordera4.c: New file.
92376         * elf/tst-initorderb1.c: New file.
92377         * elf/tst-initorderb2.c: New file.
92378         * elf/tst-order-a1.c: New file.
92379         * elf/tst-order-a2.c: New file.
92380         * elf/tst-order-a3.c: New file.
92381         * elf/tst-order-a4.c: New file.
92382         * elf/tst-order-b1.c: New file.
92383         * elf/tst-order-b2.c: New file.
92384         * elf/tst-order-main.c: New file.
92385         New test case by George Gensure <werkt0@gmail.com>.
92387 2010-10-01  Andreas Schwab  <schwab@redhat.com>
92389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92390         decoding ACE if AI_CANONIDN.
92392 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
92394         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92396 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
92398         * version.h (RELEASE): Bump for 2.13 release.
92399         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92401         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92403         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92404         MADV_NOHUGEPAGE.
92405         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92406         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92408         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92409         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92412         * posix/getconf.c: Update copyright year.
92413         * catgets/gencat.c: Likewise.
92414         * csu/version.c: Likewise.
92415         * debug/catchsegv.sh: Likewise.
92416         * debug/xtrace.sh: Likewise.
92417         * elf/ldconfig.c: Likewise.
92418         * elf/ldd.bash.in: Likewise.
92419         * elf/sprof.c (print_version): Likewise.
92420         * iconv/iconv_prog.c: Likewise.
92421         * iconv/iconvconfig.c: Likewise.
92422         * locale/programs/locale.c: Likewise.
92423         * locale/programs/localedef.c: Likewise.
92424         * malloc/memusage.sh: Likewise.
92425         * malloc/mtrace.pl: Likewise.
92426         * nscd/nscd.c (print_version): Likewise.
92427         * nss/getent.c: Likewise.
92429         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92430         PF_CAIF, and PF_ALG.
92431         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92433 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92435         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92436         (modules-names): Use them.
92437         (ifunc-test-modules, ifunc-pie-tests): Define.
92438         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92439         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92440         (test-extras): Likewise.
92441         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92442         $(compile-command.c).
92443         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92444         (all-built-dso): Define.
92445         (check-textrel.out, check-execstack.out): Depend on it.
92447         * configure.in: Don't override --enable-multi-arch.
92449 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92451         [BZ #6812]
92452         * nscd/hstcache.c (tryagain): Define.
92453         (cache_addhst): Return tryagain not notfound for temporary errors.
92454         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92455         failed.
92457 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92459         [BZ #10563]
92460         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92461         to make the syscall.
92462         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92464         [BZ #12378]
92465         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92466         and fall back to matching as normal character if the string ends before
92467         the matching ']' is found.  This is what POSIX requires.
92468         * posix/testfnm.c: Adjust test result.
92469         * posix/globtest.sh: Adjust test result.  Add new test.
92470         * posix/tst-fnmatch.input: Likewise.
92471         * posix/tst-fnmatch2.c: Add new test.
92473 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92475         * elf/Makefile (check-execstack): Revert last change.  Depend on
92476         check-execstack.h.
92477         (check-execstack.h): New target.
92478         (generated): Add check-execstack.h.
92479         * elf/check-execstack.c: Include "check-execstack.h".
92480         (main): Revert last change.
92481         (handle_file): Return zero if GNU_STACK is absent and
92482         DEFAULT_STACK_PERMS doesn't include PF_X.
92484 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92486         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92487         in child fails because the descriptor is already closed.
92488         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92489         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92490         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92492         [BZ #12397]
92493         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92494         syscall.
92496         [BZ #10484]
92497         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92498         temporary buffer used to handle multi lookups locally.
92499         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92501 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92503         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92504         loader is ld.so.
92506 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92508         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92509         alignment for SSE2.
92511 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92513         [BZ #12394]
92514         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92515         characters.  When rounding increased number of integer digits recompute
92516         number of groups.
92517         * stdio-common/tst-grouping.c: New file.
92518         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92520 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92522         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92523         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92525         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92526         void.
92527         * bits/select.h: Likewise.
92529 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92531         * po/ja.po: Update from translation team.
92533 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92535         [BZ #11155]
92536         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92537         implementation just like for lxstat, fxstatat, et al.
92539 2010-12-27  Jim Meyering  <meyering@redhat.com>
92541         [BZ #12348]
92542         * posix/regexec.c (build_trtable): Return failure indication upon
92543         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92545 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92547         [BZ #12201]
92548         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92549         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92550         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92551         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92553         [BZ #12207]
92554         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92556         [BZ #12204]
92557         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92558         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92560 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92562         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92563         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92564         script has SORT_BY_INIT_PRIORITY.
92565         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92566         NO_CTORS_DTORS_SECTIONS is defined.
92567         * elf/soinit.c: Likewise.
92568         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92569         NO_CTORS_DTORS_SECTIONS is defined.
92570         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92571         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92572         * sysdeps/sh/init-first.c: Likewise.
92573         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92575 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92577         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92578         always use the slow path.
92580 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92582         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92583         similar rule which adds the sysdep directories to the header search in
92584         order to pick up the correct platform stackinfo.h.
92585         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92586         perform test if it is, otherwise return successfully without testing.
92587         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92588         DEFAULT_STACK_PERMS define in stackinfo.h.
92589         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92590         defined in stackinfo.h.
92591         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92592         DEFAULT_STACK_PERMS defined in stackinfo.h.
92593         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92594         * sysdeps/ia64/stackinfo.h: Likewise.
92595         * sysdeps/s390/stackinfo.h: Likewise.
92596         * sysdeps/sh/stackinfo.h: Likewise.
92597         * sysdeps/sparc/stackinfo.h: Likewise.
92598         * sysdeps/x86_64/stackinfo.h: Likewise.
92599         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92600         PF_X for powerpc64.  Retain PF_X for powerpc32.
92602 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92604         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92605         accurately.
92606         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92607         GETDENTS_64BIT_ALIGNED.
92609 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92611         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92613 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92615         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92616         _GNU_SOURCE.
92618         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92619         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92620         Remove __restrict.
92621         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92622         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92624 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92626         [BZ #11655]
92627         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92628         are initialized.
92630 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92632         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92634 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92636         * po/it.po: Update from translation team.
92638 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92641         unused codes.
92643 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92645         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92647 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92649         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92650         specially.
92651         (gaih_getanswer_slice): Likewise.
92653 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92657 2010-05-31  Petr Baudis  <pasky@suse.cz>
92659         [BZ #11149]
92660         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92661         silently even in the chroot mode.
92663 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92665         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92666         last patch a bit.  Pretty printing
92668 2010-05-31  Petr Baudis <pasky@suse.cz>
92670         [BZ #10085]
92671         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92672         initialization of skip_initgroups_dyn.
92674 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92676         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92677         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92679 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92681         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92683 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92685         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92686         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92687         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92688         ($(objpfx)tst-fnmatch-mem): New rule.
92689         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92690         * posix/tst-fnmatch.c (main): Call mtrace.
92692 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
92694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92695         Support Intel processor model 6 and model 0x2c.
92697 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
92699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92700           signed comparison.
92702 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
92704         [BZ #12205]
92705         * string/test-strncasecmp.c (check_result): New function.
92706         (do_one_test): Use it.
92707         (check1): New function.
92708         (test_main): Use it.
92709         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92710         Support strcasecmp and strncasecmp.
92712 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
92714         [BZ #12194]
92715         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92716         * sysdeps/x86_64/bits/byteswap.h: Likewise.
92718 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
92720         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92721         IFUNC support.
92722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92723         memset-x86-64.
92724         * sysdeps/x86_64/multiarch/bzero.S: New file.
92725         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92726         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92727         * sysdeps/x86_64/multiarch/memset.S: New file.
92728         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92730         Set bit_Prefer_SSE_for_memop for Intel processors.
92731         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92732         Define.
92733         (index_Prefer_SSE_for_memop): Define.
92734         (HAS_PREFER_SSE_FOR_MEMOP): Define.
92736 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
92738         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92739         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92741 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
92743         [BZ #12191]
92744         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92745         (__x86_64_raw_data_cache_size_half): Likewise.
92746         (__x86_64_raw_shared_cache_size): Likewise.
92747         (__x86_64_raw_shared_cache_size_half): Likewise.
92749         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92750         (__x86_64_raw_data_cache_size_half): Likewise.
92751         (__x86_64_raw_shared_cache_size): Likewise.
92752         (__x86_64_raw_shared_cache_size_half): Likewise.
92753         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92754         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92755         and __x86_64_raw_shared_cache_size_half.  Round
92756         __x86_64_data_cache_size_half, __x86_64_data_cache_size
92757         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92758         to multiple of 256 bytes.
92760 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
92762         [BZ #12167]
92763         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92764         of inacessible symlinks.  Verify result of symlink before returning it.
92765         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92766         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92768 2010-10-28  Erich Ritz  <erichritz@gmail.com>
92770         * math/math.h (isinf): Fix typo in comment.
92772 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
92774         * po/da.po: Update from translation team.
92776 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
92778         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92779         is added to the list.
92781 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92782             Ulrich Drepper  <drepper@gmail.com>
92784         * elf/dl-object.c (_dl_new_object): Don't append the new object to
92785         the global list here.  Move code to...
92786         (_dl_add_to_namespace_list): ...here.  New function.
92787         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92788         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92789         * elf/dl-load.c (lose): Don't remove the element from the list.
92790         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92791         (_dl_map_object): Likewise.
92793 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
92795         [BZ #12159]
92796         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92797         into all bytes of SSE register.
92798         Patch by Richard Li <richardpku@gmail.com>.
92800 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
92802         [BZ #12140]
92803         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92804         perturbing.
92806 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92808         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92809         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92810         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92811         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92813         submachine.
92814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92816 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92818         * include/dlfcn.h (__RTLD_SECURE): Define.
92819         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92820         mode & __RTLD_SECURE instead.
92821         (open_path): Rename preloaded parameter to secure.
92822         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92823         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92824         * elf/dl-deps.c (openaux): Likewise.
92825         * elf/rtld.c (struct map_args): Remove is_preloaded.
92826         (map_doit): Don't use it.
92827         (dl_main): Likewise.
92828         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92829         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92831 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92833         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92834         (sysd-rules-targets): Remove duplicates.
92835         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92836         rtld-%.$o dependency.
92838 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92840         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92841         _dl_map_object do it.
92843 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92845         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92846         fast fma builtins, define the macros in the C99 standard.
92847         (FP_FAST_FMAF): Likewise.
92848         (FP_FAST_FMAL): Likewise.
92849         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92851         * bits/mathdef.h: Update copyright year.
92852         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92854 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92856         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92857         builtins, define the macros in the C99 standard.
92858         (FP_FAST_FMAF): Likewise.
92859         (FP_FAST_FMAL): Likewise.
92860         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92861         multiply/add.
92862         (FP_FAST_FMAF): Likewise.
92864 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92866         [BZ #3268]
92867         * math/libm-test.inc (fma_test): Some new testcases.
92868         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92869         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92870         y and infinite z.  Do multiplication by C already in long double.
92871         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92873         y and infinite z.  Do bitwise or of inexact bit into u.d.
92874         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92875         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92876         * sysdeps/i386/fpu/s_fma.S: Removed.
92877         * sysdeps/i386/fpu/s_fmal.S: Removed.
92879 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92881         [BZ #3268]
92882         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92884         computation is not scheduled after fetestexcept.  Fix value
92885         of minimum denormal long double.
92887 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92889         [BZ #3268]
92890         * math/libm-test.inc (fma_test): Add some more tests.
92891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92892         correctly.
92894 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92896         * scripts/data/localplt-s390-linux-gnu.data: New file.
92897         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92899 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92901         [BZ #3268]
92902         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92903         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92904         instead of dbl-64.
92905         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92906         inlines.
92907         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92909         if one of x and y is very large and the other is subnormal.
92910         * sysdeps/s390/fpu/s_fmaf.c: New file.
92911         * sysdeps/s390/fpu/s_fma.c: New file.
92912         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92913         * sysdeps/powerpc/fpu/s_fma.S: New file.
92914         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92915         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92916         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92918 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92920         [BZ #3268]
92921         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92922         fma tests.
92923         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92924         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92925         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92926         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92927         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92928         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92929         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92931 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92933         [BZ #12078]
92934         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92935         * posix/bug-regex31.input: Add test case.
92937 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92939         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92940         * posix/bug-regex31.input: New file.
92942         [BZ #12078]
92943         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92944         (parse_sub_exp): Fix last change, use postorder.
92946         * posix/bug-regex31.c: New file.
92947         * posix/Makefile: Add rules to build and run bug-regex31.
92949         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92951         [BZ #12078]
92952         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92954         [BZ #12108]
92955         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92956         to have entries in sys_siglist.
92958         [BZ #12093]
92959         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92960         be NULL.
92962 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92964         [BZ #3268]
92965         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92966         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92967         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92968         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92969         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92970         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92971         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92972         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92973         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92974         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92975         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92976         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92977         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92978         * math/ftestexcept.c (fetestexcept): Likewise.
92979         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92980         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92981         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92982         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92983         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92984         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92985         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92987 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92989         [BZ #12107]
92990         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92991         newline.
92993 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92995         * string/bug-strstr1.c: New file.
92996         * string/Makefile: Add rules to build and run bug-strstr1.
92998 2010-10-05  Eric Blake  <eblake@redhat.com>
93000         [BZ #12092]
93001         * string/str-two-way.h (two_way_long_needle): Always clear memory
93002         when skipping input due to the shift table.
93004 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93006         [BZ #12005]
93007         * malloc/mcheck.c: Handle large requests.
93009         [BZ #12077]
93010         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93011         for strncmp and strncasecmp.
93012         * string/stratcliff.c: Add tests for strcmp and strncmp.
93013         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93015 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93017         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93018         __set_fpscr.
93020 2010-09-30  Andreas Jaeger  <aj@suse.de>
93022         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93023         (CGROUP_SUPER_MAGIC): Define.
93024         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93025         Handle btrfs and cgroup file systems.
93026         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93027         Likewise.
93029 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93031         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93032         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93034 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93036         [BZ #12067]
93037         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93038         trying to locate the ELF header.
93040 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93042         [BZ #11611]
93043         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93044         Mask out sign-bit copies when constructing f_fsid.
93046 2010-09-24  Petr Baudis <pasky@suse.cz>
93048         * debug/stack_chk_fail_local.c: Add missing licence exception.
93049         * debug/warning-nop.c: Likewise.
93051 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
93053         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93054         implementing getdents64 using getdents syscall, set d_type if
93055         __ASSUME_GETDENTS32_D_TYPE.
93057 2010-09-16  Andreas Schwab  <schwab@redhat.com>
93059         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93060         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93062 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
93064         [BZ #12037]
93065         * posix/unistd.h: Undo change of feature selection for ftruncate from
93066         2010-01-11.
93068 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
93070         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93071         detection.
93073 2010-09-20  Andreas Schwab  <schwab@redhat.com>
93075         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93076         fanotify_mark.
93077         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93079 2010-09-14  Andreas Schwab  <schwab@redhat.com>
93081         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93082         variables after CHECK_SP call.
93083         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93085 2010-09-13  Andreas Schwab  <schwab@redhat.com>
93086             Ulrich Drepper  <drepper@redhat.com>
93088         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93089         re-relocationg ld.so.
93090         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93091         _dl_init_paths call.
93092         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
93093         here anymore.
93095 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
93097         * resolv/res_init.c (__res_vinit): Count the default server we added.
93099 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
93100             Ulrich Drepper  <drepper@redhat.com>
93102         [BZ #11968]
93103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93104         (____longjmp_chk): Use %ebx for saving value across system call.
93105         Add unwind info.
93107 2010-09-06  Andreas Schwab  <schwab@redhat.com>
93109         * manual/Makefile: Don't mix pattern rules with normal rules.
93111 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
93113         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93114         operation.
93115         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93116         * libio/iofopncook.c (_IO_cookie_init): Likewise.
93117         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93118         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93119         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93120         Likewise.
93122 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
93124         [BZ #11979]
93125         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93126         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93128 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
93130         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93131         * sysdeps/x86_64/addmul_1.S: Likewise.
93132         * sysdeps/x86_64/lshift.S: Likewise.
93133         * sysdeps/x86_64/mul_1.S: Likewise.
93134         * sysdeps/x86_64/rshift.S: Likewise.
93135         * sysdeps/x86_64/sub_n.S: Likewise.
93136         * sysdeps/x86_64/submul_1.S: Likewise.
93138 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93140         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93141         Define __sched_param instead of SCHED_* and sched_param when
93142         <bits/sched.h> is included with __need_schedparam defined.
93143         * bits/sched.h [__need_schedparam]
93144         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93145         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93146         (__defined_schedparam): Define to 1.
93147         (__sched_param): New structure, identical to sched_param.
93148         (__need_schedparam): Undefine.
93150 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
93152         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93153         (epoll_create1): Declare.
93155         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93157 2010-08-31  Andreas Schwab  <schwab@redhat.com>
93159         [BZ #7066]
93160         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93161         shifting retval into place.
93163 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
93165         * nis/rpcsvc/nis.h: Update copyright notice.
93166         * nis/rpcsvc/nis.x: Likewise.
93167         * nis/rpcsvc/nis_callback.h: Likewise.
93168         * nis/rpcsvc/nis_callback.x: Likewise.
93169         * nis/rpcsvc/nis_object.x: Likewise.
93170         * nis/rpcsvc/nis_tags.h: Likewise.
93171         * nis/rpcsvc/yp.h: Likewise.
93172         * nis/rpcsvc/yp.x: Likewise.
93173         * nis/rpcsvc/ypupd.h: Likewise.
93174         * nis/yp_xdr.c: Likewise.
93175         * nis/ypupdate_xdr.c: Likewise.
93177         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
93178         mainly the body of pmap_getport.  Add parameters to specify timeouts.
93179         (pmap_getport): Use __libc_rpc_getport.
93180         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93181         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93182         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93184 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
93186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93187         fanotify_mark.
93189 2010-08-27  Roland McGrath  <roland@redhat.com>
93191         * sysdeps/i386/i686/multiarch/Makefile
93192         (CFLAGS-varshift.c): New variable.
93194 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
93196         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93197         * sysdeps/i386/i686/multiarch/varshift.c: New file.
93199         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93201         * sysdeps/x86_64/strlen.S: Minimal code improvement.
93203 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
93205         * sysdeps/x86_64/strlen.S: Unroll the loop.
93206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93207         strlen-sse2 strlen-sse2-bsf.
93208         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93209         __strlen_no_bsf if bit_Slow_BSF is set.
93210         (__strlen_sse42): Removed.
93211         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93212         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93214 2010-08-25  Roland McGrath  <roland@redhat.com>
93216         * sysdeps/x86_64/multiarch/varshift.S: File removed.
93217         * sysdeps/x86_64/multiarch/varshift.c: New file.
93218         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93219         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93220         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93221         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93223 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
93225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93226         strlen-sse2 strlen-sse2-bsf.
93227         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93228         __strlen_sse2_bsf if bit_Slow_BSF is unset.
93229         (__strlen_sse2): Removed.
93230         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93231         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93233         bit_Slow_BSF for Atom.
93234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93235         (index_Slow_BSF): Define.
93236         (HAS_SLOW_BSF): Define.
93238 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
93240         [BZ #10851]
93241         * resolv/res_init.c (__res_vinit): When no server address at all
93242         is given default to loopback.
93244 2010-08-24  Roland McGrath  <roland@redhat.com>
93246         * configure.in: Remove config-name.h generation.
93247         * configure: Regenerated.
93248         * config-name.in: File removed.
93249         * scripts/config-uname.sh: New file.
93250         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93251         ($(objdir)config-name.h): New target.
93253         * sunrpc/rpc_parse.h: Avoid nested comment.
93255 2010-08-24  Richard Henderson  <rth@redhat.com>
93256             Ulrich Drepper  <drepper@redhat.com>
93257             H.J. Lu  <hongjiu.lu@intel.com>
93259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
93260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
93261         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
93262         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
93263         _mm_alignr_epi8 with _mm_loadu_si128.
93264         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
93265         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
93266         (__m128i_shift_right): Removed.
93267         * sysdeps/i386/i686/multiarch/varshift.h: New file.
93268         * sysdeps/i386/i686/multiarch/varshift.S: New file.
93269         * sysdeps/x86_64/multiarch/varshift.h: New file.
93270         * sysdeps/x86_64/multiarch/varshift.S: New file.
93272 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
93274         * configure.in: Move assembler checks to before sysdep dir checking.
93276 2010-08-20  Petr Baudis  <pasky@suse.cz>
93278         * LICENSES: Sync the sunrpc license.
93280 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
93282         * sunrpc/auth_des.c: Update copyright notice once again.
93283         * sunrpc/auth_none.c: Likewise.
93284         * sunrpc/auth_unix.c: Likewise.
93285         * sunrpc/authdes_prot.c: Likewise.
93286         * sunrpc/authuxprot.c: Likewise.
93287         * sunrpc/bindrsvprt.c: Likewise.
93288         * sunrpc/clnt_gen.c: Likewise.
93289         * sunrpc/clnt_perr.c: Likewise.
93290         * sunrpc/clnt_raw.c: Likewise.
93291         * sunrpc/clnt_simp.c: Likewise.
93292         * sunrpc/clnt_tcp.c: Likewise.
93293         * sunrpc/clnt_udp.c: Likewise.
93294         * sunrpc/clnt_unix.c: Likewise.
93295         * sunrpc/des_crypt.c: Likewise.
93296         * sunrpc/des_soft.c: Likewise.
93297         * sunrpc/get_myaddr.c: Likewise.
93298         * sunrpc/getrpcport.c: Likewise.
93299         * sunrpc/key_call.c: Likewise.
93300         * sunrpc/key_prot.c: Likewise.
93301         * sunrpc/openchild.c: Likewise.
93302         * sunrpc/pm_getmaps.c: Likewise.
93303         * sunrpc/pm_getport.c: Likewise.
93304         * sunrpc/pmap_clnt.c: Likewise.
93305         * sunrpc/pmap_prot.c: Likewise.
93306         * sunrpc/pmap_prot2.c: Likewise.
93307         * sunrpc/pmap_rmt.c: Likewise.
93308         * sunrpc/rpc/auth.h: Likewise.
93309         * sunrpc/rpc/auth_unix.h: Likewise.
93310         * sunrpc/rpc/clnt.h: Likewise.
93311         * sunrpc/rpc/des_crypt.h: Likewise.
93312         * sunrpc/rpc/key_prot.h: Likewise.
93313         * sunrpc/rpc/netdb.h: Likewise.
93314         * sunrpc/rpc/pmap_clnt.h: Likewise.
93315         * sunrpc/rpc/pmap_prot.h: Likewise.
93316         * sunrpc/rpc/pmap_rmt.h: Likewise.
93317         * sunrpc/rpc/rpc.h: Likewise.
93318         * sunrpc/rpc/rpc_des.h: Likewise.
93319         * sunrpc/rpc/rpc_msg.h: Likewise.
93320         * sunrpc/rpc/svc.h: Likewise.
93321         * sunrpc/rpc/svc_auth.h: Likewise.
93322         * sunrpc/rpc/types.h: Likewise.
93323         * sunrpc/rpc/xdr.h: Likewise.
93324         * sunrpc/rpc_clntout.c: Likewise.
93325         * sunrpc/rpc_cmsg.c: Likewise.
93326         * sunrpc/rpc_common.c: Likewise.
93327         * sunrpc/rpc_cout.c: Likewise.
93328         * sunrpc/rpc_dtable.c: Likewise.
93329         * sunrpc/rpc_hout.c: Likewise.
93330         * sunrpc/rpc_main.c: Likewise.
93331         * sunrpc/rpc_parse.c: Likewise.
93332         * sunrpc/rpc_parse.h: Likewise.
93333         * sunrpc/rpc_prot.c: Likewise.
93334         * sunrpc/rpc_sample.c: Likewise.
93335         * sunrpc/rpc_scan.c: Likewise.
93336         * sunrpc/rpc_scan.h: Likewise.
93337         * sunrpc/rpc_svcout.c: Likewise.
93338         * sunrpc/rpc_tblout.c: Likewise.
93339         * sunrpc/rpc_util.c: Likewise.
93340         * sunrpc/rpc_util.h: Likewise.
93341         * sunrpc/rpcinfo.c: Likewise.
93342         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93343         * sunrpc/rpcsvc/key_prot.x: Likewise.
93344         * sunrpc/rpcsvc/klm_prot.x: Likewise.
93345         * sunrpc/rpcsvc/mount.x: Likewise.
93346         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93347         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93348         * sunrpc/rpcsvc/rex.x: Likewise.
93349         * sunrpc/rpcsvc/rstat.x: Likewise.
93350         * sunrpc/rpcsvc/rusers.x: Likewise.
93351         * sunrpc/rpcsvc/sm_inter.x: Likewise.
93352         * sunrpc/rpcsvc/spray.x: Likewise.
93353         * sunrpc/rpcsvc/yppasswd.x: Likewise.
93354         * sunrpc/rtime.c: Likewise.
93355         * sunrpc/svc.c: Likewise.
93356         * sunrpc/svc_auth.c: Likewise.
93357         * sunrpc/svc_authux.c: Likewise.
93358         * sunrpc/svc_raw.c: Likewise.
93359         * sunrpc/svc_run.c: Likewise.
93360         * sunrpc/svc_simple.c: Likewise.
93361         * sunrpc/svc_tcp.c: Likewise.
93362         * sunrpc/svc_udp.c: Likewise.
93363         * sunrpc/svc_unix.c: Likewise.
93364         * sunrpc/svcauth_des.c: Likewise.
93365         * sunrpc/xcrypt.c: Likewise.
93366         * sunrpc/xdr.c: Likewise.
93367         * sunrpc/xdr_array.c: Likewise.
93368         * sunrpc/xdr_float.c: Likewise.
93369         * sunrpc/xdr_mem.c: Likewise.
93370         * sunrpc/xdr_rec.c: Likewise.
93371         * sunrpc/xdr_ref.c: Likewise.
93372         * sunrpc/xdr_sizeof.c: Likewise.
93373         * sunrpc/xdr_stdio.c: Likewise.
93375         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93376         handling.
93378 2010-08-19  Andreas Schwab  <schwab@redhat.com>
93380         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93382 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
93384         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93385         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93386         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93387         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93389         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93390         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93391         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93392         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93393         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93394         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93395         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93396         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93397         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93399 2010-07-26  Anton Blanchard  <anton@samba.org>
93401         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93402         * malloc/arena.c (heap_trim): Likewise.
93404 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
93406         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93407         here.  Not...
93408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93409         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93411 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
93413         * sysdeps/i386/elf/Makefile: New file.
93415 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93417         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93418         from fanotify_init.
93419         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93422 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93424         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93425         of strncasecmp_l.
93426         * sysdeps/multiarch/strcmp.S: Likewise.
93428 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93430         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93431         strncase_l-nonascii.
93432         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93433         Add strncase_l-ssse3.
93434         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93435         * sysdeps/x86_64/strcmp.S: Likewise.
93436         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93437         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93438         * sysdeps/x86_64/strncase.S: New file.
93439         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93440         * sysdeps/x86_64/strncase_l.S: New file.
93441         * string/Makefile (strop-tests): Add strncasecmp.
93442         * string/test-strncasecmp.c: New file.
93444         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93445         warning.
93447         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93448         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93450 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93452         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93454 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93456         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93457         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93458         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93460 2010-05-01  Alan Modra  <amodra@gmail.com>
93462         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93463         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93464         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93465         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93466         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93467         tidying.  Don't tail-call __sigjmp_save for static lib.
93468         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93469         save location.
93470         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93471         (CALL_MCOUNT): Add eh info, and nop after bl.
93472         (TAIL_CALL_SYSCALL_ERROR): New macro.
93473         (PSEUDO_RET): Use it.
93474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93475         Correct save location of integer regs and cr.
93476         (_dl_profile_resolve): Correct cr save location.  Delete nops
93477         after bl when SHARED.  Reduce cfi size a little by better
93478         placement of cfi directives.
93479         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93480         make a stack frame.  Instead use parm save area as a temp.
93481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93482         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93484         Don't make a stack frame for parent, use parm save area.
93485         Increase child stack frame to 112 bytes.  Don't save unused reg,
93486         and adjust reg usage.  Set up cfi on error recovery and
93487         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93489         (__makecontext): Add dummy nop after jump to exit.
93490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93491         Use correct parm save area and cr save, reduce stack frame.
93492         Correct cfi for possible PSEUDO_RET frame setup.
93493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93494         Branch to local label emitted by PSEUDO_RET rather than
93495         __syscall_error.
93497 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93499         [BZ #11904]
93500         * locale/programs/locale.c (print_assignment): New function.
93501         (show_locale_vars): Use it.
93503 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93505         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93506         field.
93507         (struct statfs64): Likewise.
93508         (_STATFS_F_FLAGS): Define.
93509         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93510         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93511         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93512         (ST_VALID): Define locally.
93513         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93514         __statvfs_getflags, use the provided value.
93515         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93516         __ASSUME_STATFS_F_FLAGS.
93518         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93520         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93521         Add sys/fanotify.h.
93522         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93523         fanotify_mask for GLIBC_2.13.
93524         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93525         fanotify_init and fanotify_mark.
93526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93527         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93529         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93530         Add prlimit.
93531         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93532         prlimit64 for GLIBC_2.13.
93533         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93534         prlimit64.
93535         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93536         syscall.
93537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93539         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93540         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93542         add prlimit alias.
93543         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93545         [BZ #11903]
93546         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93547         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93549         * nss/Makefile: Add rules to build and run tst-nss-test1.
93550         * shlib-versions: Add entry for libnss_test1.
93551         * nss/nss_test1.c: New file.
93552         * nss/tst-nss-test1.c: New file.
93554         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93555         (__nss_configure_lookup): Set appropriate entry in
93556         __nss_configure_lookup to true.
93557         * nss/nsswitch.h: Define enum with indeces of databases in
93558         databases and __nss_database_custom arrays.  Declare
93559         __nss_database_custom.
93560         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93561         to avoid using nscd when custom rules are installed.
93562         * nss/getXXbyYY_r.c: Likewise.
93563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93565         * nss/nss_files/files-parse.c: Whitespace fixes.
93567 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93569         [BZ #11883]
93570         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93571         * posix/fnmatch_loop.c: Likewise.
93573 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93575         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93576         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93577         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93578         * Versions.def [GLIBC_2.13]: Add.
93580 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93582         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93583         Also fail if tpwd after pwuid call is NULL.
93585 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93587         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93588         when converting to ms.
93590 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93592         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93593         EOPNOTSUPP errors with ENOTTY.
93594         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93595         EOPNOTSUPP errors with ENOTTY.
93597 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93599         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93600         Add strcasecmp_l-ssse3.
93601         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93602         strcasecmp.
93603         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93604         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93605         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93607 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93609         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93611         * string/Makefile (strop-tests): Add strcasecmp.
93612         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93613         strcasecmp_l-nonascii.
93614         (gen-as-const-headers): Add locale-defines.sym.
93615         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93616         * sysdeps/x86_64/strcasecmp.S: New file.
93617         * sysdeps/x86_64/strcasecmp_l.S: New file.
93618         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93619         * sysdeps/x86_64/locale-defines.sym: New file.
93620         * string/test-strcasecmp.c: New file.
93622         * string/test-strcasestr.c: Test both ends of the range of characters.
93623         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93625 2010-07-29  Roland McGrath  <roland@redhat.com>
93627         [BZ #11856]
93628         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93630 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93632         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93633         for ld.so.
93635 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93637         * manual/memory.texi (Malloc Tunable Parameters): Document
93638         M_PERTURB.
93640 2010-07-26  Roland McGrath  <roland@redhat.com>
93642         [BZ #11840]
93643         * configure.in (-fgnu89-inline check): Set and substitute
93644         gnu89_inline, not libc_cv_gnu89_inline.
93645         * configure: Regenerated.
93646         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93648 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93650         * string/test-strnlen.c: New file.
93651         * string/Makefile (strop-tests): Add strnlen.
93652         * string/tester.c (test_strnlen): Add a few more test cases.
93653         * string/tst-strlen.c: Better error reporting.
93655         * sysdeps/x86_64/strnlen.S: New file.
93657 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93659         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93660         lower-latency instructions.
93662 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93664         * string/test-strcasestr.c: New file.
93665         * string/test-strstr.c: New file.
93666         * string/Makefile (strop-tests): Add strstr and strcasestr.
93667         * string/str-two-way.h: Don't undefine MAX.
93668         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93670 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93672         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93673         strcasestr-nonascii.
93674         (CFLAGS-strcasestr-nonascii.c): Define.
93675         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93676         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93677         Remove unused attribute.
93679 2010-07-20  Roland McGrath  <roland@redhat.com>
93681         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93682         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93683         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93684         like LD_HWCAP_MASK can disable hwcaps.
93686 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93688         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93690 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
93692         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93693         call in strcasestr.
93694         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93695         __strcasestr_sse42_nonascii.
93696         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93697         strcasestr-nonascii.c.
93698         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93700 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
93702         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93703         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93704         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93705         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93707 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
93709         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93710         fcntl.
93712 2010-07-06  Andreas Schwab  <schwab@redhat.com>
93714         [BZ #11577]
93715         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93716         dl_signal_cerror.
93718 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
93720         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93721         _PC_PIPE_BUF using F_GETPIPE_SZ.
93723 2010-07-05  Roland McGrath  <roland@redhat.com>
93725         * manual/arith.texi (Rounding Functions): Fix rint description
93726         implicit in round description.
93728 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
93730         * elf/Makefile: Fix linking for a few tests to make recent linker
93731         happy.
93733 2010-06-30  Andreas Schwab  <schwab@redhat.com>
93735         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93736         $(common-objpfx)libc_nonshared.a.
93738 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
93740         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93741         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93742         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93743         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93744         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93745         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93746         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93747         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93762         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93763         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93764         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93765         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93766         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93767         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93768         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93769         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93770         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93771         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93772         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93773         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93789 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
93791         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93792         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
93793         * string/memmove.c (memmove): Renamed to ...
93794         (MEMMOVE): ...this.  Default to memmove.
93795         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93796         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93797         (END_CHK): Define.
93798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93799         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93800         mempcpy-ssse3-back memmove-ssse3-back.
93801         * sysdeps/x86_64/multiarch/bcopy.S: New file .
93802         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93803         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93804         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93805         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93806         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93807         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93808         * sysdeps/x86_64/multiarch/memmove.c: New file.
93809         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93810         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93811         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93812         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93813         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93814         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93815         Define.
93816         (index_Fast_Copy_Backward): Define.
93817         (HAS_ARCH_FEATURE): Define.
93818         (HAS_FAST_REP_STRING): Define.
93819         (HAS_FAST_COPY_BACKWARD): Define.
93821 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93823         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93824         Restore proper fallback handling.
93826 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93828         [BZ #11701]
93829         * posix/group_member.c (__group_member): Correct checking loop.
93831         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93832         OOM in getpwuid_r correctly.  Return error number when the caller
93833         should return, otherwise -1.
93834         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93835         call returning > 0 value.
93836         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93838 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93840         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93841         libc_nonshared.a from targets in modules-names.
93843 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93845         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93846         requires it.
93848 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93850         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93851         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93852         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93855 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93857         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93859 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93861         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93862         and F_GETPIPE_SZ.
93863         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93864         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93867         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93868         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93870 2010-06-14  Roland McGrath  <roland@redhat.com>
93872         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93874 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93876         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93877         __REDIRECT followed by __THROW.
93878         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93879         * posix/getopt.h (getopt): Likewise.
93881 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93883         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93884         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93885         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93886         in AT_FLAGS.
93887         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93888         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93890 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93892         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93894 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93896         [BZ #11640]
93897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93898         Properly check family and model.
93900 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93902         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93904 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93906         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93908 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93910         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93911         symbol reference.
93913 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93915         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93916         symbol reference.
93918 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93920         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93921         and internal_recvmmsg.
93922         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93923         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93924         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93925         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93927         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93928         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93929         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93931 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93933         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93935 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93937         POWER7 optimizations.
93938         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93939         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93941 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93943         * version.h: Update for 2.13 development version.
93945 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93947         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93948         exceptions.  Return 0.
93950 2010-05-07  Roland McGrath  <roland@redhat.com>
93952         * elf/ldconfig.c (main): Add a const.
93954 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93956         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93957         (args_options): Add no-idn option.
93958         (ahosts_keys_int): Add idn_flags to ai_flags.
93959         (parse_option): Handle 'i' option to clear idn_flags.
93961         * malloc/malloc.c (_int_free): Possible race in the most recently
93962         added check.  Only act on the data if no current modification
93963         happened.
93965 See ChangeLog.17 for earlier changes.